mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +01:00
Even more pwnDFU changes
this should be the last one fr this time
This commit is contained in:
parent
fbb3583201
commit
ec8a7bfb0c
23
restore.sh
23
restore.sh
@ -1466,11 +1466,21 @@ device_enter_mode() {
|
||||
log "Pwned iBSS/kDFU mode specified by user."
|
||||
return
|
||||
fi
|
||||
elif [[ $irec_pwned == 1 && $device_proc == 7 ]]; then
|
||||
if [[ $platform != "macos" ]]; then
|
||||
device_ipwndfu rmsigchks
|
||||
fi
|
||||
return
|
||||
elif [[ $irec_pwned == 1 ]]; then
|
||||
case $device_proc in
|
||||
4 ) return;;
|
||||
7 )
|
||||
if [[ $platform != "macos" ]]; then
|
||||
device_ipwndfu rmsigchks
|
||||
fi
|
||||
return
|
||||
;;
|
||||
[89] | 10 )
|
||||
log "gaster reset"
|
||||
$gaster reset
|
||||
return
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
if [[ $device_proc == 5 ]]; then
|
||||
@ -1555,8 +1565,7 @@ device_enter_mode() {
|
||||
elif [[ $platform_arch == "arm64" ]]; then
|
||||
# A7 asi mac uses ipwnder_lite
|
||||
log "Placing device to pwnDFU mode using ipwnder_lite"
|
||||
opt="${ipwnder}2 -p"
|
||||
$opt
|
||||
${ipwnder}2 -p
|
||||
tool_pwned=$?
|
||||
else
|
||||
# A7 intel mac uses ipwnder32/ipwnder_lite
|
||||
|
Loading…
Reference in New Issue
Block a user