mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
Enable iPhone4Down on Windows
idevicerestore_win updated, it should work now
This commit is contained in:
parent
c7c542729e
commit
d938115e45
@ -1,7 +1,7 @@
|
||||
# iOS-OTA-Downgrader
|
||||
|
||||
- **Downgrade/restore and jailbreak supported iOS devices to signed OTA firmwares**
|
||||
- **iPhone4Down: Downgrade your iPhone 4 on Linux (using powdersn0w)**
|
||||
- **iPhone4Down: Downgrade your iPhone 4 on Linux/Windows (using powdersn0w)**
|
||||
- **Linux and macOS** are supported
|
||||
- **Partial support for Windows** - usage is not recommended
|
||||
- iPhone4Down is focused on Linux only - macOS and Windows are only partially supported
|
||||
|
@ -192,7 +192,7 @@ InstallDepends() {
|
||||
pacman -Sy --noconfirm --needed ca-certificates curl openssh unzip zip
|
||||
libimobiledevice=("https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/libimobiledevice_win.zip" "75ae3af3347b89107f0f6b7e41fde42e6ccdd404")
|
||||
if [[ ! $(ls ../resources/tools/*win*) ]]; then
|
||||
SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_win.zip tools_win.zip e8c67c803f61e059ac77047d110d5dda12dc4adb
|
||||
SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_win.zip tools_win.zip 30597bc091b1a2fa80350febdfd97a24b28fbdd5
|
||||
Log "Extracting Windows tools..."
|
||||
unzip -oq tools_win.zip -d ../resources
|
||||
fi
|
||||
|
@ -139,7 +139,6 @@ iDeviceRestore() {
|
||||
cp $SHSH shsh/${UniqueChipID}-${ProductType}-${OSVer}.shsh
|
||||
Log "Proceeding to idevicerestore..."
|
||||
[[ $1 == "latest" ]] && ExtraArgs="-e" || ExtraArgs="-e -w"
|
||||
[[ $platform == "win" ]] && ExtraArgs+=" -y"
|
||||
$idevicerestore $ExtraArgs "$IPSWRestore.ipsw"
|
||||
echo
|
||||
Log "Restoring done! Read the message below if any error has occurred:"
|
||||
|
@ -237,7 +237,7 @@ Main() {
|
||||
fi
|
||||
if [[ $Mode == *"4" ]]; then
|
||||
$Mode
|
||||
exit 0
|
||||
ExitWin 0
|
||||
fi
|
||||
|
||||
elif [[ $DeviceState == "DFU" ]]; then
|
||||
@ -314,9 +314,6 @@ SelectVersion() {
|
||||
if [[ $platform == "linux" ]]; then
|
||||
Selection+=("4.3.5")
|
||||
Selection2+=("4.3.3" "4.3")
|
||||
elif [[ $platform == "win" && $Mode == "Downgrade" ]]; then
|
||||
Error "Using iPhone4Down on Windows is currently disabled due to issues with idevicerestore" \
|
||||
"Only creating custom IPSWs is enabled for now. This will be fixed sometime later"
|
||||
elif [[ $Mode == "Restore712" ]]; then
|
||||
Echo "* Make sure to disable the exploit first! See the README for more details."
|
||||
Input "Press Enter/Return to continue (or press Ctrl+C to cancel)"
|
||||
|
Loading…
Reference in New Issue
Block a user