mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 18:34:14 +01:00
More fixes
should be the last of them bugs? hopefully.
This commit is contained in:
parent
0518314aac
commit
5a1461b3df
@ -376,6 +376,7 @@ kDFU() {
|
|||||||
|
|
||||||
Log "Entering kDFU mode..."
|
Log "Entering kDFU mode..."
|
||||||
Echo "* Press TOP or HOME button when the device disconnects and its screen goes black"
|
Echo "* Press TOP or HOME button when the device disconnects and its screen goes black"
|
||||||
|
Echo "* You may also try to unplug and replug your device"
|
||||||
FindDevice "DFU"
|
FindDevice "DFU"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -502,6 +503,7 @@ EnterPwnREC() {
|
|||||||
sleep 3
|
sleep 3
|
||||||
FindDevice "Recovery" timeout
|
FindDevice "Recovery" timeout
|
||||||
[[ $? == 0 ]] && break
|
[[ $? == 0 ]] && break
|
||||||
|
Echo "* You may also try to unplug and replug your device"
|
||||||
((Attempt++))
|
((Attempt++))
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -45,11 +45,13 @@ FutureRestore() {
|
|||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $DeviceProc == 7 && $platform != "win" ]]; then
|
if [[ $DeviceProc == 7 ]]; then
|
||||||
# Send dummy file for device detection
|
|
||||||
$irecovery -f README.md
|
|
||||||
sleep 2
|
|
||||||
ExtraArgs+=("-s" "$IPSWRestore/Firmware/all_flash/$SEP" "-m" "$BuildManifest")
|
ExtraArgs+=("-s" "$IPSWRestore/Firmware/all_flash/$SEP" "-m" "$BuildManifest")
|
||||||
|
if [[ $platform != "win" ]]; then
|
||||||
|
# Send dummy file for device detection
|
||||||
|
$irecovery -f README.md
|
||||||
|
sleep 2
|
||||||
|
fi
|
||||||
elif [[ $SendiBSS != 1 ]]; then
|
elif [[ $SendiBSS != 1 ]]; then
|
||||||
ExtraArgs+=("--no-ibss")
|
ExtraArgs+=("--no-ibss")
|
||||||
fi
|
fi
|
||||||
|
@ -383,7 +383,7 @@ IPSW64() {
|
|||||||
cd $IPSW
|
cd $IPSW
|
||||||
zip -rq0 ../$IPSWCustom.ipsw *
|
zip -rq0 ../$IPSWCustom.ipsw *
|
||||||
cd ..
|
cd ..
|
||||||
mv $IPSW $IPSWCustom
|
mv $IPSW/ $IPSWCustom/
|
||||||
|
|
||||||
if [[ ! -e $IPSWCustom.ipsw ]]; then
|
if [[ ! -e $IPSWCustom.ipsw ]]; then
|
||||||
Error "Failed to find custom IPSW. Please run the script again"
|
Error "Failed to find custom IPSW. Please run the script again"
|
||||||
|
Loading…
Reference in New Issue
Block a user