libimobiledevice / idevicerestore

Restore/upgrade firmware of iOS devices
https://libimobiledevice.org
GNU Lesser General Public License v3.0
1.3k stars 391 forks source link

iOS 18 restore failure #675

Open TPJoseph opened 4 days ago

TPJoseph commented 4 days ago
idevicerestore iPhone15,2_18.0_22A3354_Restore
idevicerestore 1.0.0-git-4442c3a
Found device in Recovery mode
ECID: 4895945474654238
Identified device as d73ap, iPhone15,2
Device Product Version: N/A
Device Product Build: N/A
Extracting BuildManifest from IPSW
IPSW Product Version: 18.0
IPSW Product Build: 22A3354 Major: 22
Device supports Image4: true
Variant: Customer Upgrade Install (IPSW)
This restore will update the device without erasing user data.
Checking IPSW for required components...
All required components found in IPSW
Getting ApNonce in recovery mode... 2c d1 55 ee 9a 76 d0 2f 68 07 b2 33 34 33 b1 c0 8a e6 84 21 21 c0 a0 1f 80 74 d6 00 79 64 d0 34 
Trying to fetch new SHSH blob
Getting SepNonce in recovery mode... f1 3d 68 cc 1b 46 aa 65 17 0b bf 17 a7 f8 e8 7b b7 ad 80 0d 
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received SHSH blobs
Extracting iBEC.d73.RELEASE.im4p (Firmware/dfu/iBEC.d73.RELEASE.im4p)...
Personalizing IMG4 component iBEC...
Sending iBEC (1410316 bytes)...
Recovery Mode Environment:
iBoot build-version=iBoot-11881.2.10
iBoot build-style=RELEASE
Sending RestoreLogo...
Extracting applelogo@2556~iphone.im4p (Firmware/all_flash/applelogo@2556~iphone.im4p)...
Personalizing IMG4 component RestoreLogo...
Sending RestoreLogo (29999 bytes)...
Extracting h15_ane_fw_themis_d7x.im4p (Firmware/ane/h15_ane_fw_themis_d7x.im4p)...
Personalizing IMG4 component ANE...
Sending ANE (1550928 bytes)...
Extracting aopfw-iphone15aop.RELEASE.im4p (Firmware/AOP/aopfw-iphone15aop.RELEASE.im4p)...
Personalizing IMG4 component AOP...
Sending AOP (3062352 bytes)...
Extracting AppleAVE2FW_H15.im4p (Firmware/ave/AppleAVE2FW_H15.im4p)...
Personalizing IMG4 component AVE...
Sending AVE (1547376 bytes)...
Extracting sptm.t8120.release.im4p (Firmware/sptm.t8120.release.im4p)...
Personalizing IMG4 component Ap,RestoreSecurePageTableMonitor...
Sending Ap,RestoreSecurePageTableMonitor (160691 bytes)...
Extracting txm.iphoneos.release.im4p (Firmware/txm.iphoneos.release.im4p)...
Personalizing IMG4 component Ap,RestoreTrustedExecutionMonitor...
Sending Ap,RestoreTrustedExecutionMonitor (156738 bytes)...
Extracting armfw_g15p.im4p (Firmware/agx/armfw_g15p.im4p)...
Personalizing IMG4 component GFX...
Sending GFX (1296768 bytes)...
Extracting adc-kronos-d7x.im4p (Firmware/isp_bni/adc-kronos-d7x.im4p)...
Personalizing IMG4 component ISP...
Sending ISP (21932627 bytes)...
Extracting D73_MtpFirmware.im4p (Firmware/D73_MtpFirmware.im4p)...
Personalizing IMG4 component MtpFirmware...
Sending MtpFirmware (4568216 bytes)...
Extracting t8120pmp.im4p (Firmware/pmp/t8120pmp.im4p)...
Personalizing IMG4 component PMP...
Sending PMP (535120 bytes)...
Extracting rans.t8120.release.im4p (Firmware/rans.t8120.release.im4p)...
Personalizing IMG4 component RestoreANS...
Sending RestoreANS (1035574 bytes)...
Extracting iphone15dcp_restore.im4p (Firmware/dcp/iphone15dcp_restore.im4p)...
Personalizing IMG4 component RestoreDCP...
Sending RestoreDCP (1510393 bytes)...
Extracting 044-36986-002.dmg.trustcache (Firmware/044-36986-002.dmg.trustcache)...
Personalizing IMG4 component RestoreTrustCache...
Sending RestoreTrustCache (18333 bytes)...
Extracting SmartIOFirmware_ASCv6.im4p (Firmware/SmartIOFirmware_ASCv6.im4p)...
Personalizing IMG4 component SIO...
Sending SIO (1180492 bytes)...
Extracting WirelessPower.iphone15.im4p (Firmware/WirelessPower/WirelessPower.iphone15.im4p)...
Personalizing IMG4 component WCHFirmwareUpdater...
Sending WCHFirmwareUpdater (215454 bytes)...
Extracting iBootData.d73.RELEASE.im4p (Firmware/all_flash/iBootData.d73.RELEASE.im4p)...
Personalizing IMG4 component iBootData...
Sending iBootData (10929 bytes)...
ramdisk-size=0x20000000
Extracting 044-36986-002.dmg (044-36986-002.dmg)...
Personalizing IMG4 component RestoreRamDisk...
Sending RestoreRamDisk (151005779 bytes)...
Extracting DeviceTree.d73ap.im4p (Firmware/all_flash/DeviceTree.d73ap.im4p)...
Personalizing IMG4 component RestoreDeviceTree...
Sending RestoreDeviceTree (60617 bytes)...
Extracting sep-firmware.d73.RELEASE.im4p (Firmware/all_flash/sep-firmware.d73.RELEASE.im4p)...
Personalizing IMG4 component RestoreSEP...
Sending RestoreSEP (6827336 bytes)...
Extracting kernelcache.release.iphone15 (kernelcache.release.iphone15)...
Personalizing IMG4 component RestoreKernelCache...
Sending RestoreKernelCache (17861759 bytes)...
Waiting for device to enter restore mode...
About to restore device... 
Connecting now...
Connected to com.apple.mobile.restored, version 15
Device 00008120-001164D622DB401E has successfully entered restore mode
Hardware Information:
BoardID: 12
ChipID: 33056
UniqueChipID: 4895945474654238
ProductionMode: true
Starting Reverse Proxy
ReverseProxy[Ctrl]: (status=1) Ready
Checkpoint completed id: 0x655 (is_host_compatible) result=10
Checkpoint FAILURE id: 0x655 result=10: [0]D(This host version is unsupported. You may need to update your host tools.)
Checkpoint started   id: 0x67C (cleanup_boot_command)
Checkpoint completed id: 0x67C (cleanup_boot_command) result=0
Checkpoint FAILURE id: 0x67C result=0: [0]D(This host version is unsupported. You may need to update your host tools.)
Checkpoint started   id: 0x1613 (cleanup_recovery_os_volume)
Checkpoint completed id: 0x1613 (cleanup_recovery_os_volume) result=0
Checkpoint FAILURE id: 0x1613 result=0: [0]D(This host version is unsupported. You may need to update your host tools.)
Checkpoint started   id: 0x647 (cleanup_check_result)
Checkpoint completed id: 0x647 (cleanup_check_result) result=0
Checkpoint FAILURE id: 0x647 result=0: [0]D(This host version is unsupported. You may need to update your host tools.)
Checkpoint started   id: 0x6C2 (cleanup_send_crash_logs)
Checkpoint completed id: 0x6C2 (cleanup_send_crash_logs) result=0
Checkpoint FAILURE id: 0x6C2 result=0: [0]D(This host version is unsupported. You may need to update your host tools.)
Checkpoint started   id: 0x648 (cleanup_send_final_status)
Got status message
Unhandled status message (10)
common.c:printing 16384 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Successful</key>
    <false/>
    <key>Log</key>
    <string>Setting crash behaviors: logOnCrash
