libimobiledevice / idevicerestore

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

IPhone SE 2 (2020) ASR Error?! / ERROR: Unable to restore device / ASR: Socket unexpectedly closed while trying to read() offset 0x106B20000 #385

Open yunyhx opened 3 years ago

yunyhx commented 3 years ago

Hello im new here sorry for my bad english. I have problem with IPhone SE2

System Ubuntu 20.04.1 LTS

here is the Problem... tim@tim-bluechip-BUSINESSline-MT-Pro-G:~$ idevicerestore -e -l Found device in Recovery mode Identified device as d79ap, iPhone12,8 The following firmwares are currently being signed for iPhone12,8: [1] 14.2 (build 18B92) Select the firmware you want to restore: 1 Selected firmware 14.2 (build 18B92) Verifying 'iPhone12,8_14.2_18B92_Restore.ipsw'... Checksum matches. Extracting BuildManifest from IPSW Product Version: 14.2 Product Build: 18B92 Major: 18 INFO: device serial number is FFWCMA40PLJQ Device supports Image4: true Variant: Customer Erase Install (IPSW) This restore will erase your device data. ################################ [ WARNING ] #################################

You are about to perform an ERASE restore. ALL DATA on the target device

will be IRREVERSIBLY DESTROYED. If you want to update your device without

erasing the user data, hit CTRL+C now and restart without -e or --erase

command line switch.

If you want to continue with the ERASE, please type YES and press ENTER.

##############################################################################

