francescotescari / XiaoMiToolV2

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

Not discovered when in fastboot #16

Closed tsoernes closed 3 years ago

tsoernes commented 3 years ago

I'm using XMT2_Linux_20.7.28.run. I connected the devices, asked for modifications and the phone was rebooted into fastboot. Now it is no longer discovered by XiaoMiTool. I've tried rebooting both my computer and the phone.

The old V1 version is able to find the phone, but will not unlock it:

[21:10:19][INFO  ] Starting login procedure
[21:10:24][INFO  ] Login procedure succeeded
[21:10:24][INFO  ] Checking account unlock permission
[21:10:27][INFO  ] Unlock permission confirmed
[21:10:27][INFO  ] Waiting for a fastboot device
[21:10:27][INFO  ] Device connected: y57livz9wws8mnor
[21:10:27][INFO  ] Obtaining device info...
[21:10:27][INFO  ] Device info obtained
[21:10:27][INFO  ] Checking if unlock will erase data and server message
[21:10:30][INFO  ] Unlock procedure will not erase userdata
[21:10:30][INFO  ] Server message: The version of your tool is low and there may be a security risk. Please upgrade it right now!
[21:10:30][INFO  ] Querying unlock server for unlock key
[21:10:33][ERROR ] Unlock request replied with error code 20035
[21:10:33][ERROR ] Error meaning: Please download the latest version

fastboot is able to find the phone:

sudo fastboot devices    
y57livz9wws8mnor    fastboot

It's an Redmi Note 8 Pro and I'm using Fedora 32 with fastboot version c7815d675.

tsoernes commented 3 years ago

This was solved by running the tool with sudo