From 62fbda54bbd3514756f1b8055e429cb5e08eeb69 Mon Sep 17 00:00:00 2001 From: LukeeGD <26163116+LukeZGD@users.noreply.github.com> Date: Mon, 23 Oct 2023 10:10:27 +0800 Subject: [PATCH] use ipwndfu for a4 linux to use shatter instead of limera1n --- restore.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/restore.sh b/restore.sh index 467b763..b381eca 100755 --- a/restore.sh +++ b/restore.sh @@ -1178,16 +1178,16 @@ device_enter_mode() { tool_pwned=$? $gaster reset elif [[ $device_type == "iPod2,1" ]]; then - # ipod touch 2g uses ipwndfu + # touch 2 uses ipwndfu device_ipwndfu pwn elif [[ $platform == "linux" ]]; then - if [[ $device_proc == 4 ]]; then - # A4 linux uses ipwnder + if [[ $device_type == "iPhone2,1" || $device_type == "iPod3,1" ]]; then + # 3gs/touch 3 linux uses ipwnder log "Placing device to pwnDFU mode using ipwnder" $ipwnder -p tool_pwned=$? - elif [[ $device_proc == 6 ]]; then - # A6 linux uses ipwndfu + elif [[ $device_proc == 4 || $device_proc == 6 ]]; then + # A4/A6 linux uses ipwndfu device_ipwndfu pwn else # A7 linux uses gaster