no permissions in adb

Hi everyone,

Read my older post adb not detecting the phone! to get some basic information about what adb is.

Now the problem came when I attached my phone to a freshly installed OS. This issue might only be specific to my OS. But I had to search the solution on the Internet when I faced it again. So thought of writing it myself this time.

Error is:

$ adb devices
List of devices attached
9bb2ce65 no permissions (verify udev rules); see [http://developer.android.com/tools/device.html]

So basically, it’s showing the device (9bb2ce65) but I can’t send any command (e.g. reboot) to my phone. Because it’s written there as “no permissions”. And it didn’t pop up any dialog box on my phone so that I could allow the permissions.

For solving this, I went to the link (and this) mentioned in the above output.

To add yourself to the plugdev group:

$ sudo usermod -aG plugdev $LOGNAME

And kill the adb server.

$ sudo adb kill-server

Start it again, with:

$ sudo adb start-server

Now the error is gone.

$ adb devices
List of devices attached
9bb2ce65 device

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s