[17:35:00.0604-GMT]{3&gt;6} CHECKPOINT NOTICE: Image4 device: AP nonce clearable
entering ramrod_clear_ap_nonce
[17:35:00.0616-GMT]{3&gt;6} CHECKPOINT NOTICE: AP nonce consumed
[17:35:00.0616-GMT]{3&gt;6} CHECKPOINT NOTICE: Pre-existing NVRAM variable: auto-boot=false
[17:35:00.0616-GMT]{3&gt;6} CHECKPOINT NOTICE: Pre-existing NVRAM variable: restore-outcome=initial_monitor_no_return
[17:35:00.0616-GMT]{3&gt;6} CHECKPOINT PROGRESS: START (unknown) -&gt; (initial_engine_no_return)
[17:35:00.0616-GMT]{3&gt;6} CHECKPOINT NOTICE: NVRAM access available on initial check
restore-outcome = initial_engine_no_return
[17:35:00.0616-GMT]{3&gt;6} CHECKPOINT BEGIN: MAIN:[0x0400] umask
restore-step-ids = {0x11030400:1}
restore-step-names = {0x11030400:umask}
restore-step-uptime = 1
restore-step-user-progress = -1
[17:35:00.0616-GMT]{3&gt;6} CHECKPOINT END: MAIN:[0x0400] umask
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = -1
Considering saving tolerated failures: false (null) false
[17:35:00.0617-GMT]{3&gt;6} CHECKPOINT BEGIN: MAIN:[0x0402] setvbuf
restore-step-ids = {0x11030402:2}
restore-step-names = {0x11030402:setvbuf}
restore-step-uptime = 1
restore-step-user-progress = -1
[17:35:00.0617-GMT]{3&gt;6} CHECKPOINT END: MAIN:[0x0402] setvbuf
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = -1
Considering saving tolerated failures: false (null) false
[17:35:00.0617-GMT]{3&gt;6} CHECKPOINT BEGIN: MAIN:[0x0406] set_progress_0
restore-step-ids = {0x11030406:3}
restore-step-names = {0x11030406:set_progress_0}
restore-step-uptime = 1
restore-step-user-progress = -1
found display: primary
Will use display primary
Display state is 1
display-boot-rotation = 0
display-scale = 3
display-rotation = 0
Using product_suffix of iphone
found applelogo at /usr/share/progressui/applelogo@2556~iphone.tga
display: 1179 x 2556
Progress Bar Y offset at 168, display class 30
skip_display_poweron_for_device: HW.target returned: D73AP
skip_display_poweron_for_device: DeviceName is: iPhone
powering on display
ramrod_display_set_granular_progress_forced: 0.000000
[17:35:00.0630-GMT]{3&gt;6} CHECKPOINT END: MAIN:[0x0406] set_progress_0
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:00.0630-GMT]{3&gt;6} CHECKPOINT BEGIN: MAIN:[0x0407] start_gasgauge_thread
restore-step-ids = {0x11030407:4}
restore-step-names = {0x11030407:start_gasgauge_thread}
restore-step-uptime = 1
restore-step-user-progress = 0
[17:35:00.0631-GMT]{3&gt;6} CHECKPOINT WARNING: MAIN:[0x0407] gasgauge_start_update_thread failed: -1
[17:35:00.0631-GMT]{3&gt;6} CHECKPOINT END: MAIN:[0x0407] start_gasgauge_thread
restore-step-ids = {}
restore-step-names = {}
restore-step-warnings = {0x11060407:{0:"gasgauge_start_update_thread failed: -1"}}
restore-step-uptime = 1
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:00.0631-GMT]{3&gt;6} CHECKPOINT BEGIN: MAIN:[0x0408] listen_for_log_client
restore-step-ids = {0x11030408:5}
restore-step-names = {0x11030408:listen_for_log_client}
restore-step-uptime = 1
restore-step-user-progress = 0
sock   3: set SO_NOSIGPIPE=1
sock   3: listening on [::]:5000
[17:35:00.0631-GMT]{3&gt;6} CHECKPOINT END: MAIN:[0x0408] listen_for_log_client
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:00.0631-GMT]{3&gt;6} CHECKPOINT BEGIN: MAIN:[0x040D] create_listen_socket
restore-step-ids = {0x1103040D:6}
restore-step-names = {0x1103040D:create_listen_socket}
restore-step-uptime = 1
restore-step-user-progress = 0
sock   4: set SO_NOSIGPIPE=1
sock   4: listening on [::]:62078
[17:35:00.0633-GMT]{3&gt;6} CHECKPOINT END: MAIN:[0x040D] create_listen_socket
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:00.0633-GMT]{3&gt;6} CHECKPOINT BEGIN: MAIN:[0x0404] update_root_mount
restore-step-ids = {0x11030404:7}
restore-step-names = {0x11030404:update_root_mount}
restore-step-uptime = 1
restore-step-user-progress = 0
[17:35:00.0633-GMT]{3&gt;6} CHECKPOINT END: MAIN:[0x0404] update_root_mount
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:00.0633-GMT]{3&gt;6} CHECKPOINT BEGIN: MAIN:[0x0405] disable_watchdog
restore-step-ids = {0x11030405:8}
restore-step-names = {0x11030405:disable_watchdog}
restore-step-uptime = 1
restore-step-user-progress = 0
[17:35:00.0633-GMT]{3&gt;6} CHECKPOINT END: MAIN:[0x0405] disable_watchdog
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:00.0633-GMT]{3&gt;6} CHECKPOINT BEGIN: MAIN:[0x0410] usbcretimer_dfucheck
restore-step-ids = {0x11030410:9}
restore-step-names = {0x11030410:usbcretimer_dfucheck}
restore-step-uptime = 1
restore-step-user-progress = 0
entering _ramrod_device_has_usbcretimer
entering _ramrod_device_has_usbcretimer
Neither legacy nor UARP retimer present on this platform.
[17:35:00.0636-GMT]{3&gt;6} CHECKPOINT END: MAIN:[0x0410] usbcretimer_dfucheck
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:00.0636-GMT]{3&gt;6} CHECKPOINT BEGIN: MAIN:[0x040E] enable_usb
restore-step-ids = {0x1103040E:10}
restore-step-names = {0x1103040E:enable_usb}
restore-step-uptime = 1
restore-step-user-progress = 0
enabling USB (blocking) with description: standardRestore
enabling USB (blocking) finished: success (0)
waiting for matching IOKit service: {
    IOProviderClass = AppleUSBDeviceMux;
}
[17:35:04.0314-GMT]{3&gt;6} CHECKPOINT END: MAIN:[0x040E] enable_usb
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 5
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:04.0315-GMT]{3&gt;6} CHECKPOINT BEGIN: MAIN:[0x0411] config_network_interface
restore-step-ids = {0x11030411:11}
restore-step-names = {0x11030411:config_network_interface}
restore-step-uptime = 5
restore-step-user-progress = 0
no device required to enable network interface, skipping
[17:35:04.0322-GMT]{3&gt;6} CHECKPOINT END: MAIN:[0x0411] config_network_interface
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 5
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
waiting for host to trigger start of restore [timeout of 120 seconds]
mDNS [      ]: no usable interfaces found
mDNS [      ]: no usable interfaces found
mDNS [      ]: no usable interfaces found
mDNS [      ]: no usable interfaces found
sock   9: accepted [::ffff:127.0.0.1]:62078 &lt;- [::ffff:127.0.0.1]:49152 (from 4)
sock   9: closed
sock   9: accepted [::ffff:127.0.0.1]:62078 &lt;- [::ffff:127.0.0.1]:49153 (from 4)
sock  10: accepted [::ffff:127.0.0.1]:62078 &lt;- [::ffff:127.0.0.1]:49154 (from 4)
sock  10: closed
sock  10: accepted [::ffff:127.0.0.1]:62078 &lt;- [::ffff:127.0.0.1]:49155 (from 4)
sock  10: closed
sock  10: accepted [::ffff:127.0.0.1]:62078 &lt;- [::ffff:127.0.0.1]:49156 (from 4)
sock  11: accepted [::ffff:127.0.0.1]:62078 &lt;- [::ffff:127.0.0.1]:49158 (from 4)
sock  11: closed
sock  11: accepted [::ffff:127.0.0.1]:62078 &lt;- [::ffff:127.0.0.1]:49159 (from 4)
sock  11: closed
sock  11: accepted [::ffff:127.0.0.1]:62078 &lt;- [::ffff:127.0.0.1]:49160 (from 4)
sock  11: closed
sock  10: starting main restore
[17:35:08.0753-GMT]{3&gt;6} CHECKPOINT BEGIN: RESTORED:[0x0600] client_protocol_version
restore-step-ids = {0x11030600:12}
restore-step-names = {0x11030600:client_protocol_version}
restore-step-uptime = 9
restore-step-user-progress = 0
client protocol version 15
[17:35:08.0754-GMT]{3&gt;6} CHECKPOINT END: RESTORED:[0x0600] client_protocol_version
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0754-GMT]{3&gt;6} CHECKPOINT BEGIN: RESTORED:[0x0601] copy_restore_options
restore-step-ids = {0x11030601:13}
restore-step-names = {0x11030601:copy_restore_options}
restore-step-uptime = 9
restore-step-user-progress = 0
unable to open /usr/local/share/restore//options.d73.plist: No such file or directory
0: NSPOSIXErrorDomain/2: create_dictionary_from_plist: unable to open plist
unable to open /usr/local/share/restore//options.plist: No such file or directory
0: NSPOSIXErrorDomain/2: create_dictionary_from_plist: unable to open plist
Info: Cached restored options set.

