Home > Mobile >  Virtualbox in adb root after the adb devices equipment couldn't find it
Virtualbox in adb root after the adb devices equipment couldn't find it

Time:09-17

Environment: virtualbox ubuntu18.04

At the beginning of the Android USB link normal adb devices can see the device number,
But after the execution of the adb root the adb devices display is not set, check virtualbox USB link, display equipment link to normal
Lsusb after the information displayed is also normal,
The USB connection plug, the adb devices can see equipment normal again, and equipment already in root,

Excuse me, how to solve the problem, every time plug USB cables is too much trouble,
Thank you very much!

CodePudding user response:

HHC @ HHC - VirtualBox:/sys/bus/usb/drivers/$adb usb devices
The List of devices attached
9 f454a55 device

HHC @ HHC - VirtualBox:/sys/bus/usb/drivers/usb $lsusb - t
/: Bus 02. Port 1:1, Dev Class=root_hub, Driver=ohci - pci/12 p, 12 m
| __ the Port 1: Dev 2, If 0, Class=the Human Interface Device, Driver=usbhid, 12 m
| __ the Port 2:3, Dev If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12 m
| __ the Port 2:3, Dev If 1, Class=Vendor Specific Class, Driver=ftdi_sio, 12 m
/: Bus 01. Port 1:1, Dev Class=root_hub, Driver=ehci - pci/12 p, 480 m
| __ the Port 1:15, Dev If 0, Class=Vendor Specific Class, Driver=usbfs, 480 m
HHC @ HHC - VirtualBox:/sys/bus/usb/drivers/usb $echo '1-1 | sudo tee/sys/bus/usb/drivers/usb/unbind
1-1
HHC @ HHC - VirtualBox:/sys/bus/usb/drivers/usb $lsusb - t
/: Bus 02. Port 1:1, Dev Class=root_hub, Driver=ohci - pci/12 p, 12 m
| __ the Port 1: Dev 2, If 0, Class=the Human Interface Device, Driver=usbhid, 12 m
| __ the Port 2:3, Dev If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12 m
| __ the Port 2:3, Dev If 1, Class=Vendor Specific Class, Driver=ftdi_sio, 12 m
/: Bus 01. Port 1:1, Dev Class=root_hub, Driver=ehci - pci/12 p, 480 m
HHC @ HHC - VirtualBox:/sys/bus/usb/drivers/usb $echo '1-1 | sudo tee/sys/bus/usb/drivers/usb/bind
1-1
HHC @ HHC - VirtualBox:/sys/bus/usb/drivers/usb $lsusb - t
/: Bus 02. Port 1:1, Dev Class=root_hub, Driver=ohci - pci/12 p, 12 m
| __ the Port 1: Dev 2, If 0, Class=the Human Interface Device, Driver=usbhid, 12 m
| __ the Port 2:3, Dev If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12 m
| __ the Port 2:3, Dev If 1, Class=Vendor Specific Class, Driver=ftdi_sio, 12 m
/: Bus 01. Port 1:1, Dev Class=root_hub, Driver=ehci - pci/12 p, 480 m
| __ the Port 1:15, Dev If 0, Class=Vendor Specific Class, Driver=480 m
HHC @ HHC - VirtualBox:/sys/bus/usb/drivers/$adb usb devices
The List of devices attached
  • Related