Pages

Friday, December 14, 2012

Get 'adb devices' working to make your device debuggable



1) Connect your device to your computer with USB cable.

2) Go to Settings->Applications->Development and enable USB Debugging.

3) Set USB settings 'Read Only' from the notification bar if you want your device to read data from SD card inside your phone.

4) Open this file 'C:\Users\<user>\.android\adb_usb.ini' and put your device Vendor ID after the commented header.

5) Open CMD and go to  'C:\Program Files (x86)\Android\android-sdk\platform-tools' and run 'adb devices'. It should show your device listed there.

If this does not work, here are a few things you should try:

i) Restart your adb server by following commands

adb kill-server
adb start-server

ii) After making changes to your settings, detach and re-attach your USB cable.

iii) Go to Device manager (My Computer -> Manage). Android Phone should be listed on top. Uninstall its driver and enable this check box 'delete driver software' also.
Install/update your driver as given in this link. Repeat step i and ii if it does not work.

1 comment: