0

I am trying to adb connect my smartphone via usb with a linux machine. But it fails.

  • adb devices show an empty list
  • adb usb tells me: device not found, while my usb devices is detected by dmesg
  • adb tcpip 5555 consequently cannot operate

What I can do, is:

  • plug it to a windows machine
  • enable wifi
  • enter adb tcpip 5555
  • then adb connect mydeviceip.

After that, and without unplugging, I can connect adb over wifi from the linux machine.

  • adb connect mydeviceip success

What can I do to restore the original behaviour and be able to connect over usb from the linux machine?

just notice that, when my device is adb wifi connected to the linux machine, adb usb success displaying: restarting in usb mode, but devices list is empty again. As soon as I adb tcpip 5555 and adb connect mydeviceip from windows machine, then adb connect mydeviceip success on my linux machine.

skyrail
  • 129
  • 1
  • 7
  • have you checked the access permissions for the usb devices per: https://stackoverflow.com/a/12664045/85472 ? – Maks Mar 19 '22 at 03:32

0 Answers0