*** UUID 21CA6BA8-020B-8AF0-588A-A69BF9558202 ***
Restore options:
    UUID                           =&gt; &lt;CFString 0x5a20a42c0 [0x108737828]&gt;{contents = "21CA6BA8-020B-8AF0-588A-A69BF9558202"}
    PersonalizedDuringPreflight    =&gt; &lt;CFBoolean 0x108734030 [0x108737828]&gt;{value = true}
    CreateFilesystemPartitions     =&gt; &lt;CFBoolean 0x108734020 [0x108737828]&gt;{value = false}
[17:35:08.0757-GMT]{3&gt;6} CHECKPOINT END: RESTORED:[0x0601] copy_restore_options
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0757-GMT]{3&gt;6} CHECKPOINT BEGIN: RESTORED:[0x06A1] usbcretimer_dfucheck_enforce
restore-step-ids = {0x110306A1:14}
restore-step-names = {0x110306A1:usbcretimer_dfucheck_enforce}
restore-step-uptime = 9
restore-step-user-progress = 0
[17:35:08.0758-GMT]{3&gt;6} CHECKPOINT END: RESTORED:[0x06A1] usbcretimer_dfucheck_enforce
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0758-GMT]{3&gt;6} CHECKPOINT BEGIN: RESTORED:[0x06AF] network_config_enforce
restore-step-ids = {0x110306AF:15}
restore-step-names = {0x110306AF:network_config_enforce}
restore-step-uptime = 9
restore-step-user-progress = 0
[17:35:08.0758-GMT]{3&gt;6} CHECKPOINT END: RESTORED:[0x06AF] network_config_enforce
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0759-GMT]{3&gt;6} CHECKPOINT BEGIN: RESTORED:[0x0655] is_host_compatible
restore-step-ids = {0x11030655:16}
restore-step-names = {0x11030655:is_host_compatible}
restore-step-uptime = 9
restore-step-user-progress = 0
CHECKPOINT_INTERNAL_ERROR(checkpoint_engine_set_supports_async_operations): Async support set to: false
host/device compatibility check found that a message is missing or is not supported (optional): AsyncDataRequestMsg

host/device compatibility check found that a message is missing or is not supported (optional): AsyncWait

host/device compatibility check found that a message is missing or is not supported (optional): RestoreAttestation

host/device compatibility check found that a message is missing or is not supported (optional): CrashLog

host/device compatibility check found that a message is missing or is not supported (optional): FirmwareUpdaterDataV3

host/device compatibility check found that a message is missing or is not supported (required): MessageUseStreamedImageFile

host/device compatibility check found that a message is missing or is not supported (optional): UpdateVolumeOverlayRootDataCount

host/device compatibility check found that a message is missing or is not supported (optional): URLAsset

Detected a mismatch between the messages the device can send and what the host can support.
net.inet.tcp.always_keepalive: 1 -&gt; 0
Checkpoint engine recorder path set to /mnt5
[17:35:08.0760-GMT]{3&gt;6} CHECKPOINT FAILURE:(FAILURE:10) RESTORED:[0x0655] is_host_compatible [0]D(This host version is unsupported. You may need to update your host tools.)
restore-step-results = {0x11070655:{0:10}}
restore-step-codes = {0x11070655:{0:10}}
restore-step-domains = {0x11070655:{0:"AMRestoreErrorDomain"}}
restore-step-error = {0x11070655:"[0]D(This host version is unsupported. You may need to update your host tools.)"}
restore-step-uptime = 9
restore-step-user-progress = 0
[17:35:08.0761-GMT]{3&gt;6} CHECKPOINT NOTICE: (NVRAM set) restore-step-user-progress=0 [sync=true] (first failure)
Considering saving tolerated failures: false (null) false
[17:35:08.0761-GMT]{3&gt;6} CHECKPOINT BEGIN: RESTORED:[0x067C] cleanup_boot_command
restore-step-ids = {0x11030655:16;0x1103067C:17}
restore-step-names = {0x11030655:is_host_compatible;0x1103067C:cleanup_boot_command}
restore-step-uptime = 9
restore-step-user-progress = 0
entering reset_boot_command_if_in_values
recovery-boot-mode = &lt;delete&gt;
iboot-failure-reason = &lt;delete&gt;
[17:35:08.0763-GMT]{3&gt;6} CHECKPOINT END: RESTORED:[0x067C] cleanup_boot_command
restore-step-ids = {0x11030655:16}
restore-step-names = {0x11030655:is_host_compatible}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0764-GMT]{3&gt;6} CHECKPOINT BEGIN: RESTORED:[0x1613] cleanup_recovery_os_volume
restore-step-ids = {0x11030655:16;0x11031613:18}
restore-step-names = {0x11030655:is_host_compatible;0x11031613:cleanup_recovery_os_volume}
restore-step-uptime = 9
restore-step-user-progress = 0
[17:35:08.0764-GMT]{3&gt;6} CHECKPOINT END: RESTORED:[0x1613] cleanup_recovery_os_volume
restore-step-ids = {0x11030655:16}
restore-step-names = {0x11030655:is_host_compatible}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0765-GMT]{3&gt;6} CHECKPOINT BEGIN: RESTORED:[0x0647] cleanup_check_result
restore-step-ids = {0x11030655:16;0x11030647:19}
restore-step-names = {0x11030655:is_host_compatible;0x11030647:cleanup_check_result}
restore-step-uptime = 9
restore-step-user-progress = 0
[17:35:08.0765-GMT]{3&gt;6} CHECKPOINT END: RESTORED:[0x0647] cleanup_check_result
restore-step-ids = {0x11030655:16}
restore-step-names = {0x11030655:is_host_compatible}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0766-GMT]{3&gt;6} CHECKPOINT BEGIN: RESTORED:[0x06C2] cleanup_send_crash_logs
restore-step-ids = {0x11030655:16;0x110306C2:20}
restore-step-names = {0x11030655:is_host_compatible;0x110306C2:cleanup_send_crash_logs}
restore-step-uptime = 9
restore-step-user-progress = 0
send_crash_logs is not supported by the host.
[17:35:08.0767-GMT]{3&gt;6} CHECKPOINT END: RESTORED:[0x06C2] cleanup_send_crash_logs
restore-step-ids = {0x11030655:16}
restore-step-names = {0x11030655:is_host_compatible}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0767-GMT]{3&gt;6} CHECKPOINT BEGIN: RESTORED:[0x0648] cleanup_send_final_status
restore-step-ids = {0x11030655:16;0x11030648:21}
restore-step-names = {0x11030655:is_host_compatible;0x11030648:cleanup_send_final_status}
restore-step-uptime = 9
restore-step-user-progress = 0
</string>
    <key>AMRError</key>
    <integer>10</integer>
    <key>Error</key>
    <dict>
        <key>EncodedObjectType</key>
        <string>CFErrorRef</string>
        <key>Content</key>
        <dict>
            <key>Code</key>
            <integer>10</integer>
            <key>Domain</key>
            <string>AMRestoreErrorDomain</string>
            <key>UserInfo</key>
            <dict>
                <key>EncodedObjectType</key>
                <string>CFDictionaryRef</string>
                <key>Content</key>
                <dict>
                    <key>NSDescription</key>
                    <dict>
                        <key>EncodedObjectType</key>
                        <string>CFStringRef</string>
                        <key>Content</key>
                        <string>This host version is unsupported. You may need to update your host tools.</string>
                    </dict>
                </dict>
            </dict>
        </dict>
    </dict>
    <key>Status</key>
    <integer>10</integer>
    <key>MsgType</key>
    <string>StatusMsg</string>
