use ipwndfu for a4 linux

to use shatter instead of limera1n
This commit is contained in:
LukeeGD 2023-10-23 10:10:27 +08:00
parent 5c5a90fe8b
commit 62fbda54bb

View File

@ -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