When it comes to Android modding, most novice users are confused or left wondering by reference over reference to a certain “adb”. This is specially true when you are looking up something on modding your device, or root it in particular. ADB is the wonder toy of Android and everyone seems to love it, so lets have a look at understanding what it is and why you need it, and how you can get it.
What is ADB
ADB stands for Android Debug Bridge. It comes as a part of the standard Android SDK, which you can grab here. Basically, it provides a terminal-based interface for interacting with your phone’s file system. Since Android platform is based on Linux, command-line is the only way to obtain and manipulate root access often required to perform certain advanced operations on your device using root access.
While these things can be done directly on the device itself using some terminal emulator, it will be rather difficult to execute complex commands on such a small screen. ADB provides the bridge between your machine and your computer.
How To Install ADB
Step 1: Installing the Android SDK
Note: At the time of updating this guide, the latest version of the Android SDK available is r8 and we shall be using it throughout the rest of the guide. The tools will work the same way however, even if you get a later version. In case of earlier versions though, the location of some of the tools was different and it is recommended that you get the latest available version.
The first step is to download the SDK. Use the link given at the end of this post and download the latest version of the Android SDK from there. There are versions available for Microsoft Windows, Linux and Mac OS X. In case of Windows, both an installer and a zip file are available but there isn’t any need to use the installer as a formal installation is not required.
Once you have downloaded the SDK, simply extract the compressed file to a location on your computer. In our case, we have extracted it to the root of our C drive and that makes C:\android-sdk-windows the installation location of the SDK. From here onwards, we shall be referring to this location as the ‘SDK folder’.
Step 2: Downloading the SDK Platform Tools
Previously, ADB used to be included in the SDK by default in the ‘tools’ sub-folder but now, it has been relocated to the ‘platform-tools’ sub-folder which needs to be downloaded as an SDK package. Fortunately, this is quite easy:
Just browse to the SDK folder and launch SDK Manager. When launching it for the first time, it will present you with a window to choose packages to install. The first option begins with ‘Android SDK Platform-tools’. Make sure it is checked, and uncheck all the other packages for now. You can check/uncheck a package by clicking on its name and then selecting the Accept/Reject radio button. Your window should look like this:
Now simply click ‘Install’ and wait till the platform tools are installed. Once the process is done, you will have a ‘platform-tools’ folder inside your SDK folder. That folder will include ADB and all its dependencies.
Step 3: Setting the Path variable
Now you have ADB installed but using it this way will require you to either use the complete path of the ADB command (C:\android-sdk-windows\platform-tools\adb) or to first change directory to the platform-tools subfolder of the SDK folder each time, and this can become quite a hassle. To make ADB along with other Android SDK tools and platform tools easily accessible from anywhere at the command line, we shall add their paths to the PATH environment variable. This method will apply to Windows users only. If you are a Linux or Mac user, add the ‘tools’ and ‘platform-tools’ sub-folders of the Android SDK to your system’s PATH variable using the standard method for your operating system.
- If you have no experience with editing system environment variables, make a System Restore point now so that you can revert back to it in case something goes wrong.
- If you are using Windows 7, right-click the ‘Computer’ icon and click ‘Properties’. Now click ‘Advanced System Settings’ from the options in the left pane to bring up the ‘System Properties’ window. Windows XP users will directly get this window when they right-click ‘My Computer’ and click ‘Properties’.
- In the ‘System Properties’ window, click the ‘Environment Variables’ button on the ‘Advanced’ tab.