</dict>
</plist>
Log is available:
Setting crash behaviors: logOnCrash
[17:35:00.0604-GMT]{3>6} CHECKPOINT NOTICE: Image4 device: AP nonce clearable
entering ramrod_clear_ap_nonce
[17:35:00.0616-GMT]{3>6} CHECKPOINT NOTICE: AP nonce consumed
[17:35:00.0616-GMT]{3>6} CHECKPOINT NOTICE: Pre-existing NVRAM variable: auto-boot=false
[17:35:00.0616-GMT]{3>6} CHECKPOINT NOTICE: Pre-existing NVRAM variable: restore-outcome=initial_monitor_no_return
[17:35:00.0616-GMT]{3>6} CHECKPOINT PROGRESS: START (unknown) -> (initial_engine_no_return)
[17:35:00.0616-GMT]{3>6} CHECKPOINT NOTICE: NVRAM access available on initial check
restore-outcome = initial_engine_no_return
[17:35:00.0616-GMT]{3>6} CHECKPOINT BEGIN: MAIN:[0x0400] umask
restore-step-ids = {0x11030400:1}
restore-step-names = {0x11030400:umask}
restore-step-uptime = 1
restore-step-user-progress = -1
[17:35:00.0616-GMT]{3>6} CHECKPOINT END: MAIN:[0x0400] umask
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = -1
Considering saving tolerated failures: false (null) false
[17:35:00.0617-GMT]{3>6} CHECKPOINT BEGIN: MAIN:[0x0402] setvbuf
restore-step-ids = {0x11030402:2}
restore-step-names = {0x11030402:setvbuf}
restore-step-uptime = 1
restore-step-user-progress = -1
[17:35:00.0617-GMT]{3>6} CHECKPOINT END: MAIN:[0x0402] setvbuf
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = -1
Considering saving tolerated failures: false (null) false
[17:35:00.0617-GMT]{3>6} CHECKPOINT BEGIN: MAIN:[0x0406] set_progress_0
restore-step-ids = {0x11030406:3}
restore-step-names = {0x11030406:set_progress_0}
restore-step-uptime = 1
restore-step-user-progress = -1
found display: primary
Will use display primary
Display state is 1
display-boot-rotation = 0
display-scale = 3
display-rotation = 0
Using product_suffix of iphone
found applelogo at /usr/share/progressui/applelogo@2556~iphone.tga
display: 1179 x 2556
Progress Bar Y offset at 168, display class 30
skip_display_poweron_for_device: HW.target returned: D73AP
skip_display_poweron_for_device: DeviceName is: iPhone
powering on display
ramrod_display_set_granular_progress_forced: 0.000000
[17:35:00.0630-GMT]{3>6} CHECKPOINT END: MAIN:[0x0406] set_progress_0
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:00.0630-GMT]{3>6} CHECKPOINT BEGIN: MAIN:[0x0407] start_gasgauge_thread
restore-step-ids = {0x11030407:4}
restore-step-names = {0x11030407:start_gasgauge_thread}
restore-step-uptime = 1
restore-step-user-progress = 0
[17:35:00.0631-GMT]{3>6} CHECKPOINT WARNING: MAIN:[0x0407] gasgauge_start_update_thread failed: -1
[17:35:00.0631-GMT]{3>6} CHECKPOINT END: MAIN:[0x0407] start_gasgauge_thread
restore-step-ids = {}
restore-step-names = {}
restore-step-warnings = {0x11060407:{0:"gasgauge_start_update_thread failed: -1"}}
restore-step-uptime = 1
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:00.0631-GMT]{3>6} CHECKPOINT BEGIN: MAIN:[0x0408] listen_for_log_client
restore-step-ids = {0x11030408:5}
restore-step-names = {0x11030408:listen_for_log_client}
restore-step-uptime = 1
restore-step-user-progress = 0
sock   3: set SO_NOSIGPIPE=1
sock   3: listening on [::]:5000
[17:35:00.0631-GMT]{3>6} CHECKPOINT END: MAIN:[0x0408] listen_for_log_client
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:00.0631-GMT]{3>6} CHECKPOINT BEGIN: MAIN:[0x040D] create_listen_socket
restore-step-ids = {0x1103040D:6}
restore-step-names = {0x1103040D:create_listen_socket}
restore-step-uptime = 1
restore-step-user-progress = 0
sock   4: set SO_NOSIGPIPE=1
sock   4: listening on [::]:62078
[17:35:00.0633-GMT]{3>6} CHECKPOINT END: MAIN:[0x040D] create_listen_socket
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:00.0633-GMT]{3>6} CHECKPOINT BEGIN: MAIN:[0x0404] update_root_mount
restore-step-ids = {0x11030404:7}
restore-step-names = {0x11030404:update_root_mount}
restore-step-uptime = 1
restore-step-user-progress = 0
[17:35:00.0633-GMT]{3>6} CHECKPOINT END: MAIN:[0x0404] update_root_mount
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:00.0633-GMT]{3>6} CHECKPOINT BEGIN: MAIN:[0x0405] disable_watchdog
restore-step-ids = {0x11030405:8}
restore-step-names = {0x11030405:disable_watchdog}
restore-step-uptime = 1
restore-step-user-progress = 0
[17:35:00.0633-GMT]{3>6} CHECKPOINT END: MAIN:[0x0405] disable_watchdog
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:00.0633-GMT]{3>6} CHECKPOINT BEGIN: MAIN:[0x0410] usbcretimer_dfucheck
restore-step-ids = {0x11030410:9}
restore-step-names = {0x11030410:usbcretimer_dfucheck}
restore-step-uptime = 1
restore-step-user-progress = 0
entering _ramrod_device_has_usbcretimer
entering _ramrod_device_has_usbcretimer
Neither legacy nor UARP retimer present on this platform.
[17:35:00.0636-GMT]{3>6} CHECKPOINT END: MAIN:[0x0410] usbcretimer_dfucheck
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 1
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:00.0636-GMT]{3>6} CHECKPOINT BEGIN: MAIN:[0x040E] enable_usb
restore-step-ids = {0x1103040E:10}
restore-step-names = {0x1103040E:enable_usb}
restore-step-uptime = 1
restore-step-user-progress = 0
enabling USB (blocking) with description: standardRestore
enabling USB (blocking) finished: success (0)
waiting for matching IOKit service: {
    IOProviderClass = AppleUSBDeviceMux;
}
[17:35:04.0314-GMT]{3>6} CHECKPOINT END: MAIN:[0x040E] enable_usb
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 5
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:04.0315-GMT]{3>6} CHECKPOINT BEGIN: MAIN:[0x0411] config_network_interface
restore-step-ids = {0x11030411:11}
restore-step-names = {0x11030411:config_network_interface}
restore-step-uptime = 5
restore-step-user-progress = 0
no device required to enable network interface, skipping
[17:35:04.0322-GMT]{3>6} CHECKPOINT END: MAIN:[0x0411] config_network_interface
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 5
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
waiting for host to trigger start of restore [timeout of 120 seconds]
mDNS [      ]: no usable interfaces found
mDNS [      ]: no usable interfaces found
mDNS [      ]: no usable interfaces found
mDNS [      ]: no usable interfaces found
sock   9: accepted [::ffff:127.0.0.1]:62078 <- [::ffff:127.0.0.1]:49152 (from 4)
sock   9: closed
sock   9: accepted [::ffff:127.0.0.1]:62078 <- [::ffff:127.0.0.1]:49153 (from 4)
sock  10: accepted [::ffff:127.0.0.1]:62078 <- [::ffff:127.0.0.1]:49154 (from 4)
sock  10: closed
sock  10: accepted [::ffff:127.0.0.1]:62078 <- [::ffff:127.0.0.1]:49155 (from 4)
sock  10: closed
sock  10: accepted [::ffff:127.0.0.1]:62078 <- [::ffff:127.0.0.1]:49156 (from 4)
sock  11: accepted [::ffff:127.0.0.1]:62078 <- [::ffff:127.0.0.1]:49158 (from 4)
sock  11: closed
sock  11: accepted [::ffff:127.0.0.1]:62078 <- [::ffff:127.0.0.1]:49159 (from 4)
sock  11: closed
sock  11: accepted [::ffff:127.0.0.1]:62078 <- [::ffff:127.0.0.1]:49160 (from 4)
sock  11: closed
sock  10: starting main restore
[17:35:08.0753-GMT]{3>6} CHECKPOINT BEGIN: RESTORED:[0x0600] client_protocol_version
restore-step-ids = {0x11030600:12}
restore-step-names = {0x11030600:client_protocol_version}
restore-step-uptime = 9
restore-step-user-progress = 0
client protocol version 15
[17:35:08.0754-GMT]{3>6} CHECKPOINT END: RESTORED:[0x0600] client_protocol_version
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0754-GMT]{3>6} CHECKPOINT BEGIN: RESTORED:[0x0601] copy_restore_options
restore-step-ids = {0x11030601:13}
restore-step-names = {0x11030601:copy_restore_options}
restore-step-uptime = 9
restore-step-user-progress = 0
unable to open /usr/local/share/restore//options.d73.plist: No such file or directory
0: NSPOSIXErrorDomain/2: create_dictionary_from_plist: unable to open plist
unable to open /usr/local/share/restore//options.plist: No such file or directory
0: NSPOSIXErrorDomain/2: create_dictionary_from_plist: unable to open plist
Info: Cached restored options set.

