libimobiledevice-win32 / libimobiledevice-vs

Visual Studio solution to build all of libimobiledevice at once
GNU Lesser General Public License v2.1
89 stars 62 forks source link

idevicerestore error #15

Open ITAD-Development opened 4 years ago

ITAD-Development commented 4 years ago

Found device in Normal mode Identified device as n71map, iPhone8,1 The following firmwares are currently being signed for iPhone8,1: [1] 13.4.1 (build 17E262) [2] 13.4 (build 17E255) Select the firmware you want to restore: 1 Selected firmware 13.4.1 (build 17E262) Verifying 'iPhone_4.7_13.4.1_17E262_Restore.ipsw'... Checksum matches. Extracting BuildManifest from IPSW Product Version: 13.4.1 Product Build: 17E262 Major: 17 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 Extracting filesystem from IPSW: 048-64266-320.dmg Found ECID 7925349152726054 Getting ApNonce in normal mode... 4c be 64 45 b0 b8 6c d9 3f 53 55 f8 8b 18 0e 5a 8b fd 16 3d Trying to fetch new SHSH blob Getting SepNonce in normal mode... 00 7a 1c 99 02 d4 66 a0 ba b2 0e 06 32 82 a7 24 8f 33 af 2c Request URL set to https://gs.apple.com/TSS/controller?action=2 Sending TSS request attempt 1... response successfully received Received SHSH blobs Entering recovery mode... INFO: device serial number is FK1QPC77GRYC NOTE: device is not in DFU mode, assuming recovery mode. Recovery Mode Environment: iBoot build-version=iBoot-5540.102.4 iBoot build-style=RELEASE Sending RestoreLogo... Extracting applelogo@2x~iphone.im4p... Personalizing IMG4 component RestoreLogo... Sending RestoreLogo (12432 bytes)... ERROR: Unable to send RestoreLogo component: Unable to find device ERROR: Unable to send RestoreLogo to device. ERROR: Unable to send AppleLogo ERROR: Unable to place device into restore mode

yogendra123456 commented 4 years ago

Hi all,

i used latest libmobiledevice code (18-5-2020) for restore device on windows 10 Device given ERROR: Device failed to enter restore mode. when i debug idevicerestore code then below given code it given error... if (client->mode->index != MODE_RESTORE) { mutex_lock(&client->device_event_mutex); info("Waiting for device to enter restore mode...\n"); cond_wait_timeout(&client->device_event_cond, &client->device_event_mutex, 180000); if (client->mode != &idevicerestore_modes[MODE_RESTORE] || (client->flags & FLAG_QUIT)) { mutex_unlock(&client->device_event_mutex); error("ERROR: Device failed to enter restore mode.\n"); if (delete_fs && filesystem) unlink(filesystem); return -1; } mutex_unlock(&client->device_event_mutex); }

+++++++++++++++++++++++++++ Stashbag created. Getting ApNonce in normal mode... d0 fd 73 4e b0 d8 bc 08 90 67 db c8 20 71 1b a9 ff a8 fb eb Trying to fetch new SHSH blob Getting SepNonce in normal mode... 08 df a5 c7 68 8b 58 c5 9c d6 da 65 73 88 d5 4f 88 84 df 22 Request URL set to https://gs.apple.com/TSS/controller?action=2 Sending TSS request attempt 1... response successfully received Received SHSH blobs Committing stashbag... Stashbag committed! Entering recovery mode... INFO: device serial number is DX3TH4ZCFRC5 Waiting for device to enter restore mode... ERROR: Device failed to enter restore mode. +++++++++++++++++++++++++++++++

yogendra123456 commented 4 years ago

hi @nikias and @taanders, kindly give me some instruction about libmobiledevice for windows i found some error which is given below, what happen on window iphone is not placed in restore mode. while iTunes update the firmware at this stage and also 3uTools what happen with libmobiledevice code, it happen with usbmuxd or others class which is not connect device to properly to window system... kindly provide me some update....... Release.txt

thanks in advanced @nikias and @taanders,

0x14307 commented 3 years ago

First off this isn't the actual libimobiledevice repository, this is an unofficial repository for Windows. If you want this issue actually solved, comment on those actual repositories instead.