mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-30 11:54:18 +01:00
Add message about restore errors on Windows
This commit is contained in:
parent
5ad141bd3c
commit
f84a5f28bf
@ -96,6 +96,7 @@
|
||||
- For Homebrew: `brew install libimobiledevice libirecovery`
|
||||
- For MacPorts: `sudo port install libimobiledevice libirecovery`
|
||||
- The script will detect this automatically and will use the Homebrew/MacPorts versions of the tools
|
||||
- Windows users may encounter errors like `Unable to send APTicket` or `Unable to send iBEC` in the restore process. To fix this, [follow steps 1 to 5 here](https://github.com/m1stadev/futurerestore/tree/test#unable-to-send-ibec-error--8) then run the script again
|
||||
- **For A7 devices:**
|
||||
- Do not use USB-C to lightning cables as this can prevent a successful restore
|
||||
- ipwndfu is unfortunately very unreliable on Linux, you may have to try multiple times (Linux users may also try in a live USB)
|
||||
|
@ -6,11 +6,16 @@ iDeviceRestore() {
|
||||
mkdir shsh
|
||||
mv $SHSH shsh/${UniqueChipID}-${ProductType}-${OSVer}.shsh
|
||||
$idevicerestore -ewy $IPSWRestore.ipsw
|
||||
if [[ $platform == "macos" && $? != 0 ]]; then
|
||||
if [[ $? != 0 && $platform != "linux" ]]; then
|
||||
Log "An error seems to have occurred when running idevicerestore."
|
||||
Echo "* If this is the \"Killed: 9\" error or similar, try these steps:"
|
||||
Echo "* Using Terminal, cd to where the script is located, then run"
|
||||
Echo "* sudo codesign --sign - --force --deep resources/tools/idevicerestore_macos"
|
||||
if [[ $platform == "macos" ]]; then
|
||||
Echo "* If this is the \"Killed: 9\" error or similar, try these steps:"
|
||||
Echo "* Using Terminal, cd to where the script is located, then run"
|
||||
Echo "* sudo codesign --sign - --force --deep resources/tools/idevicerestore_macos"
|
||||
elif [[ $platform == "win" ]]; then
|
||||
Echo "* Windows users may encounter errors like \"Unable to send APTicket\" or \"Unable to send iBEC\" in the restore process."
|
||||
Echo "* To fix this, follow steps 1 to 5 here: https://github.com/m1stadev/futurerestore/tree/test#unable-to-send-ibec-error--8"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user