pymobiledevice3 mounter¶
Mount, unmount and inspect the DeveloperDiskImage (DDI) needed by developer commands.
list¶
List the disk images currently mounted on the device.
Options:
| Option | Description |
|---|---|
--remotepairing |
Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_ |
--native |
macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE] |
--mobdev2-host HOSTNAME |
Connect over mobdev2 to the device at this hostname or IP address, without browsing for it. |
Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.
lookup¶
Print the signature of the mounted image of the given type, if one is mounted.
Arguments:
| Argument | Description |
|---|---|
image_type <str> |
Image type to look up: Developer (iOS < 17) or Personalized (iOS 17+). [required] |
Options:
| Option | Description |
|---|---|
--remotepairing |
Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_ |
--native |
macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE] |
--mobdev2-host HOSTNAME |
Connect over mobdev2 to the device at this hostname or IP address, without browsing for it. |
Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.
umount-developer¶
Unmount the classic DeveloperDiskImage (iOS < 17).
Options:
| Option | Description |
|---|---|
--remotepairing |
Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_ |
--native |
macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE] |
--mobdev2-host HOSTNAME |
Connect over mobdev2 to the device at this hostname or IP address, without browsing for it. |
Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.
umount-personalized¶
Unmount the personalized DeveloperDiskImage (iOS 17+).
A DDI installed as a cryptex (see cryptex list) is removed with
cryptex uninstall com.apple.MobileAsset.DDI instead.
Options:
| Option | Description |
|---|---|
--remotepairing |
Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_ |
--native |
macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE] |
--mobdev2-host HOSTNAME |
Connect over mobdev2 to the device at this hostname or IP address, without browsing for it. |
Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.
mount-developer¶
Mount a classic DeveloperDiskImage from local files (iOS < 17).
Requires Developer Mode on iOS 16. Most users want auto-mount instead.
Arguments:
| Argument | Description |
|---|---|
image <file> |
DeveloperDiskImage.dmg file. [required] |
signature <file> |
Matching DeveloperDiskImage.dmg.signature file. [required] |
Options:
| Option | Description |
|---|---|
--remotepairing |
Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_ |
--native |
macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE] |
--mobdev2-host HOSTNAME |
Connect over mobdev2 to the device at this hostname or IP address, without browsing for it. |
Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.
mount-personalized¶
Mount a personalized DeveloperDiskImage from local files (iOS 17+).
Reuses a personalization ticket already stored on the device, otherwise requests
one from Apple's signing server (needs Internet). Requires Developer Mode.
Most users want auto-mount instead.
Arguments:
| Argument | Description |
|---|---|
image <file> |
Personalized image file (Image.dmg). [required] |
trust_cache <file> |
Trust cache shipped with the image (e.g. Image.trustcache). [required] |
build_manifest <file> |
BuildManifest.plist shipped with the image. [required] |
Options:
| Option | Description |
|---|---|
--remotepairing |
Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_ |
--native |
macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE] |
--mobdev2-host HOSTNAME |
Connect over mobdev2 to the device at this hostname or IP address, without browsing for it. |
Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.
auto-mount¶
Download (if needed) and mount the right DeveloperDiskImage for the device.
Picks the image by iOS version and downloads it when it is not available locally; iOS 17+ images are personalized for the device through Apple's signing server (needs Internet). Requires Developer Mode.
Exits non-zero when no image could be mounted. An image that is already mounted is what was
asked for, so that succeeds -- scripts can run this unconditionally before developer commands.
--replace removes it and mounts the right one instead.
Options:
| Option | Description |
|---|---|
--remotepairing |
Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_ |
--native |
macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE] |
--mobdev2-host HOSTNAME |
Connect over mobdev2 to the device at this hostname or IP address, without browsing for it. |
-x, --xcode <dir> |
iOS < 17 only: Xcode.app to take the DeveloperDiskImage from (default: /Applications/Xcode.app, falling back to a download cache in the home folder). |
--version <str> |
iOS < 17 only: DeveloperDiskImage version (major.minor) to use instead of the device's iOS version. |
--image <cryptex\|personalized-dmg> |
iOS 17+ only: force this DeveloperDiskImage instead of choosing one by iOS version (cryptex from iOS 27, personalized-dmg below it) |
--replace |
Replace a DeveloperDiskImage that is already mounted, e.g. an older one that lacks a service, instead of leaving it. Cuts off whatever is using its services. |
Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.
query-developer-mode-status¶
Print whether Developer Mode is enabled, as reported by the image mounter.
Options:
| Option | Description |
|---|---|
--remotepairing |
Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_ |
--native |
macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE] |
--mobdev2-host HOSTNAME |
Connect over mobdev2 to the device at this hostname or IP address, without browsing for it. |
Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.
query-nonce¶
Print the personalization nonce used to sign images for this device.
Options:
| Option | Description |
|---|---|
--remotepairing |
Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_ |
--native |
macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE] |
--mobdev2-host HOSTNAME |
Connect over mobdev2 to the device at this hostname or IP address, without browsing for it. |
--image-type <str> |
Personalized image type to query the nonce for (e.g. DeveloperDiskImage); omitted or unrecognized, the device returns its default nonce. |
Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.
query-personalization-identifiers¶
Print the identifiers used to personalize images for this device (board ID, chip ID, ...).
Options:
| Option | Description |
|---|---|
--remotepairing |
Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_ |
--native |
macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE] |
--mobdev2-host HOSTNAME |
Connect over mobdev2 to the device at this hostname or IP address, without browsing for it. |
Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.
query-personalization-manifest¶
Print the personalization manifest (IM4M) of each mounted personalized image.
Options:
| Option | Description |
|---|---|
--remotepairing |
Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_ |
--native |
macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE] |
--mobdev2-host HOSTNAME |
Connect over mobdev2 to the device at this hostname or IP address, without browsing for it. |
Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.
roll-personalization-nonce¶
Ask the device to generate a new personalization nonce.
Options:
| Option | Description |
|---|---|
--remotepairing |
Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_ |
--native |
macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE] |
--mobdev2-host HOSTNAME |
Connect over mobdev2 to the device at this hostname or IP address, without browsing for it. |
Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.
roll-cryptex-nonce¶
Ask the device to generate a new cryptex nonce (the device reboots).
Options:
| Option | Description |
|---|---|
--remotepairing |
Build the no-root userspace tunnel over RemotePairing instead of USB, for a device paired over the network with remote pair (e.g. an Apple TV, on Wi-Fi or Ethernet). Found over bonjour; --udid names the identifier the RemotePairing record is stored under (remote_ |
--native |
macOS only: reach the iOS 17+ tunnel by piggybacking Apple's own remoted tunnel via the remotepairingd service. NO root, no entitlement, no Xcode. Rides Apple's kernel-routable tunnel, so throughput matches the kernel tunnel, but the device keeps a single RSD connection on it: remoted and this process evict each other's, which can reset connections and leave Xcode/devicectl without the device until remoted reconnects. Mutually exclusive with --rsd/--tunnel/--userspace. [env var: PYMOBILEDEVICE3_NATIVE] |
--mobdev2-host HOSTNAME |
Connect over mobdev2 to the device at this hostname or IP address, without browsing for it. |
Accepts the connection options: --rsd, --tunnel, --userspace, --mobdev2, --usbmux, --udid.