Easiest Way to Install Android's ADB and Fastboot Tools

If you've ever tried to root your Android phone or flash a ROM, you may have heard about ADB and/or fastboot. These two tools are surprisingly powerful, but can be a bit overly complex to install. Here's how to do it the easy way.
Before we go on, what are ADB and Fastboot Tools?
 
These two tools allow you to send terminal commands to your phone from your computer via USB. They both serve different functions, but they can be installed with relative ease at the same time, so it's helpful to have both. Here's a (very) brief breakdown on what these tools do:
  • Android Debug Bridge (ADB): This tool allows you to send a wide array of terminal commands—including but not limited to basic Linux shell commands, plus some specialty developer commands—to your phone at just about any time (as long as you have debugging enabled on your phone). You can send commands while the phone is turned on and booted, or even when it's in recovery mode. While ADB is often used in conjunction with rooting or modifying your phone, you can use ADB to send terminal commands to unrooted devices as well.
  • Fastboot: When you need to modify your phone's firmware, fastboot is the tool you need. This allows you to send commands to the bootloader, which means you can flash/modify things like custom recoveries. You can't flash whole ROMs with it, but it's helpful for many things that ADB can't do. Fastboot isn't enabled for all phones, so you may have to check your specific device.
In this tutorial, I shall show you two methods 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.
Keep in mind, after installing ADB and Fastboot, you need to ensure you have installed the proper Windows drivers for your Android smartphone or tablet on your computer. You can download the Windows drivers for your Android smartphone or tablet. PDA Net is a very good Universal USB Drivers.

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 (adb-setup-1.4.2.exe).
  • 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

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 (11 MB) ADB, Fastboot, and other tools.
    • Note: The tools found in the download are provided by Google, found in Android SDK. 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:

  • 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:

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

  • From the Advanced tab click on Environment Variables:

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

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

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)…

…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 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:

Share This :



sentiment_satisfied Emoticon