Skip to content

Instantly share code, notes, and snippets.

@kasiimh1
Last active September 7, 2019 18:00
Show Gist options
  • Select an option

  • Save kasiimh1/4d07f5b38746b05996c2d553283ae16b to your computer and use it in GitHub Desktop.

Select an option

Save kasiimh1/4d07f5b38746b05996c2d553283ae16b to your computer and use it in GitHub Desktop.
Kasims-MacBook-Pro:~ kasiim$ /Users/kasiim/Documents/GitHub/SaveMe/futurerestore -t /Users/kasiim/Desktop/SaveMe/9024/12.4/9024_iPhone11\,2_d321ap_12.4-16G77_2f22848412a72bef5b6d439db8466ccdf38c54f3dfc6f01f67aa67d4947101ab.shsh2 /Users/kasiim/Downloads/iPhone11\,2_12.4_16G77_Restore.ipsw -b /Users/kasiim/Downloads/iPhone11\,2_12.4_16G77_Restore/Firmware/ICE18-1.06.02.Release.bbfw -p /Users/kasiim/Downloads/iPhone11\,2_12.4_16G77_Restore/BuildManifest.plist -s/Users/kasiim/Downloads/iPhone11\,2_12.4_16G77_Restore/Firmware/all_flash/sep-firmware.d321.RELEASE.im4p -m /Users/kasiim/Downloads/iPhone11\,2_12.4_16G77_Restore/BuildManifest.plist --update
Version: 81b98e0425e17250cc83d5badaf9a8cc6399f481 - 245
Libipatcher version: 3159a387584e352f690cca859e013c3a4683f3e8 - 69
Odysseus support: yes
ERROR: normal_idevice_new: can't open device with UDID c19a5690f2f235acb655a617d917bdee8208d011
[INFO] 64-bit device detected
futurerestore init done
reading signing ticket /Users/kasiim/Desktop/SaveMe/9024/12.4/9024_iPhone11,2_d321ap_12.4-16G77_2f22848412a72bef5b6d439db8466ccdf38c54f3dfc6f01f67aa67d4947101ab.shsh2 is done
Found device iPhone11,2 d321ap
[TSSC] opening /Users/kasiim/Downloads/iPhone11,2_12.4_16G77_Restore/BuildManifest.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
Did set SEP+baseband path and firmware
[TSSC] opening /Users/kasiim/Downloads/iPhone11,2_12.4_16G77_Restore/BuildManifest.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
Found device in Recovery mode
Identified device as d321ap, iPhone11,2
Extracting BuildManifest from iPSW
Product version: 12.4
Product build: 16G77 Major: 16
Device supports IMG4: true
Got ApNonce from device: 2f 22 84 84 12 a7 2b ef 5b 6d 43 9d b8 46 6c cd f3 8c 54 f3 df c6 f0 1f 67 aa 67 d4 94 71 01 ab
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 Upgrade Install (IPSW)
This restore will update your device without erasing user data.
Using cached filesystem from '/Users/kasiim/Downloads/iPhone11,2_12.4_16G77_Restore/048-77869-092.dmg'
Extracting iBEC.d321.RELEASE.im4p...
Personalizing IMG4 component iBEC...
Sending iBEC (1063386 bytes)...
waiting for device to reconnect...
Getting SepNonce in recovery mode... 26 be dd 1a 54 fe 1f d4 d4 68 42 34 17 28 a7 44 25 3e 8d 61
Getting ApNonce in recovery mode... 2f 22 84 84 12 a7 2b ef 5b 6d 43 9d b8 46 6c cd f3 8c 54 f3 df c6 f0 1f 67 aa 67 d4 94 71 01 ab
[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-4513.270.14
iBoot build-style=RELEASE
Sending RestoreLogo...
Extracting applelogo@3x~iphone.im4p...
Personalizing IMG4 component RestoreLogo...
Sending RestoreLogo (20910 bytes)...
Extracting h11_ane_fw_quin.im4p...
Personalizing IMG4 component ANE...
Sending ANE (9394706 bytes)...
Extracting aopfw-iphone11aop.im4p...
Personalizing IMG4 component AOP...
Sending AOP (1396234 bytes)...
Extracting AppleAVE2FW.im4p...
Personalizing IMG4 component AVE...
Sending AVE (1111370 bytes)...
Extracting armfw_g11p.im4p...
Personalizing IMG4 component GFX...
Sending GFX (1555834 bytes)...
Extracting adc-petra-d3x.im4p...
Personalizing IMG4 component ISP...
Sending ISP (14639322 bytes)...
Extracting 048-76587-092.dmg.trustcache...
Personalizing IMG4 component RestoreTrustCache...
Sending RestoreTrustCache (11671 bytes)...
Extracting SmartIOFirmwareT8020.im4p...
Personalizing IMG4 component SIO...
Sending SIO (1356094 bytes)...
Extracting WirelessPower.iphone11.im4p...
Personalizing IMG4 component WCHFirmwareUpdater...
Sending WCHFirmwareUpdater (28773 bytes)...
ramdisk-size=0x20000000
Extracting 048-76587-092.dmg...
Personalizing IMG4 component RestoreRamDisk...
Sending RestoreRamDisk (93878797 bytes)...
Extracting DeviceTree.d321ap.im4p...
Personalizing IMG4 component RestoreDeviceTree...
Sending RestoreDeviceTree (193791 bytes)...
Extracting kernelcache.release.iphone11...
Personalizing IMG4 component RestoreKernelCache...
Sending RestoreKernelCache (17959278 bytes)...
Trying to fetch new signing tickets
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received signing tickets
About to restore device...
Waiting for device...
Device 00008020 is now connected in restore mode...
Connecting now...
Connected to com.apple.mobile.restored, version 15
Device 00008020 has successfully entered restore mode
Hardware Information:
BoardID: 14
ChipID: 32800
UniqueChipID:
ProductionMode: true
Starting FDR listener thread
About to send RootTicket...
Sending RootTicket now...
Done sending RootTicket
Waiting for NAND (28)
Updating S3E Firmware (58)
About to send NORData...
Found firmware path Firmware/all_flash
Getting firmware manifest from build identity
Extracting LLB.d321.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@2436~iphone-lightning.im4p...
Personalizing IMG4 component BatteryPlugin...
Extracting DeviceTree.d321ap.im4p...
Personalizing IMG4 component DeviceTree...
Extracting liquiddetect@2436~iphone-lightning.im4p...
Personalizing IMG4 component Liquid...
Extracting lowpowermode@2436~iphone-lightning.im4p...
Personalizing IMG4 component LowPowerWallet0...
Extracting recoverymode@2436~iphone-lightning.im4p...
Personalizing IMG4 component RecoveryMode...
Extracting iBoot.d321.RELEASE.im4p...
Personalizing IMG4 component iBoot...
Personalizing IMG4 component RestoreSEP...
Personalizing IMG4 component SEP...
Sending NORData now...
Done sending NORData
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)
Unmounting filesystems (29)
Unmounting filesystems (29)
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)
Checking filesystems (15)
Checking filesystems (15)
Mounting filesystems (16)
Mounting filesystems (16)
Mounting filesystems (16)
Mounting filesystems (16)
About to send KernelCache...
Extracting kernelcache.release.iphone11...
Personalizing IMG4 component KernelCache...
Sending KernelCache now...
Done sending KernelCache
Installing kernelcache (27)
About to send DeviceTree...
Extracting DeviceTree.d321ap.im4p...
Personalizing IMG4 component DeviceTree...
Sending DeviceTree now...
Done sending DeviceTree
Certifying Savage (61)
Flashing firmware (18)
[==================================================] 100.0%
Unknown operation (36)
About to send FUD data...
Found FUD component 'ANE'
Extracting h11_ane_fw_quin.im4p...
Personalizing IMG4 component ANE...
Found FUD component 'AOP'
Extracting aopfw-iphone11aop.im4p...
Personalizing IMG4 component AOP...
Found FUD component 'AVE'
Extracting AppleAVE2FW.im4p...
Personalizing IMG4 component AVE...
Found FUD component 'AudioCodecFirmware'
Extracting D321_CallanFirmware.im4p...
Personalizing IMG4 component AudioCodecFirmware...
Found FUD component 'GFX'
Extracting armfw_g11p.im4p...
Personalizing IMG4 component GFX...
Found FUD component 'ISP'
Extracting adc-petra-d3x.im4p...
Personalizing IMG4 component ISP...
Found FUD component 'Multitouch'
Extracting D321_Multitouch.im4p...
Personalizing IMG4 component Multitouch...
Found FUD component 'RestoreTrustCache'
Extracting 048-76587-092.dmg.trustcache...
Personalizing IMG4 component RestoreTrustCache...
Found FUD component 'SIO'
Extracting SmartIOFirmwareT8020.im4p...
Personalizing IMG4 component SIO...
Found FUD component 'StaticTrustCache'
Extracting 048-77869-092.dmg.trustcache...
Personalizing IMG4 component StaticTrustCache...
Sending FUD data now...
Done sending FUD data
Updating gas gauge software (47)
Updating gas gauge software (47)
Updating Stockholm (55)
Unknown operation (36)
About to send FUD data...
Found FUD component 'ANE'
Extracting h11_ane_fw_quin.im4p...
Personalizing IMG4 component ANE...
Found FUD component 'AOP'
Extracting aopfw-iphone11aop.im4p...
Personalizing IMG4 component AOP...
Found FUD component 'AVE'
Extracting AppleAVE2FW.im4p...
Personalizing IMG4 component AVE...
Found FUD component 'AudioCodecFirmware'
Extracting D321_CallanFirmware.im4p...
Personalizing IMG4 component AudioCodecFirmware...
Found FUD component 'GFX'
Extracting armfw_g11p.im4p...
Personalizing IMG4 component GFX...
Found FUD component 'ISP'
Extracting adc-petra-d3x.im4p...
Personalizing IMG4 component ISP...
Found FUD component 'Multitouch'
Extracting D321_Multitouch.im4p...
Personalizing IMG4 component Multitouch...
Found FUD component 'RestoreTrustCache'
Extracting 048-76587-092.dmg.trustcache...
Personalizing IMG4 component RestoreTrustCache...
Found FUD component 'SIO'
Extracting SmartIOFirmwareT8020.im4p...
Personalizing IMG4 component SIO...
Found FUD component 'StaticTrustCache'
Extracting 048-77869-092.dmg.trustcache...
Personalizing IMG4 component StaticTrustCache...
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
WARNING: size mismatch when parsing MBN file. Continuing anyway.
WARNING: size mismatch when parsing MBN file. Continuing anyway.
Sending BasebandData now...
Done sending BasebandData
Updating Baseband in progress...
About to send BasebandData...
WARNING: size mismatch when parsing MBN file. Continuing anyway.
WARNING: size mismatch when parsing MBN file. Continuing anyway.
Sending BasebandData now...
Done sending BasebandData
Updating Baseband completed.
Updating SE Firmware (59)
Updating Savage (60)
Sending Savage TSS request...
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received Savage ticket
Extracting Savage.B2-Prod.fw...
Sending FirmwareResponse data now...
Done sending FirmwareUpdater data
Sending Yonkers TSS request...
Request URL set to https://gs.apple.com/TSS/controller?action=2
Sending TSS request attempt 1... response successfully received
Received Yonkers ticket
Extracting Yonkers.1A01_2A01_2201_3201_Prod.fw...
Sending FirmwareResponse data now...
Done sending FirmwareUpdater data
Fixing up /var (17)
Modifying persistent boot-args (25)
Updating Savage (60)
Updating Savage (60)
Unmounting filesystems (29)
Unmounting filesystems (29)
Unmounting filesystems (29)
Unmounting filesystems (29)
Unmounting filesystems (29)
Got status message
Status: Restore Finished
Cleaning up...
DONE
Done: restoring succeeded.
Kasims-MacBook-Pro:~ kasiim$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment