Set Android Debugging Permissions: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (New page: = 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 ...)  | 
				No edit summary  | 
				||
| Line 1: | Line 1: | ||
= Problem  | = Problem =  | ||
Android Debugger adb cannot access real devices as non-root.  | Android Debugger adb cannot access real devices as non-root.  | ||
= Solution  | = 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  | Write an udev rule to change permisions on the device to allow user joachim to debug a HTC device with usb vendor id 0x0bb4  | ||
| Line 9: | Line 9: | ||
create file /etc/udev/rules.d/70-android.rules with following content  | create file /etc/udev/rules.d/70-android.rules with following content  | ||
== OpenSuse up to 12.1  | == OpenSuse up to 12.1 ==  | ||
  SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0600", USER="joachim"  |   SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0600", USER="joachim"  | ||
== OpenSuse 12.2  | == OpenSuse 12.2 ==  | ||
  SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0600", OWNER="joachim"  |   SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0600", OWNER="joachim"  | ||
Latest revision as of 15:03, 19 October 2012
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"