Android SDK: “no permissions” for HTC EVO LTE
I’m setting up a new dev environment in an Ubuntu VM. One of the toughest obstacles was getting adb to recognize my HTC EVO without starting adb as root. None of the posted solutions worked for me, but they were helpful, particularly the setup instructions posted by Google under “Configuring USB Access”.
I used the command
$lsusb
and got the following response:
Bus 001 Device 004: ID 0bb4:0ce9 HTC (High Tech Computer Corp.)
I used 0bb4:0ce9
obtained from the usb listing to modify the lines in /etc/udev/rules.d/51-android.rules
to be:
# adb protocol on jewel (EVO LTE)
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0ce9", MODE="0600", OWNER="bradford"
# fastboot protocol on jewel (EVO LTE)
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0ce9", MODE="0600", OWNER="bradford"
I can now access my usb device without root access.