Ubuntu under the ADB command is not available

Source: Internet
Author: User

Today, when you debug your phone, there is an error executing adb root

Error:insufficient Permissions for device

Whether it's changing the data cable or restarting the phone is not useful,

After Baidu a bit, finally found a solution

First execute the LSUSB command

Then find the record of your linked phone, such as

Bus 001 Device 107: ID 0fce:51e1 phone model Communications AB

Go to the/ETC/UDEV/RULES.D path

Then find a file similar to 50-android-usb.rules

In this file, add the

subsystem== "USB", attr{idvendor}== "0fce", attr{idproduct}== "51e1", mode= "0666", owner= "currently logged in User name"

Finally unplug the data cable, reconnect it just fine.

PS: The above is tested in the ubuntu14.04 version

Ubuntu under the ADB command is not available

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.