iPhone 4 iOS 4.2.x Boot Issue
Closed this issue · 4 comments
on the phone i get this message
Error, no successful firmware download after 60000 ms!!! giving up
packing: 038-2273-001.dmg (603238121)
packing: 038-2275-001.dmg (15546692)
packing: 038-2280-001.dmg (15595668)
packing: BuildManifest.plist (45227)
packing: Downgrade/ (0)
packing: Downgrade/RestoreDeviceTree (58272)
packing: Downgrade/RestoreKernelCache (5779572)
packing: Downgrade/RestoreLogo (24608)
packing: Firmware/ (0)
packing: Firmware/ICE3_01.51.00.Release.bin (16777216)
packing: Firmware/ICE3_01.51.00.fls (7464328)
packing: Firmware/ICE3_01.51.00_BOOT_02.08.Release.bbfw (3762206)
packing: Firmware/ICE3_01.51.00_BOOT_02.08.Release.plist (860)
packing: Firmware/ICE3_BOOT_01.91_G2M1S2.fls (339048)
packing: Firmware/Phoenix-1.0.06.Release.bbfw (6902564)
packing: Firmware/Phoenix-1.0.06.Release.plist (841)
packing: Firmware/Phoenix-1.0.06.zip (7074856)
packing: Firmware/Phoenix-Latest.txt (20)
packing: Firmware/all_flash/ (0)
packing: Firmware/all_flash/all_flash.n92ap.production/ (0)
packing: Firmware/all_flash/all_flash.n92ap.production/DeviceTree.n92ap.img3 (58436)
packing: Firmware/all_flash/all_flash.n92ap.production/LLB.n92ap.RELEASE.img3 (96644)
packing: Firmware/all_flash/all_flash.n92ap.production/applelogo-640x960.s5l8930x.img3 (24772)
packing: Firmware/all_flash/all_flash.n92ap.production/batterycharging0-640x960.s5l8930x.img3 (70212)
packing: Firmware/all_flash/all_flash.n92ap.production/batterycharging1-640x960.s5l8930x.img3 (80004)
packing: Firmware/all_flash/all_flash.n92ap.production/batteryfull-640x960.s5l8930x.img3 (235268)
packing: Firmware/all_flash/all_flash.n92ap.production/batterylow0-640x960.s5l8930x.img3 (190148)
packing: Firmware/all_flash/all_flash.n92ap.production/batterylow1-640x960.s5l8930x.img3 (209924)
packing: Firmware/all_flash/all_flash.n92ap.production/glyphcharging-640x960.s5l8930x.img3 (71940)
packing: Firmware/all_flash/all_flash.n92ap.production/glyphplugin-640x960.s5l8930x.img3 (69444)
packing: Firmware/all_flash/all_flash.n92ap.production/iBoot.n92ap.RELEASE.img3 (231812)
packing: Firmware/all_flash/all_flash.n92ap.production/manifest (387)
packing: Firmware/all_flash/all_flash.n92ap.production/recoverymode-640x960.s5l8930x.img3 (143748)
packing: Firmware/dfu/ (0)
packing: Firmware/dfu/iBEC.n92ap.RELEASE.dfu (231812)
packing: Firmware/dfu/iBSS.n92ap.RELEASE.dfu (149724)
packing: Restore.plist (2510)
packing: kernelcache.release.k48 (5680900)
packing: kernelcache.release.n81 (5589508)
packing: kernelcache.release.n90 (5667588)
packing: kernelcache.release.n92 (5779716)
[Log] Applying iOS 4 patches
[Log] Patch iBSS
Archive: /Users/theapplepie/Downloads/iPhone3,3_4.2.10_8E600_Restore.ipsw
inflating: iBSS.n92ap.RELEASE.dfu
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: b5a12791c0e68c4c8c779de74ed3749d626df875a26f46040e0e2772d9824c7d4865c55d91f99a0749cff9296e43595d
main: Starting...
main: iBoot-931 inputted.
patch_boot_args: Entering...
patch_boot_args: Default boot-args string is at 0x2012c
patch_boot_args: boot-args xref is at 0x12df4
patch_boot_args: Relocating boot-args string...
patch_boot_args: "Reliance on this certificate" string found at 0x22a68
patch_boot_args: Pointing default boot-args xref to 0x84022a68...
patch_boot_args: Applying custom boot-args "rd=md0 -v amfi=0xff cs_enforcement_disable=1 pio-error=0"
patch_boot_args: Found LDR R0, =boot_args at 0x12660
patch_boot_args: Found CMP R1, #0 at 0x12672
patch_boot_args: Found IT EQ/IT NE at 0x13258
patch_boot_args: Found MOV R0, R0 at 0x1325a
patch_debug_enabled: Entering...
find_dtre_get_value_bl_insn: Entering...
find_dtre_get_value_bl_insn: debug-enabled string is at 0x202b4
find_dtre_get_value_bl_insn: "debug-enabled" xref is at 0x12e90
find_dtre_get_value_bl_insn: Found LDR R0, ="debug-enabled" at 0x129ae
find_dtre_get_value_bl_insn: Found BL instruction at 0x129c4
find_dtre_get_value_bl_insn: Leaving...
patch_debug_enabled: Patching BL insn at 0x129c4...
patch_debug_enabled: Leaving...
patch_rsa_check: Entering...
find_rsa_check_4: Entering...
find_rsa_check_4: Found RSA check at 0x19a24
find_rsa_check_4: Leaving...
patch_rsa_check: Patching RSA at 0x19a24...
find_ldr_ecid: Entering...
find_ldr_ecid: Found LDR instruction at 0x11dcc
find_ldr_ecid: Found BL ECID at 0x11ddc
find_ldr_ecid: Leaving...
patch_rsa_check: Patching BL ECID at 0x11ddc...
find_ldr_bord: Entering...
find_ldr_bord: Found LDR BORD instruction at 0x11da6
find_ldr_bord: Found BL BORD at 0x11db8
find_ldr_bord: Leaving...
patch_rsa_check: Patching BL BORD at 0x11db8...
find_ldr_prod: Entering...
find_ldr_prod: Found LDR PROD instruction at 0x11cd2
find_ldr_prod: Found BL PROD at 0x11ce4
find_ldr_prod: Leaving...
patch_rsa_check: Patching BL PROD at 0x11ce4...
find_ldr_sepo: Entering...
find_ldr_sepo: Found LDR SEPO instruction at 0x11d74
find_ldr_sepo: Found BL SEPO at 0x11d76
find_ldr_sepo: Leaving...
patch_rsa_check: Patching BL SEPO at 0x11d76...
main: Writing out patched file to iBSS.patched...
main: Quitting...
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: b5a12791c0e68c4c8c779de74ed3749d626df875a26f46040e0e2772d9824c7d4865c55d91f99a0749cff9296e43595d
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: b5a12791c0e68c4c8c779de74ed3749d626df875a26f46040e0e2772d9824c7d4865c55d91f99a0749cff9296e43595d
updating: Firmware/dfu/iBSS.n92ap.RELEASE.dfu (stored 0%)
[Log] Patch iBEC
Archive: /Users/theapplepie/Downloads/iPhone3,3_4.2.10_8E600_Restore.ipsw
inflating: iBEC.n92ap.RELEASE.dfu
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: afc982f37264494ac68a2e4fe5d6af489ff429a6f3dac7ce0ff186281108116f6e8df0ece9759d7c7deea5de7c421b1b
main: Starting...
main: iBoot-931 inputted.
patch_boot_args: Entering...
patch_boot_args: Default boot-args string is at 0x300e4
patch_boot_args: boot-args xref is at 0x13444
patch_boot_args: Relocating boot-args string...
patch_boot_args: "Reliance on this certificate" string found at 0x362cc
patch_boot_args: Pointing default boot-args xref to 0x5ff362cc...
patch_boot_args: Applying custom boot-args "rd=md0 -v amfi=0xff cs_enforcement_disable=1 pio-error=0"
patch_boot_args: Found LDR R0, =boot_args at 0x12cba
patch_boot_args: Found CMP R1, #0 at 0x12cc2
patch_boot_args: Found IT EQ/IT NE at 0x138a4
patch_boot_args: Found MOV R0, R0 at 0x138a6
patch_debug_enabled: Entering...
find_dtre_get_value_bl_insn: Entering...
find_dtre_get_value_bl_insn: debug-enabled string is at 0x3026c
find_dtre_get_value_bl_insn: "debug-enabled" xref is at 0x134dc
find_dtre_get_value_bl_insn: Found LDR R0, ="debug-enabled" at 0x13002
find_dtre_get_value_bl_insn: Found BL instruction at 0x13018
find_dtre_get_value_bl_insn: Leaving...
patch_debug_enabled: Patching BL insn at 0x13018...
patch_debug_enabled: Leaving...
patch_rsa_check: Entering...
find_rsa_check_4: Entering...
find_rsa_check_4: Found RSA check at 0x1a620
find_rsa_check_4: Leaving...
patch_rsa_check: Patching RSA at 0x1a620...
find_ldr_ecid: Entering...
find_ldr_ecid: Found LDR instruction at 0x12448
find_ldr_ecid: Found BL ECID at 0x12458
find_ldr_ecid: Leaving...
patch_rsa_check: Patching BL ECID at 0x12458...
find_ldr_bord: Entering...
find_ldr_bord: Found LDR BORD instruction at 0x12422
find_ldr_bord: Found BL BORD at 0x12434
find_ldr_bord: Leaving...
patch_rsa_check: Patching BL BORD at 0x12434...
find_ldr_prod: Entering...
find_ldr_prod: Found LDR PROD instruction at 0x1234e
find_ldr_prod: Found BL PROD at 0x12360
find_ldr_prod: Leaving...
patch_rsa_check: Patching BL PROD at 0x12360...
find_ldr_sepo: Entering...
find_ldr_sepo: Found LDR SEPO instruction at 0x123f0
find_ldr_sepo: Found BL SEPO at 0x123f2
find_ldr_sepo: Leaving...
patch_rsa_check: Patching BL SEPO at 0x123f2...
main: Writing out patched file to iBEC.patched...
main: Quitting...
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: afc982f37264494ac68a2e4fe5d6af489ff429a6f3dac7ce0ff186281108116f6e8df0ece9759d7c7deea5de7c421b1b
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: afc982f37264494ac68a2e4fe5d6af489ff429a6f3dac7ce0ff186281108116f6e8df0ece9759d7c7deea5de7c421b1b
updating: Firmware/dfu/iBEC.n92ap.RELEASE.dfu (stored 0%)
[Log] Add all to custom IPSW
updating: Firmware/dfu/iBEC.n92ap.RELEASE.dfu (stored 0%)
updating: Firmware/dfu/iBSS.n92ap.RELEASE.dfu (stored 0%)
[Log] Starting multipatch
[Log] Checking URL in ../resources/firmware/iPhone3,3/8E600/url
[Log] Checking firmware keys in ../resources/firmware/iPhone3,3/8E600
[Log] Checking firmware keys in ../resources/firmware/iPhone3,3/8E600
[Log] Getting 4.2.10 restore components
[Log] iBSS
Archive: /Users/theapplepie/Downloads/iPhone3,3_4.2.10_8E600_Restore.ipsw
inflating: iBSS.n92ap.RELEASE.dfu
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: b5a12791c0e68c4c8c779de74ed3749d626df875a26f46040e0e2772d9824c7d4865c55d91f99a0749cff9296e43595d
[Log] Patch iBSS
main: Starting...
main: iBoot-931 inputted.
patch_boot_args: Entering...
patch_boot_args: Default boot-args string is at 0x2012c
patch_boot_args: boot-args xref is at 0x12df4
patch_boot_args: Relocating boot-args string...
patch_boot_args: "Reliance on this certificate" string found at 0x22a68
patch_boot_args: Pointing default boot-args xref to 0x84022a68...
patch_boot_args: Applying custom boot-args "rd=md0 -v nand-enable-reformat=1 amfi=0xff amfi_get_out_of_my_way=1 cs_enforcement_disable=1 pio-error=0"
patch_boot_args: Found LDR R0, =boot_args at 0x12660
patch_boot_args: Found CMP R1, #0 at 0x12672
patch_boot_args: Found IT EQ/IT NE at 0x13258
patch_boot_args: Found MOV R0, R0 at 0x1325a
patch_debug_enabled: Entering...
find_dtre_get_value_bl_insn: Entering...
find_dtre_get_value_bl_insn: debug-enabled string is at 0x202b4
find_dtre_get_value_bl_insn: "debug-enabled" xref is at 0x12e90
find_dtre_get_value_bl_insn: Found LDR R0, ="debug-enabled" at 0x129ae
find_dtre_get_value_bl_insn: Found BL instruction at 0x129c4
find_dtre_get_value_bl_insn: Leaving...
patch_debug_enabled: Patching BL insn at 0x129c4...
patch_debug_enabled: Leaving...
patch_rsa_check: Entering...
find_rsa_check_4: Entering...
find_rsa_check_4: Found RSA check at 0x19a24
find_rsa_check_4: Leaving...
patch_rsa_check: Patching RSA at 0x19a24...
find_ldr_ecid: Entering...
find_ldr_ecid: Found LDR instruction at 0x11dcc
find_ldr_ecid: Found BL ECID at 0x11ddc
find_ldr_ecid: Leaving...
patch_rsa_check: Patching BL ECID at 0x11ddc...
find_ldr_bord: Entering...
find_ldr_bord: Found LDR BORD instruction at 0x11da6
find_ldr_bord: Found BL BORD at 0x11db8
find_ldr_bord: Leaving...
patch_rsa_check: Patching BL BORD at 0x11db8...
find_ldr_prod: Entering...
find_ldr_prod: Found LDR PROD instruction at 0x11cd2
find_ldr_prod: Found BL PROD at 0x11ce4
find_ldr_prod: Leaving...
patch_rsa_check: Patching BL PROD at 0x11ce4...
find_ldr_sepo: Entering...
find_ldr_sepo: Found LDR SEPO instruction at 0x11d74
find_ldr_sepo: Found BL SEPO at 0x11d76
find_ldr_sepo: Leaving...
patch_rsa_check: Patching BL SEPO at 0x11d76...
main: Writing out patched file to iBSS.patched...
main: Quitting...
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: b5a12791c0e68c4c8c779de74ed3749d626df875a26f46040e0e2772d9824c7d4865c55d91f99a0749cff9296e43595d
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: b5a12791c0e68c4c8c779de74ed3749d626df875a26f46040e0e2772d9824c7d4865c55d91f99a0749cff9296e43595d
updating: Firmware/dfu/iBSS.n92ap.RELEASE.dfu (stored 0%)
adding: Firmware/dfu/iBSS.n92.RELEASE.dfu (stored 0%)
[Log] iBEC
Archive: /Users/theapplepie/Downloads/iPhone3,3_4.2.10_8E600_Restore.ipsw
inflating: iBEC.n92ap.RELEASE.dfu
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: afc982f37264494ac68a2e4fe5d6af489ff429a6f3dac7ce0ff186281108116f6e8df0ece9759d7c7deea5de7c421b1b
[Log] Patch iBEC
main: Starting...
main: iBoot-931 inputted.
patch_boot_args: Entering...
patch_boot_args: Default boot-args string is at 0x300e4
patch_boot_args: boot-args xref is at 0x13444
patch_boot_args: Relocating boot-args string...
patch_boot_args: "Reliance on this certificate" string found at 0x362cc
patch_boot_args: Pointing default boot-args xref to 0x5ff362cc...
patch_boot_args: Applying custom boot-args "rd=md0 -v nand-enable-reformat=1 amfi=0xff amfi_get_out_of_my_way=1 cs_enforcement_disable=1 pio-error=0"
patch_boot_args: Found LDR R0, =boot_args at 0x12cba
patch_boot_args: Found CMP R1, #0 at 0x12cc2
patch_boot_args: Found IT EQ/IT NE at 0x138a4
patch_boot_args: Found MOV R0, R0 at 0x138a6
patch_debug_enabled: Entering...
find_dtre_get_value_bl_insn: Entering...
find_dtre_get_value_bl_insn: debug-enabled string is at 0x3026c
find_dtre_get_value_bl_insn: "debug-enabled" xref is at 0x134dc
find_dtre_get_value_bl_insn: Found LDR R0, ="debug-enabled" at 0x13002
find_dtre_get_value_bl_insn: Found BL instruction at 0x13018
find_dtre_get_value_bl_insn: Leaving...
patch_debug_enabled: Patching BL insn at 0x13018...
patch_debug_enabled: Leaving...
patch_rsa_check: Entering...
find_rsa_check_4: Entering...
find_rsa_check_4: Found RSA check at 0x1a620
find_rsa_check_4: Leaving...
patch_rsa_check: Patching RSA at 0x1a620...
find_ldr_ecid: Entering...
find_ldr_ecid: Found LDR instruction at 0x12448
find_ldr_ecid: Found BL ECID at 0x12458
find_ldr_ecid: Leaving...
patch_rsa_check: Patching BL ECID at 0x12458...
find_ldr_bord: Entering...
find_ldr_bord: Found LDR BORD instruction at 0x12422
find_ldr_bord: Found BL BORD at 0x12434
find_ldr_bord: Leaving...
patch_rsa_check: Patching BL BORD at 0x12434...
find_ldr_prod: Entering...
find_ldr_prod: Found LDR PROD instruction at 0x1234e
find_ldr_prod: Found BL PROD at 0x12360
find_ldr_prod: Leaving...
patch_rsa_check: Patching BL PROD at 0x12360...
find_ldr_sepo: Entering...
find_ldr_sepo: Found LDR SEPO instruction at 0x123f0
find_ldr_sepo: Found BL SEPO at 0x123f2
find_ldr_sepo: Leaving...
patch_rsa_check: Patching BL SEPO at 0x123f2...
main: Writing out patched file to iBEC.patched...
main: Quitting...
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: afc982f37264494ac68a2e4fe5d6af489ff429a6f3dac7ce0ff186281108116f6e8df0ece9759d7c7deea5de7c421b1b
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: afc982f37264494ac68a2e4fe5d6af489ff429a6f3dac7ce0ff186281108116f6e8df0ece9759d7c7deea5de7c421b1b
updating: Firmware/dfu/iBEC.n92ap.RELEASE.dfu (stored 0%)
adding: Firmware/dfu/iBEC.n92.RELEASE.dfu (stored 0%)
[Log] DeviceTree
Archive: /Users/theapplepie/Downloads/iPhone3,3_4.2.10_8E600_Restore.ipsw
inflating: DeviceTree.n92ap.img3
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: 4090885f539e815ccb7a209ca82442d9d5a6f3443d19912246650fc12afd231f8e9a780347dc9c1a5bc72375bf28edfc
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: 4090885f539e815ccb7a209ca82442d9d5a6f3443d19912246650fc12afd231f8e9a780347dc9c1a5bc72375bf28edfc
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: 4090885f539e815ccb7a209ca82442d9d5a6f3443d19912246650fc12afd231f8e9a780347dc9c1a5bc72375bf28edfc
updating: Downgrade/RestoreDeviceTree (stored 0%)
[Log] Kernelcache
Archive: /Users/theapplepie/Downloads/iPhone3,3_4.2.10_8E600_Restore.ipsw
inflating: kernelcache.release.n92
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: b126ae72b1e054fad6e4aec521c359549e2f48603ab9a94355c4a64d282b05a5012160a07a91dee093495f2d402f81d7
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: b126ae72b1e054fad6e4aec521c359549e2f48603ab9a94355c4a64d282b05a5012160a07a91dee093495f2d402f81d7
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: b126ae72b1e054fad6e4aec521c359549e2f48603ab9a94355c4a64d282b05a5012160a07a91dee093495f2d402f81d7
updating: Downgrade/RestoreKernelCache (stored 0%)
[Log] RestoreRamdisk
Archive: /Users/theapplepie/Downloads/iPhone3,3_4.2.10_8E600_Restore.ipsw
inflating: 038-2280-001.dmg
/tmp/xpwn/ipsw-patch/img3.c:createAbstractFileFromImg3:643: 1c1d9499995af90ad3d81571e97412062713a183e9be8949dcf93d8259850c786857d0c4220a5666bcbf33fdda95d493
[Log] Extracting ramdisk from IPSW
Archive: temp.ipsw
inflating: 038-2280-001.dmg
[Log] Checking
No such file or directory
[Log] Grow ramdisk
grew volume: 30000000
[Log] Patch ASR
[Log] Extract options.plist from 4.2.10 IPSW
[Log] Modify options.plist
[Log] Restoring done! Read the message below if any error has occurred:
- For device activation, go to: Other Utilities -> Attempt Activation
- Please read the "Troubleshooting" wiki page in GitHub before opening any issue!
- Your problem may have already been addressed within the wiki page.
- If opening an issue in GitHub, please provide a FULL log/output. Otherwise, your issue may be dismissed.
[Log] The device may enter recovery mode after the restore
-
To fix this, go to: Other Utilities -> Disable/Enable Exploit -> Enable Exploit
-
Save the terminal output now if needed.
-
Legacy iOS Kit v24.07.38 (60b6d07)
-
Platform: macos (11.7.10)
it is already shown in the restore/downgrade menu that 4.2.1 and lower are hit or miss
it works fine for some, while others will be stuck at the no successful firmware download after 60000 ms error
out of the 4.0-4.2.1 versions, 4.1 seems to be the most reliable, but ofc that will also not work on devices incompatible with it (eg. minimum is 4.3, 5.0, or 6.0 depending on device)
What About 4.2.x for the CDMA 4, are those hit or miss too?
maybe? idk, i dont have a cdma 4