2020-07-23 02:47:36 +02:00
# iOS-OTA-Downgrader
### (formerly 32bit-OTA-Downgrader)
### Downgrade/restore iOS devices to signed OTA firmwares
2020-02-08 16:19:36 +01:00
- **Please see "Other notes" below to serve as answers for FAQs**
2019-11-21 16:48:05 +01:00
2020-04-01 14:12:36 +02:00
## Supported devices:
2020-03-13 05:12:49 +01:00
2020-07-23 02:56:03 +02:00
- **iOS 10.3.3**: All A7 devices are supported **except iPad4,6 iPad4,7 iPad4,8 iPad4,9**
2020-07-23 14:08:16 +02:00
- **iOS 8.4.1**: All A5, A5X, A6, and A6X devices are supported **except iPhone5,3 and 5,4 (iPhone 5C)**
- **iOS 6.1.3**: Only iPhone 4S and iPad 2 devices are supported **except iPad2,4 (iPad 2 Rev A)**
2020-03-13 05:12:49 +01:00
2020-02-08 16:19:36 +01:00
## Prerequisites:
2020-07-23 02:47:36 +02:00
- A supported device:
- A 32-bit iOS device (any version, **jailbreak needed** )
- An A7 device (any version, jailbreak not needed)
- An IPSW for the version you want to downgrade to (the script can also download it for you)
2020-04-01 14:12:36 +02:00
- A **macOS** or a **64-bit Linux install/live USB** (see distros tested on below) (a live USB can be easily created with tools like [balenaEtcher ](https://www.balena.io/etcher/ ) or [Rufus ](https://rufus.ie/ ))
2020-07-31 11:24:32 +02:00
- All 32-bit users must install [OpenSSH ](https://cydia.saurik.com/package/openssh/ )
- A6/A6X iOS 10 users must install [Dropbear (deb) ](http://www.mediafire.com/file/m2wzque7zsa87lp/Dropbear.deb/file ) as well
- For kDFU mode to work on Pangu 32-bit, install the [latest Pangu 7.1.x Untether (deb) ](http://apt.saurik.com/debs/io.pangu.axe7_0.3_iphoneos-arm.deb ) or [latest Pangu 8.0-8.1.x Untether (deb) ](http://apt.saurik.com/debs/io.pangu.xuanyuansword8_0.5_iphoneos-arm.deb )
2020-07-23 02:47:36 +02:00
1. [Download ](https://github.com/LukeZGD/iOS-OTA-Downgrader/archive/master.zip ) or `git clone` this repo
2020-07-26 03:50:21 +02:00
2. Open Terminal, `cd` to the directory where the script is located (example: `cd /home/user/iOS-OTA-Downgrader` )
2020-07-23 02:47:36 +02:00
3. Run `chmod +x restore.sh`
2020-02-08 16:19:36 +01:00
## How to use:
2020-07-26 03:50:21 +02:00
1. Plug in your iOS device
2020-07-23 02:47:36 +02:00
2. Run `./restore.sh`
3. Select option to be used
4. Follow instructions
2020-01-06 15:45:55 +01:00
2020-02-08 16:19:36 +01:00
## Other notes:
- **You do NOT need blobs to use this**, the script will get them for you
2020-07-23 04:08:46 +02:00
- This script will verify the IPSW with SHA1sum before restoring
2020-07-23 02:56:03 +02:00
- 32-bit only:
- This script does not modify the IPSW
- To devices with baseband, this script will restore your device with the latest baseband
- This script has a workaround for the activation error on devices downgrading from iOS 10
- This script uses futurerestore "Odysseus method" for downgrading (different from OdysseusOTA/2, which are deprecated)
2020-07-23 04:08:46 +02:00
- This script only uses iBSS patches for entering kDFU mode
- This script can also be used to just enter kDFU mode for all supported devices
2020-07-23 02:56:03 +02:00
- This script can also be used to futurerestore to other iOS versions with provided SHSH blobs
- This script can work on virtual machines, but I won't provide support for them
2019-11-20 13:39:56 +01:00
2020-04-01 14:12:36 +02:00
## OS versions/distros tested on:
2020-07-26 08:20:35 +02:00
- [Ubuntu 20.04 ](http://releases.ubuntu.com/focal/ ) (and Focal-based distros like [Linux Mint 20 ](https://www.linuxmint.com/ ))
- [Arch Linux ](https://www.archlinux.org/ ) (and Arch-based distros like [Manjaro ](https://manjaro.org/ ))
2020-07-06 10:08:13 +02:00
- [Fedora 32 ](https://getfedora.org/ )
2020-07-03 08:04:35 +02:00
- macOS 10.13.6 High Sierra, 10.14.6 Mojave, 10.15.5 Catalina
2020-02-08 16:19:36 +01:00
2020-03-13 05:12:49 +01:00
## Tools and other stuff used by this script:
2019-11-20 13:39:56 +01:00
- cURL
2020-04-01 14:12:36 +02:00
- bspatch
2020-07-26 03:50:21 +02:00
- [igetnonce ](https://github.com/LukeZGD/igetnonce )
- [ipwndfu ](https://github.com/LukeZGD/ipwndfu )
- [libimobiledevice ](https://github.com/libimobiledevice/libimobiledevice ) utilities
2020-07-23 02:47:36 +02:00
- python2
- python3
2020-07-23 02:56:03 +02:00
- [tsschecker ](https://github.com/tihmstar/s0uthwest/tsschecker )
2020-07-30 07:23:30 +02:00
- [futurerestore 152 ](http://api.tihmstar.net/builds/futurerestore/futurerestore-latest.zip ) (32-bit)
2020-07-23 02:56:03 +02:00
- [futurerestore 249 (Linux) ](https://github.com/LukeZGD/futurerestore ) (A7)
- [futurerestore 245 (macOS) ](https://github.com/MatthewPierson/Vieux/blob/master/resources/bin/futurerestore )
2019-11-21 16:48:05 +01:00
- [xpwntool ](https://www.youtube.com/watch?v=fh0tB6fp0Sc )
- [kloader ](https://www.youtube.com/watch?v=fh0tB6fp0Sc )
2020-04-01 14:12:36 +02:00
- [kloader5 for iOS 5 ](https://mtmdev.org/pmbonneau-archive )
- [kloader_hgsp for iOS 10 ](https://twitter.com/nyan_satan/status/945203180522045440 )
2020-03-13 05:12:49 +01:00
- [partialZipBrowser ](https://github.com/tihmstar/partialZipBrowser/releases/tag/36 )
2020-07-23 02:56:03 +02:00
- 32-bit iBSS patches are from [OdysseusOTA ](https://www.youtube.com/watch?v=Wo7mGdMcjxw ), [OdysseusOTA2 ](https://www.youtube.com/watch?v=fh0tB6fp0Sc ), [alitek12 ](https://www.mediafire.com/folder/b1z64roy512wd/FirmwareBundles ), [gjest ](https://files.fm/u/fcbqqdnw )
- A7 iBSS and iBEC patches are from [MatthewPierson ](https://github.com/MatthewPierson/iPhone-5s-OTA-Downgrade-Patches )