Can not install ubuntu usb drive

first step:

input the command

lsusb

Arrow pointing is connected to the phone

Step two:

Enter the command, and open a new file

sudo gedit  /etc/udev/rules.d/53-android.rules 

[Note] If you are prompted no gedit, you need to install, do not need to have installed.

sudo apt install gedit

 

third step:

Enter two lines to the open file:

The following is the first two figures of ID, FF18 hexadecimal, 65304 after the conversion is 10 hex

SUBSYSTEM=="usb", SYSFS{idVendor}=="2717", MODE="0666"   
SUBSYSTEM=="usb", ATTR{idVendor}=="2717", ATTR{idProduct}=="65304", SYMLINK+="android_adb"  

Then save the file, close it.

 

the fourth step:

In turn enter the following command

sudo chmod a+rx /etc/udev/rules.d/53-android.rules  
sudo /etc/init.d/udev restart  
sudo adb kill-server 
sudo adb devices

【note】

If prompted adb does not exist, then you need to install and then execute the command.

Adb install command is as follows:

sudo apt install android-tools-adb

 

After the configured phone can connect it to the Ubuntu system

 

Guess you like

Origin www.cnblogs.com/codeDevotee/p/11370537.html