*** UUID 21CA6BA8-020B-8AF0-588A-A69BF9558202 ***
Restore options:
    UUID                           => <CFString 0x5a20a42c0 [0x108737828]>{contents = "21CA6BA8-020B-8AF0-588A-A69BF9558202"}
    PersonalizedDuringPreflight    => <CFBoolean 0x108734030 [0x108737828]>{value = true}
    CreateFilesystemPartitions     => <CFBoolean 0x108734020 [0x108737828]>{value = false}
[17:35:08.0757-GMT]{3>6} CHECKPOINT END: RESTORED:[0x0601] copy_restore_options
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0757-GMT]{3>6} CHECKPOINT BEGIN: RESTORED:[0x06A1] usbcretimer_dfucheck_enforce
restore-step-ids = {0x110306A1:14}
restore-step-names = {0x110306A1:usbcretimer_dfucheck_enforce}
restore-step-uptime = 9
restore-step-user-progress = 0
[17:35:08.0758-GMT]{3>6} CHECKPOINT END: RESTORED:[0x06A1] usbcretimer_dfucheck_enforce
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0758-GMT]{3>6} CHECKPOINT BEGIN: RESTORED:[0x06AF] network_config_enforce
restore-step-ids = {0x110306AF:15}
restore-step-names = {0x110306AF:network_config_enforce}
restore-step-uptime = 9
restore-step-user-progress = 0
[17:35:08.0758-GMT]{3>6} CHECKPOINT END: RESTORED:[0x06AF] network_config_enforce
restore-step-ids = {}
restore-step-names = {}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0759-GMT]{3>6} CHECKPOINT BEGIN: RESTORED:[0x0655] is_host_compatible
restore-step-ids = {0x11030655:16}
restore-step-names = {0x11030655:is_host_compatible}
restore-step-uptime = 9
restore-step-user-progress = 0
CHECKPOINT_INTERNAL_ERROR(checkpoint_engine_set_supports_async_operations): Async support set to: false
host/device compatibility check found that a message is missing or is not supported (optional): AsyncDataRequestMsg