YES Checking IPSW for required components... All required components found in IPSW Using cached filesystem from 'iPhone12,8_14.2_18B92_Restore/018-01095-004.dmg' Found ECID 3511042057666606 Getting ApNonce in recovery mode... 50 8f 95 b8 00 7b 7c c1 e7 ee d1 6c 2e 9a ab e9 3a 4d cb ca 95 bc fd 3e 44 f5 3a 5b 6b af 64 6c Trying to fetch new SHSH blob Getting SepNonce in recovery mode... b4 24 39 0e 3f 15 61 56 90 2a 43 13 f3 c6 03 63 cb 9c fb c6 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.d79.RELEASE.im4p... Personalizing IMG4 component iBEC... Sending iBEC (1562034 bytes)... Recovery Mode Environment: iBoot build-version=iBoot-6723.42.3 iBoot build-style=RELEASE Sending RestoreLogo... Extracting applelogo@2x~iphone.im4p... Personalizing IMG4 component RestoreLogo... Sending RestoreLogo (14810 bytes)... Extracting h12_ane_fw_metis.im4p... Personalizing IMG4 component ANE... Sending ANE (2868604 bytes)... Extracting aopfw-iphone12caop.im4p... Personalizing IMG4 component AOP... Sending AOP (1798260 bytes)... Extracting AppleAVE2FW_H12.im4p... Personalizing IMG4 component AVE... Sending AVE (1148324 bytes)... Extracting armfw_g12p.im4p... Personalizing IMG4 component GFX... Sending GFX (784756 bytes)... Extracting adc-zelus-d79.im4p... Personalizing IMG4 component ISP... Sending ISP (9891932 bytes)... Extracting t8030pmp.im4p... Personalizing IMG4 component PMP... Sending PMP (303220 bytes)... Extracting 018-01496-004.dmg.trustcache... Personalizing IMG4 component RestoreTrustCache... Sending RestoreTrustCache (13213 bytes)... Extracting SmartIOFirmware_ASCv2.im4p... Personalizing IMG4 component SIO... Sending SIO (1161136 bytes)... Extracting WirelessPower.iphone12c.im4p... Personalizing IMG4 component WCHFirmwareUpdater... Sending WCHFirmwareUpdater (26883 bytes)... ramdisk-size=0x20000000 Extracting 018-01496-004.dmg... Personalizing IMG4 component RestoreRamDisk... Sending RestoreRamDisk (106126967 bytes)... Extracting DeviceTree.d79ap.im4p... Personalizing IMG4 component RestoreDeviceTree... Sending RestoreDeviceTree (49130 bytes)... Extracting kernelcache.release.iphone12c... Personalizing IMG4 component RestoreKernelCache... Sending RestoreKernelCache (15784416 bytes)... Waiting for device to enter restore mode... About to restore device... Connecting now... Connected to com.apple.mobile.restored, version 15 Device 00008030-000C79462EA3802E has successfully entered restore mode Hardware Information: BoardID: 16 ChipID: 32816 UniqueChipID: 3511042057666606 ProductionMode: true Previous restore exit status: 0x100 Starting FDR listener thread About to send RootTicket... Sending RootTicket now... Done sending RootTicket Waiting for NAND (28) Updating NAND Firmware (58) About to send NORData... Found firmware path Firmware/all_flash Getting firmware manifest from build identity Extracting LLB.d79.RELEASE.im4p... Personalizing IMG4 component LLB... Extracting applelogo@2x~iphone.im4p... Personalizing IMG4 component AppleLogo... Extracting batterycharging0@2x~iphone.im4p... Personalizing IMG4 component BatteryCharging0... Extracting batterycharging1@2x~iphone.im4p... Personalizing IMG4 component BatteryCharging1... Extracting batteryfull@2x~iphone.im4p... Personalizing IMG4 component BatteryFull... Extracting batterylow0@2x~iphone.im4p... Personalizing IMG4 component BatteryLow0... Extracting batterylow1@2x~iphone.im4p... Personalizing IMG4 component BatteryLow1... Extracting glyphplugin@1334~iphone-lightning.im4p... Personalizing IMG4 component BatteryPlugin... Extracting DeviceTree.d79ap.im4p... Personalizing IMG4 component DeviceTree... Extracting lowpowermode@1334~iphone-lightning.im4p... Personalizing IMG4 component LowPowerWallet0... Extracting recoverymode@1334~iphone-lightning.im4p... Personalizing IMG4 component RecoveryMode... Extracting WirelessPower.iphone12c.im4p... Personalizing IMG4 component WCHFirmwareUpdater... Extracting iBoot.d79.RELEASE.im4p... Personalizing IMG4 component iBoot... Extracting sep-firmware.d79.RELEASE.im4p... Personalizing IMG4 component RestoreSEP... Extracting sep-firmware.d79.RELEASE.im4p... Personalizing IMG4 component SEP... Sending NORData now... Done sending NORData Unmounting filesystems (29) Unmounting filesystems (29) Unmounting filesystems (29) Unmounting filesystems (29) Unmounting filesystems (29) Unmounting filesystems (29) About to send FDR Trust data... Sending FDR Trust data now... Done sending FDR Trust Data Checking for uncollected logs (44) Unmounting filesystems (29) Unmounting filesystems (29) Unmounting filesystems (29) Unmounting filesystems (29) Unmounting filesystems (29) Unmounting filesystems (29) Creating partition map (11) Creating filesystem (12) About to send filesystem... Connected to ASR Validating the filesystem Filesystem validated Sending filesystem now... [=============================================== ] 93.0%ERROR: Unable to send data to ASR. Sent 0 of 20 bytes. ERROR: Unable to send chunk checksum ERROR: Unable to send payload to ASR ERROR: Unable to send filesystem ERROR: Unable to successfully restore device Got status message Status: Fail Log is available: [15:01:18.0667-GMT]{4>8} CHECKPOINT NOTICE: Image4 device: AP nonce clearable entering ramrod_clear_ap_nonce [15:01:18.0679-GMT]{4>8} CHECKPOINT NOTICE: AP nonce consumed [15:01:18.0679-GMT]{4>8} CHECKPOINT NOTICE: Pre-existing NVRAM variable: auto-boot=false [15:01:18.0679-GMT]{4>8} CHECKPOINT NOTICE: Pre-existing NVRAM variable: restore-outcome=initial_monitor_no_return [15:01:18.0679-GMT]{4>8} CHECKPOINT PROGRESS: START (unknown) -> (initial_engine_no_return) [15:01:18.0679-GMT]{4>8} CHECKPOINT NOTICE: NVRAM access available on initial check restore-outcome = initial_engine_no_return executing /usr/sbin/nvram restore-outcome=initial_engine_no_return [15:01:18.0688-GMT]{4>8} CHECKPOINT BEGIN: MAIN:[0x0400] umask restore-step-ids = {0x11030400:1} restore-step-names = {0x11030400:umask} restore-step-uptime = 0 restore-step-user-progress = -1 [15:01:18.0688-GMT]{4>8} CHECKPOINT END: MAIN:[0x0400] umask restore-step-ids = {} restore-step-names = {} restore-step-uptime = 0 restore-step-user-progress = -1 [15:01:18.0688-GMT]{4>8} CHECKPOINT BEGIN: MAIN:[0x0402] setvbuf restore-step-ids = {0x11030402:2} restore-step-names = {0x11030402:setvbuf} restore-step-uptime = 0 restore-step-user-progress = -1 [15:01:18.0688-GMT]{4>8} CHECKPOINT END: MAIN:[0x0402] setvbuf restore-step-ids = {} restore-step-names = {} restore-step-uptime = 0 restore-step-user-progress = -1 [15:01:18.0688-GMT]{4>8} CHECKPOINT BEGIN: MAIN:[0x0403] kernel_logger_thread restore-step-ids = {0x11030403:3} restore-step-names = {0x11030403:kernel_logger_thread} restore-step-uptime = 0 restore-step-user-progress = -1 [15:01:18.0688-GMT]{4>8} CHECKPOINT END: MAIN:[0x0403] kernel_logger_thread restore-step-ids = {} restore-step-names = {} restore-step-uptime = 0 restore-step-user-progress = -1 [15:01:18.0688-GMT]{4>8} CHECKPOINT BEGIN: MAIN:[0x0406] set_progress_0 restore-step-ids = {0x11030406:4} restore-step-names = {0x11030406:set_progress_0} restore-step-uptime = 0 restore-step-user-progress = -1 found display: primary display-boot-rotation = 0 display-scale = 2 display-rotation = 0 Using product_suffix of iphone found applelogo at /usr/share/progressui/applelogo@2x.tga display: 750 x 1334 Progress Bar Y offset at 112, display class 8 powering on display ramrod_display_set_granular_progress_forced: 0.000000 [15:01:18.0696-GMT]{4>8} CHECKPOINT END: MAIN:[0x0406] set_progress_0 restore-step-ids = {} restore-step-names = {} restore-step-uptime = 0 restore-step-user-progress = 0 [15:01:18.0697-GMT]{4>8} CHECKPOINT BEGIN: MAIN:[0x0407] start_gasgauge_thread restore-step-ids = {0x11030407:5} restore-step-names = {0x11030407:start_gasgauge_thread} restore-step-uptime = 0 restore-step-user-progress = 0 [15:01:18.0697-GMT]{4>8} CHECKPOINT WARNING: MAIN:[0x0407] gasgauge_start_update_thread failed: -1 [15:01:18.0697-GMT]{4>8} 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 = 0 restore-step-user-progress = 0 [15:01:18.0697-GMT]{4>8} CHECKPOINT BEGIN: MAIN:[0x0408] listen_for_log_client restore-step-ids = {0x11030408:6} restore-step-names = {0x11030408:listen_for_log_client} restore-step-uptime = 0 restore-step-user-progress = 0 [15:01:18.0698-GMT]{4>8} CHECKPOINT END: MAIN:[0x0408] listen_for_log_client restore-step-ids = {} restore-step-names = {} restore-step-uptime = 0 restore-step-user-progress = 0 [15:01:18.0698-GMT]{4>8} CHECKPOINT BEGIN: MAIN:[0x040D] create_listen_socket restore-step-ids = {0x1103040D:7} restore-step-names = {0x1103040D:create_listen_socket} restore-step-uptime = 0 restore-step-user-progress = 0 [15:01:18.0698-GMT]{4>8} CHECKPOINT END: MAIN:[0x040D] create_listen_socket restore-step-ids = {} restore-step-names = {} restore-step-uptime = 0 restore-step-user-progress = 0 [15:01:18.0698-GMT]{4>8} CHECKPOINT BEGIN: MAIN:[0x0404] update_root_mount restore-step-ids = {0x11030404:8} restore-step-names = {0x11030404:update_root_mount} restore-step-uptime = 0 restore-step-user-progress = 0 [15:01:18.0698-GMT]{4>8} CHECKPOINT END: MAIN:[0x0404] update_root_mount restore-step-ids = {} restore-step-names = {} restore-step-uptime = 0 restore-step-user-progress = 0 [15:01:18.0698-GMT]{4>8} CHECKPOINT BEGIN: MAIN:[0x0405] disable_watchdog restore-step-ids = {0x11030405:9} restore-step-names = {0x11030405:disable_watchdog} restore-step-uptime = 0 restore-step-user-progress = 0 [15:01:18.0699-GMT]{4>8} CHECKPOINT END: MAIN:[0x0405] disable_watchdog restore-step-ids = {} restore-step-names = {} restore-step-uptime = 0 restore-step-user-progress = 0 [15:01:18.0699-GMT]{4>8} CHECKPOINT BEGIN: MAIN:[0x040E] enable_usb restore-step-ids = {0x1103040E:10} restore-step-names = {0x1103040E:enable_usb} restore-step-uptime = 0 restore-step-user-progress = 0 waiting for matching IOKit service: { IOProviderClass = AppleUSBDeviceMux; } [15:01:21.0706-GMT]{4>8} CHECKPOINT END: MAIN:[0x040E] enable_usb restore-step-ids = {} restore-step-names = {} restore-step-uptime = 3 restore-step-user-progress = 0 waiting for host to trigger start of restore [timeout of 120 seconds] recv(9, 4) failed: connection closed unable to read message size: -1 could not receive message unrecognized request 'GetValue' [15:01:24.0536-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0600] client_protocol_version restore-step-ids = {0x11030600:11} restore-step-names = {0x11030600:client_protocol_version} restore-step-uptime = 6 restore-step-user-progress = 0 client protocol version 15 [15:01:24.0536-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0600] client_protocol_version restore-step-ids = {} restore-step-names = {} restore-step-uptime = 6 restore-step-user-progress = 0 [15:01:24.0536-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0601] copy_restore_options restore-step-ids = {0x11030601:12} restore-step-names = {0x11030601:copy_restore_options} restore-step-uptime = 6 restore-step-user-progress = 0 unable to open /usr/local/share/restore//options.d79.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 UUID DD073F51-C879-B59D-B84B-144A7704743B Restore options: PersonalizedDuringPreflight => <CFBoolean 0x1044c9c00 [0x1044c81b8]>{value = true} CreateFilesystemPartitions => <CFBoolean 0x1044c9c00 [0x1044c81b8]>{value = true} UUID => <CFString 0x107e05370 [0x1044c81b8]>{contents = "DD073F51-C879-B59D-B84B-144A7704743B"} [15:01:24.0538-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0601] copy_restore_options restore-step-ids = {} restore-step-names = {} restore-step-uptime = 6 restore-step-user-progress = 0 [15:01:24.0538-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0655] is_host_compatible restore-step-ids = {0x11030655:13} restore-step-names = {0x11030655:is_host_compatible} restore-step-uptime = 6 restore-step-user-progress = 0 Checkpoint engine recorder path set to /mnt5 [15:01:24.0538-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0655] is_host_compatible restore-step-ids = {} restore-step-names = {} restore-step-uptime = 6 restore-step-user-progress = 0 [15:01:24.0538-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0604] set_weight_from_options restore-step-ids = {0x11030604:14} restore-step-names = {0x11030604:set_weight_from_options} restore-step-uptime = 6 restore-step-user-progress = 0 [15:01:24.0539-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0604] set_weight_from_options restore-step-ids = {} restore-step-names = {} restore-step-uptime = 6 restore-step-user-progress = 0 [15:01:24.0539-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x068F] libauthinstall_callback restore-step-ids = {0x1103068F:15} restore-step-names = {0x1103068F:libauthinstall_callback} restore-step-uptime = 6 restore-step-user-progress = 0 [15:01:24.0540-GMT]{4>8} CHECKPOINT END: RESTORED:[0x068F] libauthinstall_callback restore-step-ids = {} restore-step-names = {} restore-step-uptime = 6 restore-step-user-progress = 0 [15:01:24.0540-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0608] device_has_hoover restore-step-ids = {0x11030608:16} restore-step-names = {0x11030608:device_has_hoover} restore-step-uptime = 6 restore-step-user-progress = 0 [15:01:24.0542-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0608] device_has_hoover restore-step-ids = {} restore-step-names = {} restore-step-uptime = 6 restore-step-user-progress = 0 [15:01:24.0543-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x060B] update_ticket restore-step-ids = {0x1103060B:17} restore-step-names = {0x1103060B:update_ticket} restore-step-uptime = 6 restore-step-user-progress = 0 entering ramrod_ticket_update_verify looking up boot manifest hash device tree ticket_hash: B3FC8540CE9F003A99F7A1825329799FE91CB7951A0D3300CADD4B122AE402F2525FBBA372F54E2D0692CC58C7750FD1 crypto-hash-method found. Using SHA2-384 computed ticket_hash : B3FC8540CE9F003A99F7A1825329799FE91CB7951A0D3300CADD4B122AE402F2525FBBA372F54E2D0692CC58C7750FD1 received valid ticket (8268 bytes) [15:01:24.0550-GMT]{4>8} CHECKPOINT END: RESTORED:[0x060B] update_ticket restore-step-ids = {} restore-step-names = {} restore-step-uptime = 6 restore-step-user-progress = 0 [15:01:24.0551-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x060D] wait_for_storage restore-step-ids = {0x1103060D:18} restore-step-names = {0x1103060D:wait_for_storage} restore-step-uptime = 6 restore-step-user-progress = 0 entering wait_for_storage_device ramrod_display_set_granular_progress_forced: 0.000000 Searching for NAND service Searching for NAND service Found NAND service: AppleANS2CGNVMeController NAND initialized. Waiting for devnode. entering wait_for_device: 'EmbeddedDeviceTypeRoot' Using device path /dev/disk0 for EmbeddedDeviceTypeRoot entering ramrod_probe_media_internal entering wait_for_device: 'EmbeddedDeviceTypeRoot' Using device path /dev/disk0 for EmbeddedDeviceTypeRoot [15:01:24.0562-GMT]{4>8} CHECKPOINT END: RESTORED:[0x060D] wait_for_storage restore-step-ids = {} restore-step-names = {} restore-step-uptime = 6 restore-step-user-progress = 0 [15:01:24.0562-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x060E] update_NAND_firmware restore-step-ids = {0x1103060E:19} restore-step-names = {0x1103060E:update_NAND_firmware} restore-step-uptime = 6 restore-step-user-progress = 0 ramrod_display_set_granular_progress_forced: 0.000000 entering update_NAND executing /usr/bin/nvmefwupdater --query unrecognized request 'GetValue' S4E/0000001002019315.pak NAND update file: "/usr/standalone/firmware/S4E/0000001002019315.pak" executing /usr/bin/nvmefwupdater --validate /usr/standalone/firmware/S4E/0000001002019315.pak s4e-bfh-params: 50555746 001C0001 004080D9 004080DB 004080DD 004280E6 004680EB 805080EC 030080FF 00060002 100108A8 recv(14, 4) failed: connection closed unable to read message size: -1 could not receive message Performing BFH OFW stage... set_pci_port_state: result=0 set_pci_port_state: result=0 returning Regular Update Required executing /usr/bin/nvmefwupdater --update /usr/standalone/firmware/S4E/0000001002019315.pak unrecognized request 'GetValue' Downloading FW... Activating FW... Successfully updated FW... executing /usr/bin/nvmefwupdater --sendtunabletables BFH params: tunable-table-bundle - Property wasn't found nvmeupdater error: device tree entry not found. (IODeviceTree:/arm-io/ans2) Error - failed to read tunable table bundle file property nvmefwupdater was unable to find the tunable table bundle name in the device tree [15:01:30.0308-GMT]{4>8} CHECKPOINT END: RESTORED:[0x060E] update_NAND_firmware restore-step-ids = {} restore-step-names = {} restore-step-uptime = 12 restore-step-user-progress = 0 [15:01:30.0308-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x060F] clear_remap_variable restore-step-ids = {0x1103060F:20} restore-step-names = {0x1103060F:clear_remap_variable} restore-step-uptime = 12 restore-step-user-progress = 0 entering clear_remap_variable executing /usr/sbin/nvram -d enable-remap-mode Successfully deleted enable-remap-modeenable-remap-mode [15:01:30.0327-GMT]{4>8} CHECKPOINT END: RESTORED:[0x060F] clear_remap_variable restore-step-ids = {} restore-step-names = {} restore-step-uptime = 12 restore-step-user-progress = 0 [15:01:30.0327-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x065C] print_nvram_variables restore-step-ids = {0x1103065C:21} restore-step-names = {0x1103065C:print_nvram_variables} restore-step-uptime = 12 restore-step-user-progress = 0 ramrod_print_NVRAM_variables executing /usr/sbin/nvram -xp <?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">

