From 6ec164d5bd2e690ccbf2fc5fa83593b281595821 Mon Sep 17 00:00:00 2001 From: LukeeGD <26163116+LukeZGD@users.noreply.github.com> Date: Sat, 12 Apr 2025 11:36:53 +0800 Subject: [PATCH] fix irecovery device check on ipwndfu send_ibss --- restore.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index 4028102..c80bf8e 100755 --- a/restore.sh +++ b/restore.sh @@ -2159,7 +2159,8 @@ device_ipwndfu() { fi print "* ipwndfu should have \"done!\" as output. If not, sending iBEC will fail." sleep 1 - device_pwnd="$($irecovery -q | grep "PWND" | cut -c 7-)" + log "Checking for device" + device_pwnd="$($irecovery3 -q | grep "PWND" | cut -c 7-)" if [[ -z $device_pwnd ]]; then log "Device should now be in pwned iBSS mode." else