host/device compatibility check found that a message is missing or is not supported (optional): AsyncWait

host/device compatibility check found that a message is missing or is not supported (optional): RestoreAttestation

host/device compatibility check found that a message is missing or is not supported (optional): CrashLog

host/device compatibility check found that a message is missing or is not supported (optional): FirmwareUpdaterDataV3

host/device compatibility check found that a message is missing or is not supported (required): MessageUseStreamedImageFile

host/device compatibility check found that a message is missing or is not supported (optional): UpdateVolumeOverlayRootDataCount

host/device compatibility check found that a message is missing or is not supported (optional): URLAsset

Detected a mismatch between the messages the device can send and what the host can support.
net.inet.tcp.always_keepalive: 1 -> 0
Checkpoint engine recorder path set to /mnt5
[17:35:08.0760-GMT]{3>6} CHECKPOINT FAILURE:(FAILURE:10) RESTORED:[0x0655] is_host_compatible [0]D(This host version is unsupported. You may need to update your host tools.)
restore-step-results = {0x11070655:{0:10}}
restore-step-codes = {0x11070655:{0:10}}
restore-step-domains = {0x11070655:{0:"AMRestoreErrorDomain"}}
restore-step-error = {0x11070655:"[0]D(This host version is unsupported. You may need to update your host tools.)"}
restore-step-uptime = 9
restore-step-user-progress = 0
[17:35:08.0761-GMT]{3>6} CHECKPOINT NOTICE: (NVRAM set) restore-step-user-progress=0 [sync=true] (first failure)
Considering saving tolerated failures: false (null) false
[17:35:08.0761-GMT]{3>6} CHECKPOINT BEGIN: RESTORED:[0x067C] cleanup_boot_command
restore-step-ids = {0x11030655:16;0x1103067C:17}
restore-step-names = {0x11030655:is_host_compatible;0x1103067C:cleanup_boot_command}
restore-step-uptime = 9
restore-step-user-progress = 0
entering reset_boot_command_if_in_values
recovery-boot-mode = <delete>
iboot-failure-reason = <delete>
[17:35:08.0763-GMT]{3>6} CHECKPOINT END: RESTORED:[0x067C] cleanup_boot_command
restore-step-ids = {0x11030655:16}
restore-step-names = {0x11030655:is_host_compatible}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0764-GMT]{3>6} CHECKPOINT BEGIN: RESTORED:[0x1613] cleanup_recovery_os_volume
restore-step-ids = {0x11030655:16;0x11031613:18}
restore-step-names = {0x11030655:is_host_compatible;0x11031613:cleanup_recovery_os_volume}
restore-step-uptime = 9
restore-step-user-progress = 0
[17:35:08.0764-GMT]{3>6} CHECKPOINT END: RESTORED:[0x1613] cleanup_recovery_os_volume
restore-step-ids = {0x11030655:16}
restore-step-names = {0x11030655:is_host_compatible}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0765-GMT]{3>6} CHECKPOINT BEGIN: RESTORED:[0x0647] cleanup_check_result
restore-step-ids = {0x11030655:16;0x11030647:19}
restore-step-names = {0x11030655:is_host_compatible;0x11030647:cleanup_check_result}
restore-step-uptime = 9
restore-step-user-progress = 0
[17:35:08.0765-GMT]{3>6} CHECKPOINT END: RESTORED:[0x0647] cleanup_check_result
restore-step-ids = {0x11030655:16}
restore-step-names = {0x11030655:is_host_compatible}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0766-GMT]{3>6} CHECKPOINT BEGIN: RESTORED:[0x06C2] cleanup_send_crash_logs
restore-step-ids = {0x11030655:16;0x110306C2:20}
restore-step-names = {0x11030655:is_host_compatible;0x110306C2:cleanup_send_crash_logs}
restore-step-uptime = 9
restore-step-user-progress = 0
send_crash_logs is not supported by the host.
[17:35:08.0767-GMT]{3>6} CHECKPOINT END: RESTORED:[0x06C2] cleanup_send_crash_logs
restore-step-ids = {0x11030655:16}
restore-step-names = {0x11030655:is_host_compatible}
restore-step-uptime = 9
restore-step-user-progress = 0
Considering saving tolerated failures: false (null) false
[17:35:08.0767-GMT]{3>6} CHECKPOINT BEGIN: RESTORED:[0x0648] cleanup_send_final_status
restore-step-ids = {0x11030655:16;0x11030648:21}
restore-step-names = {0x11030655:is_host_compatible;0x11030648:cleanup_send_final_status}
restore-step-uptime = 9
restore-step-user-progress = 0