IONVRAM-SYNCNOW-PROPERTY SU9OVlJBTS1TWU5DTk9XLVBST1BFUlRZ auto-boot ZmFsc2U= backlight-level MTUxMw== backlight-nits MHgwMGFiODVkZQ== boot-args boot-breadcrumbs NDAwMzAwMGUgPENPTU1JVD4gPEJPT1Q+IDFjMDAyYigyMDA2MzAwKSAzMDAwYyg2MzY4 NjczMCkgMzAwMGQgMzAwMGMoNjk2MjY1NjMpIDQwMDQwMDIxIDQwMDQwMDFlIDQwMDMw MDBlIDxDT01NSVQ+IDMwMDBjKDY5NjI2NTYzKSA0MDAyOSAzMDAwZCA8RE9ORT4gPENP TU1JVD4gMzAwMGMoNjM2ODY3MzApIDMwMDBkIDMwMDBjKDY5NjI2NTYzKSA0MDA0MDAy MSA0MDA0MDAxZSA0MDAzMDAwZSA8Q09NTUlUPiAxYzAwMmIoMjAwNjMwMCkgMzAwMGMo NjM2ODY3MzApIDMwMDBkIDMwMDBjKDY5NjI2NTYzKSA0MDA0MDAyMSA0MDA0MDAxZSA0 MDAzMDAwZSA8Q09NTUlUPiA8Qk9PVD4gMWMwMDJiKDIwMDYzMDApIDMwMDBjKDYzNjg2 NzMwKSAzMDAwZCAzMDAwYyg2OTYyNjU2MykgNDAwNDAwMjEgNDAwNDAwMWUgNDAwMzAw MGUgPENPTU1JVD4gMzAwMGMoNjk2MjY1NjMpIDQwMDI5IDMwMDBkIDxET05FPiA8Q09N TUlUPiA8Qk9PVD4gMWMwMDJiKDIwMDYzMDApIDMwMDBjKDYzNjg2NzMwKSAzMDAwZCAz MDAwYyg2OTYyNjU2MykgNDAwNDAwMjEgNDAwNDAwMWUgNDAwMzAwMGUgPENPTU1JVD4g MzAwMGMoNjk2MjY1NjMpIDQwMDI5IDMwMDBkIDxET05FPiA8Q09NTUlUPiA= restore-outcome aW5pdGlhbF9lbmdpbmVfbm9fcmV0dXJu restored-exit-status MHgxMDA= usbcfwflasherResult Tm8gZXJyb3Jz

