You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
You can I guess. mi-fastboot for Android is fastboot for Linux / PC. you can emulate the apk
I tried running this on linux, it worked for the most part until the last command, the first command resulted in "fast boot is already installed" , using fastboot in place of the last command where mi-fastboot is needed fails because it presumably makes a call to xiaomi's servers
You can do it with pc.. You just need a cellphone to get the unlock token.
Step:
1- Install adb driver on your PC.
2- Enable USB debugging on the target phone.
3- Connect your phone using USB Cable.
4- Install the termux apk and set it up by following the instructions on this repository. (Only the installation step).
5- Install the account.apk on the target phone and login and copy the DATA once logged in.
6- Transfer the DATA you copied into the cellphone where you installed the termux since it's needed to get the unlock token.
7-Open terminal or CMD on your PC and type "adb reboot fastboot" to reboot your phone into fastboot mode.
8- Now, type "fastboot getvar product" and "fastboot getvar token"
9-Copy the token you get on the CMD into the phone where the termux is installed.
10-Now, type in the termux the command: ./get_token.sh --region=REGION --product=PRODUCT --token=TOKEN DATA
11-Once you receive the unlock token, type in the terminal or CMD on your PC: fastbooot oem unlock <your_unlock_token>
NOTE: DO NOT REBOOT THE DEVICE ONCE YOU ENTER FASTBOOT MODE. THIS WILL RESET THE TOKEN
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I would like to run this script on my PC sicne everything else isn't working, I was wondering if it was possible and if it is how?
The text was updated successfully, but these errors were encountered: