Assembly fails after successful decryption on checkra1n rootful (possible checkra1n-specific issue)
Assembly consistently fails with assemble: helper run: wait: remote command exited without exit status or exit signal after all binaries are successfully decrypted.
To Reproduce
- Download encrypted IPA via
ipatoolTested withcom.burbn.instagramandapp.ninja.vdo - run
ipadecrypt decrypt com.burbn.instagram_389801252_447.0.0.ipa - All binaries decrypt successfully (main binary 249.6MB + 8 extensions)
- Assembly fails at the end
Expected behavior
A decrypted .ipa.
Environment
- checkra1n 0.12.4 beta rootful - iOS 14.8 - iPhone 7 Plus (iPhone9,4) ❌
- palera1n rootless v2.4 - iOS 15.8.8 - iPhone 7 Plus (iPhone9,4) ✅
- Host: macOS Intel + Windows 11 (tested on both, same result)
Additional context
- Fails on all apps regardless of size -- tested with 4.1MB (VDO.Ninja) and 249.6MB (Instagram)
- All decryption steps complete successfully every run -- the failure is exclusively at assembly
- Tested with both local IPA and bundle ID
OpenSSH,AppSync Unified, andappinstup-to-date--skip-appexsuccessfully produces a decrypted IPA for small apps (confirmedcryptid=0on main binary). Assembly still fails for Instagram even with--skip-appex, though.- SSH stays alive during decryption but drops immediately when assembly fails
- Confirmed issue is checkra1n rootful specific -- identical hardware (iPhone 7 Plus) on palera1n rootless iOS 15.8.8 decrypts Instagram fully including all 9 binaries and assembles successfully
Log/output of VDO.Ninja decrypt attempt:
# ipadecrypt decrypt .\app.ninja.vdo_1607609685_5.0.101.ipa
✓ ipadecrypt v0.8.0-rc.1 · [email protected] iOS 14.8 arm64 iPhone9,4 (unknown)
✓ local IPA app.ninja.vdo_1607609685_5.0.101.ipa
✓ app.ninja.vdo v5.0.101
✓ patched Info.plist
✓ MinimumOSVersion 15.0 → 14.8
✓ installed → /var/containers/Bundle/Application/21BDD53D-E50F-44FE-A701-74BDD2751EC8/Runner.app
· spawned app.ninja.vdo via SBS (pid=3393)
· decrypted main Runner (4.1 MB)
· dyld base 0x20000000000000 outside user-VA range patches skipped
· target trapped: EXC_CRASH (skips=0 pac_strips=0)
· decrypted Frameworks/WebRTC.framework/WebRTC (9.2 MB)
· decrypted Frameworks/Flutter.framework/Flutter (7.9 MB)
· pthread_create stopped at i=0 rc=-1 ret=0
· threadpool: spawned 0/34 fresh pthreads
· threadpool init failed inject skipped
· bundle done: 2 framework(s) decrypted
· spawned /var/containers/Bundle/Application/21BDD53D-E50F-44FE-A701-74BDD2751EC8/Runner.app/PlugIns/broadcast-ui.appex/broadcast-ui viia ptrace (pid=3395)
· decrypted main broadcast-ui (16.0 KB)
· spawned /var/containers/Bundle/Application/21BDD53D-E50F-44FE-A701-74BDD2751EC8/Runner.app/PlugIns/VDOBroadcastExtension.appex/VDOBrooadcastExtension via ptrace (pid=3396)
· decrypted main VDOBroadcastExtension (352.0 KB)
✗ assemble: helper run: wait: remote command exited without exit status or exit signal
✗ uninstall app.ninja.vdo: uninstall: new session: read tcp 10.0.0.100:1033->10.0.0.184:22: wsarecv: An existing …
I don't think this is checkra1n/rootful-specific — I hit the exact same error on palera1n rootless, and in my case the cause was iOS jetsam killing the helper for running out of memory.
Environment
- iPhone SE (1st gen, iPhone8,4, 2 GB RAM), iOS 15.8.6, palera1n rootless
- ipadecrypt v0.7.0, host on macOS (Intel)
- App: TikTok (
com.ss.iphone.ugc.Ame47.0.0, ~885 MB IPA)
Log
running target
· event=dyld.settled
decrypting Frameworks/TikTokCore.framework/TikTokCore
[err] assemble: helper run: wait: remote command exited without exit status or exit signal
Device side: at the moment of the failure, /var/mobile/Library/Logs/CrashReporter/ got 6 JetsamEvent-*.ips files within ~2 seconds, all with "largestProcess" : "ipadecrypt-helper-arm64-…". Resident memory from the first event (rpages × 16 KB):
| process | resident |
|---|---|
| ipadecrypt-helper-arm64 | 1119 MB |
| TikTok (target) | 131 MB |
| SpringBoard | 60 MB |
| free | ~18 MB |
So the helper seems to hold ~1.1 GB while processing a large framework (TikTokCore). The system runs out of memory, jetsam kills the largest process (the helper), and the SSH session closes without an exit status — which surfaces as this error. Instagram's 249.6 MB main binary in the original report could plausibly hit the same limit, especially on lower-RAM devices.
If you can reproduce, it's worth checking JetsamEvent-*.ips on the device right after the failure. If memory is the cause, processing/streaming large images in bounded chunks instead of buffering them whole might fix it.
(I haven't been able to re-test this app on v0.8.0-rc.1 yet: with the ipatool-downloaded IPA, SpringBoard rejects the launch (SBS rejected … trying ptrace), so it never reaches this stage, and fetching it through ipadecrypt itself currently fails with download: empty songList. Other apps work fine for me on rc.1.)
Please check https://github.com/londek/ipadecrypt/releases/tag/v0.9.0-rc.1