francescotescari / XiaoMiToolV2

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

A way to transfer authentication data from official tool or browser to XMT2? #58

Open beefmode opened 2 years ago

beefmode commented 2 years ago

This has to do with unlocking the bootloader on my Xiaomi phone.

While solving the issue of the invisible CAPTCHA (#56), I've run into another one. The SMS code required to login using the new URL (patched line 39, #23) never arrives. This only happens in XMT2, both the official tool and my browser (Firefox latest) work just fine using the same link formed with a locale=en.

Where and how does XMT2 store the login credentials I need to unlock my phone? I'd like to manually bypass the authentication process and just supply everything necessary to the later adb & fastboot steps, if there's such a way.