francescotescari / XiaoMiToolV2

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

Linux fastboot error #13

Open MBARESERRA opened 3 years ago

MBARESERRA commented 3 years ago

after i select the device in xmt, the phone reboot in fastboot but xmt doesn't find any device.

flozzone commented 3 years ago

You could try to install thefastboot package of your Linux distribution, which should install the required udev rules for the required USB devices to work properly with fastboot. After installing you should make sure new rules are loaded with udevadm control --reload-rules && udevadm trigger¹ and unplug and replug your device.

¹ https://unix.stackexchange.com/questions/39370/how-to-reload-udev-rules-without-reboot

fenuks commented 3 years ago

I have the same problem. USB debugging is enabled, OEM unlocking as well. XMT reboots phone into fastboot mode, and afterwards cannot detect it, although by running fastboot devices I can see it. I'm using Arch Linux, and android-tools package from community repository.

steewbsd commented 3 years ago

I will add my two cents: fastboot only detects my devices if running as root.