LeetDown icon indicating copy to clipboard operation
LeetDown copied to clipboard

Iphone 5S , Ios 12.5.7 , restore failed.

Open spaceshuttl3 opened this issue 1 year ago • 9 comments

[+] Waiting for a device in DFU Mode [+] iPhone 5s (Global) is supported

============= DEVICE INFO =============

Model Name: iPhone 5s (Global) Hardware Model: n53ap ECID: 8474140496944 Serial Tag: iBoot-1704.10 APNonce:72d41d45661d4108ab49a743701b4203862e1651 CPID: 8960 Destination Firmware: 10.3.3 Pwned: Yes

===================================== [+] Verifying iPSW [+] Checking md5 of the iPSW... [+] Successfully verified the iPSW [+] iPSW selected at /Users/gabrielederosa/Desktop/iPhone_4.0_64bit_10.3.3_14G60_Restore.ipsw and being extracted to /var/folders/z8/_dmcv40502sdknstz6wy7t9w0000gn/T/iPSW [+] Extracting the iPSW please wait... [+] Successfully extracted the iPSW [+] Device was already pwned, skipping exploitation [+] Fetching OTA blob [+] Sending /dev/null [+] Successfully booted /dev/null [+] 5 second cooldown, re-plug now if needed on Apple Silicon [+] Sending /var/folders/z8/_dmcv40502sdknstz6wy7t9w0000gn/T/iPSW/Firmware/DFU/iBSS.iphone6.RELEASE.im4p [+] Successfully booted /var/folders/z8/_dmcv40502sdknstz6wy7t9w0000gn/T/iPSW/Firmware/DFU/iBSS.iphone6.RELEASE.im4p [+] 5 second cooldown, re-plug now if needed on Apple Silicon [+] Sending /var/folders/z8/_dmcv40502sdknstz6wy7t9w0000gn/T/iPSW/Firmware/DFU/iBEC.iphone6.RELEASE.im4p [+] Successfully booted /var/folders/z8/_dmcv40502sdknstz6wy7t9w0000gn/T/iPSW/Firmware/DFU/iBEC.iphone6.RELEASE.im4p [+] 5 second cooldown, re-plug now if needed on Apple Silicon [+] Starting restore process [+] Failed to restore device

I am currently using a mac not a virtual machine , specifics : Model : MacBook Pro Processor : 2,8 GHz Intel Core i7 quad-core Memory : 16 GB 2133 MHz LPDDR3

I tried all the versions of the tool, changed usb ports, bought cables n adapters, but it seems to be a problem of the software, any help ?

spaceshuttl3 avatar Mar 22 '23 17:03 spaceshuttl3

Restore your device to the latest firmware, then try downgrading again please.

rA9stuff avatar Mar 23 '23 19:03 rA9stuff

Already restored it and upgraded to latest version. Should i let the phone boot the first time after the restore or put it in dfu mode directly ?

spaceshuttl3 avatar Mar 23 '23 19:03 spaceshuttl3

You should let it boot. Also, try running LeetDown from terminal using /Applications/LeetDown.app/Contents/MacOS/LeetDown command to capture more logs.

rA9stuff avatar Mar 24 '23 06:03 rA9stuff

Just restored it again with itunes , booted LeetDown as the following comand /Applications/LeetDown.app/Contents/MacOS/LeetDown , but still i get failed to restore , am i doing something wrong ?

spaceshuttl3 avatar Mar 24 '23 13:03 spaceshuttl3

You should give me the terminal log so I can see what’s going on

rA9stuff avatar Mar 24 '23 15:03 rA9stuff

Last login: Sat Mar 25 14:46:50 on ttys000 gabrielederosa@MacBook-Pro-di-Gabriele ~ % /Applications/LeetDown.app/Contents/MacOS/LeetDown ; exit; initial device scan started attempting to connect 1/5 connected 1/5 2023-03-25 14:49:43.238 LeetDown[2247:28715] 8474140496944 attempting to connect 1/5 connected 1/5 2023-03-25 14:49:46.382 LeetDown[2247:28704] +[CATransaction synchronize] called within transaction 2023-03-25 14:49:46.509 LeetDown[2247:28704] +[CATransaction synchronize] called within transaction Version: c0b554e83f54d39d90cac9791160bf2ccb062aed - 355 [TSSC] manually specified ECID to use, parsed "8474140496944" to dec:8474140496944 hex:7b50a225430 [TSSC] manually specified ApNonce to use, parsed "7be2bf78b16acae50f7982c374ded470c346078d" to hex:7be2bf78b16acae50f7982c374ded470c346078d [TSSC] opening /Applications/LeetDown.app/Contents/Resources/LDResources/Buildmanifests/iPhone6,2.plist [TSSR] Request URL set to https://gs.apple.com/TSS/controller?action=2 [TSSR] Sending TSS request attempt 1... success also requesting APTicket for update installing [Error] [TSSR] Error: could not get id0 for installType=Update [WARNING] [TSSR] faild to build tssrequest for alternative installType [TSSR] User specified not to request a baseband ticket. [TSSR] Request URL set to https://gs.apple.com/TSS/controller?action=2 [TSSR] Sending TSS request attempt 1... failure [Error] ERROR: TSS request failed (status=128, message=An internal error occurred.) Saved signing tickets!

