mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-01-11 15:59:08 +01:00
Update ipwnder to attempt fix #244
This commit is contained in:
parent
c74c380d05
commit
ecfd71c851
Binary file not shown.
10
restore.sh
10
restore.sh
@ -760,7 +760,9 @@ device_enter_mode() {
|
|||||||
clean_and_exit
|
clean_and_exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $device_mode == "DFU" && $mode != "pwned-ibss" ]] && (( device_proc < 7 )); then
|
if [[ $device_proc == 4 ]]; then
|
||||||
|
print "* Note that kDFU mode will NOT work for iPhone4Down downgrades!"
|
||||||
|
elif [[ $device_mode == "DFU" && $mode != "pwned-ibss" ]] && (( device_proc < 7 )); then
|
||||||
read -p "$(input 'Is your device already in pwned iBSS/kDFU mode? (y/N): ')" opt
|
read -p "$(input 'Is your device already in pwned iBSS/kDFU mode? (y/N): ')" opt
|
||||||
if [[ $opt == "Y" || $opt == "y" ]]; then
|
if [[ $opt == "Y" || $opt == "y" ]]; then
|
||||||
log "Pwned iBSS/kDFU mode specified by user."
|
log "Pwned iBSS/kDFU mode specified by user."
|
||||||
@ -788,8 +790,12 @@ device_enter_mode() {
|
|||||||
if [[ $device_proc == 6 && $platform != "macos" ]]; then
|
if [[ $device_proc == 6 && $platform != "macos" ]]; then
|
||||||
device_ipwndfu pwn
|
device_ipwndfu pwn
|
||||||
else
|
else
|
||||||
|
opt=-p
|
||||||
|
if [[ $platform == "macos" ]]; then
|
||||||
|
opt=
|
||||||
|
fi
|
||||||
log "Placing device to pwnDFU mode using ipwnder"
|
log "Placing device to pwnDFU mode using ipwnder"
|
||||||
$ipwnder -p
|
$ipwnder $opt
|
||||||
tool_pwned=$?
|
tool_pwned=$?
|
||||||
fi
|
fi
|
||||||
irec_pwned=$($irecovery -q | grep -c "PWND")
|
irec_pwned=$($irecovery -q | grep -c "PWND")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user