mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +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..."
|
||||
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"
|
||||
}
|
||||
|
||||
@ -502,6 +503,7 @@ EnterPwnREC() {
|
||||
sleep 3
|
||||
FindDevice "Recovery" timeout
|
||||
[[ $? == 0 ]] && break
|
||||
Echo "* You may also try to unplug and replug your device"
|
||||
((Attempt++))
|
||||
done
|
||||
|
||||
|
@ -45,11 +45,13 @@ FutureRestore() {
|
||||
cd ..
|
||||
fi
|
||||
|
||||
if [[ $DeviceProc == 7 && $platform != "win" ]]; then
|
||||
# Send dummy file for device detection
|
||||
$irecovery -f README.md
|
||||
sleep 2
|
||||
if [[ $DeviceProc == 7 ]]; then
|
||||
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
|
||||
ExtraArgs+=("--no-ibss")
|
||||
fi
|
||||
|
@ -383,7 +383,7 @@ IPSW64() {
|
||||
cd $IPSW
|
||||
zip -rq0 ../$IPSWCustom.ipsw *
|
||||
cd ..
|
||||
mv $IPSW $IPSWCustom
|
||||
mv $IPSW/ $IPSWCustom/
|
||||
|
||||
if [[ ! -e $IPSWCustom.ipsw ]]; then
|
||||
Error "Failed to find custom IPSW. Please run the script again"
|
||||
|
Loading…
Reference in New Issue
Block a user