ADB devices cannot display mobile devices under Ubuntu system

Source: Internet
Author: User

1. To view the USB device, command:Lsusb
The results are as follows:
Bus 001 Device 002:id 8087:0024 Intel Corp. Integrated rate Matching Hubbus 002 Device 002:id 8087:0024 Intel Corp. Inte Grated rate Matching Hubbus 001 device 001:id 1d6b:0002 Linux Foundation 2.0 root hubbus 002 Device 001:id 1d6b:0002 Lin UX Foundation 2.0 root hubbus 003 Device 001:id 1d6b:0002 Linux Foundation 2.0 root hubbus 004 Device 001:id 1d6b:0003 L Inux Foundation 3.0 root Hubbus 001 device 005:id 0cf3:3005 Atheros Communications, Inc. ar3011bluetoothbus 001 device 00 4:id 1bcf:2883 sunplus Innovation Technology Inc.bus 002 Device 003:id 17ef:6019 lenovobus 002 Device 007:id 2,717:9,039 most After a 2,717:9,309 is Millet 2,2717 is VendorID, 9309 is ProductID (Note: If you are not sure which device your phone is, you can unplug the USB cable again enter the LSUSB command, to compare and confirm which devices is their own mobile phone) 2. In/etc/udev/rules.d/ The following new70-android.rulesFiles, commandssudo gedit/etc/udev/rules.d/70-android.rulesIn the file, add:subsystem== "USB", attr{idvendor}== "2717", attrs{idproduct}== "9309", mode= "0666 "
(Note that this 70-android.rules file name can be arbitrarily named, such as 51-android.rules,52-android.rules is possible.) Be aware that punctuation is in English) 3. Give 70-android.rules permission, command:sudo chmod a+rx/etc/udev/rules.d/70-android.rules4. Restart the Udev service, command:sudo service udev restart5.sudo adb kill-serverAnd thensudo adb devicesIf the device is still not displayed, proceed to step 6th. 6. Command:echo "0x2717" > ~/.android/adb_usb.ini
7. Disconnect the phone and reconnect 8.sudo adb kill-serverAnd thensudo adb devices(generally successful, if the next connection is not connected again, just sudo adb kill-server, then sudo adb devices can display the device)

ADB devices cannot display mobile devices under Ubuntu system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.