Adb

From Krm
Jump to: navigation, search

adb - Android Debug Bridge

If you are like me who copy just the adb app from android sdk and see that the "adb devices" command shows "???????? no permissions" error then, create the file with following contents

 /etc/udev/rules.d/51-android.rules
 SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"     #for HTC Hero ?
 SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"     #for Nexus one

and restart udev

Run the following commands as root, then you will be able to access adb from normal user too adb kill-server adb start-server adb devices

Personal tools