From a1232cc788ea99442c2aecc6009a835c53b95d67 Mon Sep 17 00:00:00 2001 From: LukeeGD Date: Sat, 8 Feb 2020 23:19:36 +0800 Subject: [PATCH] Some changes especially in the readme --- README.md | 99 +++++++++++++++++++----------------------------------- restore.sh | 7 ++-- 2 files changed, 37 insertions(+), 69 deletions(-) diff --git a/README.md b/README.md index ff8811e..98a0036 100755 --- a/README.md +++ b/README.md @@ -1,37 +1,51 @@ # 32bit-OTA-Downgrader -- This script can be used to downgrade almost any supported 32-bit device to **iOS 8.4.1** -- iPhone 4S and some iPad 2 devices also have the option to downgrade to **iOS 6.1.3** -- This script will also restore your device to the latest baseband (N/A to devices with no baseband) -- This script has a workaround for the activation error on iOS 10 devices -- This can also be used to enter pwnDFU mode for all supported devices -- **For iPhone 5C, 8.4.1 OTA DOWNGRADING IS NOT SUPPORTED!** Supports entering pwnDFU mode ONLY -- **You do NOT need blobs to use this**, the script will get them for you +### Downgrade 32-bit iOS devices to iOS 8.4.1 or iOS 6.1.3 (see supported devices below first!!) +- **Please see "Other notes" below to serve as answers for FAQs** -### Prerequisites: -- **A jailbroken A5/A5X/A6/A6X iOS device on any iOS version** (Latest jailbreaks: [Phoenix](https://phoenixpwn.com/) for 9.3.5/9.3.6, [h3lix](https://h3lix.tihmstar.net/) for 10.3.3/10.3.4) +## Prerequisites: +- **A supported 32-bit device jailbroken on any iOS version** (5 to 10) - **iOS [8.4.1](https://ipsw.me/8.4.1) or [6.1.3](https://ipsw.me/6.1.3) IPSW for your device** -- A **macOS** or **Linux install/live USB** (Tested on [Xenial (16.04)](http://cdimage.ubuntu.com/lubuntu/releases/16.04/release/), [Bionic (18.04)](http://cdimage.ubuntu.com/lubuntu/releases/18.04/release/), and [Arch-based](https://www.archlinux.org/) distros) (a live USB can be easily created with tools like [balenaEtcher](https://www.balena.io/etcher/) or [Rufus](https://rufus.ie/)) (macOS tested on 10.13 and 10.14) -- iOS 7 Pangu users: install the [latest Pangu 7.1.x Untether (deb)](http://apt.saurik.com/debs/io.pangu.axe7_0.3_iphoneos-arm.deb) -- iOS 8 Pangu users: install the [latest Pangu 8.0-8.1.x Untether (deb)](http://apt.saurik.com/debs/io.pangu.xuanyuansword8_0.5_iphoneos-arm.deb) -- The computer and device must be on the same network (for SSH) +- A **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/)) +- **macOS** (tested on 10.13 and 10.14 only) should also work, but I recommend macOS users to just use other tools like [Vieux](https://github.com/MatthewPierson/Vieux) instead +- iOS 7/8 Pangu users: 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) +- iOS 9 and below users: Install [OpenSSH](https://cydia.saurik.com/openssh.html); The computer and device must be on the same network for SSH to work +- iOS 10 users: Install [MTerminal](http://cydia.saurik.com/package/com.officialscheduler.mterminal/) -### How to use: -1. iOS 9 and below: Install [OpenSSH](https://cydia.saurik.com/openssh.html), iOS 10: Install [MTerminal](http://cydia.saurik.com/package/com.officialscheduler.mterminal/) -2. [Download](https://github.com/LukeZGD/32bit-OTA-Downgrader/archive/master.zip) or `git clone` this repo -3. Open Terminal, cd to the directory where the scripts are located (example: `cd /home/user/32bit-OTA-Downgrader`) +## How to use: +1. [Download](https://github.com/LukeZGD/32bit-OTA-Downgrader/archive/master.zip) or `git clone` this repo +2. Plug in your iOS device in normal mode +3. Open Terminal, cd to the directory where the script is located (example: `cd /home/user/32bit-OTA-Downgrader`) 4. Run `chmod +x restore.sh` 5. Run `./restore.sh` -6. Select option to be used (8.4.1/6.1.3 downgrade or just enter pwnDFU mode) +6. Select option to be used (8.4.1/6.1.3 downgrade) 7. Follow instructions -### Some other notes: +## Supported devices (iOS 8.4.1 downgrade): + +- All A5, A5X, A6, and A6X devices **except iPhone 5C** are supported + +## Supported devices (iOS 6.1.3 downgrade): + +- Only iPhone 4S and iPad 2 devices except iPad2,4 are supported + +## Other notes: +- **You do NOT need blobs to use this**, the script will get them for you +- This script can also be used to enter pwnDFU mode for all supported devices +- This script will also restore your device to the latest baseband (N/A to devices with no baseband) +- This script has a workaround for the activation error on iOS 10 devices - This script uses the futurerestore method for downgrading, NOT the Odysseus method nor modifying SystemVersion.plist - This script will use a vanilla/unmodified IPSW to restore - This script only uses iBSS patches from bundles for entering pwnDFU mode, NOT for creating a custom IPSW - For VirtualBox users, add a New USB Filter in the VM settings for the iOS device to autoconnect to the VM - For VMWare users, enable Autoconnect USB Devices -### Tools used by this script: +## Linux distros tested on: +- [Lubuntu 16.04](http://cdimage.ubuntu.com/lubuntu/releases/16.04/release/) live USB +- [Lubuntu 18.04](http://cdimage.ubuntu.com/lubuntu/releases/18.04/release/) live USB +- [Arch Linux](https://www.archlinux.org/) install +- [Manjaro](https://manjaro.org/) live USB + +## Tools used by this script: - cURL - bsdiff (bspatch) - ideviceinfo @@ -45,48 +59,3 @@ - [partialZipBrowser](https://github.com/tihmstar/partialZipBrowser) (used on buildmanifestsaver.sh) - 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) - -### Supported devices (iOS 8.4.1 downgrade): - -- All A5, A5X, A6, and A6X devices except the 5C are supported - -#### iPhone 4S -- iPhone4,1 - -#### iPhone 5 -- iPhone5,1 -- iPhone5,2 - -#### iPad 2 -- iPad2,1 -- iPad2,2 -- iPad2,3 -- iPad2,4 - -#### iPad 3 -- iPad3,1 -- iPad3,2 -- iPad3,3 - -#### iPad 4 -- iPad3,4 -- iPad3,5 -- iPad3,6 - -#### iPad mini 1 -- iPad2,5 -- iPad2,6 -- iPad2,7 - -#### iPod touch 5 -- iPod5,1 - -### Supported devices (iOS 6.1.3 downgrade): - -#### iPhone 4S -- iPhone4,1 - -#### iPad 2 -- iPad2,1 -- iPad2,2 -- iPad2,3 diff --git a/restore.sh b/restore.sh index 0bc26c7..bb02a49 100755 --- a/restore.sh +++ b/restore.sh @@ -352,7 +352,8 @@ function InstallDependencies { } function Arch { - sudo pacman -Sy --noconfirm bsdiff curl ifuse libcurl-compat libimobiledevice libpng12 libzip openssh openssl-1.0 unzip usbmuxd usbutils + sudo pacman -Sy --noconfirm bsdiff curl ifuse libcurl-compat libpng12 libzip openssh openssl-1.0 unzip usbutils + sudo pacman -S --noconfirm libimobiledevice usbmuxd sudo ln -sf /usr/lib/libzip.so.5 /usr/lib/libzip.so.4 } @@ -365,9 +366,7 @@ function macOS { brew uninstall --ignore-dependencies libimobiledevice brew install --HEAD usbmuxd brew install --HEAD libimobiledevice - brew install libzip - brew install openssl - brew install lsusb + brew install libzip openssl lsusb ifuse } function Ubuntu {