ERROR: Unable to successfully restore device
Checkpoint completed id: 0x648 (cleanup_send_final_status) result=0
Checkpoint FAILURE id: 0x648 result=0: [0]D(This host version is unsupported. You may need to update your host tools.)
ReverseProxy[Ctrl]: (status=2) Terminated
ERROR: Unable to restore device
nikias commented 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.

AKT04 commented 4 days ago

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.

khang30 commented 4 days ago

Unable to restore my device; it is now stuck on the Apple logo screen. How to put the device into normal mode? Thanks

nikias commented 3 days ago

@AKT04 I pushed a commit that should fix it.

AKT04 commented 3 days ago

@AKT04 I pushed a commit that should fix it.

Thanks it's working.

khang30 commented 3 days ago

@nikias Unable to restore device - iOS 17.6.1

nikias commented 3 days ago

@khang30 can you provide a debug log?

TPJoseph commented 2 days ago

@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
TPJoseph commented 2 days ago

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.
nikias commented 2 days ago

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.

TPJoseph commented 2 days ago
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
============================================================================
TPJoseph commented 2 days ago

Is this what you were looking for

nikias commented 2 days ago

Ok great so libplist is fine. Could you attempt 18.0 again but add -d -d to the command line?

Thomas639 commented 2 days ago

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

nikias commented 2 days ago

Yes, twice please

TPJoseph commented 2 days ago

iPad_16,6_17.6.1.txt iPad_16,6_18.0.txt