futurerestore is a hacked up idevicerestore wrapper, which allows manually specifying SEP and Baseband for restoring.
Latest release available here for macOS & Windows. I'll compile only macOS/Windows versions, Linux version won't be compiled by me.
- Supports the following downgrade methods:
- Prometheus 64-bit devices (generator and ApNonce collision mode);
- Odysseus for 32-bit devices;
- Re-restoring 32-bit devices to iOS 9 with alitek123 no-ApNonce method (alternative — idevicererestore).
- Allows restoring any non-matching signed iOS/SEP/Baseband.
NOT recommended to use '-u' parameter, if you update jailbroken firmware!
-
- On macOS, futurerestore requires no runtime dependencies, the following are only for compiling;
- On Linux, usbmuxd is required at runtime;
-
Required:
Optional:
-
Make sure these projects compile on your system (install their dependencies)
You can do it here.
- Try to restore the device, error -8 occurs;
- Leave the device plugged in, it'll stay on the Recovery screen;
- Head over to device manager under control panel in Windows;
- Locate "Apple Recovery (iBoot) USB Composite Device" (at the bottom);
- Right click and choose "Uninstall device". You may see a tick box that allows you to uninstall the driver software as well, tick that (all the three Apple mobile device entries under USB devices will disappear);
- Unplug the device and re-plug it in;
- Go back to futurerestore and send the restore command again (just press the up arrow to get it back, then enter). Error -8 is now fixed, but the process will fail again after the screen of your device has turned green;
- Go back to device manager and repeat the driver uninstall process as described above (step 4 to 6);
- Go back to futurerestore once again and repeat the restore process;
- The device will reboot and error -10 will also be solved;
- The restore will now proceed and succeed.
Simple use bash autogen.sh && make
or use Xcode project. For installing use make install
.
Some about cURL
- Linux: Follow this guide to use tsschecker on Ubuntu 18.04 (Bionic) as it requires libcurl3 which cannot coexist with libcurl4 on this OS.
- macOS: open file Makefile.am and update line with LDADD:
futurerestore_LDADD = $(AM_LDFLAGS) libjssy.a /usr/lib/libcurl.4.dylib
Downgrade/Upgrade/Re-restore same iOS. Whenever you read "downgrade" nowadays it means you can also upgrade and re-restore if you're on the same iOS. Basically this allows restoring an iOS and the installed iOS doesn't matter.
- Jailbreak;
- Signing tickets (.shsh2) files with a generator;
- nonceEnabler patch enabled (on iOS 11 and later it's enabled automatically);
- Device must be jailbroken and nonceEnabler patch must be active;
- Open signing ticket and look up the generator:
- Looks like this:
<key>generator</key><string>0xde3318d224cf14a1</string>
;
- Write the boot-nonce generator to device's nvram (latest jailbreaks'll (for iOS 11+) unlocking nvram after setting boot-nonce):
- SSH into the device and run
nvram com.apple.System.boot-nonce=0xde3318d224cf14a1
to set the boot-nonce generator 0xde3318d224cf14a1; - verify with
nvram -p
command
- Install DEB-file of ios-kern-utils on device;
- Run on the device
nvpatch com.apple.System.boot-nonce
.
Use utilities for setting boot-nonce generator:
- PhœnixNonce for iOS 9.x;
- v0rtexnonce for iOS 10.x;
- Nonceset1112 for iOS 11.0-11.1.2;
- noncereboot1131UI for iOS 11.0-11.4b3;
- NonceReboot12xx for iOS 12.0-12.1.2.
Use jailbreak tools for setting boot-nonce generator:
- Meridian for iOS 10.x;
- backr00m or greeng0blin for tvOS 10.2-11.1;
- Electra and ElectraTV for iOS and tvOS 11.x;
- unc0ver for iOS 11.0-12.1.2;
- Chimera and ChimeraTV for iOS 12.0-12.1.2 and tvOS 12.0-12.1.1.
- reboot;
- reactivate jailbreak with Luca Todesco's JailbreakMe;
- done.
Method 2 (if jailbroken on iOS 8.0-8.1 with Pangu8)
- install this untether DEB-file with included tfp0 patch
Method 3 (if jailbroken on iOS 7.x with Pangu7)
- install this untether DEB-file with included tfp0 patch
- Use cl0ver for iOS 9.x.
- iPhone 5s, iPad Air, iPad mini 2 (devices with A7 chip) on iOS 9.2 — 10.2 (10.3b1);
- Jailbreak doesn't required;
- Signing tickets (.shsh, .shsh2) with customly chosen ApNonce;
- Ticket needs to have one of the ApNonces, which the device generates a lot;
- collisioned ApNonces available in file 'nonces.txt' in TSSChecker project.
- Connect your device in normal / recovery mode;
- On the computer run
futurerestore -w -t ticket.shsh --latest-baseband --latest-sep ios.ipsw
.
- If you have saved multiple tickets with different ApNonces you can specify more than
one to speed up the process:
futurerestore -w -t t1.shsh -t t2.shsh -t t3.shsh -t t4.shsh --latest-baseband --latest-sep ios.ipsw
.
- Devices with A7 (iPhone 5s, iPad Air, iPad mini 2), A8 (iPhone 6 [+], iPad mini [2,3,4], iPod touch [6th generation]) and A8X (iPad Air 2) chips on all iOS firmwares;
- Devices have been released after ~September, 2015;
- Jailbreak doesn't required;
- Signing tickets (.shsh, .shsh2) with customly chosen ApNonce;
- Ticket needs to have one of the ApNonces, which the device generates a lot;
- img4tool can't be used for Windows [problem with signing iBSS/iBEC], now it's TO-DO;
- collisioned ApNonces available in file 'nonces.txt' in TSSChecker project.
-
Connect your device in DFU mode;
-
Use irecovery for checking ApNonce, which booted in DFU;
-
Extract iBSS/iBEC from target firmware for downgrade (unsigned);
-
Check DFU-collisioned ApNonces with irecovery, which booted in DFU. You can't automatically collision DFU ApNonces.
If ApNonce is not collisioned, "use hands" for DFU booting.
If ApNonce is successfully coliisioned, use this SHSH2 for sign iBSS/iBEC.
-
Use img4tool for sign iBSS:
img4tool -s ticket.shsh -c iBSS.signed -p <original_iBSS>
; -
Use img4tool for sign iBEC:
img4tool -s ticket.shsh -c iBEC.signed -p <original_iBEC>
; -
So, after signing we can boot into Recovery with irecovery:
irecovery -f iBSS.signed
- loading iBSS;irecovery -f iBEC.signed
- loading iBEC; -
So good! On the computer run
futurerestore -t ticket.shsh --latest-baseband --latest-sep -w ios.ipsw
.
- futurerestore compiled with libipatcher (Odysseus method support);
- Jailbreak or bootROM exploit (limera1n);
- Firmware keys for the device/destination iOS must be public;
- Signing tickets (.shsh, .shsh2) for the destination iOS (OTA blobs work too!);
- Odysseus bundle (You can use any successfully created bundle for this).
- Get device into kDFU/pwnDFU mode:
- limera1n devices:
- Enter pwnDFU mode with redsn0w or any other tool;
- Other 32-bit devices:
- Jailbreak required;
- Enter kDFU mode by loading a pwnediBSS from any existing Odysseus bundle.
- Connect your device to computer in kDFU / pwnDFU mode;
- On the computer run
futurerestore --use-pwndfu -t ticket.shsh --latest-baseband ios.ipsw
5) iOS 9 Re-restore bug (found by @alitek123, 32-bit devices only):
- Jailbreak doesn't required;
- Signing tickets (.shsh, .shsh2) without a ApNonce (noNonce APTickets);
If you have signing tickets for iOS 9.x which do not contain an ApNonce, you can restore to that firmware.
- Connect your device in DFU mode;
- On the computer run
futurerestore -t ticket.shsh --latest-baseband ios9.ipsw
Creator of original project - tihmstar.
ReadMe updated on:
2019-07-02