[15:01:30.0341-GMT]{4>8} CHECKPOINT END: RESTORED:[0x065C] print_nvram_variables restore-step-ids = {} restore-step-names = {} restore-step-uptime = 12 restore-step-user-progress = 0 [15:01:30.0341-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0610] asp_nand_set_writable restore-step-ids = {0x11030610:22} restore-step-names = {0x11030610:asp_nand_set_writable} restore-step-uptime = 12 restore-step-user-progress = 0 [15:01:30.0342-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0610] asp_nand_set_writable restore-step-ids = {} restore-step-names = {} restore-step-uptime = 12 restore-step-user-progress = 0 [15:01:30.0342-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0613] find_filesystem_partitions restore-step-ids = {0x11030613:23} restore-step-names = {0x11030613:find_filesystem_partitions} restore-step-uptime = 12 restore-step-user-progress = 0 entering ramrod_probe_media_internal entering wait_for_device: 'EmbeddedDeviceTypeRoot' Using device path /dev/disk0 for EmbeddedDeviceTypeRoot device partitioning scheme is GPT APFS Container 'Container' /dev/disk0s1 device is APFS formatted Captured preboot partition on main OS container 2 find_filesystem_partitions: storage=/dev/disk0 container=/dev/disk0s1 system=/dev/disk0s1s1 data= baseband data=/dev/disk0s1s4 log= update= xart=/dev/disk0s1s3 hardware=/dev/disk0s1s5 scratch= preboot=/dev/disk0s1s6 find_filesystem_partitions: recovery os container= volume= [15:01:30.0344-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0613] find_filesystem_partitions restore-step-ids = {} restore-step-names = {} restore-step-uptime = 12 restore-step-user-progress = 0 [15:01:30.0344-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x067E] verify_storage_for_update restore-step-ids = {0x1103067E:24} restore-step-names = {0x1103067E:verify_storage_for_update} restore-step-uptime = 12 restore-step-user-progress = 0 [15:01:30.0344-GMT]{4>8} CHECKPOINT END: RESTORED:[0x067E] verify_storage_for_update restore-step-ids = {} restore-step-names = {} restore-step-uptime = 12 restore-step-user-progress = 0 [15:01:30.0344-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0609] load_sep_os restore-step-ids = {0x11030609:25} restore-step-names = {0x11030609:load_sep_os} restore-step-uptime = 12 restore-step-user-progress = 0 entering load_sep_os We should have an xART partition. no data volume present, not initializing gigalocker device has sep - getting firmware entering copy_restore_sep got sep firmware - making call to load it entering ramrod_load_sep_os entering ramrod_execute_command_with_input_data: /usr/libexec/seputil (0x10dd80000 - 6186441) executing /usr/libexec/seputil --restore+art - waiting for child to exit child exited exit status: 0 entering ramrod_wait_for_sep_load executing /usr/libexec/seputil --ping seputil: ping failed executing /usr/libexec/seputil --ping SEP OS is booted entering ramrod_notify_sep_for_erase executing /usr/libexec/seputil --erase [15:01:33.0529-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0609] load_sep_os restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0529-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0693] preload_keys_for_fsck restore-step-ids = {0x11030693:26} restore-step-names = {0x11030693:preload_keys_for_fsck} restore-step-uptime = 15 restore-step-user-progress = 0 Erase install, not preloading keys No data volume present; must avoid any read/write mounting [15:01:33.0530-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0693] preload_keys_for_fsck restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0530-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0665] fsck_filesystems restore-step-ids = {0x11030665:27} restore-step-names = {0x11030665:fsck_filesystems} restore-step-uptime = 15 restore-step-user-progress = 0 entering unmount_filesystems ramrod_display_set_granular_progress_forced: 0.000000 entering force_unmount_partition Preboot not mounted (unmount ignored) Skipping unmount of the update partition ramrod_display_set_granular_progress_forced: 0.000000 entering force_unmount_partition Hardware not mounted (unmount ignored) create_baseband_update_options: Got imeisv: 6 baseband updater options = { IMEISwVersion = 6; autoSetupEnv = 0; disablePing = 1; restoredInternal = 0; } _baseband_update_requires_filesystems_once: querying baseband to determine if it requires system filesystem bbupdater: BEGIN: Command: requirePartitionMount bbupdater: cmdCopyRequirePartitionMount: supports flashless 1 bbupdater: cmdCopyRequirePartitionMount: supports REFS 1 bbupdater: END: Command: requirePartitionMount _baseband_update_requires_filesystems_once: query returned { requestedBasebandFSPartitionMountSize = 10; requireSystemPartitionMount = 1; requireUserPartitionMount = 1; } ramrod_display_set_granular_progress_forced: 0.000000 entering force_unmount_partition Baseband Data not mounted (unmount ignored) ramrod_display_set_granular_progress_forced: 0.000000 entering force_unmount_partition Data not mounted (unmount ignored) ramrod_display_set_granular_progress_forced: 0.000000 entering force_unmount_partition xART not mounted (unmount ignored) ramrod_display_set_granular_progress_forced: 0.000000 entering force_unmount_partition System not mounted (unmount ignored) Skipping fsck on erase install [15:01:33.0535-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0665] fsck_filesystems restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0535-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0614] mount_system_partition restore-step-ids = {0x11030614:28} restore-step-names = {0x11030614:mount_system_partition} restore-step-uptime = 15 restore-step-user-progress = 0 entering mount_partition executing /sbin/mount_apfs -R -o rdonly /dev/disk0s1s1 /mnt1 /dev/disk0s1s1 mounted on /mnt1 System mounted read-only entering mount_partition executing /sbin/mount_apfs -R -o rdonly /dev/disk0s1s5 /mnt6 /dev/disk0s1s5 mounted on /mnt6 Hardware mounted read-only [15:01:33.0560-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0614] mount_system_partition restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0560-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0696] fix_cache_delete restore-step-ids = {0x11030696:29} restore-step-names = {0x11030696:fix_cache_delete} restore-step-uptime = 15 restore-step-user-progress = 0 Skipping for erase install Done with restored_fix_cache_delete [15:01:33.0560-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0696] fix_cache_delete restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0560-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0654] read_previous_os_build_version restore-step-ids = {0x11030654:30} restore-step-names = {0x11030654:read_previous_os_build_version} restore-step-uptime = 15 restore-step-user-progress = 0 unable to open /mnt1/System/Library/CoreServices/SystemVersion.plist: No such file or directory ramrod_read_os_build_version: Unable to read system version plist [15:01:33.0560-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0654] read_previous_os_build_version restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0561-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0697] downgrade_check restore-step-ids = {0x11030697:31} restore-step-names = {0x11030697:downgrade_check} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0561-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0697] downgrade_check restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0561-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0615] copy_hardware_info restore-step-ids = {0x11030615:32} restore-step-names = {0x11030615:copy_hardware_info} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0561-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0615] copy_hardware_info restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0561-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0616] fdr_create restore-step-ids = {0x11030616:33} restore-step-names = {0x11030616:fdr_create} restore-step-uptime = 15 restore-step-user-progress = 0 restored_fdr_initialize: FDR is supported CryptoAcceleratorEncrypt: perform aes => 0 (kIOReturnSuccess) pseudo_ccrng_allocate: ccdrbg_init() -> 0 CryptoGenerateRSAKeys: ccrsa_generate_key() -> 0 CryptoGenerateRSAKeys: [RSA Public Key SHA1: 20 bytes] : 9d 48 dc 78 3e 03 b8 18 5b 25 1b fa 2c b1 7d f0 : 0b bb 14 0a : ----------------------------------------------- CryptoGenerateRSAKeys: SecKeyCreateRSAPrivateKey -> 0x102ffc088 CryptoGenerateRSAKeys: SecKeyCreateRSAPublicKey -> 0x102ffc090 created HTTP FDR client 0x107a49070 created local FDR client 0x107a48dc0 Received response without expected RESTORED_FDR_TRUST_DATA Received response without expected RESTORED_BOOTED_OS_FDR_TRUST_DATA AMSupportPlatformMakeDirectoryForURL: Could not mkdir (Read-only file system) AMSupportPlatformMakeDirectoryForURL: /mnt1/System AMFDRCreateError: AMFDRDataLocalCopyDataStoragePath: AMSupportMakeDirectory failed: code=4 AMFDRCreateError: AMFDRDataLocalCopy: missing data storage path: code=4 AMSupportPlatformMakeDirectoryForURL: Could not mkdir (Read-only file system) AMSupportPlatformMakeDirectoryForURL: /mnt1/System AMFDRCreateError: AMFDRDataLocalCopyDataStoragePath: AMSupportMakeDirectory failed: code=4 AMFDRCreateError: AMFDRDataLocalCopy: missing data storage path: code=4 failed to copy trust object from fdrLocal 0: AMFDRError/4: missing data storage path 1: AMFDRError/4: AMSupportMakeDirectory failed 2: AMFDRError/4: missing data storage path 3: AMFDRError/4: AMSupportMakeDirectory failed Found ramdisk trust object, computing digest.. Ramdisk trust object digest DOES match AP ticket. Not enabling SSO for FDR Skip register RestoredFDRSignVeridian callback since vcrt is not supported RestoredFDRCreate() returned 0 FDR is supported on this device [15:01:33.0649-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0616] fdr_create restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0649-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0617] fdr_save_data restore-step-ids = {0x11030617:34} restore-step-names = {0x11030617:fdr_save_data} restore-step-uptime = 15 restore-step-user-progress = 0 _AMFDRAPTicketHasBooleanEntitlement: no ticket in options AMFDRSealingMapCreateAndPopulateSealedData: populate sealedData with sealing manifest, sealingManifestOverride : (null), forceSealing : (null), allowForbidden : (null), allowUnSeal : 0 AMSupportPlatformMakeDirectoryForURL: Could not mkdir (Read-only file system) AMSupportPlatformMakeDirectoryForURL: /mnt1/System AMFDRCreateError: AMFDRDataLocalCopyDataStoragePath: AMSupportMakeDirectory failed: code=4 AMFDRCreateError: AMFDRDataLocalCopy: missing data storage path: code=4 AMFDRCreateError: AMFDRDataCopy: seal:00008030-000C79462EA3802E get data failed - foundData is NULL: code=10 AMFDRCreateError: AMFDRSealingMapPopulateSealingManifest: sealingManifest is NULL: code=10 AMFDRCreateError: AMFDRSealingMapCreateAndPopulateSealedData: AMFDRSealingMapPopulateSealingManifest failed on amfdr: code=10 AMFDRSealedDataRestoreOptions: sealedData is NULL failed to save FDR persistent state RestoredFDRSaveData success [15:01:33.0649-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0617] fdr_save_data restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0650-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0618] store_baseband_migration restore-step-ids = {0x11030618:35} restore-step-names = {0x11030618:store_baseband_migration} restore-step-uptime = 15 restore-step-user-progress = 0 entering ramrod_probe_media_internal entering wait_for_device: 'EmbeddedDeviceTypeRoot' Using device path /dev/disk0 for EmbeddedDeviceTypeRoot device partitioning scheme is GPT APFS Container 'Container' /dev/disk0s1 device is APFS formatted Captured preboot partition on main OS container 2 find_filesystem_partitions: storage=/dev/disk0 container=/dev/disk0s1 system=/dev/disk0s1s1 data= baseband data=/dev/disk0s1s4 log= update= xart=/dev/disk0s1s3 hardware=/dev/disk0s1s5 scratch= preboot=/dev/disk0s1s6 find_filesystem_partitions: recovery os container= volume= could not locate filesystems: 0, ignoring error for an erase install [15:01:33.0651-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0618] store_baseband_migration restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0651-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0619] check_for_restore_log restore-step-ids = {0x11030619:36} restore-step-names = {0x11030619:check_for_restore_log} restore-step-uptime = 15 restore-step-user-progress = 0 entering check_for_restore_log ramrod_display_set_granular_progress_forced: 0.000000 restore log does not exist [15:01:33.0651-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0619] check_for_restore_log restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0651-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x061A] check_for_ota_logs restore-step-ids = {0x1103061A:37} restore-step-names = {0x1103061A:check_for_ota_logs} restore-step-uptime = 15 restore-step-user-progress = 0 Initializing libpartition Skipping OTA log submission on erase install with damaged gigalocker or missing data [15:01:33.0651-GMT]{4>8} CHECKPOINT END: RESTORED:[0x061A] check_for_ota_logs restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0651-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x061B] submit_update_stats restore-step-ids = {0x1103061B:38} restore-step-names = {0x1103061B:submit_update_stats} restore-step-uptime = 15 restore-step-user-progress = 0 Skipping OTA metrics submission on erase install with damaged gigalocker [15:01:33.0651-GMT]{4>8} CHECKPOINT END: RESTORED:[0x061B] submit_update_stats restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0651-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0661] read_persistent_files restore-step-ids = {0x11030661:39} restore-step-names = {0x11030661:read_persistent_files} restore-step-uptime = 15 restore-step-user-progress = 0 persistent_files_create has nothing to persist. Checking if hardware folder contents need to be stashed entering mount_partition executing /sbin/mount_apfs -R -o rdonly /mnt4 mount_apfs: volume could not be mounted: No such file or directory mounting on /mnt4 failed ramrod_dump_mounted_filesystem_info:**DUMPING MOUNTED FILESYSTEMS**** ramrod_dump_mounted_filesystem_info: 5 filesystems are mounted /dev/disk0s1s5 is mounted at /mnt6 /dev/disk0s1s1 is mounted at /mnt1 tmpfs is mounted at /mnt5 devfs is mounted at /dev /dev/md0 is mounted at / ramrod_dump_mounted_filesystem_info: *****DONE DUMPING MOUNTED FILESYSTEMS**** Unable to mount or no update partition present(not necessarily a ). Hardware folder contents will not be stashed Done checking hardware folder contents [15:01:33.0661-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0661] read_persistent_files restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0661-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x061D] unmount_unconditionally restore-step-ids = {0x1103061D:40} restore-step-names = {0x1103061D:unmount_unconditionally} restore-step-uptime = 15 restore-step-user-progress = 0 entering unmount_filesystems ramrod_display_set_granular_progress_forced: 0.000000 entering force_unmount_partition Preboot not mounted (unmount ignored) Skipping unmount of the update partition ramrod_display_set_granular_progress_forced: 0.000000 entering force_unmount_partition Hardware unmounted ramrod_display_set_granular_progress_forced: 0.000000 entering force_unmount_partition Baseband Data not mounted (unmount ignored) ramrod_display_set_granular_progress_forced: 0.000000 entering force_unmount_partition Data not mounted (unmount ignored) ramrod_display_set_granular_progress_forced: 0.000000 entering force_unmount_partition xART not mounted (unmount ignored) ramrod_display_set_granular_progress_forced: 0.000000 entering force_unmount_partition System unmounted [15:01:33.0662-GMT]{4>8} CHECKPOINT END: RESTORED:[0x061D] unmount_unconditionally restore-step-ids = {} restore-step-names = {} restore-step-uptime = 15 restore-step-user-progress = 0 [15:01:33.0663-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x064E] clean_nand restore-step-ids = {0x1103064E:41} restore-step-names = {0x1103064E:clean_nand} restore-step-uptime = 15 restore-step-user-progress = 0 entering clean_NAND NAND format complete entering ramrod_probe_media_internal entering wait_for_device: 'EmbeddedDeviceTypeRoot' Using device path /dev/disk0 for EmbeddedDeviceTypeRoot find_filesystem_partitions: storage=/dev/disk0 container= system= data= baseband data= log= update= xart= hardware= scratch= preboot= find_filesystem_partitions: recovery os container= volume= [15:01:34.0858-GMT]{4>8} CHECKPOINT END: RESTORED:[0x064E] clean_nand restore-step-ids = {} restore-step-names = {} restore-step-uptime = 16 restore-step-user-progress = 0 [15:01:34.0858-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x061F] format_effaceable_storage restore-step-ids = {0x1103061F:42} restore-step-names = {0x1103061F:format_effaceable_storage} restore-step-uptime = 16 restore-step-user-progress = 0 entering format_effaceable_storage effaceable storage is formatted, clearing it effaceable storaged cleared [15:01:35.0089-GMT]{4>8} CHECKPOINT END: RESTORED:[0x061F] format_effaceable_storage restore-step-ids = {} restore-step-names = {} restore-step-uptime = 17 restore-step-user-progress = 0 [15:01:35.0090-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x068A] format_ean_storage restore-step-ids = {0x1103068A:43} restore-step-names = {0x1103068A:format_ean_storage} restore-step-uptime = 17 restore-step-user-progress = 0 entering format_ean_storage Ean storage not present for this device. Skipping ean format. [15:01:35.0090-GMT]{4>8} CHECKPOINT END: RESTORED:[0x068A] format_ean_storage restore-step-ids = {} restore-step-names = {} restore-step-uptime = 17 restore-step-user-progress = 0 [15:01:35.0091-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0621] create_filesystem_partitions restore-step-ids = {0x11030621:44} restore-step-names = {0x11030621:create_filesystem_partitions} restore-step-uptime = 17 restore-step-user-progress = 0 APFS Erase Install entering create_filesystem_partition ramrod_display_set_granular_progress_forced: 0.000000 [15:01:35.0153-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0621] create_filesystem_partitions restore-step-ids = {} restore-step-names = {} restore-step-uptime = 17 restore-step-user-progress = 0 [15:01:35.0154-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0677] perform_main_os_prepare restore-step-ids = {0x11030677:45} restore-step-names = {0x11030677:perform_main_os_prepare} restore-step-uptime = 17 restore-step-user-progress = 0 [15:01:35.0154-GMT]{4>8} CHECKPOINT BEGIN: (null):[0x0660] update_partitions_for_apfs restore-step-ids = {0x11030677:45;0x11030660:46} restore-step-names = {0x11030677:perform_main_os_prepare;0x11030660:update_partitions_for_apfs} restore-step-uptime = 17 restore-step-user-progress = 0 [15:01:35.0155-GMT]{4>8} CHECKPOINT END: (null):[0x0660] update_partitions_for_apfs restore-step-ids = {0x11030677:45} restore-step-names = {0x11030677:perform_main_os_prepare} restore-step-uptime = 17 restore-step-user-progress = 0 [15:01:35.0155-GMT]{4>8} CHECKPOINT BEGIN: (null):[0x0622] reload_filesystem_partitions restore-step-ids = {0x11030677:45;0x11030622:47} restore-step-names = {0x11030677:perform_main_os_prepare;0x11030622:reload_filesystem_partitions} restore-step-uptime = 17 restore-step-user-progress = 0 entering ramrod_probe_media_internal entering wait_for_device: 'EmbeddedDeviceTypeRoot' Using device path /dev/disk0 for EmbeddedDeviceTypeRoot device partitioning scheme is GPT APFS Container 'Container' /dev/disk0s1 find_filesystem_partitions: storage=/dev/disk0 container=/dev/disk0s1 system= data= baseband data= log= update= xart= hardware= scratch= preboot= find_filesystem_partitions: recovery os container= volume= [15:01:35.0163-GMT]{4>8} CHECKPOINT END: (null):[0x0622] reload_filesystem_partitions restore-step-ids = {0x11030677:45} restore-step-names = {0x11030677:perform_main_os_prepare} restore-step-uptime = 17 restore-step-user-progress = 0 [15:01:35.0163-GMT]{4>8} CHECKPOINT BEGIN: (null):[0x065D] delete_mobilebackups restore-step-ids = {0x11030677:45;0x1103065D:48} restore-step-names = {0x11030677:perform_main_os_prepare;0x1103065D:delete_mobilebackups} restore-step-uptime = 17 restore-step-user-progress = 0 [15:01:35.0164-GMT]{4>8} CHECKPOINT END: (null):[0x065D] delete_mobilebackups restore-step-ids = {0x11030677:45} restore-step-names = {0x11030677:perform_main_os_prepare} restore-step-uptime = 17 restore-step-user-progress = 0 [15:01:35.0165-GMT]{4>8} CHECKPOINT BEGIN: (null):[0x160D] delete_recovery_partition restore-step-ids = {0x11030677:45;0x1103160D:49} restore-step-names = {0x11030677:perform_main_os_prepare;0x1103160D:delete_recovery_partition} restore-step-uptime = 17 restore-step-user-progress = 0 [15:01:35.0165-GMT]{4>8} CHECKPOINT END: (null):[0x160D] delete_recovery_partition restore-step-ids = {0x11030677:45} restore-step-names = {0x11030677:perform_main_os_prepare} restore-step-uptime = 17 restore-step-user-progress = 0 [15:01:35.0166-GMT]{4>8} CHECKPOINT BEGIN: (null):[0x0658] format_media restore-step-ids = {0x11030677:45;0x11030658:50} restore-step-names = {0x11030677:perform_main_os_prepare;0x11030658:format_media} restore-step-uptime = 17 restore-step-user-progress = 0 entering create_apfs_filesystems entering ramrod_probe_media_internal entering wait_for_device: 'EmbeddedDeviceTypeRoot' Using device path /dev/disk0 for EmbeddedDeviceTypeRoot device partitioning scheme is GPT APFS Container 'Container' /dev/disk0s1 find_filesystem_partitions: storage=/dev/disk0 container=/dev/disk0s1 system= data= baseband data= log= update= xart= hardware= scratch= preboot= find_filesystem_partitions: recovery os container= volume= ramrod_display_set_granular_progress_forced: 0.000000 /System/Library/Filesystems/apfs.fs/newfs_apfs -C /dev/disk0s1 executing /System/Library/Filesystems/apfs.fs/newfs_apfs -C /dev/disk0s1 2020-11-22 15:01:35.209381+0000 newfs_apfs[24:1223] Warning, unable to start xartutil, spawn error: 2 entering ramrod_probe_media_internal entering wait_for_device: 'EmbeddedDeviceTypeRoot' Using device path /dev/disk0 for EmbeddedDeviceTypeRoot device partitioning scheme is GPT APFS Container 'Container' /dev/disk0s1 device is APFS formatted find_filesystem_partitions: storage=/dev/disk0 container=/dev/disk0s1 system= data= baseband data= log= update= xart= hardware= scratch= preboot= find_filesystem_partitions: recovery os container= volume= block size for /dev/disk0s1: 4096 /System/Library/Filesystems/apfs.fs/newfs_apfs -A -o role=s -v System /dev/disk0s1 executing /System/Library/Filesystems/apfs.fs/newfs_apfs -A -o role=s -v System /dev/disk0s1 We should have an xART partition. Will create an xART partition. block size for /dev/disk0s1: 4096 /System/Library/Filesystems/apfs.fs/newfs_apfs -s 10485760 -A -o role=x -v xART /dev/disk0s1 executing /System/Library/Filesystems/apfs.fs/newfs_apfs -s 10485760 -A -o role=x -v xART /dev/disk0s1 block size for /dev/disk0s1: 4096 /System/Library/Filesystems/apfs.fs/newfs_apfs -s 10485760 -A -o role=a -v Baseband Data /dev/disk0s1 executing /System/Library/Filesystems/apfs.fs/newfs_apfs -s 10485760 -A -o role=a -v Baseband Data /dev/disk0s1 Hardware partition size calculation: 8 MiB FDR 4 MiB free space for apfs

