mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-02-20 02:12:45 +01:00
Update restore.sh
Always download firmware keys
This commit is contained in:
parent
9e6e807cd6
commit
0df5acf4fb
15
restore.sh
15
restore.sh
@ -309,15 +309,14 @@ function FindDFU {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Downgrade {
|
function Downgrade {
|
||||||
# These firmware keys are essential for iPad2,4, 2,5, 2,6, 2,7, and iPod5,1
|
# These firmware keys are essential for some iPads and iPod5,1
|
||||||
# 8.4.1 KBAG keys for those devices are missing in firmware-keys.ipsw.me
|
# 8.4.1 KBAG keys for those devices are missing in firmware-keys.ipsw.me
|
||||||
if [ ! -e resources/firmware ]; then
|
rm -rf resources/firmware
|
||||||
echo "[Log] Firmware keys missing, downloading firmware keys..."
|
echo "Downloading firmware keys..."
|
||||||
curl -L https://github.com/LukeZGD/32bit-OTA-Downgrader/archive/firmware.zip -o tmp/firmware.zip
|
curl -L https://github.com/LukeZGD/32bit-OTA-Downgrader/archive/firmware.zip -o tmp/firmware.zip
|
||||||
unzip -q tmp/firmware.zip -d tmp
|
unzip -q tmp/firmware.zip -d tmp
|
||||||
mkdir resources/firmware
|
mkdir resources/firmware
|
||||||
mv tmp/32bit-OTA-Downgrader-firmware/firmware/* resources/firmware
|
mv tmp/32bit-OTA-Downgrader-firmware/firmware/* resources/firmware
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! $NotOTA ]; then
|
if [ ! $NotOTA ]; then
|
||||||
SaveOTABlobs
|
SaveOTABlobs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user