- Find ‘Path’ in the ‘System variables’ section and double-click it to edit it.
- Make sure NOT to delete the existing entry in ‘Variable value’ or it will mess up things on your computer. Just add the following string to the end of it, including both the semi-colons:
;c:\android-sdk-windows\tools;c:\android-sdk-windows\platform-tools
If you have extracted the SDK’s contents to another directory, make sure to use that one for your PATH variable.
After adding the string, this is what my Path variable looks like:
C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Java\jdk1.6.0_23\bin;C:\Program Files (x86)\Java\jdk1.6.0_23\bin;C:\android-sdk-windows\tools;C:\android-sdk-windows\platform-tools
Don’t worry if yours does not include some of the other text – what is important is the way the new entry should be added to the existign one, and the way the previous entries MUST be left unchanged. Notice that the semi-colons are necessary to separate each path variable entry from the next and previous ones. Once you have added the path, your machine may require a reboot.
In case you messed up while editing the Path variable and ended up deleting the previously existing entries, just restore the System Restore point you made and retry, being more careful this time.
Step 4: Installing the USB drivers
Finally, you need to install the USB drivers. You may or may not need to perform this step, depending on your device. If you are using a device that ships with stock Android operating system such as the Nexus One, this will be necessary. In case of other devices that ship with their custom version of Android and some tools to sync the device with the PC, such as devices from HTC that ship with HTC Sync or devices by Samsung that ship with Samsung’s own software, the suitable driver for your device will be automatically installed with that software package.
- The first step will be to download the USB drivers. To do this, launch SDK Manager from the SDK folder and click on ‘Available packages’ in the left pane.
- Expand ‘Third party Add-ons’ followed by ‘Google Inc. add-ons’ and check ‘Google Usb Driver package’, as shown in this image:
- Click ‘Install Selected’ and in the window that pops up, click the ‘Accept all’ radio button followed by the ‘Install’ button. Wait patiently while the USB drivers are downloaded and installed in the Android SDK.
- The drivers for both 32 bit and 64 bit systems will now be present in the SDK folder under ‘usb_driver\x86′ and ‘usb_driver\x64′ sub-folders respectively.

Now that the USB drivers have been downloaded, you can install them to your computer as follows:
- On the device, go to home screen, press Menu, select Applications > Development, and enable USB Debugging.
- Now connect your phone to the PC via USB. New hardware installation should kick in, and it will start looking for the drivers.
- Manually point the drivers to the folder suitable for your operating system and let them install.
- Once drivers have installed, you can verify successful installation by going to Device Manager. Your phone should be showing under ‘ADB Interface’, like in this example:

How to Use ADB
At this point, the setting is done. Here on you can simply use adb to manipulate your phone in whatever way you like. On Windows, the best way to do so is using command prompt. To ensure that adb has been set up properly, run command prompt and type ‘adb devices’ and hit enter. Your connected device should show up with a serial number.

This is it for this guide. We would like to emphasize that playing with your phone at this level can be dangerous if you don’t know what you are doing, and can even render the phone completely useless. Please do it at your own risk.
For a complete list of adb commands, check out the official adb guide here.
Editor’s Note: ADB is for advanced users only. If you need ADB with a Graphical User Interface, check out QtADB.




