Closed xqneko closed 3 months ago
I have the same issue on a Redmi Note 13R 5G.
The ACK is received correctly, but then no response. The offsets in the payload are correct, I've checked.
It seems the device stops responding right after the ACK. Maybe something is wrong with the handshake?
I found the issue. There was a regression with the following commit:
https://github.com/bkerler/mtkclient/commit/9e54803fb5b6cb34842bcf95aaeb5d4a2e7df5ea
Specifically, run_handshake
was mistakenly replaced with handshake
.
Fixing that will make it work again, I verified it.
Ping @bkerler @AgentFabulous
thx @pewterbrass. I just wrote a patch, can you test it ?
@bkerler This is exactly what I tested yesterday, and all works fine now. The payload got stuck at the handshake and the DA seemed to stop responding before this, since calling handshake only runs run_handshake once, and this is already done just at the start of execution.
My bad, it’s fixed as of https://github.com/bkerler/mtkclient/commit/54cd6583523e6983bcb53034ca6d25365c472b3c
Ok, then I assume we can close the issue now.
Here's the output of mtkclient running run.example. Please help. If further information is needed, please let me know. Thank you so much!