Tutorial to Install, Set up and Use ADB in Android Devices

Sanjana December 7, 2011 0

With an increase of Android phones that is proportionate to the rise of customizations, adb set up hasadb logo becomeunavoidable. For those unaware of what adb is, it is an abbreviation for Android Debug Bridge and is an integral part of the Android SDK standard. ADB provides the terminal interface access to help you easily interact with your phone’s file system. In order to make Android as an open source platform, it is based on Linux system. Thus you can perform many advanced operations on the device such as rooting and firmware updation. This is where ADB comes into action as it provides access between machine and computer.

Must Have:

Steps to Install ADB for Android Devices:

Step-1: Download and install Android Software Development Kit (SDK) to your computer and place it on the desktop so that it can be easily located. Visit SDK folder and open SDK Manager. If you are opening SDK Manager for the first time, you will see a window where you will be asked to choose the packages as shown in the screen shot below. You can check and uncheck any package by just clicking on the name and then select the Accept/Reject radio button.

install adb

Step-2: Click on “Install” button and wait for sometime till the platform tools are installed. After the process is complete, you will find a “platform-tools” folder inside SDK folder. The folder will now include ADB and all its functionalities.

Step-3: After installing ADB in your computer, you need to use the complete path for ADB command that is “C:\android-sdk-windows\platform-tools\adb”. Otherwise you can also change the directory to the platform-tools sub folder of SDK folder each time. However this alternate process is not recommended since you need to do this often regularly.

Step-4: To make ADB plus other Android SDK and platform tools easily accessible from anywhere at the command line, Windows users shall add paths to the PATH environment variable. Linux or Mac users can add ‘tools’ and ‘platform tools’ sub-folders of Android SDK to their system’s PATH variable using standard method for their OS.

Step-5: It is important to note that if you don’t have any previous experience of this environmental editing, it’s better to create the system restore point so that you can bounce back incase anything goes wrong. Windows 7 users must right click on “My Computer” icon > “Properties” tab > “Advanced System settings” from left pane options and then get to “System Properties” window. Windows XP users can directly go to this option by “My Computer” then to Properties.

install adb1

Step-6: In System properties window tap on Environment variables button on the advanced tab. Find the ‘Path’ in ‘System Variables’ section and double-click to edit it. Take care not to delete the existing entry in ‘Variable value’ or it will mess up everything. Add the following strings to the end of it including both the semicolons:

;c:\android-sdk-windows\tools;c:\ android-sdk-windows\platform-tools

Step-7: After having extracted SDK’s contents to another directory you must make sure to use that one for your PATH variable. When you have added the string the Path variable code will look like the one as shown below.

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

You need not worry if you have committed mistakes in the above process while pasting the code as you can re follow the procedure so that you can easily reconfigure the code as restore point is created earlier. “Third party Adds-ons” followed by “Google Inc.add-ons” and check “Google USB Driver package” as shown in the screen shot below.

install adb2

Step-8: Download and install all the necessary USB drivers for your device. For that open SDK Manager from SDK Folder and click on “Available packages” in the left pane. Expand all the “third party add ons” followed by Google Inc add ons” then check the “Google USB driver package” as shown below. Click on “Install selected” to install the drivers and wait for sometime till the installation finishes. Drivers for both 32 bit and 64 bit will be there in SDK folder under the options “usb_drivers\x86” and “usb_driver\x64” sub-folders.

Step-9: To install the drivers to your computer, navigate to home screen of your device then press menu > application > Development > enable USB Debugging. Connect the phone to PC via USB Cable after which the hardware installation automatically begins. When the drivers are installed your phone will show “ADB interface”.

install adb3

Step-10: You can check whether adb has been successfully configured or not by opening the command prompt and type “adb devices” then tap on enter key. Now you will see the device showing the serial number. You can also check the full list of adb commands to configure and check it.

install adb4

Thus by following the above mentioned steps carefully you can successfully install, set up and configure ADB for Android Devices.

Leave A Response »