diff --git a/.gitignore b/.gitignore index f09e306..2640036 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,8 @@ *.so* *.txt Cydia* -saved/ +iP*Custom*/ +iP*Restore/ resources/FirmwareBundles/ resources/ipwndfu/ resources/jailbreak/bin.tar @@ -18,4 +19,5 @@ resources/jailbreak/cydia.tar resources/jailbreak/untether.tar resources/libimobiledevice*/ resources/libirecovery/ +saved/ tmp/ diff --git a/README.md b/README.md index 7e38118..f157074 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,7 @@ - iOS 6.1.3 and 8.4.1 downgrades have the option to **jailbreak** the install - For iOS 10.3.3, use [TotallyNotSpyware](https://totally-not.spyware.lol) or [sockH3lix](https://github.com/SongXiaoXi/sockH3lix) to jailbreak - This script can also restore your device to other iOS versions that you have SHSH blobs for - - 32-bit devices only, iOS 10 blobs/versions are not supported - - This feature is not supported on Windows + - 32-bit devices only. This feature is also not supported on Windows - This script can also be used to just enter kDFU mode for all supported 32-bit devices ## Supported devices diff --git a/resources/blobs.sh b/resources/blobs.sh index c3cd3b1..bd533f0 100755 --- a/resources/blobs.sh +++ b/resources/blobs.sh @@ -1,6 +1,7 @@ #!/bin/bash SaveOTABlobs() { + local APNonce=$1 local ExtraArgs local SHSHChk local SHSHContinue @@ -8,14 +9,15 @@ SaveOTABlobs() { Log "Saving $OSVer blobs with tsschecker..." BuildManifest="resources/manifests/BuildManifest_${ProductType}_${OSVer}.plist" - ExtraArgs="-d $ProductType -i $OSVer -e $UniqueChipID -m $BuildManifest -o -s" + ExtraArgs="-d $ProductType -i $OSVer -e $UniqueChipID -m $BuildManifest -o -s -B ${HWModel}ap" + SHSHChk=${UniqueChipID}_${ProductType}_${HWModel}ap_${OSVer}-${BuildVer}*.shsh* if [[ $DeviceProc == 7 ]]; then - local APNonce=$($irecovery -q | grep "NONC" | cut -c 7-) - Log "APNonce: $APNonce" - ExtraArgs+=" -B ${HWModel}ap --apnonce $APNonce" - SHSHChk=${UniqueChipID}_${ProductType}_${HWModel}ap_${OSVer}-${BuildVer}_${APNonce}.shsh* - else - SHSHChk=${UniqueChipID}_${ProductType}_${OSVer}-${BuildVer}*.shsh* + if [[ ! -z $APNonce ]]; then + ExtraArgs+=" --apnonce $APNonce" + SHSHChk=${UniqueChipID}_${ProductType}_${HWModel}ap_${OSVer}-${BuildVer}_${APNonce}.shsh* + else + ExtraArgs+=" --generator 0x1111111111111111" + fi fi $tsschecker $ExtraArgs @@ -41,7 +43,7 @@ SaveOTABlobs() { if [[ ! -z $SHSH && $SHSHContinue != 1 ]]; then mkdir -p saved/shsh 2>/dev/null - [[ ! $SHSHExisting ]] && cp "$SHSH" saved/shsh + [[ -z $APNonce ]] && cp "$SHSH" saved/shsh Log "Successfully saved $OSVer blobs." fi } diff --git a/resources/depends.sh b/resources/depends.sh index 1d1f6b7..622c993 100755 --- a/resources/depends.sh +++ b/resources/depends.sh @@ -7,15 +7,13 @@ SetToolPaths() { platform="linux" platformver="$PRETTY_NAME" MPath+="$platform" - bspatch="$(which bspatch)" - futurerestore1="sudo LD_PRELOAD=./resources/lib/libcurl.so.3 LD_LIBRARY_PATH=./resources/lib ./resources/tools/futurerestore1_linux" - futurerestore2="sudo LD_LIBRARY_PATH=./resources/lib ./resources/tools/futurerestore2_linux" + futurerestore="sudo LD_LIBRARY_PATH=./resources/lib ./resources/tools/futurerestore_linux" idevicerestore="sudo LD_LIBRARY_PATH=./resources/lib ./resources/tools/idevicerestore_linux" python="$(which python2)" ipwndfu="sudo $python ipwndfu" rmsigchks="sudo $python rmsigchks.py" - SimpleHTTPServer="sudo -b $python -m SimpleHTTPServer 80" + SimpleHTTPServer="sudo -b $python -m SimpleHTTPServer 8888" elif [[ $OSTYPE == "darwin"* ]]; then platform="macos" @@ -31,16 +29,15 @@ SetToolPaths() { Log "Detected libimobiledevice and libirecovery installed from MacPorts" MPath="/opt/local/bin" fi - bspatch="/usr/bin/bspatch" - futurerestore1="./resources/tools/futurerestore1_macos" - futurerestore2="./resources/tools/futurerestore2_macos" + futurerestore="./resources/tools/futurerestore_macos_$(uname -m)" + [[ ! -e $futurerestore ]] && futurerestore="./resources/tools/futurerestore_macos_arm64" idevicerestore="./resources/tools/idevicerestore_macos" ipwnder32="./resources/tools/ipwnder32_macos" python="/usr/bin/python" ipwndfu="$python ipwndfu" rmsigchks="$python rmsigchks.py" - SimpleHTTPServer="$python -m SimpleHTTPServer 80" + SimpleHTTPServer="$python -m SimpleHTTPServer 8888" elif [[ $OSTYPE == "msys" ]]; then platform="win" @@ -93,17 +90,6 @@ SaveFile() { fi } -SavePkg() { - if [[ ! -d ../saved/lib ]]; then - Log "Downloading packages..." - SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/depends2_linux.zip depends_linux.zip 38cf1db21c9aba88f0de95a1a7959ac2ac53c464 - mkdir -p ../saved/lib - unzip depends_linux.zip -d ../saved/lib - fi - cp ../saved/lib/* . -} - - InstallDepends() { local libimobiledevice @@ -120,29 +106,17 @@ InstallDepends() { read -s fi if [[ $ID == "arch" || $ID_LIKE == "arch" || $ID == "artix" ]]; then - sudo pacman -Syu --noconfirm --needed base-devel bsdiff curl libcurl-compat libpng12 libimobiledevice libzip openssh openssl-1.0 python2 unzip usbutils zenity - ln -sf /usr/lib/libcurl.so.3 ../resources/lib/libcurl.so.3 - ln -sf /usr/lib/libzip.so.5 ../resources/lib/libzip.so.4 + sudo pacman -Syu --noconfirm --needed base-devel bsdiff curl libimobiledevice openssh python2 unzip usbutils zenity elif [[ ! -z $UBUNTU_CODENAME && $VERSION_ID == "2"* ]] || [[ $VERSION == "11 (bullseye)" || $PRETTY_NAME == "Debian"*"sid" ]]; then [[ ! -z $UBUNTU_CODENAME ]] && sudo add-apt-repository -y universe sudo apt update sudo apt install -y bsdiff curl git libimobiledevice6 openssh-client python2 unzip usbmuxd usbutils zenity - SavePkg - cp libcrypto.so.1.0.0 libcurl.so.3 libpng12.so.0 libssl.so.1.0.0 ../resources/lib - if [[ $VERSION_ID == "20"* ]]; then - cp libzip.so.4 ../resources/lib - else - sudo apt install -y libzip4 - fi elif [[ $ID == "fedora" ]] && (( $VERSION_ID >= 33 )); then - sudo dnf install -y bsdiff git libimobiledevice libpng12 libzip perl-Digest-SHA python2 zenity - SavePkg - cp libcrypto.so.1.0.0 libssl.so.1.0.0 ../resources/lib - ln -sf /usr/lib64/libzip.so.5 ../resources/lib/libzip.so.4 ln -sf /usr/lib64/libbz2.so.1.* ../resources/lib/libbz2.so.1.0 + sudo dnf install -y bsdiff git libimobiledevice perl-Digest-SHA python2 zenity elif [[ $ID == "opensuse-tumbleweed" || $PRETTY_NAME == "openSUSE Leap 15.3" ]]; then if [[ $ID == "opensuse-tumbleweed" ]]; then @@ -151,8 +125,7 @@ InstallDepends() { libimobiledevice="libimobiledevice6" ln -sf /lib64/libreadline.so.7 ../resources/lib/libreadline.so.8 fi - sudo zypper -n in bsdiff curl git $libimobiledevice libpng12-0 libopenssl1_0_0 libzip5 python-base zenity - ln -sf /usr/lib64/libzip.so.5 ../resources/lib/libzip.so.4 + sudo zypper -n in bsdiff curl git $libimobiledevice python-base zenity elif [[ $platform == "macos" ]]; then xcode-select --install @@ -165,10 +138,10 @@ InstallDepends() { elif [[ $platform == "win" ]]; then pacman -Sy --noconfirm --needed ca-certificates curl openssh unzip zip Log "Downloading Windows tools..." - SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools2_win.zip tools_win.zip 1929c04f6f699f5e423bd9ca7ecc855a9b4f8f7c + SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_win.zip tools_win.zip 1929c04f6f699f5e423bd9ca7ecc855a9b4f8f7c Log "Extracting Windows tools..." unzip -oq tools_win.zip -d ../resources/tools - libimobiledevice=("https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/libimobiledevice2_win.zip" "3ed553415cc669b5c467a5f3cd78f692f7149adb") + libimobiledevice=("https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/libimobiledevice_win.zip" "3ed553415cc669b5c467a5f3cd78f692f7149adb") else Error "Distro not detected/supported by the install script." "See the repo README for supported OS versions/distros" diff --git a/resources/downgrade.sh b/resources/downgrade.sh index 898929a..83e7fc9 100755 --- a/resources/downgrade.sh +++ b/resources/downgrade.sh @@ -45,35 +45,32 @@ FRBaseband() { } FutureRestore() { - local ExtraArgs - local futurerestore - + local ExtraArgs=() + + [[ $IPSWCustomW != 2 ]] && ExtraArgs=("--use-pwndfu") if [[ $DeviceProc == 7 ]]; then - ExtraArgs="-s $IPSWRestore/Firmware/all_flash/$SEP -m $BuildManifest" - futurerestore=$futurerestore2 + ExtraArgs+=("-s" "$IPSWRestore/Firmware/all_flash/$SEP" "-m" "$BuildManifest") else - ExtraArgs="--use-pwndfu" - futurerestore=$futurerestore1 + ExtraArgs+=("--no-ibss" "--boot-args" "rd=md0 -restore -v") fi - + Log "Proceeding to futurerestore..." if [[ $Baseband == 0 ]]; then Log "Device $ProductType has no baseband" - $futurerestore -t $SHSH --no-baseband $ExtraArgs "$IPSWRestore.ipsw" + $futurerestore -t "$SHSH" --no-baseband "${ExtraArgs[@]}" "$IPSWRestore.ipsw" else FRBaseband - $futurerestore -t $SHSH -b saved/baseband/$Baseband -p $BuildManifest $ExtraArgs "$IPSWRestore.ipsw" + $futurerestore -t "$SHSH" -b saved/baseband/$Baseband -p $BuildManifest "${ExtraArgs[@]}" "$IPSWRestore.ipsw" fi } Downgrade() { - local IPSWCustomW local IPSWExtract local IPSWSHA1 local IPSWSHA1L local Jailbreak local JBName - local Verify + local Verify=1 Log "Select your options when asked. If unsure, go for the defaults (press Enter/Return)." echo @@ -145,28 +142,17 @@ Downgrade() { IPSW="${IPSWType}_${OSVer}_${BuildVer}_Restore" IPSWCustom="${IPSWType}_${OSVer}_${BuildVer}_Custom" - if [[ $Jailbreak != 1 && $DeviceProc != 7 && $platform == "win" ]]; then - IPSWCustom="${IPSWCustom}W" - IPSWCustomW=1 - elif [[ $Jailbreak != 1 && $DeviceProc != 7 ]]; then - local opt - Input "Restore Tool Option" - Echo "* This option is set to futurerestore (Y) by default." - Echo "* You may select idevicerestore (N) later if you experience issues with futurerestore." - read -p "$(Input 'Enable this option? (Y/n):')" opt - if [[ $opt == 'N' || $opt == 'n' ]]; then + if [[ $Jailbreak != 1 && $platform == "win" ]]; then + if [[ $DeviceProc == 7 ]]; then + IPSWCustomW=2 + else IPSWCustom="${IPSWCustom}W" IPSWCustomW=1 fi - echo fi - if [[ ! -e "$IPSWCustom.ipsw" && $IPSWCustomW == 1 ]]; then - Verify=1 - elif [[ $Jailbreak == 1 || $DeviceProc == 7 ]]; then - [[ ! -e "$IPSWCustom.ipsw" ]] && Verify=1 - elif [[ $Jailbreak != 1 && $IPSWCustomW != 1 ]]; then - Verify=1 + if [[ $Jailbreak == 1 || ! -z $IPSWCustomW ]]; then + [[ -e "$IPSWCustom.ipsw" ]] && Verify= fi if [[ $Jailbreak == 1 || $IPSWCustomW == 1 ]] && @@ -179,7 +165,9 @@ Downgrade() { echo fi - if [[ ! -e "$IPSW.ipsw" && ! -e "$IPSWCustom.ipsw" ]]; then + [[ $IPSWCustomW != 2 ]] && SaveOTABlobs + + if [[ ! -e "$IPSW.ipsw" && $Verify == 1 ]]; then Log "iOS $OSVer IPSW for $ProductType cannot be found." Echo "* If you already downloaded the IPSW, move/copy it to the directory where the script is located." Echo "* Do NOT rename the IPSW as the script will fail to detect it." @@ -211,8 +199,6 @@ Downgrade() { mkdir -p saved/$ProductType 2>/dev/null unzip -o -j $IPSW.ipsw Firmware/dfu/$iBSS.dfu -d saved/$ProductType fi - - [[ $DeviceProc != 7 ]] && SaveOTABlobs else IPSWCustom=0 fi @@ -227,12 +213,14 @@ Downgrade() { fi Log "Extracting IPSW: $IPSWExtract.ipsw" - unzip -q "$IPSWExtract.ipsw" -d "$IPSWExtract"/ - - if [[ $DeviceProc == 7 ]]; then + unzip -oq "$IPSWExtract.ipsw" -d "$IPSWExtract"/ + + if [[ $IPSWCustomW == 2 ]]; then IPSW64 pwnREC - SaveOTABlobs + local APNonce=$($irecovery -q | grep "NONC" | cut -c 7-) + Log "APNonce: $APNonce" + SaveOTABlobs $APNonce elif [[ $Jailbreak != 1 && $OSVer != "Other" && $IPSWCustomW != 1 ]]; then Log "Preparing for futurerestore... (Enter root password of your PC/Mac when prompted)" cd resources diff --git a/resources/firmware/iPad4,1/14G60/index.html b/resources/firmware/iPad4,1/14G60/index.html new file mode 100644 index 0000000..5ab7437 --- /dev/null +++ b/resources/firmware/iPad4,1/14G60/index.html @@ -0,0 +1 @@ +{"identifier": "iPad4,1", "buildid": "14G60", "codename": "Greensburg", "restoreramdiskexists": true, "updateramdiskexists": true, "keys": [{"image": "RootFS", "filename": "058-75094-062.dmg", "date": "2021-10-16T22:08:50.725837", "iv": "", "key": "", "kbag": ""}, {"image": "Update Ramdisk", "filename": "058-75381-062.dmg", "date": "2021-10-16T22:08:50.725901", "iv": "", "key": "", "kbag": ""}, {"image": "Restore Ramdisk", "filename": "058-74940-063.dmg", "date": "2021-10-16T22:08:50.725937", "iv": "", "key": "", "kbag": ""}, {"image": "AppleLogo", "filename": "applelogo@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:08:50.725969", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryCharging0", "filename": "batterycharging0@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:08:50.725989", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryCharging1", "filename": "batterycharging1@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:08:50.726006", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryFull", "filename": "batteryfull@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:08:50.726023", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryLow0", "filename": "batterylow0@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:08:50.726039", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryLow1", "filename": "batterylow1@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:08:50.726055", "iv": "", "key": "", "kbag": ""}, {"image": "DeviceTree", "filename": "DeviceTree.j71ap.im4p", "date": "2021-10-16T22:08:50.726071", "iv": "", "key": "", "kbag": ""}, {"image": "GlyphPlugin", "filename": "glyphplugin@2x~ipad-lightning.s5l8960x.im4p", "date": "2021-10-16T22:08:50.726087", "iv": "", "key": "", "kbag": ""}, {"image": "iBEC", "filename": "iBEC.ipad4.RELEASE.im4p", "date": "2021-10-16T22:08:50.726102", "iv": "a83dfcc277766ccb5da4220811ec2407", "key": "b4f8d062a97628231a289ae2a50647c309c43030577dca7fc2eee3a13ddb51ea", "kbag": "a83dfcc277766ccb5da4220811ec2407b4f8d062a97628231a289ae2a50647c309c43030577dca7fc2eee3a13ddb51ea"}, {"image": "iBoot", "filename": "iBoot.ipad4.RELEASE.im4p", "date": "2021-10-16T22:08:50.726126", "iv": "a228ba7725f93993465dada9a1ab52f0", "key": "1d3e9f6d74a5179c51c64ae5dbc173015ea26d232a36844b592f63f9c33340dc", "kbag": "a228ba7725f93993465dada9a1ab52f01d3e9f6d74a5179c51c64ae5dbc173015ea26d232a36844b592f63f9c33340dc"}, {"image": "iBSS", "filename": "iBSS.ipad4.RELEASE.im4p", "date": "2021-10-16T22:08:50.726146", "iv": "28eed0b4cada986cee0ec95350b64f04", "key": "c8b8f09e4cc888e4d0045145bceebb3783e146d56393ffce3268aae3225af3d7", "kbag": "28eed0b4cada986cee0ec95350b64f04c8b8f09e4cc888e4d0045145bceebb3783e146d56393ffce3268aae3225af3d7"}, {"image": "Kernelcache", "filename": "kernelcache.release.ipad4", "date": "2021-10-16T22:08:50.726166", "iv": "", "key": "", "kbag": ""}, {"image": "LLB", "filename": "LLB.ipad4.RELEASE.im4p", "date": "2021-10-16T22:08:50.726184", "iv": "cba78f16172eed348901cd70272c1dfc", "key": "b0237aeebf2b29fb0b658f0e60a88111d51e33872bcc88661d8bdeebde550e7b", "kbag": "cba78f16172eed348901cd70272c1dfcb0237aeebf2b29fb0b658f0e60a88111d51e33872bcc88661d8bdeebde550e7b"}, {"image": "RecoveryMode", "filename": "recoverymode@2x~ipad-lightning.s5l8960x.im4p", "date": "2021-10-16T22:08:50.726204", "iv": "", "key": "", "kbag": ""}, {"image": "SEP-Firmware", "filename": "sep-firmware.j71.RELEASE.im4p", "date": "2021-10-16T22:08:50.726222", "iv": "", "key": "", "kbag": ""}]} diff --git a/resources/firmware/iPad4,1/16G201/sha1sum b/resources/firmware/iPad4,1/16G201/sha1sum deleted file mode 100755 index f00210f..0000000 --- a/resources/firmware/iPad4,1/16G201/sha1sum +++ /dev/null @@ -1 +0,0 @@ -ff75addb9fa4ee58a90bcc4251833724bc81bb8e diff --git a/resources/firmware/iPad4,1/16G201/url b/resources/firmware/iPad4,1/16G201/url deleted file mode 100755 index 76f5c8d..0000000 --- a/resources/firmware/iPad4,1/16G201/url +++ /dev/null @@ -1 +0,0 @@ -http://updates-http.cdn-apple.com/2020SummerFCS/fullrestores/001-11092/88FBF08C-927B-4856-8D6C-462D7EC6D077/iPad_64bit_12.4.8_16G201_Restore.ipsw diff --git a/resources/firmware/iPad4,2/14G60/index.html b/resources/firmware/iPad4,2/14G60/index.html new file mode 100644 index 0000000..fd91dfb --- /dev/null +++ b/resources/firmware/iPad4,2/14G60/index.html @@ -0,0 +1 @@ +{"identifier": "iPad4,2", "buildid": "14G60", "codename": "Greensburg", "restoreramdiskexists": true, "updateramdiskexists": true, "keys": [{"image": "RootFS", "filename": "058-75094-062.dmg", "date": "2021-10-16T22:09:11.380952", "iv": "", "key": "", "kbag": ""}, {"image": "Update Ramdisk", "filename": "058-75381-062.dmg", "date": "2021-10-16T22:09:11.381053", "iv": "", "key": "", "kbag": ""}, {"image": "Restore Ramdisk", "filename": "058-74940-063.dmg", "date": "2021-10-16T22:09:11.381084", "iv": "", "key": "", "kbag": ""}, {"image": "AppleLogo", "filename": "applelogo@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:11.381114", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryCharging0", "filename": "batterycharging0@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:11.381142", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryCharging1", "filename": "batterycharging1@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:11.381169", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryFull", "filename": "batteryfull@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:11.381198", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryLow0", "filename": "batterylow0@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:11.381224", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryLow1", "filename": "batterylow1@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:11.381253", "iv": "", "key": "", "kbag": ""}, {"image": "DeviceTree", "filename": "DeviceTree.j72ap.im4p", "date": "2021-10-16T22:09:11.381283", "iv": "", "key": "", "kbag": ""}, {"image": "GlyphPlugin", "filename": "glyphplugin@2x~ipad-lightning.s5l8960x.im4p", "date": "2021-10-16T22:09:11.381314", "iv": "", "key": "", "kbag": ""}, {"image": "iBEC", "filename": "iBEC.ipad4.RELEASE.im4p", "date": "2021-10-16T22:09:11.381342", "iv": "a83dfcc277766ccb5da4220811ec2407", "key": "b4f8d062a97628231a289ae2a50647c309c43030577dca7fc2eee3a13ddb51ea", "kbag": "a83dfcc277766ccb5da4220811ec2407b4f8d062a97628231a289ae2a50647c309c43030577dca7fc2eee3a13ddb51ea"}, {"image": "iBoot", "filename": "iBoot.ipad4.RELEASE.im4p", "date": "2021-10-16T22:09:11.381406", "iv": "a228ba7725f93993465dada9a1ab52f0", "key": "1d3e9f6d74a5179c51c64ae5dbc173015ea26d232a36844b592f63f9c33340dc", "kbag": "a228ba7725f93993465dada9a1ab52f01d3e9f6d74a5179c51c64ae5dbc173015ea26d232a36844b592f63f9c33340dc"}, {"image": "iBSS", "filename": "iBSS.ipad4.RELEASE.im4p", "date": "2021-10-16T22:09:11.381444", "iv": "28eed0b4cada986cee0ec95350b64f04", "key": "c8b8f09e4cc888e4d0045145bceebb3783e146d56393ffce3268aae3225af3d7", "kbag": "28eed0b4cada986cee0ec95350b64f04c8b8f09e4cc888e4d0045145bceebb3783e146d56393ffce3268aae3225af3d7"}, {"image": "Kernelcache", "filename": "kernelcache.release.ipad4", "date": "2021-10-16T22:09:11.381482", "iv": "", "key": "", "kbag": ""}, {"image": "LLB", "filename": "LLB.ipad4.RELEASE.im4p", "date": "2021-10-16T22:09:11.381512", "iv": "cba78f16172eed348901cd70272c1dfc", "key": "b0237aeebf2b29fb0b658f0e60a88111d51e33872bcc88661d8bdeebde550e7b", "kbag": "cba78f16172eed348901cd70272c1dfcb0237aeebf2b29fb0b658f0e60a88111d51e33872bcc88661d8bdeebde550e7b"}, {"image": "RecoveryMode", "filename": "recoverymode@2x~ipad-lightning.s5l8960x.im4p", "date": "2021-10-16T22:09:11.381547", "iv": "", "key": "", "kbag": ""}, {"image": "SEP-Firmware", "filename": "sep-firmware.j72.RELEASE.im4p", "date": "2021-10-16T22:09:11.381581", "iv": "", "key": "", "kbag": ""}]} diff --git a/resources/firmware/iPad4,2/16G201/sha1sum b/resources/firmware/iPad4,2/16G201/sha1sum deleted file mode 100755 index f00210f..0000000 --- a/resources/firmware/iPad4,2/16G201/sha1sum +++ /dev/null @@ -1 +0,0 @@ -ff75addb9fa4ee58a90bcc4251833724bc81bb8e diff --git a/resources/firmware/iPad4,2/16G201/url b/resources/firmware/iPad4,2/16G201/url deleted file mode 100755 index 76f5c8d..0000000 --- a/resources/firmware/iPad4,2/16G201/url +++ /dev/null @@ -1 +0,0 @@ -http://updates-http.cdn-apple.com/2020SummerFCS/fullrestores/001-11092/88FBF08C-927B-4856-8D6C-462D7EC6D077/iPad_64bit_12.4.8_16G201_Restore.ipsw diff --git a/resources/firmware/iPad4,3/14G60/index.html b/resources/firmware/iPad4,3/14G60/index.html new file mode 100644 index 0000000..f218a37 --- /dev/null +++ b/resources/firmware/iPad4,3/14G60/index.html @@ -0,0 +1 @@ +{"identifier": "iPad4,3", "buildid": "14G60", "codename": "Greensburg", "restoreramdiskexists": true, "updateramdiskexists": true, "keys": [{"image": "RootFS", "filename": "058-75094-062.dmg", "date": "2021-10-16T22:09:31.767699", "iv": "", "key": "", "kbag": ""}, {"image": "Update Ramdisk", "filename": "058-75381-062.dmg", "date": "2021-10-16T22:09:31.767731", "iv": "", "key": "", "kbag": ""}, {"image": "Restore Ramdisk", "filename": "058-74940-063.dmg", "date": "2021-10-16T22:09:31.767748", "iv": "", "key": "", "kbag": ""}, {"image": "AppleLogo", "filename": "applelogo@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:31.767763", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryCharging0", "filename": "batterycharging0@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:31.767778", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryCharging1", "filename": "batterycharging1@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:31.767793", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryFull", "filename": "batteryfull@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:31.767808", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryLow0", "filename": "batterylow0@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:31.767824", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryLow1", "filename": "batterylow1@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:31.767839", "iv": "", "key": "", "kbag": ""}, {"image": "DeviceTree", "filename": "DeviceTree.j73ap.im4p", "date": "2021-10-16T22:09:31.767854", "iv": "", "key": "", "kbag": ""}, {"image": "GlyphPlugin", "filename": "glyphplugin@2x~ipad-lightning.s5l8960x.im4p", "date": "2021-10-16T22:09:31.767870", "iv": "", "key": "", "kbag": ""}, {"image": "iBEC", "filename": "iBEC.ipad4.RELEASE.im4p", "date": "2021-10-16T22:09:31.767885", "iv": "a83dfcc277766ccb5da4220811ec2407", "key": "b4f8d062a97628231a289ae2a50647c309c43030577dca7fc2eee3a13ddb51ea", "kbag": "a83dfcc277766ccb5da4220811ec2407b4f8d062a97628231a289ae2a50647c309c43030577dca7fc2eee3a13ddb51ea"}, {"image": "iBoot", "filename": "iBoot.ipad4.RELEASE.im4p", "date": "2021-10-16T22:09:31.767904", "iv": "a228ba7725f93993465dada9a1ab52f0", "key": "1d3e9f6d74a5179c51c64ae5dbc173015ea26d232a36844b592f63f9c33340dc", "kbag": "a228ba7725f93993465dada9a1ab52f01d3e9f6d74a5179c51c64ae5dbc173015ea26d232a36844b592f63f9c33340dc"}, {"image": "iBSS", "filename": "iBSS.ipad4.RELEASE.im4p", "date": "2021-10-16T22:09:31.767923", "iv": "28eed0b4cada986cee0ec95350b64f04", "key": "c8b8f09e4cc888e4d0045145bceebb3783e146d56393ffce3268aae3225af3d7", "kbag": "28eed0b4cada986cee0ec95350b64f04c8b8f09e4cc888e4d0045145bceebb3783e146d56393ffce3268aae3225af3d7"}, {"image": "Kernelcache", "filename": "kernelcache.release.ipad4", "date": "2021-10-16T22:09:31.767951", "iv": "", "key": "", "kbag": ""}, {"image": "LLB", "filename": "LLB.ipad4.RELEASE.im4p", "date": "2021-10-16T22:09:31.767968", "iv": "cba78f16172eed348901cd70272c1dfc", "key": "b0237aeebf2b29fb0b658f0e60a88111d51e33872bcc88661d8bdeebde550e7b", "kbag": "cba78f16172eed348901cd70272c1dfcb0237aeebf2b29fb0b658f0e60a88111d51e33872bcc88661d8bdeebde550e7b"}, {"image": "RecoveryMode", "filename": "recoverymode@2x~ipad-lightning.s5l8960x.im4p", "date": "2021-10-16T22:09:31.767987", "iv": "", "key": "", "kbag": ""}, {"image": "SEP-Firmware", "filename": "sep-firmware.j73.RELEASE.im4p", "date": "2021-10-16T22:09:31.768004", "iv": "", "key": "", "kbag": ""}]} diff --git a/resources/firmware/iPad4,3/16G201/sha1sum b/resources/firmware/iPad4,3/16G201/sha1sum deleted file mode 100755 index f00210f..0000000 --- a/resources/firmware/iPad4,3/16G201/sha1sum +++ /dev/null @@ -1 +0,0 @@ -ff75addb9fa4ee58a90bcc4251833724bc81bb8e diff --git a/resources/firmware/iPad4,3/16G201/url b/resources/firmware/iPad4,3/16G201/url deleted file mode 100755 index 76f5c8d..0000000 --- a/resources/firmware/iPad4,3/16G201/url +++ /dev/null @@ -1 +0,0 @@ -http://updates-http.cdn-apple.com/2020SummerFCS/fullrestores/001-11092/88FBF08C-927B-4856-8D6C-462D7EC6D077/iPad_64bit_12.4.8_16G201_Restore.ipsw diff --git a/resources/firmware/iPad4,4/14G60/index.html b/resources/firmware/iPad4,4/14G60/index.html new file mode 100644 index 0000000..1a58d51 --- /dev/null +++ b/resources/firmware/iPad4,4/14G60/index.html @@ -0,0 +1 @@ +{"identifier": "iPad4,4", "buildid": "14G60", "codename": "Greensburg", "restoreramdiskexists": true, "updateramdiskexists": true, "keys": [{"image": "RootFS", "filename": "058-75094-062.dmg", "date": "2021-10-16T22:06:17.021081", "iv": "", "key": "", "kbag": ""}, {"image": "Update Ramdisk", "filename": "058-75381-062.dmg", "date": "2021-10-16T22:06:17.021105", "iv": "", "key": "", "kbag": ""}, {"image": "Restore Ramdisk", "filename": "058-74940-063.dmg", "date": "2021-10-16T22:06:17.021114", "iv": "", "key": "", "kbag": ""}, {"image": "AppleLogo", "filename": "applelogo@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:06:17.021121", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryCharging0", "filename": "batterycharging0@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:06:17.021128", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryCharging1", "filename": "batterycharging1@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:06:17.021136", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryFull", "filename": "batteryfull@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:06:17.021143", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryLow0", "filename": "batterylow0@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:06:17.021150", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryLow1", "filename": "batterylow1@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:06:17.021157", "iv": "", "key": "", "kbag": ""}, {"image": "DeviceTree", "filename": "DeviceTree.j85ap.im4p", "date": "2021-10-16T22:06:17.021165", "iv": "", "key": "", "kbag": ""}, {"image": "GlyphPlugin", "filename": "glyphplugin@2x~ipad-lightning.s5l8960x.im4p", "date": "2021-10-16T22:06:17.021173", "iv": "", "key": "", "kbag": ""}, {"image": "iBEC", "filename": "iBEC.ipad4b.RELEASE.im4p", "date": "2021-10-16T22:06:17.021180", "iv": "3067a2585100890afd3b266926ac254b", "key": "dcdf5a9eb3ae0464e984333e15876faa116525ca4b61f361283a808ca09c7480", "kbag": "3067a2585100890afd3b266926ac254bdcdf5a9eb3ae0464e984333e15876faa116525ca4b61f361283a808ca09c7480"}, {"image": "iBoot", "filename": "iBoot.ipad4b.RELEASE.im4p", "date": "2021-10-16T22:06:17.021190", "iv": "726d9817afd797d4c191f5049ab3241f", "key": "6a051555cb4b488f7b7d32c91cdb5d2c82b9f58bbea66ce650b100d0bc0eb06f", "kbag": "726d9817afd797d4c191f5049ab3241f6a051555cb4b488f7b7d32c91cdb5d2c82b9f58bbea66ce650b100d0bc0eb06f"}, {"image": "iBSS", "filename": "iBSS.ipad4b.RELEASE.im4p", "date": "2021-10-16T22:06:17.021199", "iv": "b3aafc6e758290c3aeec057105d16b36", "key": "77659e333d13ebb5ad804daf4fbbaf4a9c86bc6065e88ac0190df8c119a916f3", "kbag": "b3aafc6e758290c3aeec057105d16b3677659e333d13ebb5ad804daf4fbbaf4a9c86bc6065e88ac0190df8c119a916f3"}, {"image": "Kernelcache", "filename": "kernelcache.release.ipad4b", "date": "2021-10-16T22:06:17.021208", "iv": "", "key": "", "kbag": ""}, {"image": "LLB", "filename": "LLB.ipad4b.RELEASE.im4p", "date": "2021-10-16T22:06:17.021215", "iv": "c53588bf0604dc0d65a773d5b6376f83", "key": "11adc444f88f908dbd92f12a03967638e1bde526ad26808bd04d5ef46181d1ea", "kbag": "c53588bf0604dc0d65a773d5b6376f8311adc444f88f908dbd92f12a03967638e1bde526ad26808bd04d5ef46181d1ea"}, {"image": "RecoveryMode", "filename": "recoverymode@2x~ipad-lightning.s5l8960x.im4p", "date": "2021-10-16T22:06:17.021225", "iv": "", "key": "", "kbag": ""}, {"image": "SEP-Firmware", "filename": "sep-firmware.j85.RELEASE.im4p", "date": "2021-10-16T22:06:17.021232", "iv": "", "key": "", "kbag": ""}]} diff --git a/resources/firmware/iPad4,4/16G201/sha1sum b/resources/firmware/iPad4,4/16G201/sha1sum deleted file mode 100755 index f00210f..0000000 --- a/resources/firmware/iPad4,4/16G201/sha1sum +++ /dev/null @@ -1 +0,0 @@ -ff75addb9fa4ee58a90bcc4251833724bc81bb8e diff --git a/resources/firmware/iPad4,4/16G201/url b/resources/firmware/iPad4,4/16G201/url deleted file mode 100755 index 76f5c8d..0000000 --- a/resources/firmware/iPad4,4/16G201/url +++ /dev/null @@ -1 +0,0 @@ -http://updates-http.cdn-apple.com/2020SummerFCS/fullrestores/001-11092/88FBF08C-927B-4856-8D6C-462D7EC6D077/iPad_64bit_12.4.8_16G201_Restore.ipsw diff --git a/resources/firmware/iPad4,5/14G60/index.html b/resources/firmware/iPad4,5/14G60/index.html new file mode 100644 index 0000000..4f028f3 --- /dev/null +++ b/resources/firmware/iPad4,5/14G60/index.html @@ -0,0 +1 @@ +{"identifier": "iPad4,5", "buildid": "14G60", "codename": "Greensburg", "restoreramdiskexists": true, "updateramdiskexists": true, "keys": [{"image": "RootFS", "filename": "058-75094-062.dmg", "date": "2021-10-16T22:09:54.540894", "iv": "", "key": "", "kbag": ""}, {"image": "Update Ramdisk", "filename": "058-75381-062.dmg", "date": "2021-10-16T22:09:54.540943", "iv": "", "key": "", "kbag": ""}, {"image": "Restore Ramdisk", "filename": "058-74940-063.dmg", "date": "2021-10-16T22:09:54.540963", "iv": "", "key": "", "kbag": ""}, {"image": "AppleLogo", "filename": "applelogo@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:54.541019", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryCharging0", "filename": "batterycharging0@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:54.541039", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryCharging1", "filename": "batterycharging1@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:54.541056", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryFull", "filename": "batteryfull@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:54.541073", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryLow0", "filename": "batterylow0@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:54.541089", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryLow1", "filename": "batterylow1@2x~ipad.s5l8960x.im4p", "date": "2021-10-16T22:09:54.541106", "iv": "", "key": "", "kbag": ""}, {"image": "DeviceTree", "filename": "DeviceTree.j86ap.im4p", "date": "2021-10-16T22:09:54.541122", "iv": "", "key": "", "kbag": ""}, {"image": "GlyphPlugin", "filename": "glyphplugin@2x~ipad-lightning.s5l8960x.im4p", "date": "2021-10-16T22:09:54.541139", "iv": "", "key": "", "kbag": ""}, {"image": "iBEC", "filename": "iBEC.ipad4b.RELEASE.im4p", "date": "2021-10-16T22:09:54.541156", "iv": "3067a2585100890afd3b266926ac254b", "key": "dcdf5a9eb3ae0464e984333e15876faa116525ca4b61f361283a808ca09c7480", "kbag": "3067a2585100890afd3b266926ac254bdcdf5a9eb3ae0464e984333e15876faa116525ca4b61f361283a808ca09c7480"}, {"image": "iBoot", "filename": "iBoot.ipad4b.RELEASE.im4p", "date": "2021-10-16T22:09:54.541178", "iv": "726d9817afd797d4c191f5049ab3241f", "key": "6a051555cb4b488f7b7d32c91cdb5d2c82b9f58bbea66ce650b100d0bc0eb06f", "kbag": "726d9817afd797d4c191f5049ab3241f6a051555cb4b488f7b7d32c91cdb5d2c82b9f58bbea66ce650b100d0bc0eb06f"}, {"image": "iBSS", "filename": "iBSS.ipad4b.RELEASE.im4p", "date": "2021-10-16T22:09:54.541199", "iv": "b3aafc6e758290c3aeec057105d16b36", "key": "77659e333d13ebb5ad804daf4fbbaf4a9c86bc6065e88ac0190df8c119a916f3", "kbag": "b3aafc6e758290c3aeec057105d16b3677659e333d13ebb5ad804daf4fbbaf4a9c86bc6065e88ac0190df8c119a916f3"}, {"image": "Kernelcache", "filename": "kernelcache.release.ipad4b", "date": "2021-10-16T22:09:54.541219", "iv": "", "key": "", "kbag": ""}, {"image": "LLB", "filename": "LLB.ipad4b.RELEASE.im4p", "date": "2021-10-16T22:09:54.541236", "iv": "c53588bf0604dc0d65a773d5b6376f83", "key": "11adc444f88f908dbd92f12a03967638e1bde526ad26808bd04d5ef46181d1ea", "kbag": "c53588bf0604dc0d65a773d5b6376f8311adc444f88f908dbd92f12a03967638e1bde526ad26808bd04d5ef46181d1ea"}, {"image": "RecoveryMode", "filename": "recoverymode@2x~ipad-lightning.s5l8960x.im4p", "date": "2021-10-16T22:09:54.541257", "iv": "", "key": "", "kbag": ""}, {"image": "SEP-Firmware", "filename": "sep-firmware.j86.RELEASE.im4p", "date": "2021-10-16T22:09:54.541274", "iv": "", "key": "", "kbag": ""}]} diff --git a/resources/firmware/iPad4,5/16G201/sha1sum b/resources/firmware/iPad4,5/16G201/sha1sum deleted file mode 100755 index f00210f..0000000 --- a/resources/firmware/iPad4,5/16G201/sha1sum +++ /dev/null @@ -1 +0,0 @@ -ff75addb9fa4ee58a90bcc4251833724bc81bb8e diff --git a/resources/firmware/iPad4,5/16G201/url b/resources/firmware/iPad4,5/16G201/url deleted file mode 100755 index 76f5c8d..0000000 --- a/resources/firmware/iPad4,5/16G201/url +++ /dev/null @@ -1 +0,0 @@ -http://updates-http.cdn-apple.com/2020SummerFCS/fullrestores/001-11092/88FBF08C-927B-4856-8D6C-462D7EC6D077/iPad_64bit_12.4.8_16G201_Restore.ipsw diff --git a/resources/firmware/iPhone6,1/14G60/index.html b/resources/firmware/iPhone6,1/14G60/index.html new file mode 100644 index 0000000..0a0e488 --- /dev/null +++ b/resources/firmware/iPhone6,1/14G60/index.html @@ -0,0 +1 @@ +{"identifier": "iPhone6,1", "buildid": "14G60", "codename": "Greensburg", "restoreramdiskexists": true, "updateramdiskexists": true, "keys": [{"image": "RootFS", "filename": "058-74917-062.dmg", "date": "2021-10-16T22:10:20.537800", "iv": "", "key": "", "kbag": ""}, {"image": "Update Ramdisk", "filename": "058-75381-062.dmg", "date": "2021-10-16T22:10:20.537849", "iv": "", "key": "", "kbag": ""}, {"image": "Restore Ramdisk", "filename": "058-74940-063.dmg", "date": "2021-10-16T22:10:20.537869", "iv": "", "key": "", "kbag": ""}, {"image": "AppleLogo", "filename": "applelogo@2x~iphone.s5l8960x.im4p", "date": "2021-10-16T22:10:20.537886", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryCharging0", "filename": "batterycharging0@2x~iphone.s5l8960x.im4p", "date": "2021-10-16T22:10:20.537903", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryCharging1", "filename": "batterycharging1@2x~iphone.s5l8960x.im4p", "date": "2021-10-16T22:10:20.537920", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryFull", "filename": "batteryfull@2x~iphone.s5l8960x.im4p", "date": "2021-10-16T22:10:20.537937", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryLow0", "filename": "batterylow0@2x~iphone.s5l8960x.im4p", "date": "2021-10-16T22:10:20.537954", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryLow1", "filename": "batterylow1@2x~iphone.s5l8960x.im4p", "date": "2021-10-16T22:10:20.537975", "iv": "", "key": "", "kbag": ""}, {"image": "DeviceTree", "filename": "DeviceTree.n51ap.im4p", "date": "2021-10-16T22:10:20.538003", "iv": "", "key": "", "kbag": ""}, {"image": "GlyphPlugin", "filename": "glyphplugin@1136~iphone-lightning.s5l8960x.im4p", "date": "2021-10-16T22:10:20.538032", "iv": "", "key": "", "kbag": ""}, {"image": "iBEC", "filename": "iBEC.iphone6.RELEASE.im4p", "date": "2021-10-16T22:10:20.538060", "iv": "75a06e85e2d9835827334738bb84ce73", "key": "15c61c585d30ab07497f68aee0a64c433e4b1183abde4cfd91c185b9a70ab91a", "kbag": "75a06e85e2d9835827334738bb84ce7315c61c585d30ab07497f68aee0a64c433e4b1183abde4cfd91c185b9a70ab91a"}, {"image": "iBoot", "filename": "iBoot.iphone6.RELEASE.im4p", "date": "2021-10-16T22:10:20.538090", "iv": "b7ed62f9b115bc6ad98484613d79548d", "key": "908b2e447a927c8a91d5070250325a0ac8a933206783d6a0b3f002a3b8ee9caf", "kbag": "b7ed62f9b115bc6ad98484613d79548d908b2e447a927c8a91d5070250325a0ac8a933206783d6a0b3f002a3b8ee9caf"}, {"image": "iBSS", "filename": "iBSS.iphone6.RELEASE.im4p", "date": "2021-10-16T22:10:20.538111", "iv": "f2aa35f6e27c409fd57e9b711f416cfe", "key": "599d9b18bc51d93f2385fa4e83539a2eec955fce5f4ae960b252583fcbebfe75", "kbag": "f2aa35f6e27c409fd57e9b711f416cfe599d9b18bc51d93f2385fa4e83539a2eec955fce5f4ae960b252583fcbebfe75"}, {"image": "Kernelcache", "filename": "kernelcache.release.iphone6", "date": "2021-10-16T22:10:20.538130", "iv": "", "key": "", "kbag": ""}, {"image": "LLB", "filename": "LLB.iphone6.RELEASE.im4p", "date": "2021-10-16T22:10:20.538148", "iv": "44015d73533778772a054222536a17a3", "key": "415020c543290299d9ebae5272a4743082ef3e00311d7e772aead73240cefc98", "kbag": "44015d73533778772a054222536a17a3415020c543290299d9ebae5272a4743082ef3e00311d7e772aead73240cefc98"}, {"image": "RecoveryMode", "filename": "recoverymode@1136~iphone-lightning.s5l8960x.im4p", "date": "2021-10-16T22:10:20.538168", "iv": "", "key": "", "kbag": ""}, {"image": "SEP-Firmware", "filename": "sep-firmware.n51.RELEASE.im4p", "date": "2021-10-16T22:10:20.538186", "iv": "b370c7d85476823ef83d3991cb8078b9", "key": "54c3a8ffe7f2437ea23c4c7ea72a66544644b869849e4635dfbf74824a61a733", "kbag": "b370c7d85476823ef83d3991cb8078b954c3a8ffe7f2437ea23c4c7ea72a66544644b869849e4635dfbf74824a61a733"}]} diff --git a/resources/firmware/iPhone6,1/16G201/sha1sum b/resources/firmware/iPhone6,1/16G201/sha1sum deleted file mode 100755 index 871a955..0000000 --- a/resources/firmware/iPhone6,1/16G201/sha1sum +++ /dev/null @@ -1 +0,0 @@ -08dfb2e3e59225ea30ba7a601805f1f3b01a78b6 diff --git a/resources/firmware/iPhone6,1/16G201/url b/resources/firmware/iPhone6,1/16G201/url deleted file mode 100755 index e9f9e39..0000000 --- a/resources/firmware/iPhone6,1/16G201/url +++ /dev/null @@ -1 +0,0 @@ -http://updates-http.cdn-apple.com/2020SummerFCS/fullrestores/001-11128/4CC37BBF-683F-4C8D-9DE4-3DDA67960DD7/iPhone_4.0_64bit_12.4.8_16G201_Restore.ipsw diff --git a/resources/firmware/iPhone6,2/14G60/index.html b/resources/firmware/iPhone6,2/14G60/index.html new file mode 100644 index 0000000..2df7bc7 --- /dev/null +++ b/resources/firmware/iPhone6,2/14G60/index.html @@ -0,0 +1 @@ +{"identifier": "iPhone6,2", "buildid": "14G60", "codename": "Greensburg", "restoreramdiskexists": true, "updateramdiskexists": true, "keys": [{"image": "RootFS", "filename": "058-74917-062.dmg", "date": "2021-10-16T22:10:35.275310", "iv": "", "key": "", "kbag": ""}, {"image": "Update Ramdisk", "filename": "058-75381-062.dmg", "date": "2021-10-16T22:10:35.275357", "iv": "", "key": "", "kbag": ""}, {"image": "Restore Ramdisk", "filename": "058-74940-063.dmg", "date": "2021-10-16T22:10:35.275378", "iv": "", "key": "", "kbag": ""}, {"image": "AppleLogo", "filename": "applelogo@2x~iphone.s5l8960x.im4p", "date": "2021-10-16T22:10:35.275395", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryCharging0", "filename": "batterycharging0@2x~iphone.s5l8960x.im4p", "date": "2021-10-16T22:10:35.275412", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryCharging1", "filename": "batterycharging1@2x~iphone.s5l8960x.im4p", "date": "2021-10-16T22:10:35.275429", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryFull", "filename": "batteryfull@2x~iphone.s5l8960x.im4p", "date": "2021-10-16T22:10:35.275445", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryLow0", "filename": "batterylow0@2x~iphone.s5l8960x.im4p", "date": "2021-10-16T22:10:35.275461", "iv": "", "key": "", "kbag": ""}, {"image": "BatteryLow1", "filename": "batterylow1@2x~iphone.s5l8960x.im4p", "date": "2021-10-16T22:10:35.275477", "iv": "", "key": "", "kbag": ""}, {"image": "DeviceTree", "filename": "DeviceTree.n53ap.im4p", "date": "2021-10-16T22:10:35.275493", "iv": "", "key": "", "kbag": ""}, {"image": "GlyphPlugin", "filename": "glyphplugin@1136~iphone-lightning.s5l8960x.im4p", "date": "2021-10-16T22:10:35.275510", "iv": "", "key": "", "kbag": ""}, {"image": "iBEC", "filename": "iBEC.iphone6.RELEASE.im4p", "date": "2021-10-16T22:10:35.275525", "iv": "75a06e85e2d9835827334738bb84ce73", "key": "15c61c585d30ab07497f68aee0a64c433e4b1183abde4cfd91c185b9a70ab91a", "kbag": "75a06e85e2d9835827334738bb84ce7315c61c585d30ab07497f68aee0a64c433e4b1183abde4cfd91c185b9a70ab91a"}, {"image": "iBoot", "filename": "iBoot.iphone6.RELEASE.im4p", "date": "2021-10-16T22:10:35.275547", "iv": "b7ed62f9b115bc6ad98484613d79548d", "key": "908b2e447a927c8a91d5070250325a0ac8a933206783d6a0b3f002a3b8ee9caf", "kbag": "b7ed62f9b115bc6ad98484613d79548d908b2e447a927c8a91d5070250325a0ac8a933206783d6a0b3f002a3b8ee9caf"}, {"image": "iBSS", "filename": "iBSS.iphone6.RELEASE.im4p", "date": "2021-10-16T22:10:35.275567", "iv": "f2aa35f6e27c409fd57e9b711f416cfe", "key": "599d9b18bc51d93f2385fa4e83539a2eec955fce5f4ae960b252583fcbebfe75", "kbag": "f2aa35f6e27c409fd57e9b711f416cfe599d9b18bc51d93f2385fa4e83539a2eec955fce5f4ae960b252583fcbebfe75"}, {"image": "Kernelcache", "filename": "kernelcache.release.iphone6", "date": "2021-10-16T22:10:35.275586", "iv": "", "key": "", "kbag": ""}, {"image": "LLB", "filename": "LLB.iphone6.RELEASE.im4p", "date": "2021-10-16T22:10:35.275604", "iv": "44015d73533778772a054222536a17a3", "key": "415020c543290299d9ebae5272a4743082ef3e00311d7e772aead73240cefc98", "kbag": "44015d73533778772a054222536a17a3415020c543290299d9ebae5272a4743082ef3e00311d7e772aead73240cefc98"}, {"image": "RecoveryMode", "filename": "recoverymode@1136~iphone-lightning.s5l8960x.im4p", "date": "2021-10-16T22:10:35.275624", "iv": "", "key": "", "kbag": ""}, {"image": "SEP-Firmware", "filename": "sep-firmware.n53.RELEASE.im4p", "date": "2021-10-16T22:10:35.275644", "iv": "", "key": "", "kbag": ""}]} diff --git a/resources/firmware/iPhone6,2/16G201/sha1sum b/resources/firmware/iPhone6,2/16G201/sha1sum deleted file mode 100755 index 871a955..0000000 --- a/resources/firmware/iPhone6,2/16G201/sha1sum +++ /dev/null @@ -1 +0,0 @@ -08dfb2e3e59225ea30ba7a601805f1f3b01a78b6 diff --git a/resources/firmware/iPhone6,2/16G201/url b/resources/firmware/iPhone6,2/16G201/url deleted file mode 100755 index e9f9e39..0000000 --- a/resources/firmware/iPhone6,2/16G201/url +++ /dev/null @@ -1 +0,0 @@ -http://updates-http.cdn-apple.com/2020SummerFCS/fullrestores/001-11128/4CC37BBF-683F-4C8D-9DE4-3DDA67960DD7/iPhone_4.0_64bit_12.4.8_16G201_Restore.ipsw diff --git a/resources/ipsw.sh b/resources/ipsw.sh index a23c459..eef9fb0 100755 --- a/resources/ipsw.sh +++ b/resources/ipsw.sh @@ -96,7 +96,7 @@ IPSW64() { Log "Found existing Custom IPSW. Skipping IPSW creation." return fi - + Log "Preparing custom IPSW..." $bspatch $IPSW/Firmware/dfu/$iBSS.im4p $iBSS.im4p resources/patches/$iBSS.patch $bspatch $IPSW/Firmware/dfu/$iBEC.im4p $iBEC.im4p resources/patches/$iBEC.patch diff --git a/resources/tools/futurerestore1_linux b/resources/tools/futurerestore1_linux deleted file mode 100755 index bf6798a..0000000 Binary files a/resources/tools/futurerestore1_linux and /dev/null differ diff --git a/resources/tools/futurerestore1_macos b/resources/tools/futurerestore1_macos deleted file mode 100755 index 560f75f..0000000 Binary files a/resources/tools/futurerestore1_macos and /dev/null differ diff --git a/resources/tools/futurerestore2_linux b/resources/tools/futurerestore2_linux deleted file mode 100755 index 5d8f48f..0000000 Binary files a/resources/tools/futurerestore2_linux and /dev/null differ diff --git a/resources/tools/futurerestore2_macos b/resources/tools/futurerestore2_macos deleted file mode 100755 index ef6c34c..0000000 Binary files a/resources/tools/futurerestore2_macos and /dev/null differ diff --git a/resources/tools/futurerestore_linux b/resources/tools/futurerestore_linux new file mode 100755 index 0000000..aa05360 Binary files /dev/null and b/resources/tools/futurerestore_linux differ diff --git a/resources/tools/futurerestore_macos_arm64 b/resources/tools/futurerestore_macos_arm64 new file mode 100755 index 0000000..2040a53 Binary files /dev/null and b/resources/tools/futurerestore_macos_arm64 differ diff --git a/resources/tools/futurerestore_macos_x86_64 b/resources/tools/futurerestore_macos_x86_64 new file mode 100755 index 0000000..0c721fd Binary files /dev/null and b/resources/tools/futurerestore_macos_x86_64 differ diff --git a/restore.sh b/restore.sh index d2a80d3..3fbb2d8 100755 --- a/restore.sh +++ b/restore.sh @@ -113,6 +113,40 @@ Main() { Clean mkdir tmp + [[ ! -z $1 ]] && SkipMainMenu=1 + + if [[ $SkipMainMenu == 1 && $1 != "NoColor" ]]; then + Mode="$1" + else + Selection=("Downgrade device" "Save OTA blobs") + if [[ $DeviceProc != 7 && $DeviceState == "Normal" ]]; then + Selection+=("Just put device in kDFU mode") + fi + Selection+=("(Re-)Install Dependencies" "(Any other key to exit)") + Echo "*** Main Menu ***" + Input "Select an option:" + select opt in "${Selection[@]}"; do + case $opt in + "Downgrade device" ) Mode="Downgrade"; break;; + "Save OTA blobs" ) Mode="SaveOTABlobs"; break;; + "Just put device in kDFU mode" ) Mode="kDFU"; break;; + "(Re-)Install Dependencies" ) InstallDepends;; + * ) exit 0;; + esac + done + fi + + SelectVersion + + if [[ $Mode != "Downgrade" ]]; then + $Mode + if [[ $platform == "win" ]]; then + Input "Press Enter/Return to exit." + read -s + fi + exit 0 + fi + if [[ $DeviceProc == 7 && $platform == "win" ]]; then local Message="If you want to restore your A7 device on Windows, put the device in pwnDFU mode." if [[ $DeviceState == "Normal" ]]; then @@ -165,8 +199,6 @@ Main() { esac done Log "Downgrading $ProductType in kDFU/pwnDFU mode..." - Mode="Downgrade" - SkipMainMenu=1 elif [[ $DeviceState == "Recovery" ]]; then if [[ $DeviceProc == 6 && $platform != "win" ]]; then @@ -178,37 +210,9 @@ Main() { RecoveryExit fi Log "Downgrading $ProductType in pwnDFU mode..." - Mode="Downgrade" - SkipMainMenu=1 fi - [[ ! -z $1 ]] && SkipMainMenu=1 - - if [[ $SkipMainMenu == 1 && $1 != "NoColor" ]]; then - [[ ! -z $1 ]] && Mode="$1" - else - Selection=("Downgrade device") - [[ $DeviceProc != 7 ]] && Selection+=("Save OTA blobs" "Just put device in kDFU mode") - - Selection+=("(Re-)Install Dependencies" "(Any other key to exit)") - Echo "*** Main Menu ***" - Input "Select an option:" - select opt in "${Selection[@]}"; do - case $opt in - "Downgrade device" ) Mode="Downgrade"; break;; - "Save OTA blobs" ) Mode="SaveOTABlobs"; break;; - "Just put device in kDFU mode" ) Mode="kDFU"; break;; - "(Re-)Install Dependencies" ) InstallDepends;; - * ) exit 0;; - esac - done - fi - - SelectVersion - - echo - Log "Option: $Mode" - $Mode + Downgrade if [[ $platform == "win" ]]; then Input "Press Enter/Return to exit."