wait normal if semi-tethered

This commit is contained in:
Nebula authored and GitHub committed 2022-11-14 09:52:57 -05:00
1 parent 48cfe93842
commit d53b023418
1 file changed
+8 -3
+8 -3
View File
@@ -484,8 +484,13 @@ if [ ! -f blobs/"$deviceid"-"$version".shsh2 ]; then
sleep 1
_kill_if_running iproxy
if [ "$1" = "--tweaks" ]; then
_wait recovery
if [[ "$@" == *"--semi-tethered"* ]]; then
sleep 5
_wait normal
sleep 2
echo "[*] Switching device into recovery mode..."
"$dir"/ideviceenterrecovery $(_info normal UniqueDeviceID)
else
sleep 5
_wait normal
@@ -493,8 +498,8 @@ if [ ! -f blobs/"$deviceid"-"$version".shsh2 ]; then
echo "[*] Switching device into recovery mode..."
"$dir"/ideviceenterrecovery $(_info normal UniqueDeviceID)
_wait recovery
fi
_wait recovery
sleep 10
_dfuhelper
sleep 2