francescotescari / XiaoMiToolV2

XiaomiTool V2 - Modding tool for xiaomi devices
https://www.xiaomitool.com
Apache License 2.0
627 stars 123 forks source link

Code links for fastboot bootloader unlocking #34

Open space22k opened 2 years ago

space22k commented 2 years ago

Get unlock encrypt key from xiaomi

https://github.com/francescotescari/XiaoMiToolV2/blob/de785f157f32631106e1102642f6103d93a04f1e/src/main/java/com/xiaomitool/v2/procedure/install/FastbootInstall.java#L214

Moment of truth, the unlock command

https://github.com/francescotescari/XiaoMiToolV2/blob/de785f157f32631106e1102642f6103d93a04f1e/src/main/java/com/xiaomitool/v2/adb/FastbootCommons.java#L142

Anyone has interest of writing a simple python script to rescue us from jdk dependency, macOS permission problems?

We just need a little script to get the encrypt data from xiaomi, then we can run the command manually on linux and macOS

HuimingChu commented 2 years ago

Is now the problem solved?

HuimingChu commented 2 years ago

I just have some files from official dev.