• Install adb Get and run the SDK

wget http://dl.google.com/android/android-sdk_r11-linux_x86.tgz
tar -zxvf android-sdk_r11-linux_x86.tgz
  • In the SDK do:

Click Available packages
Expand Android Repository
If you just want adb, just select Android SDK Platform-tools, revision X

Close installer 
  • Update udev.

For Linaro Panda, Origen and LEB-Snowball, use the Google USB vendor id:

sudo bash -c "echo 'SUBSYSTEM==\"usb\", ATTR{idVendor}==\"18d1\", MODE=\"0666\", GROUP=\"plugdev\"' >> /etc/udev/rules.d/51-android.rules"

For builds coming direct from a vendor, you may need a rule using the vendor's id, e.g. Snowball may use ST-Ericsson's vid. (You can use lsusb to determine what this should be):

sudo bash -c "echo 'SUBSYSTEM==\"usb\", ATTR{idVendor}==\"04cc\", MODE=\"0666\", GROUP=\"plugdev\"' >> /etc/udev/rules.d/51-android.rules"

After installing the udev rules, make sure that adb is restarted:

adb kill-server
  • Add adb_usb.ini

It's sometimes useful to have a ~/.android/adb_usb.ini file containing each device vid on a separate line e.g.

  • Run adb

sudo ./android-sdk-linux_x86/platform-tools/adb shell

Enjoy adb! This page contains more information and tips about adb usage.

Known issues

Keep in mind that some version of Pandaboard X-Loader contain bug which require USB cable to be detached during power-on for normal boot.


Platform/Android/ConfigureAndUseAdb (last modified 2013-08-29 07:11:30)