mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
wait normal if semi-tethered
This commit is contained in:
1 parent
48cfe93842
commit
d53b023418
1 file changed
+8
-3
+8
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user