- dotTech - http://dottech.org -

How to install ADB and Fastboot on Windows for use with Android [Guide]

Posted By Ashraf On February 3, 2014 @ 7:58 PM In Android,Windows | 85 Comments

Anyone that has ever tried to mod their Android phone has come across users telling other users to run various different ADB and/or Fastboot commands. The only problem is the average Joe has no idea what ADB and Fastboot are because, well, they aren’t your run-of-the-mill applications. I was completely lost myself when I first ventured into the world of Android. While yes, developer hubs like XDA-Developers do provide instructions on how to get ADB/Fastboot installed, there are so many convoluted guides out there, it is easy to throw one’s hands up in defeat. Hopefully this guide makes it simple and straightforward to get ADB and Fastboot installed on your computer.

What are ADB and Fastboot and why do I need them

ADB stands for Android Debug Bridge, while Fastboot stands for, well, Fastboot. Without going into too many technical details (trust me you don’t want technical details), let’s just say they are two command-line tools used when modding/hacking Android phones.

You need ADB and Fastboot if you are one of those people that like to mod/hack your Android phone. While many mods/hacks are now becoming more main-stream-user friendly with GUIs (i.e. they no longer require users to use ADB or Fastboot), there are still times when users need to use ADB and/or Fastboot. (Anyone with a Google Nexus One or Nexus S knows what I mean.) While you may not necessarily ever use ADB or Fastboot (depends on what phone you have, and the type of developer support it gets), it is always nice to have them installed when the time comes that you do need them.

BEFORE WE BEGIN

In this guide, we will show you two methods on how to install ADB and Fastboot. The first method is the semi-automated method while the second method is the manual method. The first method is a easier to do and recommended for most everyone. If, however, you can’t get the first method to work or you prefer more control, then method 2 is for you.

How to Install ADB and Fastboot: Method 1

To quickly and easily install ADB and Fastboot on your Windows XP, Vista, 7, and 8/8.1 computer (32-bit and 64-bit), do the following:

  • Download the latest ADB Installer file [1] (adb-setup-1.4.2.exe [2]).
  • Right-click the file adb-setup-1.3.exe and choose “Run as Administrator“.
  • Type “Y” and press Enter to install ADB and Fastboot, and set the environment variables. Enter “N” if you don’t want to do the same and want to just install the drivers.
  • In the next step, enter “Y” to install the drivers for your device. Enter “N” to skip this step.
  • Wait till the driver installation finishes up. That would take only some seconds.
  • To verify that you have successfully setup ADB and fastboot, open up a command prompt (press Windows key + R -> type in cmd -> OK) and enter “adb version” (without quotes). If it returns something like “Android Debug Bridge version x.x.xx“, then your ADB and Fastboot are all-ready.
  • Congrats! You are ready to rock!

ADB Install Drivers [3]

How to Install ADB and Fastboot: Method 2

To manually install ADB and Fastboot on your Windows XP, Vista, 7, and 8/8.1 computer (32-bit and 64-bit), do the following:

The following guide is for Windows PCs only, but ADB/Fastboot can be installed on Linux and Mac OS X also. (You just do it differently for Linux/Mac OS X.) Also note that this guide was written on a Windows 7 computer. However, the guide will work on Windows 8/XP/Vista the same way; I don’t know about earlier versions of Windows.

  • Download [4] (11 MB) ADB, Fastboot, and other tools.
    • Note: The tools found in the download are provided by Google, found in Android SDK [5]. I have simply extracted the tools and uploaded them for easy access, instead of telling everyone to download the whole SDK. You can get the same tools if you download the Android SDK directly from Google.
  • Extract the contents directly into your C:\ partition. You should now have a folder C:\Android that looks something like this:

[6]

  • Press Win + R on your keyboard to bring up the Run dialog.
  • Once the Run box is open, type in sysdm.cpl and hit OK:

[7]

  • Once you hit OK, the System Properties panel should open; click on the Advanced tab:

[8]

  • From the Advanced tab click on Environment Variables:

[9]

  • At the Environment Variables window find where it says Path under System variables, click on it, and click the Edit button:

[10]

  • When the Edit System Variable window pops up, type in ;C:\Android at the very end and hit OK:

[11]

Make sure you type in exactly ;C:\Android (be sure to include the semi-colon at the beginning).

  • After clicking OK, close out all windows. You are done!

Using ADB and Fastboot

Once you have them installed, using ADB or Fastboot is as easy as opening command prompt, typing in adb xxx or fastboot xxx (with xxx being the command you want to run)…

[12]

…and hitting Enter on your keyboard to execute the command.

Take note, however, installing ADB and Fastboot is not enough to start using it with your phones. You need to install the relevant drivers [13] on your computer – so your PC recognizes your phone – before ADB or Fastboot will be able to work with it. If you don’t have any drivers installed, you will get an error similar to the following:

[14]

If you don’t have the proper drivers installed, read dotTech’s article on downloads links for USB (adb and fastboot) drivers for Windows for all Android phones [13].

Uninstalling ADB and Fastboot

Uninstalling ADB, Fastboot, and the other tools is as easy and undoing what you did when you installed. In other words, delete C:\Android and all the files in it and remove the environmental variable you added earlier.

Conclusion

You have installed ADB and Fastboot – now what? Now go look for guides on modding/hacking your phone. A good place to start is reading dotTech’s how to root guides [15]. Another good place to look for Android hacking and slashing is XDA-Developers [16]. If you are lucky, the guides you find won’t require you to use ADB or Fastboot; but if they do, you are now prepared because you just installed them.

Originally posted Jun 18, 2012. Updated Nov 16, 2012 to include newer version of ADB and Fastboot. Updated Feb 3, 2014 to include semi-automated method of installing ADB and Fastboot.


Article printed from dotTech: http://dottech.org

URL to article: http://dottech.org/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone/

URLs in this post:

[1] ADB Installer file: http://forum.xda-developers.com/showthread.php?t=2588979

[2] adb-setup-1.4.2.exe: http://d-h.st/IRd

[3] Image: http://dottech.org/wp-content/uploads/2014/01/ADB-Install-Drivers.png

[4] Download: http://dottech.org/downloads/adb_fastboot_and_other_tools.zip

[5] Android SDK: http://developer.android.com/sdk/index.html

[6] Image: https://dottech.org:443/wp-content/uploads/2011/01/2011-01-17_173115.png

[7] Image: https://dottech.org:443/wp-content/uploads/2011/01/2011-01-17_174109.png

[8] Image: https://dottech.org:443/wp-content/uploads/2011/01/2011-01-17_174327.png

[9] Image: https://dottech.org:443/wp-content/uploads/2011/01/2011-01-17_174454.png

[10] Image: https://dottech.org:443/wp-content/uploads/2011/01/2011-01-17_174537.png

[11] Image: https://dottech.org:443/wp-content/uploads/2011/01/2011-01-17_180507.png

[12] Image: https://dottech.org:443/wp-content/uploads/2011/01/2011-01-17_1811462.png

[13] relevant drivers: http://dottech.org/android/26188/usb-adb-and-fastboot-drivers-for-windows-for-all-android-phones/

[14] Image: https://dottech.org:443/wp-content/uploads/2011/01/2011-01-17_1812282.png

[15] how to root guides: http://dottech.org/23370/how-to-root-android-jailbreak-ios-iphone-ipad-homebrew-webos/

[16] XDA-Developers: http://forum.xda-developers.com/

© 2008-2012 dotTech.org | All content is the property of its rightful owner.