Set Android Debugging Permissions

From JoBaPedia
Revision as of 15:03, 19 October 2012 by Joachim (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Problem

Android Debugger adb cannot access real devices as non-root.

Solution

Write an udev rule to change permisions on the device to allow user joachim to debug a HTC device with usb vendor id 0x0bb4

create file /etc/udev/rules.d/70-android.rules with following content

OpenSuse up to 12.1

SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0600", USER="joachim"

OpenSuse 12.2

SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0600", OWNER="joachim"