Ubuntu under Android Real computer display???????????? No permissions final method (reprint)

Source: Internet
Author: User

First of all:

Open a terminal, enter LSUSB, you will see all USB devices currently connected to the computer, such as:

Bus 002 Device 003:id 046d:c06a Logitech, Inc.

Bus 002 Device 010:id 17ef:7533 Lenovo

The second one is my connected Lenovo phone.

Secondly:

Enter /ETC/UDEV/RULES.D below:

Open Terminal (ctrl+alt+t), enter root user, execute sudo gedit/etc/udev/rules.d/50-android.rules will create a new one in this directory

A 50-android.rules file, if the file already exists, create a new 51-android.rules file, and add the following statement to the file:

subsystem== "USB", sysfs{idvendor}== "17ef", mode= "0666"

One of the sysfs{idvendor}== "17ef" represents the Lenovo phone, if it is HTC, then replaced with 0bb4, all the phone USB ID as follows:

Company
USB Vendor ID
Acer 0502
ASUS 0b05
Dell 413c
Foxconn 0489
Fujitsu 04c5
Fujitsu Toshiba 04c5
Garmin-asus 091e
Google 18d1
Hisense 109b
Htc 0bb4
Huawei 12d1
K-touch 24e3
KT Tech 2116
Kyocera 0482
Lenovo 17ef
Lg 1004
Motorola 22b8
Nec 0409
Nook 2080
Nvidia 0955
Otgv 2257
Pantech 10a9
Pegatron 1d4d
Philips 0471
Pmc-sierra 04da
Qualcomm 05c6
SK Telesys 1f53
Samsung 04e8
Sharp 04dd
Sony 054c
Sony Ericsson 0fce
Teleepoch 2340
Toshiba 0930
ZTE 19d2

At last:

Save the 50-android.rules file; in the terminal (be sure to root user, otherwise you will be prompted?????? No permission), enter adb kill-server ,

Then enter the adb devices , you will see the phone USB:

List of devices attached

0123456789ABCDEF Device

You can use Eclipse to connect your phone for testing.

Ubuntu under Android Real computer display???????????? No permissions final method (reprint)

Related Article

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.