Fix checkm8-a5 iBSS

fixed by sending unpacked ibss instead of repacked img3
This commit is contained in:
LukeZGD 2023-09-17 13:26:13 +08:00
parent 706c832c3b
commit 8e68bb90b9

View File

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