mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-30 11:54:18 +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."
|
log "Pwned iBSS/kDFU mode specified by user."
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
elif [[ $irec_pwned == 1 && $device_proc == 7 ]]; then
|
elif [[ $irec_pwned == 1 ]]; then
|
||||||
if [[ $platform != "macos" ]]; then
|
case $device_proc in
|
||||||
device_ipwndfu rmsigchks
|
4 ) return;;
|
||||||
fi
|
7 )
|
||||||
return
|
if [[ $platform != "macos" ]]; then
|
||||||
|
device_ipwndfu rmsigchks
|
||||||
|
fi
|
||||||
|
return
|
||||||
|
;;
|
||||||
|
[89] | 10 )
|
||||||
|
log "gaster reset"
|
||||||
|
$gaster reset
|
||||||
|
return
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $device_proc == 5 ]]; then
|
if [[ $device_proc == 5 ]]; then
|
||||||
@ -1555,8 +1565,7 @@ device_enter_mode() {
|
|||||||
elif [[ $platform_arch == "arm64" ]]; then
|
elif [[ $platform_arch == "arm64" ]]; then
|
||||||
# A7 asi mac uses ipwnder_lite
|
# A7 asi mac uses ipwnder_lite
|
||||||
log "Placing device to pwnDFU mode using ipwnder_lite"
|
log "Placing device to pwnDFU mode using ipwnder_lite"
|
||||||
opt="${ipwnder}2 -p"
|
${ipwnder}2 -p
|
||||||
$opt
|
|
||||||
tool_pwned=$?
|
tool_pwned=$?
|
||||||
else
|
else
|
||||||
# A7 intel mac uses ipwnder32/ipwnder_lite
|
# A7 intel mac uses ipwnder32/ipwnder_lite
|
||||||
|
Loading…
Reference in New Issue
Block a user