futurerestore icon indicating copy to clipboard operation
futurerestore copied to clipboard

Error -11 when restore 11.1.2

Open Haizs opened this issue 7 years ago • 6 comments

➜  futurerestore_macos_v173 ./futurerestore -t 4351MYSHSH236_iPhone8,2_n66ap_11.1.2-15B202_c1765d607acMYSHSH2fd8dd8006cd11a81058612.shsh2 -i iPhone_5.5_11.2.5_15D60_Restore.ipsw iPhone_5.5_11.1.2_15B202_Restore.ipsw
Version: a0113a4e46bfd00962cd25e3af548fc8b0bd21fd - 173
Odysseus Support: no
[INFO] 64bit device detected
futurerestore init done
reading ticket 4351MYSHSH236_iPhone8,2_n66ap_11.1.2-15B202_c1765d607acMYSHSH2fd8dd8006cd11a81058612.shsh2 done
Found device iPhone8,2 n66ap
Extracting SEP from IPSW...
Extracting sep-firmware.n66.RELEASE.im4p...
Extracted SEP with size 5202063
[TSSC] opening /tmp/futurerestore/sepManifest.plist
[TSSR] User specified not to request a Baseband ticket.
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Extracting baseband from IPSW...
Extracting Mav13-4.30.02.Release.bbfw...
Extracted BasebandFirmware with size 31604124
[TSSC] opening /tmp/futurerestore/basebandManifest.plist
[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
Found device in Normal mode
Entering recovery mode...
INFO: device serial number is F2LRMYDSNRWY
Found device in Recovery mode
Identified device as n66ap, iPhone8,2
Extracting BuildManifest from IPSW
Product Version: 11.1.2
Product Build: 15B202 Major: 15
Device supports Image4: true
Got APNonce from device: c1 76 5d 60 7a c4 2f 79 d9 fd 8d d8 00 6c d1 1a 81 05 86 12
checking APTicket to be valid for this restore...
Verified ECID in APTicket matches device ECID
checking APTicket to be valid for this restore...
Verified ECID in APTicket matches device ECID
Verified APTicket to be valid for this restore
Variant: Customer Erase Install (IPSW)
This restore will erase your device data.
Extracting filesystem from IPSW
[==================================================] 100.0%
Extracting iBEC.n66.RELEASE.im4p...
Personalizing IMG4 component iBEC...
Sending iBEC (355716 bytes)...
waiting for device to reconnect...
Getting SepNonce in recovery mode... a6 79 37 d0 f9 a4 9f 74 8f 8f a8 4d ca 92 00 e0 3d 54 68 04
Getting ApNonce in recovery mode... c1 76 5d 60 7a c4 2f 79 d9 fd 8d d8 00 6c d1 1a 81 05 86 12
[WARNING] Setting bgcolor to green! If you don't see a green screen, then your device didn't boot iBEC correctly
Recovery Mode Environment:
iBoot build-version=iBoot-4076.20.48
iBoot build-style=RELEASE
Sending RestoreLogo...
Extracting applelogo@3x~iphone.im4p...
Personalizing IMG4 component RestoreLogo...
Sending RestoreLogo (18913 bytes)...
ramdisk-size=0x20000000
Extracting 058-84556-102.dmg...
Personalizing IMG4 component RestoreRamDisk...
Sending RestoreRamDisk (59139650 bytes)...
Extracting DeviceTree.n66ap.im4p...
Personalizing IMG4 component RestoreDeviceTree...
Sending RestoreDeviceTree (134264 bytes)...
Extracting kernelcache.release.n66...
Personalizing IMG4 component RestoreKernelCache...
Sending RestoreKernelCache (14093341 bytes)...
Trying to fetch new SHSH blob
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received SHSH blobs
About to restore device...
Waiting for device...
Device ffffffffffffffffffffffffffffffff00000036 is now connected in restore mode...
Connecting now...
Connected to com.apple.mobile.restored, version 15
Device ffffffffffffffffffffffffffffffff00000036 has successfully entered restore mode
Hardware Information:
BoardID: 6
ChipID: 32768
UniqueChipID: 4351006931436
ProductionMode: true
Starting FDR listener thread
About to send NORData...
Found firmware path Firmware/all_flash
Getting firmware manifest from build identity
Extracting LLB.n66.RELEASE.im4p...
Personalizing IMG4 component LLB...
Extracting applelogo@3x~iphone.im4p...
Personalizing IMG4 component AppleLogo...
Extracting batterycharging0@3x~iphone.im4p...
Personalizing IMG4 component BatteryCharging0...
Extracting batterycharging1@3x~iphone.im4p...
Personalizing IMG4 component BatteryCharging1...
Extracting batteryfull@3x~iphone.im4p...
Personalizing IMG4 component BatteryFull...
Extracting batterylow0@3x~iphone.im4p...
Personalizing IMG4 component BatteryLow0...
Extracting batterylow1@3x~iphone.im4p...
Personalizing IMG4 component BatteryLow1...
Extracting glyphplugin@1920~iphone-lightning.im4p...
Personalizing IMG4 component BatteryPlugin...
Extracting DeviceTree.n66ap.im4p...
Personalizing IMG4 component DeviceTree...
Extracting recoverymode@1920~iphone-lightning.im4p...
Personalizing IMG4 component RecoveryMode...
Extracting iBoot.n66.RELEASE.im4p...
Personalizing IMG4 component iBoot...
Personalizing IMG4 component RestoreSEP...
Personalizing IMG4 component SEP...
Sending NORData now...
Done sending NORData
About to send RootTicket...
Sending RootTicket now...
Done sending RootTicket
Waiting for NAND (28)
Updating S3E Firmware (58)
Checking filesystems (15)
Checking filesystems (15)
About to send FDR Trust data...
Sending FDR Trust data now...
Done sending FDR Trust Data
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...
[==================================================] 100.0%
Done sending filesystem
Verifying restore (14)
[==================================================] 100.0%
Checking filesystems (15)
Checking filesystems (15)
Checking filesystems (15)
Mounting filesystems (16)
Mounting filesystems (16)
Mounting filesystems (16)
About to send KernelCache...
Extracting kernelcache.release.n66...
Personalizing IMG4 component KernelCache...
Sending KernelCache now...
Done sending KernelCache
Installing kernelcache (27)
About to send DeviceTree...
Extracting DeviceTree.n66ap.im4p...
Personalizing IMG4 component DeviceTree...
Sending DeviceTree now...
Done sending DeviceTree
Certifying Savage (61)
Flashing firmware (18)
[==================================================] 100.0%
Updating gas gauge software (47)
Updating gas gauge software (47)
Updating Stockholm (55)
About to send FUD data...
Found FUD component 'AOP'
Extracting aopfw-s8000aop.im4p...
Personalizing IMG4 component AOP...
Sending FUD data now...
Done sending FUD data
About to send FUD data...
Found FUD component 'AOP'
Extracting aopfw-s8000aop.im4p...
Personalizing IMG4 component AOP...
Sending FUD data now...
Done sending FUD data
Updating baseband (19)
About to send BasebandData...
Sending Baseband TSS request...
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received Baseband SHSH blobs
ERROR: Could not open ZIP archive '/var/tmp/ffffffffffffffffffffffffffffffff00000036FhdfWC': 19
ERROR: Unable to send baseband data
ERROR: Unable to successfully restore device
[Error] ERROR: Unable to restore device
Done: restoring failed.
Failed with errorcode=-11

There is no file like /var/tmp/ffffffffffffffffffffffffffffffff00000036FhdfWC It seems that I have to go to 11.2.5 sad...

Haizs avatar Feb 20 '18 06:02 Haizs

Hi, it looks like you were burned by #14. I've yet to release that fix due to time constraints. Sorry about that.

encounter avatar Feb 20 '18 14:02 encounter

Before using these tools, you should've always looked for any potential and possible errors that could cause in tools like this to be on safer side! This was a reported and the fix was yet to be released but you proceeded. Always back away from using a method that has caused errors and problem to others rather than 100% success.

You should've instead extracted the Baseband and SEP and the buildmanifest manually from the firmware and specify it in futurerestore. This might have lead to 100% successful restore.

The direct fetching of those baseband and sep method that encounter added wasn't yet perfect yet after all :(

goodboydheeraj avatar Feb 20 '18 21:02 goodboydheeraj

@goodboydheeraj worth noting that manually specifying the SEP and/or BuildManifest extracted from firmware files doesn't work for a lot of people, especially on Apple TV.

NotAlexNoyle avatar Feb 22 '18 15:02 NotAlexNoyle

@NotAlexNoyle I was talking about using with iPhones not Apple tv

goodboydheeraj avatar Feb 22 '18 19:02 goodboydheeraj

@goodboydheeraj I've had this happen on an iPhone 6, too. Apple TV is just the most frequent device with this issue.

NotAlexNoyle avatar Feb 22 '18 20:02 NotAlexNoyle

@NotAlexNoyle What issue? I have never had any issues specifying sep and baseband manually. If you know what files to use the result should be exactly the same as getting sep and baseband automatically either by using -i .ipsw or --latest-sep and --latest-baseband.

Pamnki avatar Feb 23 '18 15:02 Pamnki