Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Android BKM

Halton Huo edited this page Aug 14, 2013 · 3 revisions

adb no permissions on linux

  1. Create a file named /tmp/android.rules with following content
  SUBSYSTEM=="usb", ATTRS{idVendor}=="8087", MODE="0666"
  1. Execute following command
sudo cp /tmp/android.rules /etc/udev/rules.d/51-android.rules
sudo chmod 644   /etc/udev/rules.d/51-android.rules
sudo chown root. /etc/udev/rules.d/51-android.rules
sudo service udev restart
sudo killall adb
  1. Disconnect the USB cable between the phone and the computer, reconnect the phone.
  2. Run adb devices to confirm that now it has permission to access the phone.
Clone this wiki locally