Open nazarewk opened 1 year ago
update: mi flash tool is still quite useful even if I had to unlock from (official app) inside Windows VM
hey i was trying to compile this for windows but it wasant working, do u mind sending me some bins?
I did not build it for Windows:
This is most likely caused by the official Xiaomi unlock tool getting updated, but this tool still presenting itself as an old version.
this pr, work for me. thanks
https://github.com/jk2K/XiaoMiToolV2/tree/mac
branch mac
for mac m1
build.gradle.kts
- id("org.openjfx.javafxplugin") version "0.0.9"
+ id("org.openjfx.javafxplugin") version "0.0.13"
...
javafx {
- version = "19.0.2.1"
+ version = "20.0.1"
modules = listOf("javafx.controls", "javafx.fxml", "javafx.web", "javafx.swing")
}
gradle/wrapper/gradle-wrapper.properties
- distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
+ distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
@jk2K Hello, is it still working?
looks like the tool can be declared officially dead, even though I got it to login with QR code scanner (top-right corner before putting your username & password in) Xiaomi Server denied the request to unlock device.UPDATE: it is still very useful for flashing and recovering dead devices.
https://github.com/francescotescari/XiaoMiToolV2/pull/41 - login URL fix https://github.com/francescotescari/XiaoMiToolV2/pull/94 - Use CookieManager from javafx https://github.com/francescotescari/XiaoMiToolV2/pull/67 - update JavaFX to show captcha properly
finishes with :