Skip to content

imagemounter: fetch DDI from GitHub and improve mount reliability#720

Open
zt-luo wants to merge 1 commit into
danielpaulus:mainfrom
zt-luo:imagemounter-ddi-fix
Open

imagemounter: fetch DDI from GitHub and improve mount reliability#720
zt-luo wants to merge 1 commit into
danielpaulus:mainfrom
zt-luo:imagemounter-ddi-fix

Conversation

@zt-luo
Copy link
Copy Markdown

@zt-luo zt-luo commented May 10, 2026

  • Switch iOS 17+ DDI source from deviceboxhq.com to github.com/doronz88/DeveloperDiskImage (build 17E5179g), resolving identity-not-found failures on newer chips (A19 Pro)
  • Add QueryPersonalizationManifest fast path: try existing device-side manifest before requesting Apple TSS, and reconnect the service on failure since the socket is closed by the device. This skips nonce + TSS on re-mounts when the manifest is still valid
  • Replace hardcoded Manifest struct with dynamic map entries and iterate all Trusted entries when building the TSS request
  • Update TSS @versioninfo and add @uuid field
  • Add ProductBuildVersion-based DDI cache validation and stream DMG/trustcache directly to disk during download

Switch iOS 17+ DDI source from deviceboxhq.com to
github.com/doronz88/DeveloperDiskImage (build 17E5179g),
resolving identity-not-found failures on newer chips (A19 Pro).

Add QueryPersonalizationManifest fast path: try existing
device-side manifest before requesting Apple TSS, and reconnect
the service on failure since the socket is closed by the device.
This skips nonce + TSS on re-mounts when the manifest is still
valid, based on pymobiledevice3's PersonalizedImageMounter.mount().

Replace hardcoded Manifest struct with dynamic map entries and
iterate all Trusted entries when building the TSS request.
Update TSS @versioninfo and add @uuid field, matching
pymobiledevice3's TSSRequest construction.

Also add ProductBuildVersion-based DDI cache validation and
stream DMG/trustcache directly to disk during download.
@zt-luo zt-luo force-pushed the imagemounter-ddi-fix branch from abc2806 to 620178c Compare May 10, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant