Skip to content

Commit 1be888c

Browse files
authored
attempt workaround pwning issues with a4/a6 devices on intel macs
- ideally, primepwn will be updated for a4 intel mac, and belladonna will be used for a6. but for now, this will do - as of this commit: ipwnder will be used on both a4 and a6 on intel macs
1 parent 6bd3670 commit 1be888c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

restore.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2104,11 +2104,12 @@ device_enter_mode() {
21042104
tool_pwned=$?
21052105
log "gaster reset"
21062106
$gaster reset
2107-
elif [[ $device_proc == 6 && $platform == "macos" && $platform_arch == "x86_64" ]]; then
2107+
#elif [[ $device_proc == 6 && $platform == "macos" && $platform_arch == "x86_64" ]]; then
21082108
# A6 intel mac use ipwndfu
2109-
device_ipwndfu
2110-
tool_pwned=$?
2111-
elif [[ $device_proc == 6 || $device_type == "iPhone2,1" || $device_type == "iPod3,1" ]]; then
2109+
#device_ipwndfu
2110+
#tool_pwned=$?
2111+
elif [[ $device_proc == 4 && $platform == "macos" ]] ||
2112+
[[ $device_proc == 6 || $device_type == "iPhone2,1" || $device_type == "iPod3,1" ]]; then
21122113
# A6/3gs/touch 3 use ipwnder32 libusb
21132114
log "Placing device to pwnDFU mode using ipwnder"
21142115
print "* If pwning fails and gets stuck, you can press Ctrl+C to cancel, then re-enter DFU and retry."

0 commit comments

Comments
 (0)