12 MiB total IORegistry requires a 12 MiB Hardware Partition block size for /dev/disk0s1: 4096 /System/Library/Filesystems/apfs.fs/newfs_apfs -s 12582912 -A -o role=h -v Hardware /dev/disk0s1 executing /System/Library/Filesystems/apfs.fs/newfs_apfs -s 12582912 -A -o role=h -v Hardware /dev/disk0s1 Waiting to decide if scratch is needed. Update partition is not created as part of create_apfs_filesystems..skipping block size for /dev/disk0s1: 4096 /System/Library/Filesystems/apfs.fs/newfs_apfs -A -o role=b -v Preboot /dev/disk0s1 executing /System/Library/Filesystems/apfs.fs/newfs_apfs -A -o role=b -v Preboot /dev/disk0s1 [15:01:35.0664-GMT]{4>8} CHECKPOINT END: (null):[0x0658] format_media restore-step-ids = {0x11030677:45} restore-step-names = {0x11030677:perform_main_os_prepare} restore-step-uptime = 17 restore-step-user-progress = 0 [15:01:35.0664-GMT]{4>8} CHECKPOINT BEGIN: (null):[0x0659] find_volumes_after_format restore-step-ids = {0x11030677:45;0x11030659:51} restore-step-names = {0x11030677:perform_main_os_prepare;0x11030659:find_volumes_after_format} restore-step-uptime = 17 restore-step-user-progress = 0 entering ramrod_probe_media_internal entering wait_for_device: 'EmbeddedDeviceTypeRoot' Using device path /dev/disk0 for EmbeddedDeviceTypeRoot device partitioning scheme is GPT APFS Container 'Container' /dev/disk0s1 device is APFS formatted Captured preboot partition on main OS container 2 find_filesystem_partitions: storage=/dev/disk0 container=/dev/disk0s1 system=/dev/disk0s1s1 data= baseband data=/dev/disk0s1s4 log= update= xart=/dev/disk0s1s3 hardware=/dev/disk0s1s5 scratch= preboot=/dev/disk0s1s6 find_filesystem_partitions: recovery os container= volume= [15:01:35.0666-GMT]{4>8} CHECKPOINT END: (null):[0x0659] find_volumes_after_format restore-step-ids = {0x11030677:45} restore-step-names = {0x11030677:perform_main_os_prepare} restore-step-uptime = 17 restore-step-user-progress = 0 [15:01:35.0666-GMT]{4>8} CHECKPOINT BEGIN: (null):[0x065A] baseband_migration_data restore-step-ids = {0x11030677:45;0x1103065A:52} restore-step-names = {0x11030677:perform_main_os_prepare;0x1103065A:baseband_migration_data} restore-step-uptime = 17 restore-step-user-progress = 0 [15:01:35.0666-GMT]{4>8} CHECKPOINT END: (null):[0x065A] baseband_migration_data restore-step-ids = {0x11030677:45} restore-step-names = {0x11030677:perform_main_os_prepare} restore-step-uptime = 17 restore-step-user-progress = 0 [15:01:35.0666-GMT]{4>8} CHECKPOINT BEGIN: (null):[0x065B] asr_and_invert_image restore-step-ids = {0x11030677:45;0x1103065B:53} restore-step-names = {0x11030677:perform_main_os_prepare;0x1103065B:asr_and_invert_image} restore-step-uptime = 17 restore-step-user-progress = 0 restore_apfs_image : started restoring an APFS image entering mount_partition executing /sbin/mount_apfs -R /dev/disk0s1s1 /mnt1 /dev/disk0s1s1 mounted on /mnt1 System mounted read-write Successfully marked device node /dev/rdisk0s1s1 as static data OS digest = 46203b45907ae3493daad5a31b797a786f11a363c87c8278d2df5e8e009b401d3b881e562f824931fb8609427cd18658 Restoring to APFS Inverter Image = /mnt1/apfs_invert_asr_img executing /usr/sbin/asr -source asr://localhost:12345 -target /mnt1/apfs_invert_asr_img --embed -erase -noprompt --chunkchecksum --puppetstrings --expectedhash 46203b45907ae3493daad5a31b797a786f11a363c87c8278d2df5e8e009b401d3b881e562f824931fb8609427cd18658 ASR: 2020-11-22 15:01:35.727719+0000 asr[32:1263] [User Defaults] Could not connect to cfprefsd. No CFPreferences/NSUserDefaults changes will be saved ASR STATUS: start 537.4 multicast-client ASR: 2020-11-22 15:01:35.729641+0000 asr[32:1263] [si_destination_compare] send failed: Invalid argument ASR: 2020-11-22 15:01:35.729657+0000 asr[32:1263] [si_destination_compare] send failed: Undefined error: 0 ASR: 2020-11-22 15:01:35.729668+0000 asr[32:1263] [si_destination_compare] send failed: Invalid argument ASR: Waiting for connection attempt from server ASR STATUS: setup ASR: Validating target... ASR: done ASR STATUS: metadata ASR: Validating source... ASR: done ASR: Retrieving scan information... ASR: done ASR: Validating sizes... ASR: done ASR STATUS: restore ASR RESTORE PROGRESS: 2% ramrod_display_set_granular_progress_forced: 4.000000 ASR RESTORE PROGRESS: 4% ramrod_display_set_granular_progress_forced: 5.000000 ASR RESTORE PROGRESS: 6% ramrod_display_set_granular_progress_forced: 6.000000 ASR RESTORE PROGRESS: 8% ramrod_display_set_granular_progress_forced: 6.000000 ASR RESTORE PROGRESS: 10% ramrod_display_set_granular_progress_forced: 7.000000 ASR RESTORE PROGRESS: 12% ramrod_display_set_granular_progress_forced: 7.000000 ASR RESTORE PROGRESS: 14% ramrod_display_set_granular_progress_forced: 8.000000 ASR RESTORE PROGRESS: 16% ramrod_display_set_granular_progress_forced: 8.000000 ASR RESTORE PROGRESS: 18% ramrod_display_set_granular_progress_forced: 9.000000 ASR RESTORE PROGRESS: 20% ramrod_display_set_granular_progress_forced: 9.000000 ASR RESTORE PROGRESS: 22% ramrod_display_set_granular_progress_forced: 10.000000 ASR RESTORE PROGRESS: 24% ramrod_display_set_granular_progress_forced: 10.000000 unrecognized request 'GetValue' ASR RESTORE PROGRESS: 26% ramrod_display_set_granular_progress_forced: 11.000000 ASR RESTORE PROGRESS: 28% ramrod_display_set_granular_progress_forced: 11.000000 ASR RESTORE PROGRESS: 30% ramrod_display_set_granular_progress_forced: 12.000000 ASR RESTORE PROGRESS: 32% ramrod_display_set_granular_progress_forced: 12.000000 ASR RESTORE PROGRESS: 34% ramrod_display_set_granular_progress_forced: 13.000000 ASR RESTORE PROGRESS: 36% ramrod_display_set_granular_progress_forced: 13.000000 ASR RESTORE PROGRESS: 38% ramrod_display_set_granular_progress_forced: 14.000000 ASR RESTORE PROGRESS: 40% ramrod_display_set_granular_progress_forced: 15.000000 ASR RESTORE PROGRESS: 42% ramrod_display_set_granular_progress_forced: 15.000000 ASR RESTORE PROGRESS: 44% ramrod_display_set_granular_progress_forced: 16.000000 ASR RESTORE PROGRESS: 46% ramrod_display_set_granular_progress_forced: 16.000000 ASR RESTORE PROGRESS: 48% ramrod_display_set_granular_progress_forced: 17.000000 ASR RESTORE PROGRESS: 50% ramrod_display_set_granular_progress_forced: 17.000000 unrecognized request 'GetValue' ASR RESTORE PROGRESS: 52% ramrod_display_set_granular_progress_forced: 18.000000 ASR RESTORE PROGRESS: 54% ramrod_display_set_granular_progress_forced: 18.000000 ASR RESTORE PROGRESS: 56% ramrod_display_set_granular_progress_forced: 19.000000 ASR RESTORE PROGRESS: 58% ramrod_display_set_granular_progress_forced: 19.000000 ASR RESTORE PROGRESS: 60% ramrod_display_set_granular_progress_forced: 20.000000 ASR RESTORE PROGRESS: 62% ramrod_display_set_granular_progress_forced: 20.000000 ASR RESTORE PROGRESS: 64% ramrod_display_set_granular_progress_forced: 21.000000 ASR RESTORE PROGRESS: 66% ramrod_display_set_granular_progress_forced: 21.000000 recv(14, 4) failed: connection closed unable to read message size: -1 could not receive message unrecognized request 'GetValue' ASR RESTORE PROGRESS: 68% ramrod_display_set_granular_progress_forced: 22.000000 ASR RESTORE PROGRESS: 70% ramrod_display_set_granular_progress_forced: 22.000000 ASR RESTORE PROGRESS: 72% ramrod_display_set_granular_progress_forced: 23.000000 ASR RESTORE PROGRESS: 74% ramrod_display_set_granular_progress_forced: 24.000000 ASR RESTORE PROGRESS: 76% ramrod_display_set_granular_progress_forced: 24.000000 ASR RESTORE PROGRESS: 78% ramrod_display_set_granular_progress_forced: 25.000000 ASR RESTORE PROGRESS: 80% ramrod_display_set_granular_progress_forced: 25.000000 ASR RESTORE PROGRESS: 82% ramrod_display_set_granular_progress_forced: 26.000000 ASR RESTORE PROGRESS: 84% ramrod_display_set_granular_progress_forced: 26.000000 unrecognized request 'GetValue' ASR RESTORE PROGRESS: 86% ramrod_display_set_granular_progress_forced: 27.000000 ASR RESTORE PROGRESS: 88% ramrod_display_set_granular_progress_forced: 27.000000 ASR RESTORE PROGRESS: 90% ramrod_display_set_granular_progress_forced: 28.000000 ASR RESTORE PROGRESS: 92% ramrod_display_set_granular_progress_forced: 28.000000 ASR RESTORE PROGRESS: 94% ramrod_display_set_granular_progress_forced: 29.000000 ASR: asr: ASR: Socket unexpectedly closed while trying to read() offset 0x10BC00000 ASR: asr: Failed to read the stream: Input/output error ASR: decompressChunk: backing store read at offset 4489150654 length 1060150 failed with error 5 ASR: decompressChunk() error: 5 ASR STATUS: fail ASR: Could not restore - Input/output error ASR STATUS: fail restore_apfs_image : failed to restore an APFS image, error = 14 [15:03:50.0582-GMT]{4>8} CHECKPOINT FAILURE:(FAILURE:14) (null):[0x065B] asr_and_invert_image [0]D(failed to restore APFS image) restore-step-results = {0x1107065B:{0:14}} restore-step-codes = {0x1107065B:{0:14}} restore-step-domains = {0x1107065B:{0:"AMRestoreErrorDomain"}} restore-step-error = {0x1107065B:"[0]D(failed to restore APFS image)"} restore-step-uptime = 152 restore-step-user-progress = 29 [15:03:50.0582-GMT]{4>8} CHECKPOINT NOTICE: (NVRAM set) restore-step-user-progress=29 [sync=true] (first failure) [15:03:50.0582-GMT]{4>8} CHECKPOINT FAILURE:(FAILURE:14) RESTORED:[0x0677] perform_main_os_prepare [0]D(failed to restore APFS image) restore-step-results = {0x11070677:{0:14};0x1107065B:{0:14}} restore-step-codes = {0x11070677:{0:14};0x1107065B:{0:14}} restore-step-domains = {0x11070677:{0:"AMRestoreErrorDomain"};0x1107065B:{0:"AMRestoreErrorDomain"}} restore-step-error = {0x11070677:"[0]D(failed to restore APFS image)"} restore-step-uptime = 152 restore-step-user-progress = 29 [15:03:50.0582-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x067C] cleanup_boot_command restore-step-ids = {0x11030677:45;0x1103065B:53;0x1103067C:54} restore-step-names = {0x11030677:perform_main_os_prepare;0x1103065B:asr_and_invert_image;0x1103067C:cleanup_boot_command} restore-step-uptime = 152 restore-step-user-progress = 29 entering reset_boot_command_if_value executing /usr/sbin/nvram -d recovery-boot-mode Successfully deleted recovery-boot-moderecovery-boot-mode executing /usr/sbin/nvram -d iboot-failure-reason Successfully deleted iboot-failure-reasoniboot-failure-reason [15:03:50.0599-GMT]{4>8} CHECKPOINT END: RESTORED:[0x067C] cleanup_boot_command restore-step-ids = {0x11030677:45;0x1103065B:53} restore-step-names = {0x11030677:perform_main_os_prepare;0x1103065B:asr_and_invert_image} restore-step-uptime = 152 restore-step-user-progress = 29 [15:03:50.0600-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x1613] cleanup_recovery_os_volume restore-step-ids = {0x11030677:45;0x1103065B:53;0x11031613:55} restore-step-names = {0x11030677:perform_main_os_prepare;0x1103065B:asr_and_invert_image;0x11031613:cleanup_recovery_os_volume} restore-step-uptime = 152 restore-step-user-progress = 29 [15:03:50.0600-GMT]{4>8} CHECKPOINT END: RESTORED:[0x1613] cleanup_recovery_os_volume restore-step-ids = {0x11030677:45;0x1103065B:53} restore-step-names = {0x11030677:perform_main_os_prepare;0x1103065B:asr_and_invert_image} restore-step-uptime = 152 restore-step-user-progress = 29 [15:03:50.0600-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0647] cleanup_check_result restore-step-ids = {0x11030677:45;0x1103065B:53;0x11030647:56} restore-step-names = {0x11030677:perform_main_os_prepare;0x1103065B:asr_and_invert_image;0x11030647:cleanup_check_result} restore-step-uptime = 152 restore-step-user-progress = 29 [15:03:50.0600-GMT]{4>8} CHECKPOINT END: RESTORED:[0x0647] cleanup_check_result restore-step-ids = {0x11030677:45;0x1103065B:53} restore-step-names = {0x11030677:perform_main_os_prepare;0x1103065B:asr_and_invert_image} restore-step-uptime = 152 restore-step-user-progress = 29 [15:03:50.0600-GMT]{4>8} CHECKPOINT BEGIN: RESTORED:[0x0648] cleanup_send_final_status restore-step-ids = {0x11030677:45;0x1103065B:53;0x11030648:57} restore-step-names = {0x11030677:perform_main_os_prepare;0x1103065B:asr_and_invert_image;0x11030648:cleanup_send_final_status} restore-step-uptime = 152 restore-step-user-progress = 29

