From 3bfe414ab2f999dc79360e75c4f4f0d3148da954 Mon Sep 17 00:00:00 2001 From: LukeeGD <26163116+LukeZGD@users.noreply.github.com> Date: Mon, 10 Feb 2025 15:56:43 +0800 Subject: [PATCH] only use ipwndfu for alloc8 --- restore.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/restore.sh b/restore.sh index f006bc6..35ace69 100755 --- a/restore.sh +++ b/restore.sh @@ -1897,7 +1897,7 @@ device_enter_mode() { tool_pwned=$? log "gaster reset" $gaster reset - elif [[ $device_type == "iPod2,1" || $mode == "device_alloc8" ]]; then + elif [[ $device_type == "iPod2,1" || $2 == "alloc8" ]]; then # touch 2 uses ipwndfu # also installing alloc8 requires pwning with ipwndfu device_ipwndfu pwn @@ -8717,7 +8717,7 @@ device_ssh() { } device_alloc8() { - device_enter_mode pwnDFU + device_enter_mode pwnDFU alloc8 device_ipwndfu alloc8 log "Done!" print "* This may take several tries. It can fail a lot with \"Operation timed out\" error."