ipadecrypt icon indicating copy to clipboard operation
ipadecrypt copied to clipboard

IOS 12.5.7 - Mint Failing

Open ReverseTelnet opened this issue 1 month ago โ€ข 3 comments

Describe the bug Minting fails with a warning message: IOKit function is not mapped at the same address in fairplayd

To Reproduce Steps to reproduce the behavior:

  1. Run: ./ipadecrypt bootstrap.
  2. Enter Credentials
  3. Wait for it ...
  4. ENHANCE:
โ–Ž Step 2/2 ยท Mint your decryption credential (one-time)
  This connects once to your jailbroken device to extract a reusable
  16-byte account key. After this, every decrypt runs offline - no device.
  Requirements on the device:
    โ€ข root SSH (OpenSSH from Sileo), reachable over the network or USB
    โ€ข at least one App Store app bought with this Apple ID, installed
  โœ— mint failed: FairPlay observer: program exited before ready: Process exited with status 1: IOKit function is not mapped at the same address in fairplayd
Image

Expected behavior According to the README, minting should work on IOS 10+.

Environment

  • Chimera - Semi-Tethered
  • 12.5.7
  • iPhone 6+ [A8 Chip]

Additional context If there is any borrowed code or if this app uses a similar approach as fair-play decrypt, note that I have opened an issue against that code base as well.

ReverseTelnet avatar Oct 26 '26 13:10 ReverseTelnet

Reproducing a mint-stage failure on a different setup โ€” possibly the same family:

  • Device: iPhone XR (iPhone11,8, A12), iOS 18.6, Dopamine 3.0.12 (rootless), Procurus OpenSSH, SSH as mobile (root login refused by design on Dopamine)
  • Tool: ipadecrypt v0.9.0-rc.1 macOS arm64, USB via iproxy
  • App Store login succeeds; mint fails at the observer every time:
โœ— mint failed: FairPlay observer: program exited before ready: Process exited with status 137 from signal KILL:

Manual repro (pushed credential.ios by hand, ran against fresh fairplayd PID):

$ ./credential.ios observe-uid-layer <pid> out.bin 15
(debug breakpoint slots 0 and 1 are in use)   # only on first run after a previous mint attempt
$ echo $?
1

On a freshly restarted fairplayd (killed via sudo kill -9, new PID confirmed) the "slots in use" message goes away but the observer is still SIGKILLed (exit 137) within ~3s, before printing observing FairPlay requests โ€” and this happens identically when run as root via sudo -S. device-udid works fine as both mobile and root, so binary execution/entitlements load; it's the thread_get_state(ARM_DEBUG_STATE64) + task_suspend on fairplayd that gets killed. Looks like iOS 18 hardened debug-state policy on this path rather than a permission problem sudo can fix.

Also noticed: the bundle ships driver.ios (direct IOKit com_apple_driver_FairPlayIOKit call, no daemon breakpoints) but Mint() never uses it โ€” only the observer path. The Python original this was ported from supports the driver route; wiring that up might sidestep this entirely on iOS 18.

Separately, running the trigger standalone gives mmap encrypted executable: Operation not permitted (exit 3) from a mobile SSH session, so the direct-mmap fallback can't fire here either.

reejosamuel avatar Oct 26 '26 21:10 reejosamuel

I am also getting this on iPhone 11 Pro 18.6.2 (Dopamine 3.0.11)

โœ— mint failed: FairPlay observer: program exited before ready: Process exited with status 137 from signal KILL:

I believe this might be a related issue? https://github.com/EthanArbuckle/fairplay-decrypt/issues/19

tokfrans03 avatar Oct 26 '26 22:10 tokfrans03

I'm getting the same issue on iOS 14.2 (iPhone 12, Taurine), the App Store login works fine but on the minting step after 20 seconds (that timing is very consistent) it gives the error:

โŒ mint failed: FairPlay observer: program exited before ready: Process exited with status 1:

I tried with the device user as both mobile and root but the same issue occurs. The only difference to the error from the issue author is that there's nothing else clarified after status 1.

SKDemon820 avatar Oct 29 '26 21:10 SKDemon820