ERROR: Unable to restore device tim@tim-bluechip-BUSINESSline-MT-Pro-G:~$

THX for help

nikias commented 3 years ago

Can you make sure you are using latest code from git, especially libusbmuxd and libimobiledevice? I recently pushed a change that from my understanding should help fixing these kind of issues.

yunyhx commented 3 years ago

I'm not sure where can I see if it's the current version?

yunyhx commented 3 years ago

tim@tim-bluechip-BUSINESSline-MT-Pro-G:~$ sudo apt-get install \

build-essential \ checkinstall \ git \ autoconf \ automake \ libtool-bin \ libplist-dev \ libusbmuxd-dev \ libssl-dev \ usbmuxd [sudo] Passwort für tim: Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig autoconf ist schon die neueste Version (2.69-11.1). automake ist schon die neueste Version (1:1.16.1-4ubuntu6). git ist schon die neueste Version (1:2.25.1-1ubuntu3). libssl-dev ist schon die neueste Version (1.1.1f-1ubuntu2). libtool-bin ist schon die neueste Version (2.4.6-14). checkinstall ist schon die neueste Version (1.6.2+git20170426.d24a630-2ubuntu1). build-essential ist schon die neueste Version (12.8ubuntu1.1). libplist-dev ist schon die neueste Version (2.2.0-4). libusbmuxd-dev ist schon die neueste Version (2.0.2-3). usbmuxd ist schon die neueste Version (1.1.1-2). 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

