MiUnlockTool-Arch

MiUnlockTool

Version Apache 2.0 License Telegram Channel

Developed to retrieve encryptData(token)
for Xiaomi devices to unlock the bootloader.
Compatible with all platforms.


Error Codes Documentation

๐Ÿ“– 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

๐Ÿ“‹ Requirements

๐Ÿš€ Installation

Standard Installation

  1. Clone the repository:
    git clone https://github.com/rafliiar17/MiUnlockTool-Arch
    cd MiUnlockTool
    
  2. Set up virtual environment and install dependencies:
    python -m venv venv && source venv/bin/activate
    python -m pip install -r requirements.txt
    
  3. Make the script executable and run:
    chmod +x MiUnlockTool.py
    python MiUnlockTool.py
    

๐Ÿ“ฑ Usage

  1. Boot your Xiaomi device into fastboot/bootloader mode
  2. Connect your device to the computer via USB
  3. Run the MiUnlockTool script
  4. Follow the on-screen instructions
  5. Authenticate using your browser when prompted
  6. Wait for the unlocking process to complete

โš ๏ธ Important Notes

๐Ÿ†˜ Troubleshooting

Encountering errors? Check our comprehensive error codes documentation:

Error Codes

๐Ÿงช 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:

๐Ÿ“„ License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

๐Ÿ“ž Contact & Support

[![Telegram Channel](https://img.shields.io/badge/Join-Telegram_Channel-0088cc?style=for-the-badge&logo=telegram&logoColor=white)](https://t.me/Miunlock_Arch) [![GitHub Issues](https://img.shields.io/badge/Report-Issues-red?style=for-the-badge&logo=github&logoColor=white)](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.