Adb

From Krm
Revision as of 10:21, 20 November 2010 by Keshav (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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