MiUnlockTool
No description available
Install / Use
/learn @Gtajisan/MiUnlockToolREADME
<div align="center">
Unlock Bootloader For Xiaomi
MiUnlockTool developed to retrieve encryptData(token) for Xiaomi devices to unlock bootloader.
It is compatible with all platforms.
</div>Version 1.4.8:
- Make the installation method easier, just download and run the file, it will take care of the rest.
- Other improvements
Version 1.4.9:
- Improvements and fixes
Version 1.5.0:
- un-lock has been restructured and rebuilt.
- Improved and reduced un-lock size.
- un-lock is now compatible with all operating systems.
- Resolved the "securityStatus16" issue and fixed other problems.
Version 1.5.0 (Update):
- Deleted
cmd getvar allindef CheckBand replaced it withgetvar tokenandgetvar product. - In case of failure to obtain
deviceTokenandproduct, added a step to enter them manually. - Other improvements
Version 1.5.0 (Update):
- Simplified cookie extraction for concise code.
- Streamlined URL determination for better clarity based on the geographical region.
- Specified "https" directly in the
Urlconstructor for secure communication and improved clarity. - Deleted requests to "/api/v3/unlock/userinfo" and "/api/v2/unlock/device/clear" to reduce code size as they are not currently important.
- Adjusted message formatting for enhanced readability.
- Changed
cmd = "tfastboot"tocmd = "fastboot". Also, removedadb.
Tool name update: "un-lock" is now "MiUnlockTool".
Version 1.5.0 (Update):
- Minor bug fix
- Add command (cmd, "oem", "get_token")
- In the event of failure to obtain the device token, the user will be asked to enter it manually
- Other improvements
Version 1.5.0 (Update):
- When 2 or more tokens are obtained via the festboot oem get_token .. tool will now merge them automatically
Installation:
For Mac, Windows, Linux:
- Install Python3.
- Download MiUnlockTool and run it.
For Android:
- Install Termux for ARM64, armeabi, or Universal.
- Install Termux API.
- From Termux command line:
termux-setup-storage
yes | pkg install python3
curl -O https://raw.githubusercontent.com/Gtajisan/MiUnlockTool/master/MiUnlockTool.py && python MiUnlockTool.py
