Skip to content

Commit

Permalink
Fix checkm8-a5 iBSS
Browse files Browse the repository at this point in the history
fixed by sending unpacked ibss instead of repacked img3
  • Loading branch information
LukeZGD committed Sep 17, 2023
1 parent 706c832 commit 8e68bb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,7 @@ device_ipwndfu() {

if [[ $1 == "send_ibss" ]]; then
patch_ibss
cp pwnediBSS.dfu ../resources/ipwndfu/
cp pwnediBSS ../resources/ipwndfu/
fi

device_enter_mode DFU
Expand All @@ -1319,9 +1319,9 @@ device_ipwndfu() {
case $1 in
"send_ibss" )
log "Sending iBSS..."
$python2 ipwndfu -l pwnediBSS.dfu
$python2 ipwndfu -l pwnediBSS
tool_pwned=$?
rm pwnediBSS.dfu
rm pwnediBSS
if [[ $tool_pwned != 0 ]]; then
popd >/dev/null
error "Failed to send iBSS. Your device has likely failed to enter PWNED DFU mode." \
Expand Down

0 comments on commit 8e68bb9

Please sign in to comment.