iOS 10.3.3 for device iPhone6,2 IS being signed! printing dev info line 1012 SERIAL TAG -> iBoot-1704.10 HARDWARE MODEL -> n53ap inside restore64(), printing dev info printing dev info line 657 SERIAL TAG -> iBoot-1704.10 HARDWARE MODEL -> n53ap inside patchFiles(), printing dev info printing dev info line 372 SERIAL TAG -> iBoot-1704.10 HARDWARE MODEL -> n53ap [!] reconnect requested, freeing pointer and calling openConnection() attempting to connect 1/5 connected 1/5 [!] reconnect requested, freeing pointer and calling openConnection() attempting to connect 1/5 connected 1/5 line 672 [!] reconnect requested, freeing pointer and calling openConnection() attempting to connect 1/5 connected 1/5 Version: 0ab9df3209ee599f581532d05d331e6abe0f53f3 - 194 img4tool version: 0.197-aca6cf005c94caf135023263cbb5c61a0081804f libipatcher version: 0.82-0b2f79ff0917ef9b8a92475d93d9466b23fc2322 Odysseus for 32-bit support: yes Odysseus for 64-bit support: yes [INFO] 64-bit device detected futurerestore init done reading signing ticket /Applications/LeetDown.app/Contents/Resources/LDResources/SHSH/blob.shsh is done [TSSC] opening /Applications/LeetDown.app/Contents/Resources/LDResources/BuildManifests/iPhone6,2.plist [TSSR] Checking BuildIdentity 0 [TSSR] Selected BuildIdentity for request [TSSR] User specified to not request a baseband ticket. Request URL set to https://gs.apple.com/TSS/controller?action=2 Sending TSS request attempt 1... response successfully received Did set SEP+baseband path and firmware ERROR: Unable to connect to device?! ERROR: Unable to get FirmwarePreflightInfo [WARNING] failed to read BasebandGoldCertID from device! Is it already in recovery? [WARNING] using tsschecker's fallback to get BasebandGoldCertID. This might result in invalid baseband signing status information [TSSC] opening /Applications/LeetDown.app/Contents/Resources/LDResources/BuildManifests/iPhone6,2.plist [TSSR] Checking BuildIdentity 0 [TSSR] Selected BuildIdentity for request [TSSR] User specified to request only a Baseband ticket. Request URL set to https://gs.apple.com/TSS/controller?action=2 Sending TSS request attempt 1... response successfully received Downloading the latest firmware components... [TSSC] opening firmwares.json [DOWN] downloading file https://api.ipsw.me/v2.1/firmwares.json/condensed [TSSC] selecting latest firmware version: 12.5.7 [TSSC] got firmwareurl for iOS 12.5.7 build 16H81 100 [===========================================================================011 [==========> 023 [======================> 034 [=================================> 046 [=============================================> 057 [========================================================> 069 [====================================================================> 080 [===========================================================================092 [===========================================================================100 [===================================================================================================>] [TSSR] Checking BuildIdentity 0 [TSSR] Checking BuildIdentity 1 [TSSR] Selected BuildIdentity for request [TSSR] Checking BuildIdentity 0 [TSSR] Checking BuildIdentity 1 [TSSR] Selected BuildIdentity for request [TSSR] Checking BuildIdentity 0 [TSSR] Checking BuildIdentity 1 [TSSR] Selected BuildIdentity for request [TSSR] Checking BuildIdentity 0 [TSSR] Checking BuildIdentity 1 [TSSR] Selected BuildIdentity for request [TSSR] Checking BuildIdentity 0 [TSSR] Checking BuildIdentity 1 [TSSR] Selected BuildIdentity for request [TSSR] Checking BuildIdentity 0 [TSSR] Checking BuildIdentity 1 [TSSR] Selected BuildIdentity for request [TSSR] Checking BuildIdentity 0 [TSSR] Checking BuildIdentity 1 [TSSR] Selected BuildIdentity for request [TSSR] Checking BuildIdentity 0 [TSSR] Checking BuildIdentity 1 [TSSR] Selected BuildIdentity for request [TSSR] Checking BuildIdentity 0 [TSSR] Checking BuildIdentity 1 [TSSR] Selected BuildIdentity for request [TSSR] Checking BuildIdentity 0 [TSSR] Checking BuildIdentity 1 [TSSR] Selected BuildIdentity for request [TSSR] Checking BuildIdentity 0 [TSSR] Checking BuildIdentity 1 [TSSR] Selected BuildIdentity for request [TSSR] Checking BuildIdentity 0 [TSSR] Checking BuildIdentity 1 [TSSR] Selected BuildIdentity for request [TSSR] Checking BuildIdentity 0 [TSSR] Checking BuildIdentity 1 [TSSR] Selected BuildIdentity for request [TSSR] Checking BuildIdentity 0 [TSSR] Checking BuildIdentity 1 [TSSR] Selected BuildIdentity for request Finished downloading the latest firmware components! Found device in DFU mode futurerestore: failed with exception: [exception]: what=unsupported device mode, please put device in recovery or normal mode

code=9961489 line=152 file=futurerestore.cpp commit count=194: commit sha =0ab9df3209ee599f581532d05d331e6abe0f53f3:

spaceshuttl3 avatar Mar 25 '23 13:03 spaceshuttl3

Thats what i got into the terminal by launching leetdown.

spaceshuttl3 avatar Mar 25 '23 13:03 spaceshuttl3

Any idea ?

spaceshuttl3 avatar Mar 28 '23 07:03 spaceshuttl3

Based on the log you provided, it seems that your device fails to boot patched iBoot and as a result, futurerestore detects it in DFU mode and aborts the restore process. You could try iOS-OTA-Downgrader or try running LeetDown on another environment.

rA9stuff avatar Mar 28 '23 10:03 rA9stuff