Setup ADB [How to][Skill Level – Easy]

Want to set up ADB or Android Debugging Bridge on your PC, here is a quick guide for you. This tutorial does not need large download or full Android SDK installation. You will just have to download a small compressed file, which is all that you require.

STEP 1: First download this file called, just click on the link, download will start automatically.

STEP 2: Now download PdaNet for driver installation. It comes with drivers from all major manufacturers, so this is all you need. Install PDAnet after downloading.

STEP 3: Now extract the zip file that we downloaded in the first step to C drive and name the extracted folder ADB.

STEP 4: Now we will go to the desktop and right click to make a new shortcut.

STEP 5: Point the shortcut to ADB folder that we created in step 3, and name the shortcut ADB or whatever you want.

STEP 6: Now right click on that shortcut and go to properties and change START IN field to c:\adb.

STEP 7: Click Apply or OK and you are done. Click on ADB shortcut on the desktop and you are good to go.

Here is list of ADB commands that might be useful for you in the future.

  • adb devices – list all connected devices
  • adb push <local> <remote> – copy file/dir to device
  • adb pull <remote> [<local>] – copy file/dir from device
  • adb sync [ <directory> ] – copy host->device only if changed
  • adb shell – run remote shell interactively
  • adb shell <command> – run remote shell command
  • adb emu <command> – run emulator console command
  • adb logcat [ <filter-spec> ] – View device log
  • adb forward <local> <remote> – forward socket connections forward specs are one of: tcp:<port>
  • localabstract:<unix domain socket name>
  • localreserved:<unix domain socket name>
  • localfilesystem:<unix domain socket name>
  • dev:<character device name>
  • jdwp:<process pid> (remote only)
  • adb jdwp – list PIDs of processes hosting a JDWP transport
  • adb install [-l] [-r] [-s] <file> – push this package file to the device and install it
  • adb uninstall [-k] <package> – remove this app package from the device (‘-k’ means keep the data and cache directories)
  • adb bugreport – return all information from the device
  • that should be included in a bug report.
  • adb help – show this help message
  • adb version – show version num
  • adb wait-for-device – block until device is online
  • adb start-server – ensure that there is a server running
  • adb kill-server – kill the server if it is running
  • adb get-state – prints: offline | bootloader | device
  • adb get-serialno – prints: <serial-number>
  • adb status-window – continuously print device status for a specified device
  • adb remount – remounts the /system partition on the device read-write
  • adb reboot [bootloader|recovery] – reboots the device, optionally into the bootloader or recovery program
  • adb reboot-bootloader – reboots the device into the bootloader
  • adb root – restarts the adbd daemon with root permissions
  • adb usb – restarts the adbd daemon listening on USB
  • adb tcpip <port> – restarts the adbd daemon listening on TCP on the specified port

Post Author: Gaurav Shukla

Gaurav Shukla is the editor of If you'd like to reach him, drop an email at '' or connect with him on Twitter (@gauravshukla).

2 thoughts on “Setup ADB [How to][Skill Level – Easy]


    (December 12, 2011 - 7:26 am)

    Get more info on the ADB commands at Android Developer site. Here is the shortened link:


    (December 11, 2011 - 7:17 pm)

    Thanks for this! Wanted to install some widgets I found online on my new Samsung Galaxy Nexus. But did not know how to setup ADB.

Leave a Reply

Your email address will not be published. Required fields are marked *