tim@tim-bluechip-BUSINESSline-MT-Pro-G:~$ sudo apt-get install \

doxygen \ cython Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig cython ist schon die neueste Version (0.29.14-0.1ubuntu3). doxygen ist schon die neueste Version (1.8.17-0ubuntu2). 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert

tim@tim-bluechip-BUSINESSline-MT-Pro-G:~/libimobiledevice$ ./autogen.sh libtoolize: putting auxiliary files in '.'. libtoolize: linking file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: linking file 'm4/libtool.m4' libtoolize: linking file 'm4/ltoptions.m4' libtoolize: linking file 'm4/ltsugar.m4' libtoolize: linking file 'm4/ltversion.m4' libtoolize: linking file 'm4/lt~obsolete.m4' configure.ac:29: installing './compile' configure.ac:6: installing './missing' common/Makefile.am: installing './depcomp' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libusbmuxd... yes checking for libplist... yes checking for ANSI C header files... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking gcrypt.h usability... yes checking gcrypt.h presence... yes checking for gcrypt.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint8_t... yes checking for asprintf... yes checking for strcasecmp... yes checking for strdup... yes checking for strerror... yes checking for strndup... yes checking for stpcpy... yes checking for vasprintf... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking for platform-specific build settings... linux-gnu checking whether gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for pthread_once in -lpthread... yes checking for struct dirent.d_type... yes checking for cython... /usr/bin/cython checking for Cython version... 0.29.14 configure: Cython executable is '/usr/bin/cython' checking for python... /usr/bin/python checking for a version of Python >= '2.1.0'... yes checking for the distutils Python package... yes checking for Python include path... -I/usr/include/python2.7 checking for Python library path... -L/usr/lib -lpython2.7 checking for Python site-packages path... /usr/lib/python2.7/dist-packages checking python extra libraries... -lpthread -ldl -lutil -lm checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions checking consistency of all components of python development environment... yes checking whether /usr/bin/python version is >= 2.3... yes checking for /usr/bin/python version... 2.7 checking for /usr/bin/python platform... linux2 checking for /usr/bin/python script directory... ${prefix}/lib/python2.7/dist-packages checking for /usr/bin/python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages checking to see if compiler understands -Wno-cast-function-type -Werror... yes checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libplist Cython bindings... /usr/local/include/plist/cython checking for openssl... yes checking for supported compiler flags... -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char -fvisibility=hidden checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether make supports nested variables... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating common/Makefile config.status: creating src/Makefile config.status: creating src/libimobiledevice-1.0.pc config.status: creating include/Makefile config.status: creating tools/Makefile config.status: creating cython/Makefile config.status: creating docs/Makefile config.status: creating doxygen.cfg config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands

Configuration for libimobiledevice 1.3.1:

Install prefix: .........: /usr/local Debug code ..............: no Python bindings .........: yes SSL support backend .....: OpenSSL

Now type 'make' to build libimobiledevice 1.3.1, and then 'make install' for installation.

