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=$? tool_pwned=$?
$gaster reset $gaster reset
elif [[ $device_type == "iPod2,1" ]]; then elif [[ $device_type == "iPod2,1" ]]; then
# ipod touch 2g uses ipwndfu # touch 2 uses ipwndfu
device_ipwndfu pwn device_ipwndfu pwn
elif [[ $platform == "linux" ]]; then elif [[ $platform == "linux" ]]; then
if [[ $device_proc == 4 ]]; then if [[ $device_type == "iPhone2,1" || $device_type == "iPod3,1" ]]; then
# A4 linux uses ipwnder # 3gs/touch 3 linux uses ipwnder
log "Placing device to pwnDFU mode using ipwnder" log "Placing device to pwnDFU mode using ipwnder"
$ipwnder -p $ipwnder -p
tool_pwned=$? tool_pwned=$?
elif [[ $device_proc == 6 ]]; then elif [[ $device_proc == 4 || $device_proc == 6 ]]; then
# A6 linux uses ipwndfu # A4/A6 linux uses ipwndfu
device_ipwndfu pwn device_ipwndfu pwn
else else
# A7 linux uses gaster # A7 linux uses gaster