Open TPJoseph opened 4 days ago
You need to build idevicerestore from latest source, the above commit mentioned in the first line doesn't even exist in the official repo. But the code is too old (the device even says it: This host version is unsupported. You may need to update your host tools.
)
However note that there is currently an issue with some devices failing restore even with the latest code.
I am using the latest version of idevicerestore, and the restoration process has been successful for iPhone 13. However, I am encountering issues with restoring iPhone 14 and iPhone 15; the process fails for these models.
Unable to restore my device; it is now stuck on the Apple logo screen. How to put the device into normal mode? Thanks
@AKT04 I pushed a commit that should fix it.
@AKT04 I pushed a commit that should fix it.
Thanks it's working.
@nikias Unable to restore device - iOS 17.6.1
@khang30 can you provide a debug log?
@nikias i was trying to restore iPad16,6 to iOS 18
but failed for restore
idevicerestore -e -y iPad_Pro_M4_18.0_22A3354_Restore.ipsw -d
idevicerestore 1.0.0-git-3faf292
idevice_event_cb: device 000649d21eb9001c (udid: 00008132-000649D21EB9001C) connected in normal mode
Found device in Normal mode
idevice_event_cb: device 000649d21eb9001c (udid: 00008132-000649D21EB9001C) connected in normal mode
ECID: 1770016667664412
Identified device as j721ap, iPad16,6
Device Product Version: 17.6
Device Product Build: 21G80
Extracting BuildManifest from IPSW
IPSW Product Version: 18.0
IPSW Product Build: 22A3354 Major: 22
Device supports Image4: true
Variant: Customer Erase Install (IPSW)
This restore will erase all device data.
Checking IPSW for required components...
All required components found in IPSW
Getting ApNonce in normal mode... 84 c0 8e a2 80 23 d4 25 47 9b 7e 22 0a 8d 8e ed 3d ad 8c cf cb fd 3a c3 cf ba 4a 11 3e d4 e2 2f
Trying to fetch new SHSH blob
Getting SepNonce in normal mode... ab 20 dd fb 32 ed cb 12 e4 5c 46 f3 71 78 0d 91 6d bf ee 94
TSS server returned: STATUS=94&MESSAGE=This device isn't eligible for the requested build.
ERROR: TSS request failed (status=94, message=This device isn't eligible for the requested build.)
ERROR: Unable to send TSS request
ERROR: Unable to get SHSH blobs for this device
I also tried it with 17.6.1 and is still a failure
idevicerestore -e -y iPad_Pro_M4_17.6.1_21G101_Restore.ipsw -d
idevicerestore 1.0.0-git-3faf292
idevice_event_cb: device 000649d21eb9001c (udid: 00008132-000649D21EB9001C) connected in normal mode
Found device in Normal mode
idevice_event_cb: device 000649d21eb9001c (udid: 00008132-000649D21EB9001C) connected in normal mode
ECID: 1770016667664412
Identified device as j721ap, iPad16,6
Device Product Version: 17.6
Device Product Build: 21G80
Extracting BuildManifest from IPSW
IPSW Product Version: 17.6.1
IPSW Product Build: 21G101 Major: 21
Device supports Image4: true
Variant: Customer Erase Install (IPSW)
This restore will erase all device data.
Checking IPSW for required components...
All required components found in IPSW
Getting ApNonce in normal mode... 84 c0 8e a2 80 23 d4 25 47 9b 7e 22 0a 8d 8e ed 3d ad 8c cf cb fd 3a c3 cf ba 4a 11 3e d4 e2 2f
Trying to fetch new SHSH blob
Getting SepNonce in normal mode... ba db 6e 3d db 84 db 7b ab 98 d7 86 22 01 7e e2 88 0e 3b fb
Received SHSH blobs
Entering recovery mode...
DEBUG: Waiting for device to disconnect...
idevice_event_cb: device 000649d21eb9001c (udid: 00008132-000649D21EB9001C) disconnected
DEBUG: Waiting for device to connect in recovery mode...
irecv_event_cb: device 000649d21eb9001c (udid: 00008132-000649D21EB9001C) connected in Recovery mode
INFO: device serial number is CC9XXKXJRW
NOTE: No path for component iBEC in TSS, will fetch from build_identity
Extracting iBEC.j721.RELEASE.im4p (Firmware/dfu/iBEC.j721.RELEASE.im4p)...
Personalizing IMG4 component iBEC...
Tag found
Sending iBEC (1820786 bytes)...
Waiting for device to disconnect...
irecv_event_cb: device 000649d21eb9001c (udid: 00008132-000649D21EB9001C) disconnected
Waiting for device to reconnect in recovery mode...
irecv_event_cb: device 000649d21eb9001c (udid: 00008132-000649D21EB9001C) connected in Recovery mode
Recovery Mode Environment:
iBoot build-version=iBoot-10151.140.19
iBoot build-style=RELEASE
Sending RestoreLogo...
NOTE: No path for component RestoreLogo in TSS, will fetch from build_identity
Extracting applelogo@2752~ipad-USBc-woven.im4p (Firmware/all_flash/applelogo@2752~ipad-USBc-woven.im4p)...
Personalizing IMG4 component RestoreLogo...
Tag found
Sending RestoreLogo (45136 bytes)...
DEBUG: ANE is loaded by iBoot.
NOTE: No path for component ANE in TSS, will fetch from build_identity
Extracting h16_ane_fw_leto_j7x.im4p (Firmware/ane/h16_ane_fw_leto_j7x.im4p)...
Personalizing IMG4 component ANE...
Tag found
Sending ANE (4992753 bytes)...
DEBUG: AOP is loaded by iBoot.
NOTE: No path for component AOP in TSS, will fetch from build_identity
Extracting aopfw-ipad16aop.RELEASE.im4p (Firmware/AOP/aopfw-ipad16aop.RELEASE.im4p)...
Personalizing IMG4 component AOP...
Tag found
Sending AOP (3362545 bytes)...
DEBUG: AVE is loaded by iBoot.
NOTE: No path for component AVE in TSS, will fetch from build_identity
Extracting AppleAVE2FW_H16G.im4p (Firmware/ave/AppleAVE2FW_H16G.im4p)...
Personalizing IMG4 component AVE...
Tag found
Sending AVE (1600809 bytes)...
DEBUG: Ap,RestoreCIO is loaded by iBoot.
NOTE: No path for component Ap,RestoreCIO in TSS, will fetch from build_identity
Extracting t8132ciofw.im4p (Firmware/t8132ciofw.im4p)...
Personalizing IMG4 component Ap,RestoreCIO...
Tag found
Sending Ap,RestoreCIO (190161 bytes)...
DEBUG: Ap,RestoreSecureM3Firmware is loaded by iBoot.
NOTE: No path for component Ap,RestoreSecureM3Firmware in TSS, will fetch from build_identity
Extracting securem3fw-j7xx.im4p (Firmware/M3/bin/securem3fw-j7xx.im4p)...
Personalizing IMG4 component Ap,RestoreSecureM3Firmware...
Tag found
Sending Ap,RestoreSecureM3Firmware (85305 bytes)...
DEBUG: Ap,RestoreSecurePageTableMonitor is loaded by iBoot.
NOTE: No path for component Ap,RestoreSecurePageTableMonitor in TSS, will fetch from build_identity
Extracting sptm.t8132.release.im4p (Firmware/sptm.t8132.release.im4p)...
Personalizing IMG4 component Ap,RestoreSecurePageTableMonitor...
Tag found
Sending Ap,RestoreSecurePageTableMonitor (124065 bytes)...
DEBUG: Ap,RestoreTMU is loaded by iBoot.
NOTE: No path for component Ap,RestoreTMU in TSS, will fetch from build_identity
Extracting t8132tmufw.im4p (Firmware/t8132tmufw.im4p)...
Personalizing IMG4 component Ap,RestoreTMU...
Tag found
Sending Ap,RestoreTMU (26622 bytes)...
DEBUG: Ap,RestoreTrustedExecutionMonitor is loaded by iBoot.
NOTE: No path for component Ap,RestoreTrustedExecutionMonitor in TSS, will fetch from build_identity
Extracting txm.iphoneos.release.im4p (Firmware/txm.iphoneos.release.im4p)...
Personalizing IMG4 component Ap,RestoreTrustedExecutionMonitor...
Tag found
Sending Ap,RestoreTrustedExecutionMonitor (146219 bytes)...
DEBUG: Ap,RestorecL4 is loaded by iBoot.
NOTE: No path for component Ap,RestorecL4 in TSS, will fetch from build_identity
Extracting exclavecore_bundle.t8132.RELEASE.restore.im4p (Firmware/image4/exclavecore_bundle.t8132.RELEASE.restore.im4p)...
Personalizing IMG4 component Ap,RestorecL4...
Tag found
Sending Ap,RestorecL4 (31862723 bytes)...
DEBUG: GFX is loaded by iBoot.
NOTE: No path for component GFX in TSS, will fetch from build_identity
Extracting armfw_g16g.im4p (Firmware/agx/armfw_g16g.im4p)...
Personalizing IMG4 component GFX...
Tag found
Sending GFX (2420273 bytes)...
DEBUG: ISP is loaded by iBoot.
NOTE: No path for component ISP in TSS, will fetch from build_identity
Extracting adc-eris-j7xx.im4p (Firmware/isp_bni/adc-eris-j7xx.im4p)...
Personalizing IMG4 component ISP...
Tag found
Sending ISP (22245108 bytes)...
DEBUG: MtpFirmware is loaded by iBoot.
NOTE: No path for component MtpFirmware in TSS, will fetch from build_identity
Extracting J721_MtpFirmware.im4p (Firmware/J721_MtpFirmware.im4p)...
Personalizing IMG4 component MtpFirmware...
Tag found
Sending MtpFirmware (1123387 bytes)...
DEBUG: PMP is loaded by iBoot.
NOTE: No path for component PMP in TSS, will fetch from build_identity
Extracting t8132pmp.im4p (Firmware/pmp/t8132pmp.im4p)...
Personalizing IMG4 component PMP...
Tag found
Sending PMP (630513 bytes)...
DEBUG: RestoreANS is loaded by iBoot.
NOTE: No path for component RestoreANS in TSS, will fetch from build_identity
Extracting rans.t8132_ASP3.release.im4p (Firmware/rans.t8132_ASP3.release.im4p)...
Personalizing IMG4 component RestoreANS...
Tag found
Sending RestoreANS (1202801 bytes)...
DEBUG: RestoreDCP is loaded by iBoot.
NOTE: No path for component RestoreDCP in TSS, will fetch from build_identity
Extracting t8132dcp_restore.im4p (Firmware/dcp/t8132dcp_restore.im4p)...
Personalizing IMG4 component RestoreDCP...
Tag found
Sending RestoreDCP (16211697 bytes)...
DEBUG: RestoreTrustCache is loaded by iBoot.
NOTE: No path for component RestoreTrustCache in TSS, will fetch from build_identity
Extracting 090-91937-104.dmg.trustcache (Firmware/090-91937-104.dmg.trustcache)...
Personalizing IMG4 component RestoreTrustCache...
Tag found
Sending RestoreTrustCache (18154 bytes)...
DEBUG: SIO is loaded by iBoot.
NOTE: No path for component SIO in TSS, will fetch from build_identity
Extracting SmartIOFirmware_ASCv7.im4p (Firmware/SmartIOFirmware_ASCv7.im4p)...
Personalizing IMG4 component SIO...
Tag found
Sending SIO (1165381 bytes)...
DEBUG: iBootData is loaded by iBoot.
NOTE: No path for component iBootData in TSS, will fetch from build_identity
Extracting iBootData.j721.RELEASE.im4p (Firmware/all_flash/iBootData.j721.RELEASE.im4p)...
Personalizing IMG4 component iBootData...
Tag found
Sending iBootData (12252 bytes)...
ramdisk-size=0x20000000
NOTE: No path for component RestoreRamDisk in TSS, will fetch from build_identity
Extracting 090-91937-104.dmg (090-91937-104.dmg)...
Personalizing IMG4 component RestoreRamDisk...
Tag found
Sending RestoreRamDisk (201338612 bytes)...
NOTE: No path for component RestoreDeviceTree in TSS, will fetch from build_identity
Extracting DeviceTree.j721ap.im4p (Firmware/all_flash/DeviceTree.j721ap.im4p)...
Personalizing IMG4 component RestoreDeviceTree...
Tag found
Sending RestoreDeviceTree (68251 bytes)...
NOTE: No path for component RestoreSEP in TSS, will fetch from build_identity
Extracting sep-firmware.j721.RELEASE.im4p (Firmware/all_flash/sep-firmware.j721.RELEASE.im4p)...
Personalizing IMG4 component RestoreSEP...
Tag found
Sending RestoreSEP (5258123 bytes)...
NOTE: No path for component RestoreKernelCache in TSS, will fetch from build_identity
Extracting kernelcache.release.ipad16 (kernelcache.release.ipad16)...
Personalizing IMG4 component RestoreKernelCache...
Tag found
Sending RestoreKernelCache (19207478 bytes)...
DEBUG: Waiting for device to disconnect...
irecv_event_cb: device 000649d21eb9001c (udid: 00008132-000649D21EB9001C) disconnected
Waiting for device to enter restore mode...
irecv_event_cb: device 000649d21eb9001c (udid: 00008132-000649D21EB9001C) connected in Recovery mode
ERROR: Device failed to enter restore mode.
Please make sure that usbmuxd is running.
There must be something wrong with some dependency. Did you compile libplist yourself? If so, have you tried to run make check
to see if it passes all tests correctly? The 18.0 restore fails because of a TSS request error. It could also be something with libtatsu but I would check libplist first.
make check
Making check in libcnary
make[1]: Nothing to be done for `check'.
Making check in src
make[1]: Nothing to be done for `check'.
Making check in include
make[1]: Nothing to be done for `check'.
Making check in tools
make[1]: Nothing to be done for `check'.
Making check in docs
make[1]: Nothing to be done for `check'.
Making check in test
/Library/Developer/CommandLineTools/usr/bin/make check-TESTS
PASS: empty.test
PASS: small.test
PASS: medium.test
PASS: large.test
PASS: huge.test
PASS: bigarray.test
PASS: empty++.test
PASS: small++.test
PASS: medium++.test
PASS: large++.test
PASS: huge++.test
PASS: bigarray++.test
PASS: dates.test
PASS: timezone1.test
PASS: timezone2.test
PASS: signedunsigned1.test
PASS: signedunsigned2.test
PASS: signedunsigned3.test
PASS: hex.test
PASS: order.test
PASS: recursion.test
PASS: entities.test
PASS: empty_keys.test
PASS: amp.test
PASS: invalid_tag.test
PASS: cdata.test
PASS: offsetsize.test
PASS: refsize.test
PASS: malformed_dict.test
PASS: uid.test
PASS: integer_set.test
PASS: json1.test
PASS: json2.test
PASS: json3.test
PASS: json-invalid-types.test
PASS: json-int64-min-max.test
PASS: ostep1.test
PASS: ostep2.test
PASS: ostep-strings.test
PASS: ostep-comments.test
PASS: ostep-invalid-types.test
============================================================================
Testsuite summary for libplist 2.6.0
============================================================================
# TOTAL: 41
# PASS: 41
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
Is this what you were looking for
Ok great so libplist is fine. Could you attempt 18.0 again but add -d -d
to the command line?
idevicerestore -e -y iPad_Pro_M4_18.0_22A3354_Restore.ipsw -d
I had given the output for the above command
Do you want me to add -d twice
Yes, twice please