Saturday, June 2, 2012

How To Install and Use ADB Tool

Android Debug Bridge (adb) is a useful utility that lets you communicate with Android device, emulator instance, and even Android Virtual Machine. Although adb offers many kinds of features for Android-powered devices like transferring files, installing apk applications, and remounting memory card. It is widely used to root Android smartphones.

There are 2 ways to install adb tool:
  1. Install adb tool in Android SDK
  2. Download adb tool only

  1. Install adb tool in Android SDK
    1. Download and install Android SDK
    2. Open SDK Manager and install Android SDK Platform-tools package
    3. After finished installing, navigate the directory where Android SDK is installed
      1. Press Shift key + right click on platform-tools folder and click Open command window here. Or,
      2. you can also use Windows Command Prompt (MS-DOS) navigate to platform-tools (On my computer, adb.exe is locate in C:\Program Files (x86)\Android\android-sdk\platform-tools)
      cd c:\Program Files (x86)\Android\android-sdk\platform-tools

  2. Download adb tool only
    1. Download adb tool here
    2. Extract
    3. Press Shift key + right click on adb-win folder, then click Open command window here

Some ADB basic commands examples:
  1. To check Android devices which are connected with adb
  2. adb devices
  3. Show adb help message
  4. adb help
  5. Receive "keyable.txt" file from Android device to local PC
  6. adb pull /sdcard/keyables.txt keyables.txt
  7. Send "keyable.txt" file from local PC to Android device
  8. adb push keyables.txt /sdcard/keyables.txt
  9. Install "keyables.apk" application to Android device
  10. adb install keyables.apk
  11. To view Android device's system log
  12. adb logcat
  13. Stop the running adb server
  14. adb kill-server


  1. Hi,

    also my smartphone HTC One X (Android) is connected on my Windows 7 PC through a USB cable, adb says that there is no device.
    Using the option -d (adb -d install DictionaryForMIDs.apk) doesn't help. No device is seen.

    PS: by connecting my smartphone I selected to get access to the memory of the phone.

    What is wrong ?

    I would like to install DictionaryForMIDs.apk

    Thanks for your help

  2. hey i am using windows xp but when i click shift+right click there is no option of open command window here and when i type the commands in cmd it says adb is not recognized as an internal or external command,operate program or batch file what should i do please help....???????????