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
490 stars 80 forks source link

server returned error 20045 #2

Closed ahmad24shargh closed 1 year ago

ahmad24shargh commented 1 year ago

Hello Xiaomi server says: use common official tool Screenshot_20230813-120432_Termux

RohitVerma882 commented 1 year ago

Try to change tool region using get_token.sh --region=<region> ...

RohitVerma882 commented 1 year ago

Use get_token.sh --help for more info

RohitVerma882 commented 1 year ago

I have tested this tool on 1-2 devices, if it will work then also tell us.

ahmad24shargh commented 1 year ago

Thank you it worked My phone is Redmi note 12 4g with code name tapas and global ROM. By adding --region=global ..... In termux, the xxd command is not installed by default. I installed it with the following command. pkg install vim-python .... Screenshot_20230813-132532_Termux_014817 Screenshot_20230813-133045_Termux_014821 Screenshot_2023-08-13-13-46-29-742_com android settings

RohitVerma882 commented 1 year ago

Have you unlocked this device for the first time?

ahmad24shargh commented 1 year ago

Yes I just bought it 2 weeks ago I ignored the 18-month warranty. I can only work with a rooted phone. ... I have to go install kernelsu

IamBebi commented 6 months ago

Mulțumesc că a funcționat Telefonul meu este Redmi note 12 4g cu nume de cod tapas și ROM global. Prin adăugarea --region=global ..... În termux, comanda xxd nu este instalată implicit. L-am instalat cu următoarea comandă. pkg instalează vim-python .... Captură de ecran_20230813-132532_Termux_014817 Captură de ecran_20230813-133045_Termux_014821 Captură de ecran_2023-08-13-13-46-29-742_com setări Android

I have the same phone model and it doesn't work, please help. how did you do

IamBebi commented 6 months ago

Screenshot_20240224_020438_Termux

kurtdavidlol commented 6 months ago

IMG_20240227_184028 IMG_20240227_184044 IMG_20240227_184056 Screenshot_2024-02-27-18-39-59-120_com android settings the instructions is literally right there. you have to add your mi account in settings > developer options > mi unlock status.. if you don't have a mi account already create one. keep in mind you have to enable developer options first or else it's just completely hidden