tim@tim-bluechip-BUSINESSline-MT-Pro-G:~/libimobiledevice$ make make all-recursive make[1]: Verzeichnis „/home/tim/libimobiledevice“ wird betreten Making all in common make[2]: Verzeichnis „/home/tim/libimobiledevice/common“ wird betreten make[2]: Für das Ziel „all“ ist nichts zu tun. make[2]: Verzeichnis „/home/tim/libimobiledevice/common“ wird verlassen Making all in src make[2]: Verzeichnis „/home/tim/libimobiledevice/src“ wird betreten make[2]: Für das Ziel „all“ ist nichts zu tun. make[2]: Verzeichnis „/home/tim/libimobiledevice/src“ wird verlassen Making all in include make[2]: Verzeichnis „/home/tim/libimobiledevice/include“ wird betreten make[2]: Für das Ziel „all“ ist nichts zu tun. make[2]: Verzeichnis „/home/tim/libimobiledevice/include“ wird verlassen Making all in cython make[2]: Verzeichnis „/home/tim/libimobiledevice/cython“ wird betreten /usr/bin/cython -I/usr/local/include/plist/cython -I../src -o imobiledevice.c imobiledevice.pyx /usr/lib/python2.7/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/tim/libimobiledevice/cython/imobiledevice.pxd tree = Parsing.p_module(s, pxd, full_module_name) warning: imobiledevice.pxd:6:4: Exception already a builtin Cython type make all-am make[3]: Verzeichnis „/home/tim/libimobiledevice/cython“ wird betreten CC imobiledevice_la-imobiledevice.lo CCLD imobiledevice.la make[3]: Verzeichnis „/home/tim/libimobiledevice/cython“ wird verlassen make[2]: Verzeichnis „/home/tim/libimobiledevice/cython“ wird verlassen Making all in tools make[2]: Verzeichnis „/home/tim/libimobiledevice/tools“ wird betreten make[2]: Für das Ziel „all“ ist nichts zu tun. make[2]: Verzeichnis „/home/tim/libimobiledevice/tools“ wird verlassen Making all in docs make[2]: Verzeichnis „/home/tim/libimobiledevice/docs“ wird betreten make[2]: Für das Ziel „all“ ist nichts zu tun. make[2]: Verzeichnis „/home/tim/libimobiledevice/docs“ wird verlassen make[2]: Verzeichnis „/home/tim/libimobiledevice“ wird betreten make[2]: Verzeichnis „/home/tim/libimobiledevice“ wird verlassen make[1]: Verzeichnis „/home/tim/libimobiledevice“ wird verlassen tim@tim-bluechip-BUSINESSline-MT-Pro-G:~/libimobiledevice$ sudo make install Making install in common make[1]: Verzeichnis „/home/tim/libimobiledevice/common“ wird betreten make[2]: Verzeichnis „/home/tim/libimobiledevice/common“ wird betreten make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun. make[2]: Für das Ziel „install-data-am“ ist nichts zu tun. make[2]: Verzeichnis „/home/tim/libimobiledevice/common“ wird verlassen make[1]: Verzeichnis „/home/tim/libimobiledevice/common“ wird verlassen Making install in src make[1]: Verzeichnis „/home/tim/libimobiledevice/src“ wird betreten make[2]: Verzeichnis „/home/tim/libimobiledevice/src“ wird betreten /usr/bin/mkdir -p '/usr/local/lib' /bin/bash ../libtool --mode=install /usr/bin/install -c libimobiledevice-1.0.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libimobiledevice-1.0.so.6.0.0 /usr/local/lib/libimobiledevice-1.0.so.6.0.0 libtool: install: (cd /usr/local/lib && { ln -s -f libimobiledevice-1.0.so.6.0.0 libimobiledevice-1.0.so.6 || { rm -f libimobiledevice-1.0.so.6 && ln -s libimobiledevice-1.0.so.6.0.0 libimobiledevice-1.0.so.6; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libimobiledevice-1.0.so.6.0.0 libimobiledevice-1.0.so || { rm -f libimobiledevice-1.0.so && ln -s libimobiledevice-1.0.so.6.0.0 libimobiledevice-1.0.so; }; }) libtool: install: /usr/bin/install -c .libs/libimobiledevice-1.0.lai /usr/local/lib/libimobiledevice-1.0.la libtool: install: /usr/bin/install -c .libs/libimobiledevice-1.0.a /usr/local/lib/libimobiledevice-1.0.a libtool: install: chmod 644 /usr/local/lib/libimobiledevice-1.0.a libtool: install: ranlib /usr/local/lib/libimobiledevice-1.0.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib

Libraries have been installed in: /usr/local/lib

If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following:

See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.

/usr/bin/mkdir -p '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 libimobiledevice-1.0.pc '/usr/local/lib/pkgconfig' make[2]: Verzeichnis „/home/tim/libimobiledevice/src“ wird verlassen make[1]: Verzeichnis „/home/tim/libimobiledevice/src“ wird verlassen Making install in include make[1]: Verzeichnis „/home/tim/libimobiledevice/include“ wird betreten make[2]: Verzeichnis „/home/tim/libimobiledevice/include“ wird betreten make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun. /usr/bin/mkdir -p '/usr/local/include' /usr/bin/mkdir -p '/usr/local/include/libimobiledevice' /usr/bin/install -c -m 644 libimobiledevice/libimobiledevice.h libimobiledevice/lockdown.h libimobiledevice/afc.h libimobiledevice/file_relay.h libimobiledevice/notification_proxy.h libimobiledevice/installation_proxy.h libimobiledevice/sbservices.h libimobiledevice/mobile_image_mounter.h libimobiledevice/screenshotr.h libimobiledevice/mobilesync.h libimobiledevice/mobilebackup.h libimobiledevice/house_arrest.h libimobiledevice/mobilebackup2.h libimobiledevice/misagent.h libimobiledevice/restore.h libimobiledevice/webinspector.h libimobiledevice/heartbeat.h libimobiledevice/diagnostics_relay.h libimobiledevice/debugserver.h libimobiledevice/syslog_relay.h libimobiledevice/mobileactivation.h libimobiledevice/preboard.h libimobiledevice/companion_proxy.h libimobiledevice/property_list_service.h libimobiledevice/service.h '/usr/local/include/libimobiledevice' make[2]: Verzeichnis „/home/tim/libimobiledevice/include“ wird verlassen make[1]: Verzeichnis „/home/tim/libimobiledevice/include“ wird verlassen Making install in cython make[1]: Verzeichnis „/home/tim/libimobiledevice/cython“ wird betreten make install-am make[2]: Verzeichnis „/home/tim/libimobiledevice/cython“ wird betreten make[3]: Verzeichnis „/home/tim/libimobiledevice/cython“ wird betreten make[3]: Für das Ziel „install-exec-am“ ist nichts zu tun. /usr/bin/mkdir -p '/usr/local/lib/python2.7/dist-packages' /bin/bash ../libtool --mode=install /usr/bin/install -c imobiledevice.la '/usr/local/lib/python2.7/dist-packages' libtool: warning: relinking 'imobiledevice.la' libtool: install: (cd /home/tim/libimobiledevice/cython; /bin/bash "/home/tim/libimobiledevice/libtool" --silent --tag CC --mode=relink gcc -I../include -I../src -I/usr/include/python2.7 -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char -fvisibility=hidden -I/usr/local/include -pthread -Wno-shadow -Wno-redundant-decls -Wno-switch-default -Wno-strict-aliasing -Wno-implicit-function-declaration -fvisibility=default -Wno-cast-function-type -g -O2 -module -avoid-version -L/usr/local/lib -L/usr/lib -lpython2.7 -lssl -lcrypto -L/usr/local/lib -lplist-2.0 -no-undefined -o imobiledevice.la -rpath /usr/local/lib/python2.7/dist-packages imobiledevice_la-imobiledevice.lo ../src/libimobiledevice-1.0.la -lpthread ) libtool: install: /usr/bin/install -c .libs/imobiledevice.soT /usr/local/lib/python2.7/dist-packages/imobiledevice.so libtool: install: /usr/bin/install -c .libs/imobiledevice.lai /usr/local/lib/python2.7/dist-packages/imobiledevice.la libtool: install: /usr/bin/install -c .libs/imobiledevice.a /usr/local/lib/python2.7/dist-packages/imobiledevice.a libtool: install: chmod 644 /usr/local/lib/python2.7/dist-packages/imobiledevice.a libtool: install: ranlib /usr/local/lib/python2.7/dist-packages/imobiledevice.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib/python2.7/dist-packages

Libraries have been installed in: /usr/local/lib/python2.7/dist-packages

If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following:

See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.

make[3]: Verzeichnis „/home/tim/libimobiledevice/cython“ wird verlassen make[2]: Verzeichnis „/home/tim/libimobiledevice/cython“ wird verlassen make[1]: Verzeichnis „/home/tim/libimobiledevice/cython“ wird verlassen Making install in tools make[1]: Verzeichnis „/home/tim/libimobiledevice/tools“ wird betreten make[2]: Verzeichnis „/home/tim/libimobiledevice/tools“ wird betreten /usr/bin/mkdir -p '/usr/local/bin' /bin/bash ../libtool --mode=install /usr/bin/install -c idevice_id ideviceinfo idevicename idevicepair idevicesyslog ideviceimagemounter idevicescreenshot ideviceenterrecovery idevicedate idevicebackup idevicebackup2 ideviceprovision idevicedebugserverproxy idevicediagnostics idevicedebug idevicenotificationproxy idevicecrashreport idevicesetlocation '/usr/local/bin' libtool: install: /usr/bin/install -c .libs/idevice_id /usr/local/bin/idevice_id libtool: install: /usr/bin/install -c .libs/ideviceinfo /usr/local/bin/ideviceinfo libtool: install: /usr/bin/install -c .libs/idevicename /usr/local/bin/idevicename libtool: install: /usr/bin/install -c .libs/idevicepair /usr/local/bin/idevicepair libtool: install: /usr/bin/install -c .libs/idevicesyslog /usr/local/bin/idevicesyslog libtool: install: /usr/bin/install -c .libs/ideviceimagemounter /usr/local/bin/ideviceimagemounter libtool: install: /usr/bin/install -c .libs/idevicescreenshot /usr/local/bin/idevicescreenshot libtool: install: /usr/bin/install -c .libs/ideviceenterrecovery /usr/local/bin/ideviceenterrecovery libtool: install: /usr/bin/install -c .libs/idevicedate /usr/local/bin/idevicedate libtool: install: /usr/bin/install -c .libs/idevicebackup /usr/local/bin/idevicebackup libtool: install: /usr/bin/install -c .libs/idevicebackup2 /usr/local/bin/idevicebackup2 libtool: install: /usr/bin/install -c .libs/ideviceprovision /usr/local/bin/ideviceprovision libtool: install: /usr/bin/install -c .libs/idevicedebugserverproxy /usr/local/bin/idevicedebugserverproxy libtool: install: /usr/bin/install -c .libs/idevicediagnostics /usr/local/bin/idevicediagnostics libtool: install: /usr/bin/install -c .libs/idevicedebug /usr/local/bin/idevicedebug libtool: install: /usr/bin/install -c .libs/idevicenotificationproxy /usr/local/bin/idevicenotificationproxy libtool: install: /usr/bin/install -c .libs/idevicecrashreport /usr/local/bin/idevicecrashreport libtool: install: /usr/bin/install -c .libs/idevicesetlocation /usr/local/bin/idevicesetlocation make[2]: Für das Ziel „install-data-am“ ist nichts zu tun. make[2]: Verzeichnis „/home/tim/libimobiledevice/tools“ wird verlassen make[1]: Verzeichnis „/home/tim/libimobiledevice/tools“ wird verlassen Making install in docs make[1]: Verzeichnis „/home/tim/libimobiledevice/docs“ wird betreten make[2]: Verzeichnis „/home/tim/libimobiledevice/docs“ wird betreten make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun. /usr/bin/mkdir -p '/usr/local/share/man/man1' /usr/bin/install -c -m 644 idevice_id.1 ideviceinfo.1 idevicesyslog.1 idevicebackup.1 idevicebackup2.1 ideviceimagemounter.1 idevicescreenshot.1 idevicepair.1 ideviceenterrecovery.1 idevicedate.1 ideviceprovision.1 idevicedebugserverproxy.1 idevicediagnostics.1 idevicecrashreport.1 idevicename.1 idevicedebug.1 idevicenotificationproxy.1 idevicesetlocation.1 '/usr/local/share/man/man1' make[2]: Verzeichnis „/home/tim/libimobiledevice/docs“ wird verlassen make[1]: Verzeichnis „/home/tim/libimobiledevice/docs“ wird verlassen make[1]: Verzeichnis „/home/tim/libimobiledevice“ wird betreten make[2]: Verzeichnis „/home/tim/libimobiledevice“ wird betreten make[2]: Für das Ziel „install-exec-am“ ist nichts zu tun. make[2]: Für das Ziel „install-data-am“ ist nichts zu tun. make[2]: Verzeichnis „/home/tim/libimobiledevice“ wird verlassen make[1]: Verzeichnis „/home/tim/libimobiledevice“ wird verlassen

I hope this is helpful.

Thanks

nikias commented 3 years ago

You only compiled libimobiledevice, but you might also need to compile libusbmuxd from source. But you can try. Make sure to run sudo ldconfig after installing the libs and make sure that idevicerestore is using the new ones. Run

ldd `which idevicerestore`

and check the output if it points to /usr/local/lib/libimobiledevice*.

arceuss commented 3 years ago

You only compiled libimobiledevice, but you might also need to compile libusbmuxd from source. But you can try. Make sure to run sudo ldconfig after installing the libs and make sure that idevicerestore is using the new ones. Run

ldd `which idevicerestore`

and check the output if it points to /usr/local/lib/libimobiledevice*.

im getting the same issue and it does point to /usr/local/lib/libimobiledevice + libusbmuxd is installed