2023-04-02 12:18:44 +02:00
# Legacy iOS Kit
2021-10-03 17:26:19 +02:00
2023-04-02 12:18:44 +02:00
- (formerly iOS-OTA-Downgrader)
2023-07-18 05:56:33 +02:00
- **A multi-purpose script to downgrade/restore, save SHSH blobs, and jailbreak legacy iOS devices**
- Supported on **Linux and macOS**
- Usage on Windows is not recommended, many features will not work
- **Read the ["How to Use" wiki page ](https://github.com/LukeZGD/Legacy-iOS-Kit/wiki/How-to-Use ) for instructions**
2023-04-02 12:18:44 +02:00
- **Read the ["Troubleshooting" wiki page ](https://github.com/LukeZGD/Legacy-iOS-Kit/wiki/Troubleshooting ) for tips, frequent questions, and troubleshooting**
2021-10-06 14:59:10 +02:00
2023-04-02 12:18:44 +02:00
## Features
- Restore to iOS 8.4.1 or 6.1.3 on supported 32-bit devices ** (OTA signed)**
2023-06-26 01:31:39 +02:00
- Restore iPhone 4 GSM and CDMA (iPhone3,1 and 3,3) to lower iOS versions ** (powdersn0w)**
2023-06-15 08:21:05 +02:00
- Restore iPhone 3GS and iPod touch 2 to lower iOS versions ** (24Kpwn/alloc8)**
- Restore 32-bit devices to lower iOS versions **with SHSH blobs**
- Restore 32-bit devices to lower iOS versions **with iOS 7.1.x blobs (powdersn0w)**
2023-06-29 14:52:43 +02:00
- For iPhone 5 (not 5C), 7.0.x blobs can also be used
2023-04-02 12:18:44 +02:00
- Device support is limited, see below
2023-07-18 05:56:33 +02:00
- Option to **jailbreak** all supported 32-bit devices
2023-07-18 11:45:45 +02:00
- Available on iOS versions 3.1.3, 3.2.2, 4.x, 5.x, 6.x, 7.x, 8.x
2023-07-18 05:56:33 +02:00
- Only unsupported version is jailbreaking iPad 2 on 4.3.x
2023-06-24 12:22:35 +02:00
- There are two methods of jailbreaking: Custom IPSW and SSH Ramdisk
2023-06-15 08:21:05 +02:00
- Restore to iOS 10.3.3 on supported A7 devices ** (OTA signed)**
- Restore A7/A8 devices to lower iOS versions **with SHSH blobs**
- Limited compatibility due to SEP/BB, see below
- The latest baseband will be flashed for 32-bit devices if applicable
2023-04-02 12:18:44 +02:00
- Save onboard and Cydia SHSH blobs for 32-bit devices
2023-06-15 08:21:05 +02:00
- Place device to pwned iBSS/kDFU mode for supported devices
2023-04-02 12:18:44 +02:00
- Boot SSH Ramdisk on supported 32-bit devices
2023-06-15 08:21:05 +02:00
- Clear NVRAM for devices that support powdersn0w
- Device activation using ideviceactivation
2023-07-03 09:22:35 +02:00
- Dumping and stitching baseband to IPSW (requires `--disable-bbupdate` )
- Dumping and stitching activation records to IPSW (requires `--activation-records` )
2019-11-21 16:48:05 +01:00
2021-10-03 17:26:19 +02:00
## Supported devices
- [Identify your device here ](https://ipsw.me/device-finder )
2023-01-17 03:19:51 +01:00
- **iPhone 5C and iPad mini 3 devices are NOT supported by OTA downgrades**
2023-05-19 10:17:38 +02:00
- These devices still support restoring to other iOS versions with SHSH blobs, see below
2023-04-02 12:18:44 +02:00
- See the table below for OTA downgrading support:
2021-01-10 08:27:00 +01:00
< table >
< thead >
< tr >
< th > Target Version< / th >
< th > Supported Devices< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td rowspan = 4 > iOS 10.3.3< / td >
< td > < b > A7 devices:< / b > < / td >
< / tr >
< tr > < td > iPhone 5S< / td > < / tr >
< tr > < td > iPad Air 1< / td > < / tr >
< tr > < td > iPad mini 2 (except iPad4,6)< / td > < / tr >
< tr >
2021-03-25 02:43:14 +01:00
< td rowspan = 6 > iOS 8.4.1< / td >
2021-01-10 08:27:00 +01:00
< td > < b > 32-bit devices:< / b > < / td >
< / tr >
< tr > < td > iPhone 4S< / td > < / tr >
< tr > < td > iPhone 5< / td > < / tr >
< tr > < td > iPad 2, iPad 3, iPad 4< / td > < / tr >
2021-03-25 02:43:14 +01:00
< tr > < td > iPad mini 1< / td > < / tr >
2021-03-27 02:30:39 +01:00
< tr > < td > iPod touch 5< / td > < / tr >
2021-01-10 08:27:00 +01:00
< tr >
2023-01-13 05:25:27 +01:00
< td rowspan = 2 > iOS 6.1.3< / td >
2021-01-10 08:27:00 +01:00
< td > iPhone 4S< / td >
< / tr >
< tr > < td > iPad 2 (except iPad2,4)< / td > < / tr >
< / tbody >
< / table >
2020-03-13 05:12:49 +01:00
2023-05-19 10:17:38 +02:00
- Restoring with SHSH blobs and using SSH Ramdisks are supported on the following devices:
- Supports most 32-bit devices (iOS 3 to 10, version range depends on device)
- iPhone 3GS, 4, 4S, 5, 5C
- iPad 1, 2, 3, 4, mini 1
2023-06-15 08:21:05 +02:00
- iPod touch 2, 3, 4, 5
- S5L8900 devices will likely never be supported
2023-05-19 10:17:38 +02:00
- Restoring with SHSH blobs is also supported on most A7/A8 devices:
- See [SEP/BB Compatibility Chart ](https://docs.google.com/spreadsheets/d/1Mb1UNm6g3yvdQD67M413GYSaJ4uoNhLgpkc7YKi3LBs/edit#gid=1191207636 ) for iOS versions
- iPhone 5S, 6, 6 Plus
- iPad Air 1, mini 2, mini 3
- iPod touch 6
- Restoring with powdersn0w is supported on the following devices:
- iPhone 4 GSM - targets iOS 4.3 to 6.1.3
2023-06-26 01:31:39 +02:00
- iPhone 4 CDMA - targets iOS 5.0 to 6.1.3
2023-06-29 14:52:43 +02:00
- iPhone 4S, 5, 5C, iPad 2 Rev A, iPod touch 5 - targets iOS 5.0 to 9.3.5 (not iOS 7)
- Using powdersn0w requires iOS 7.1.x blobs for your device (7.0.x can also be used for iPhone 5)
2023-06-15 08:21:05 +02:00
- Restoring with 24Kpwn/alloc8 is supported on the following devices:
- iPhone 3GS - targets iOS 3.1.3 to 5.1.1
- iPod touch 2 - targets iOS 3.1.3 to 4.0
- Restoring to latest iOS version with jailbreak for the following devices:
2023-06-16 12:26:34 +02:00
- iPhone 4 - iOS 7.1.2 with Pangu
- iPhone 3GS, iPod touch 4 - iOS 6.1.6 with p0sixspwn
- iPad 1, iPod touch 3 - iOS 5.1.1 with pris0nbarake
- iPod touch 2 - iOS 4.2.1 with greenpois0n
2023-05-19 10:17:38 +02:00
2021-10-03 17:26:19 +02:00
## Supported OS versions/distros
2023-01-17 03:19:51 +01:00
2023-05-19 10:17:38 +02:00
#### Supported architectures: x86_64, arm64, armhf
2023-01-17 03:19:51 +01:00
2023-01-13 05:25:27 +01:00
- [**Ubuntu** ](https://ubuntu.com/ ) 22.04 and newer, and Ubuntu-based distros like [Linux Mint ](https://www.linuxmint.com/ )
2021-03-25 03:29:47 +01:00
- [**Arch Linux** ](https://www.archlinux.org/ ) and Arch-based distros like [EndeavourOS ](https://endeavouros.com/ )
2022-07-05 12:56:08 +02:00
- [**Fedora** ](https://getfedora.org/ ) 36 and newer
2023-01-13 05:25:27 +01:00
- [**Debian** ](https://www.debian.org/ ) 12 Bookworm and newer, Sid, and Debian-based distros
- [**openSUSE** ](https://www.opensuse.org/ ) Tumbleweed
2022-10-03 06:32:40 +02:00
- [**Gentoo** ](https://www.gentoo.org/ ) and Gentoo-based distros
2021-06-07 07:49:58 +02:00
- **macOS** 10.13 and newer
2022-12-22 06:02:03 +01:00
- **Windows** 8.1 and newer
2019-11-20 13:39:56 +01:00
2021-10-06 14:59:10 +02:00
## Tools and other stuff used
2023-01-22 03:45:37 +01:00
- curl
2020-04-01 14:12:36 +02:00
- bspatch
2022-12-27 01:18:55 +01:00
- [powdersn0w_pub ](https://github.com/dora2-iOS/powdersn0w_pub ) - dora2ios; [LukeZGD fork ](https://github.com/LukeZGD/powdersn0w_pub )
2023-06-29 14:52:43 +02:00
- [Exploits used are from kok3shidoll's repo ](https://github.com/kok3shidoll/untitled )
2023-05-19 04:29:20 +02:00
- [ipwndfu ](https://github.com/LukeZGD/ipwndfu ) - axi0mX, Linus Henze, synackuk; LukeZGD fork
2023-01-24 03:23:17 +01:00
- [ipwnder_lite ](https://github.com/dora2-iOS/ipwnder_lite/tree/7265a06d184e433989db640d5e83ea58d5862609 ) - dora2ios (used on macOS)
- [iPwnder32 ](https://github.com/dora2-iOS/iPwnder32/tree/243ea5c6d1bd15f8bdd0b3a1ff4a7729bc14bac4 ) - dora2ios (old version with libusb, used on Linux)
2023-01-25 11:29:55 +01:00
- [gaster ](https://github.com/0x7ff/gaster/ ) - 0x7ff
2022-09-02 12:10:40 +02:00
- [daibutsuCFW ](https://github.com/dora2-iOS/daibutsuCFW ) - dora2ios; [LukeZGD fork ](https://github.com/LukeZGD/daibutsuCFW )
2023-07-18 05:56:33 +02:00
- [daibutsu ](https://github.com/kok3shidoll/daibutsu ) - dora/kok3shidoll, Clarity
2023-05-19 10:17:38 +02:00
- [libimobiledevice ](https://github.com/libimobiledevice/libimobiledevice ) - libimobiledevice
- [libirecovery ](https://github.com/libimobiledevice/libirecovery ) - libimobiledevice
- [libideviceactivation ](https://github.com/libimobiledevice/libideviceactivation ) - libimobiledevice
2023-05-19 04:29:20 +02:00
- [tsschecker ](https://github.com/tihmstar/tsschecker ) - tihmstar; [1Conan fork ](https://github.com/1Conan/tsschecker ) v413
2023-01-24 03:23:17 +01:00
- [futurerestore ](https://github.com/tihmstar/futurerestore ) - tihmstar;
- [LukeZGD fork ](https://github.com/LukeZGD/futurerestore ) used on Linux for restoring 32-bit devices
- [LukeeGD fork ](https://github.com/LukeeGD/futurerestore ) used on Linux/Windows for restoring A7/A8 devices
2023-05-19 04:29:20 +02:00
- [iBoot32Patcher ](https://github.com/dora2-iOS/iBoot32Patcher/ ) - dora2ios fork
2022-09-02 12:10:40 +02:00
- [idevicerestore ](https://github.com/libimobiledevice/idevicerestore ) - libimobiledevice; [LukeZGD fork ](https://github.com/LukeZGD/idevicerestore )
2023-01-24 03:23:17 +01:00
- [idevicererestore ](https://github.com/LukeZGD/daibutsuCFW/tree/main/src/idevicererestore ) from daibutsuCFW (used on custom IPSW restores for A5/A6 devices)
2023-05-19 04:29:20 +02:00
- [kloader from Odysseus ](https://www.youtube.com/watch?v=fh0tB6fp0Sc )
- [kloader from axi0mX ](https://github.com/axi0mX/ios-kexec-utils/blob/master/kloader ) (used on iOS 4/5 only)
2023-03-31 15:02:54 +02:00
- [kloader_hgsp from nyan_satan ](https://twitter.com/nyan_satan/status/945203180522045440 ) (used on h3lix only)
2020-08-16 13:25:32 +02:00
- [partial-zip ](https://github.com/matteyeux/partial-zip )
2023-01-24 03:23:17 +01:00
- [zenity ](https://github.com/GNOME/zenity ); [macOS/Windows builds ](https://github.com/ncruces/zenity )
2022-06-08 17:04:56 +02:00
- 32-bit bundles 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://www.reddit.com/r/jailbreak/comments/6yrzzj/release_firmware_bundles_for_ios_841_ipad21234567/ ) (modified bundles for daibutsuCFW)
2022-07-14 10:49:13 +02:00
- A7 patches from [MatthewPierson ](https://github.com/MatthewPierson/iPhone-5s-OTA-Downgrade-Patches )
2023-02-25 04:37:50 +01:00
- iPad 2 iOS 4.3.x bundles from [selfisht, Ralph0045 ](https://www.reddit.com/r/LegacyJailbreak/comments/1172ulo/release_ios_4_ipad_2_odysseus_firmware_bundles/ )
2023-06-29 14:52:43 +02:00
- [sshpass ](https://sourceforge.net/project/sshpass )
- Bootstrap tar from [SpiritNET ](https://invoxiplaygames.uk/projects/spiritnet/ )
2022-05-28 12:56:10 +02:00
- [Pangu ](https://www.theiphonewiki.com/wiki/Pangu )
2021-04-24 08:12:42 +02:00
- [p0sixspwn ](https://www.theiphonewiki.com/wiki/p0sixspwn )
2022-05-28 12:56:10 +02:00
- [unthredeh4il ](https://www.theiphonewiki.com/wiki/Unthredera1n#unthredeh4il )
2023-06-15 08:21:05 +02:00
- [evasi0n ](https://www.theiphonewiki.com/wiki/Evasi0n )
- [pris0nbarake ](https://github.com/LukeZGD/pris0nbarake ) - LukeZGD fork
2023-06-16 12:13:53 +02:00
- [greenpois0n ](https://github.com/OpenJailbreak/greenpois0n/tree/0f1eac8e748abb200fc36969e616aaad009f7ebf )
- Some patches from [PwnageTool ](https://www.theiphonewiki.com/wiki/PwnageTool ) and [sn0wbreeze ](https://www.theiphonewiki.com/wiki/sn0wbreeze )
- SSH Ramdisk tar from [SSH-Ramdisk-Maker-and-Loader ](https://github.com/Ralph0045/SSH-Ramdisk-Maker-and-Loader ) and [msftguy's ssh-rd ](https://github.com/msftguy/ssh-rd )