RohitVerma882 / termux-miunlock

A program that can be used to retrieve the bootloader unlock token for Xiaomi devices. (and unlock the bootloader) using Termux
Apache License 2.0
440 stars 74 forks source link

Stuck on last command #53

Open prakash1763 opened 3 months ago

prakash1763 commented 3 months ago

I entered this command: mi-fastboot oem-unlock "UNLOCK_TOKEN" and stuck, nothing happens

IMG_20240404_074244_791

prakash1763 commented 3 months ago

Previously I had requested to get an unlock token and I had to wait 6 days.

After 6 days I opened Termux again: cd termux-miunlock mi-fastboot devices [my device is detected] ./get_token.sh --region=global --product=PRODUCT --token=TOKEN DATA I got the unlock token. Then I used the last command mi-fastboot oem-unlock "UNLOCK_TOKEN" and stuck on Sending 'token' (0 KB) like in the screenshot (that's a screenshot from my friend and I having the same problem).

RohitVerma882 commented 3 months ago

Try echo "UNLOCK_TOKEN" | xxd -r -p > token.bin then mi-fastboot stage token.bin && mi-fastboot oem unlock

prakash1763 commented 3 months ago

Try echo "UNLOCK_TOKEN" | xxd -r -p > token.bin then mi-fastboot stage token.bin && mi-fastboot oem unlock

I've tried it and it's still stuck