Skip to content

topminipie/XiaoMiToolV2

 
 

Repository files navigation

XiaomiToolV2 Fork

CI License

Source code of Xiaomi bootloader unlocking tool.

Other tools to unlock bootloader Xiaomi devices - Awesome Xiaomi Bootloader Unlock

State of the project

  • The original XiaomiToolV2 is abandoned and it needed a small correction to make it run on linux.

Unlock BootLoader

This fork of XiaoMiTool V2 - WORKS (Tested on a real device - 09.12.2023)

Read wiki.

Building and Running

  1. Install Java 17:

Ubuntu

sudo apt install openjdk-17-jdk git

Fedora

sudo dnf install java-17-openjdk-devel git
  1. Download this repo:
git clone https://github.com/topminipie/XiaoMiToolV2.git && cd XiaoMiToolV2

or

wget https://github.com/topminipie/XiaoMiToolV2/archive/refs/heads/main.zip && cd XiaoMiToolV2
  1. Build:
./gradlew build
  1. Run:
chmod +x ./res/tools/lin/adb
chmod +x ./res/tools/lin/fastboot
./gradlew run
  1. Ignore update notifications.

  2. Unlock BootLoader

Credits

XiaoMiToolV2 Original

XiaoMiToolV2 Fork 1

XiaoMiToolV2 Fork 2

Pull Request 1

Pull Request 2