๐ Overview
MiUnlockTool is a Python-based utility designed to unlock Xiaomi devices using browser session authentication. This tool simplifies the bootloader unlocking process by automating token retrieval and device communication.
โจ Features
- ๐ Automated bootloader unlocking process
- ๐ Browser-based authentication
- ๐ฅ๏ธ Cross-platform compatibility (Windows, Linux, macOS)
- โก Automatic platform-tools (fastboot) download
- ๐ฑ Support for all Xiaomi devices
๐ Requirements
- Python 3.6 or higher
- Platform-tools (fastboot) - automatically downloaded if not found
- Active Xiaomi account
- Device in bootloader/fastboot mode
๐ Installation
Standard Installation
- Clone the repository:
git clone https://github.com/rafliiar17/MiUnlockTool-Arch
cd MiUnlockTool
- Set up virtual environment and install dependencies:
python -m venv venv && source venv/bin/activate
python -m pip install -r requirements.txt
- Make the script executable and run:
chmod +x MiUnlockTool.py
python MiUnlockTool.py
๐ฑ Usage
- Boot your Xiaomi device into fastboot/bootloader mode
- Connect your device to the computer via USB
- Run the MiUnlockTool script
- Follow the on-screen instructions
- Authenticate using your browser when prompted
- Wait for the unlocking process to complete
โ ๏ธ Important Notes
- โก Unlocking the bootloader will erase all data on your device
- ๐ Ensure you have backed up important data before proceeding
- โฐ Some devices may have a waiting period before unlocking is allowed
- ๐ก๏ธ Unlocking may void your device warranty
๐ Troubleshooting
Encountering errors? Check our comprehensive error codes documentation:
๐งช Tested Environment
This tool has been successfully tested on:
| Component |
Specification |
| ๐ฅ๏ธ Operating System |
Linux 6.17.3-3-cachyos |
| ๐ Python Version |
Python 3.13.7 |
| ๐ฑ Test Device |
Redmi Note 8 4/64 (GINKGO) |
| ๐ค Tester |
@rafliiar17 |
โ
Status: Confirmed working on the above configuration
๐ค Contributing
Contributions are welcome! Feel free to:
- ๐ Report bugs
- ๐ก Suggest new features
- ๐ง Submit pull requests
- ๐ Improve documentation
๐ License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
[](https://t.me/Miunlock_Arch)
[](https://github.com/rafliiar17/MiUnlockTool-Arch/issues)
Made with โค๏ธ for the Xiaomi community
โ ๏ธ Use at your own risk. The developers are not responsible for any damage to your device.