Pingback: How To Take Screenshots Of Android Device
Pingback: How to root Droid 2 - Page 3 - Droid Forum - Verizon Droid & the Motorola Droid Forum
Pingback: Using Droid 2 root Instructions to Root Droid X 2.2 - Page 2 - Android Forums
Pingback: How To: Root Motorola i1 [ADB Method]
Pingback: How To: Root T-Mobile HTC G2
Pingback: How To Disable / Uninstall Apps On HTC T-Mobile G2 [ADB Method]
Pingback: QtADB Is ADB (Android Debug Bridge) For Beginners With A GUI
Pingback: What Is Bootloader And How To Unlock Bootloader On Android Phones [Complete Guide]
Pingback: How To Activate / Adjust WiFi HotSpot Settings For HTC G2 / Desire Z [Guide]
Pingback: How To Root LG Optimus T [ADB Method]
Pingback: Fix 3-Button Combo Download & Recovery Mode In Samsung Galaxy S GT-I9000
Pingback: How To Root Motorola Bravo [ADB Method]
Pingback: How To Root Motorola Droid 2 Global [ADB Method]
Pingback: Get Rid Of ‘ADB Shell’ Command With Enhanced Putty [Android Guide]
Pingback: Use Windows SendTo Menu To Push Files Over ADB
Pingback: How To Install Ubuntu On Samsung Galaxy Tab
Pingback: Gaming experience with Huawei S7
Pingback: Backflip root!!
Pingback: How To Unlock Google Nexus S Bootloader
Pingback: How To Root Nexus S Running Android 2.3 Gingerbread
Pingback: Install Android 2.3 Gingerbread on T-Mobile Pulse
Pingback: Testing Android Applications on the HTC Legend « City&Wool
Pingback: How To Backup Your Android Phone’s Boot, Recovery And System Partition Images
Pingback: Install Android 2.3 Gingerbread Based CyanogenMod 7 On HTC Desire
Pingback: How To Root Motorola Defy And Install A Custom Recovery [Video Guide]
Pingback: How To Root Nexus S Running Android 2.3 Gingerbread | iOpenLine
Pingback: Flash Voodoo Custom Kernel To Nexus S
Pingback: How To: Enable FM Radio Tuner On Motorola Droid 2
Pingback: How To Install A Custom Recovery To An Android Phone / Device
Pingback: Use ADB Wirelessly Over Wi-Fi With adbWireless for Android
Pingback: Rooting Froyo 2.2? - HEXUS.community discussion forums
Pingback: How To Root Motorola Backflip Android Phone
Pingback: How To Gain Permanent Root on T-Mobile G2 / Desire Z without ADB
Pingback: Android 3.0 Honeycomb Preview SDK Available Now
Pingback: Enable ADB USB Drivers for Nvidia Tegra based Android Tablets
Pingback: Boost Nook Color Battery Life By Removing Android Cell Standby Service
Pingback: Install Android 3.0 Honeycomb Custom Boot Animation On Viewsonic G Tablet
Pingback: How To Root Smartbook Surfer Tablet with ADB
Pingback: Install Multiple Android Apps Directly from PC with Android Injector
Pingback: Install Android 3.0 Honeycomb and Market on Nook Color
Pingback: Will the Motorola Atrix allow on-market apps to load?
Pingback: How To Root Dell Streak 7 with SuperOneClick
Pingback: Tired of waiting on AT&T? Upgrade your Dell Streak manually!
Pingback: How To Root Nexus One Running Android 2.2.1 From Ubuntu Linux
Pingback: Android Start - Java Forums
Pingback: How To Downgrade HTC Desire HD To Root It After OTA Update
Pingback: How To Root Motorola Defy With SuperOneClick
Pingback: How To Make Gold Card for HTC Desire HD
Pingback: Samsung Galaxy S gyorsítása | Kockabölcs
Pingback: How To Fix Unrooted HTC Desire USB Brick
Pingback: How To Unlock Motorola Xoom Bootloader For Flashing Recovery & ROMs
Pingback: How To Unbrick Or Restore Nook Color To Factory Default Using ADB
Pingback: How To Install Ubuntu Linux On Your Nook Color
Pingback: Follow these steps to Root and Radio s-off the HTC Inspire 4G [Video]
Pingback: How To Root Motorola Xoom
Pingback: How To Install ClockworkMod Recovery To Advent Vega
Pingback: How To Squeeze More Battery Life Out Of Advent Vega
Pingback: Install Custom Rom On Rooted And Non-RootedMotorola Atrix 4G
Pingback: How To Gain S-OFF (Radio And Engineering) On HTC Desire HD
Pingback: Enable Webtop On Motorola Atrix 4G via HDMI Connection Without Dock
Pingback: Taking Screenshots on the Android-powered Nexus S — nanyate
Pingback: [ROOT] Another, better method to ROOT
Pingback: HDMI mirroring w/o Multimedia Dock?
Pingback: How To Manually Update Motorola XOOM To Android 3.0.1
Pingback: How To Restore and Relock a Motorola XOOM Tablet
Pingback: How To Take Screenshots In Android Using Android SDK
Pingback: Install BIOS Boot Animation On Android Devices
Pingback: How To Permanently Root HTC Tattoo
Pingback: How to Flash ClockworkMod Recovery 3.0.0.6 On HTC Tattoo
Pingback: How To Create a Gold Card For HTC Tattoo
Pingback: Troubleshooting: Rooting, Running Scripts/Installs and ADB Interface for the Atrix
Pingback: How To Root Verizon HTC Thunderbolt
Pingback: Root Samsung Galaxy Spica i5700 With LeshaK’s Kernel
Pingback: Enable External USB Drive Support on Motorola XOOM
Pingback: Root, Unlock Bootloader And Gain S-Off On Verizon HTC Thunderbolt
Pingback: Install Custom Deodexed ROM On Verizon HTC Thunderbolt
Pingback: Tutorial Fix Download Mode & Recovery Mode Bug in Galaxy S
Pingback: Run Android Apps Without SD Card By Mounting Cache Partition
Pingback: How To Root Motorola Xoom Wi-Fi Honeycomb Tablet
Pingback: Probleem ADB drivers bij downgraden DHD
Pingback: [FIX] Update with Android next to Caution Symbol
Pingback: Install Android Gingerbread 2.3.3 on Galaxy S « FiLLife
Pingback: Get CRT Animation, SMS & View Desktop Websites On Motorola Xoom
Pingback: Lost function of lower half of the touch screen and buttons.
Pingback: How To Root /Unroot LG G2x On Mac And Linux | enewsplus
Pingback: How To Root The Samsung Galaxy S 2 I9100
Pingback: How To Root Samsung Galaxy S 2 I9100
Pingback: How To Root Samsung Droid Charge From Verizon
Pingback: Enable Facebook Contact Pictures To Appear In Third Party Apps
Pingback: Android Commander Is A Swiss Army Knife For Android Devices
Pingback: How To Root Acer Transformer Honeycomb Tablet
Pingback: Brauche Hilfe beim Flashen unter Windows! - Android-Hilfe.de
Pingback: How To Take Screenshots Of Android Device | Andriod Device
Pingback: Enable Facebook Contact Pictures To Appear In Third Party Apps | Andriod Device
Pingback: Android Commander Is A Swiss Army Knife For Android Devices | Andriod Device
Pingback: How To Root Samsung Galaxy Tab 10.1
Pingback: What Is ADB And How To Install It With Android SDK | AndroidFC
Pingback: How To Gain S-OFF (Radio And Engineering) On HTC Desire HD | AndroidFC
Pingback: How To Install ENG Hboot On HTC Incredible S
Pingback: Upgrading Galaxy S from android 2.1 to 2.3.3 under linux » To Linux and beyond !
Pingback: Install Android 2.3.4 Gingerbread Based Custom ROM On HTC Thunderbolt
Pingback: How To Change, Customize & Create Android Boot Animation [Guide]
Pingback: Deploying The Dell Streak 7 « Director of Technology
Pingback: How To Root The LG Revolution On Android 2.2 Froyo
Pingback: How To Root The Casio GzOne Commando
Pingback: SDK/ADB Setup
Pingback: How To Root Samsung Galaxy S II I9100 | Hiền Mobile Service
Pingback: How To Root Android Nook Touch Reader
Pingback: Manually Update Galaxy Tab 10.1 To Official Android 3.1 Honeycomb
Pingback: Gain S–OFF On HTC Incredible S With AlphaRevX
Pingback: How To Root Acer Iconia A500 Honeycomb Tablet
Pingback: [Android] How To Make Gold Card for HTC Desire HD
Pingback: How to get Hulu Plus on an unsupported device (needs root) | ChannelAndroid.com
Pingback: How To Manually Install ClockworkMod Recovery On HTC Incredible S
Pingback: How To Root Motorola Cliq XT Android Phone
Pingback: Enable Webtop Over HDMI On Atrix 4G Running HKTW 2.3.4 Firmware
Pingback: Root & Install ClockworkMod Recovery On Asus Transformer–Honeycomb 3.1
Pingback: How To Root Samsung Galaxy Tab 10.1
Pingback: Fre3vo By Team Win Roots HTC EVO 3D & HTC Sensation Temporarily
Pingback: Load custom ROM for Atrix4G | krisnansriram
Pingback: Gain S-Off On HTC Droid Incredible 2 With AlphaRevX
Pingback: Install ClockworkMod Recovery On HTC Droid Incredible 2 [S-Off Only]
Pingback: Disable Apps In HTC EVO 3D With Temporary Root
Pingback: Anesi Flavio » Che cosa è ADB e come installarlo con Android SDK
Pingback: Rooting the Samsung Droid Charge on Verizon Wireless « Android « Android Handys, iPhone, iPad2, iPhone5
Pingback: How To Download & Install Ubuntu On Samsung Galaxy Tab 10.1 | Latest Firmwares
Pingback: Rooting the Samsung Droid Charge on Verizon Wireless » Android, Droid, Superuserapk, Your, Charge, Samsung » Newest Mobile Phones
Pingback: How To Root The Nook Touch | Best Ereaders
Pingback: Rooting the Samsung Droid Charge on Verizon Wireless | IBlogTech
Pingback: Mr. Android » Blog Archive » Rooting the Samsung Droid Charge on Verizon Wireless
Pingback: Perma-Root for Samsung Droid Charge
Pingback: Temporary Root HTC Flyer With Fre3Vo [How To Guide]
Pingback: Taking Screenshots With On An Android Device
Pingback: Change Native Screen of Android « Android Tutorial
Pingback: FreeXperia Custom Recovery For Sony Ericsson Xperia Neo
Pingback: How To Make Gold Card for HTC Desire HD
Pingback: Install Motorola Droid 3 Camera App On Photon 4G
Pingback: [ROM] Boogies MiUi - Seite 329 - Android-Hilfe.de
Pingback: USBケーブルなしでノートと接続してバリバリ開発すべし | 新! #android ファッション通信 Σ(^A^;)
Pingback: Root LG Optimus one P500 Android 2.3.3 Gingerbread | TechFlipper
Pingback: How To Root Motorola Droid 3 [ADB Method]
Pingback: Replacing HTC Locations on HTC Sensation with Google Maps/Navigation « Ather Beg's Useful Thoughts
Pingback: Roota HTC Desire HD! | Swedroid
Pingback: fix-3-button-combo-download-mode-in-samsung-galaxy-s-gt-i9000 | dforge
Pingback: How To Root Acer Iconia A100 Tablet [ADB Method]
Pingback: Problem trying to root - Android Forums
Pingback: How To Access SD Card & System Files On Android From Your Computer
Pingback: Enable Google Talk Voice And Video Chat On Motorola Photon 4G [Guide]
Pingback: Zmiana z S-ON na S-OFF - Forum HTC - Android, Windows Phone, Windows Mobile, Gry HTC, Programy HTC, Telefon HTC, Cena HTC, Opinie HTC - htc.net.pl
Pingback: How to install ClockworkMod Recovery (CWM) on Micromax A70 without ROM Manager « Ace Tips
Pingback: I9001BUKP2 [Android 2.3.5] [10.10.2011] VODAFONE - Seite 5 - Android-Hilfe.de
Pingback: ADB Install Issues
Pingback: HOW TO Use Your Android Phone as WebCam via USB & WiFi
Pingback: Hacking the ADB USB Driver for Acer A500 « DaVinci Unlimited Software
Pingback: How To Install Ubuntu On Samsung Galaxy Tab | How And You
Pingback: HCL ME X1 Review of the Tablet and Rooting Guide. Hands on video and photographs. – Piece of Mind : Reviews of Android devices, iOS devices. Talks about SEO, Wordpress, software development and online business.
Pingback: How To Root The Galaxy Nexus On Ice Cream Sandwich 4.0
Pingback: Irgendwie geht nichts mehr... - Android-Hilfe.de
Pingback: How To Root Amazon Kindle Fire With One Click And Get ADB Working
Pingback: Root !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - Page 3
Pingback: Problema installazione Foliomod - Pagina 2 - Forum Android Italiano
Pingback: How To Install ClockworkMod Recovery 5 On HTC Sensation XL
Pingback: how to take screenshots of android device «
Pingback: Permanently Root Nook Tablet In One Click [How To]
Pingback: Unroot Nook Tablet In One Click [How To]
Pingback: How to Guide for Using ADB?????????
Pingback: How To Mirror Part Of Desktop Screen To Android Over USB
Pingback: Android Design Preview: Desktop To Android Screen Mirroring Over USB | I Love Android
Pingback: How to install ClockworkMod Recovery (CWM) on Micromax A70 without ROM Manager « dudesANDroid
Pingback: Coby Kyros Mid7012-4G
Pingback: My Bookmarks » How To Root Your Samsung Galaxy S2 Skyrocket
Pingback: How To Root Your Samsung Galaxy S2 Skyrocket | Daily Tech News & Trends
Pingback: Mr. Android » Blog Archive » How To Root Your Samsung Galaxy S2 Skyrocket
Pingback: How To Root Your Samsung Galaxy S2 Skyrocket | Android Daily News
Pingback: ghambas [dot] net
Pingback: How To Root Samsung Galaxy S2 Skyrocket | Android Family
Pingback: How To Root Your Samsung Galaxy S2 Skyrocket | Android
Pingback: How To Root Your Samsung Galaxy S2 Skyrocket » Galaxy, Samsung, Your, Root, Make, Applications » Newest Mobile Phones
Pingback: [DUVIDA] Instalação de Aplicativos no I886 - Fórum PluSGSM
Pingback: LG Optimus 2X - Page 8
Pingback: [ICS] Beta release - Sidan 2 | Swedroid
Pingback: Android 4.0 (~ICS = Ice Cream Sandwich) auf dem Weg auf GT540 - Seite 8 - Android-Hilfe.de
Pingback: Coby MID7012 rooting problems
Pingback: Rooting the Samsung Droid Charge on Verizon Wireless | Android GPS
Pingback: Gain Root ADB Access With Insecure Boot Image For Kindle Fire
Pingback: Xperia Arc S, Ray & Neo V Get Ice Cream Sandwich [Download & Install]
Pingback: Install ClockworkMod Recovery 5.0.2 On Droid X [How To]
Pingback: i9000 why have data network not available ? when make a call ? after unlock - GSM-Forum
Pingback: Root & Recovery For Motorola Xoom On Android 4.0.3 ICS
Pingback: Root LG myTouch On Android 2.3 Gingerbread [How To]
Pingback: Unbrick Rooted HTC EVO View 4G After Honeycomb 3.2 OTA Update
Pingback: Trebuchet CM9 Home Launcher App For Android 4.0.3 ICS ROMs
Pingback: Easily Root Kindle Fire On 6.2.1 Firmware [How To]
Pingback: How to root the LG enlighten (Tutorial) - Android Forums
Pingback: Root LG myTouch On Android 2.3 Gingerbread [How To] « Android flash
Pingback: Root LG myTouch On Android 2.3 Gingerbread [How To] | Daily Tech News & Trends
Pingback: Install Touch Based ClockworkMod Recovery On Galaxy Nexus [How To]
Pingback: How To Root LG Mytouch « CrazyMytouch
Pingback: Root Lenovo Thinkpad Tablet On Honeycomb 3.1 With One Click [How To]
Pingback: How To Root Motorola Bravo [ADB Method] « Electric Joomz
Pingback: [ACS] Star-ScROM for Transform Ultra - Page 5 - Android Forums
Pingback: Android Market for Novo 7 Elf ICS 4.0.3
Pingback: How To Root HTC Jetstream Tablet On Honeycomb
Pingback: Overclock HTC Jetstream To 2 Ghz With Custom Kernel
Pingback: ClockworkMod Recovery Touch For Nexus S & Galaxy Nexus [Install]
Pingback: Que es BootLoader de ANDROID | Blog "Net-Code 360"
Pingback: Root MOTOACTV Android Watch On Gingerbread [How To]
Pingback: Can i reboot my SGS if my home button is destroyed? - Android Forums
Pingback: The News 247 » How to capture screenshots in Android device
Pingback: How to Capture Screenshots on Android devices - Android@Rumorslogy
Pingback: Android Junkie » Root HTC Tattoo
Pingback: S-OFF + root with flashing method - Android Forums
Pingback: How To Take Screenshots Of Android Device | WSS Android Documents
Pingback: HTC Wildfire PVT SHIP S-ON HBOOT-1.01.0002 - Android Forums
Pingback: Warnung vor CWM Recovery 5.5.0.4 - Seite 2 - Android-Hilfe.de
Pingback: [CWM/Kernel/ROM] ext4 Kernel, CWM 5.0.2.8, and CM7.2-RC1 [Alpha1] - Android Forums
Pingback: 16GB Dell Streak 7" Wi-Fi Tablet (Refurbished) $135 + Free Shipping | SalesHot
Pingback: How to Install Android 4.0.3 Ice Cream Sandwich on Nokia N9
Pingback: How to Flash and Return to stock SU-640 Rom for LG Nitro HD | My LG Cell Phone Blog