Setting up ADB and Fastboot is the first step towards Android development. These two tools allow you to send terminal commands to your phone from your computer via USB cable. Android Debug Bridge (ADB) consists of binaries which allows you to send a wide array of terminal commands to your phone at just about any time; provided you have Android debugging enabled. Whereas, Fastboot enables you to send commands to the Bootloader of your Android device. Meaning, you can flash, modify, update your phone’s firmware. You can also install custom recoveries like latest TWRP recovery, stock firmware or factory images, or even custom ROMS like Lineage OS, Resurrection Remix, etc.
So ADB and Fastboot are invaluable tools for almost every Android user. Without them, flashing a kernel or system image would be much more difficult or even impossible. This tutorial will show you how to install or setup ADB and Fastboot on Mac OS, Linux, Chrome OS and Windows PC. In just a few simple steps you can get started with Android development.
Now, Google officially released separate ADB and Fastboot Binaries for all. So no more downloading complete SDK packages (over 2 GB in size) to just get ADB and Fastboot on your computer. Download small ADB and Fastboot packages, extract them, and start using ADB commands on Windows, Linux, or Mac OS. Moreover, these are latest binaries so it should work seamlessly with Android P, Android 8.0 Oreo, Android 7.1/7.0 Nougat, or earlier versions.
How to easily Install/Setup ADB and Fastboot on Windows?
ADB and Fastboot setup for Windows 10, Windows 8, Windows 7, Windows XP, can be achieved using the quick ADB and Fastboot Installer listed below. You can also use Google’s very own ADB binary to quickly setup.
There are multiple ways to setup ADB and Fastboot on your PC. In order to setup ADB and Fastboot on Windows PC quickly, download the 15 seconds ADB Installer listed below. Run the EXE file on your PC. The setup will progress and ADB and Fastboot environment will be enabled across the Windows installation. So you can open a Command Prompt (cmd) anywhere and start using ADB as well as Fastboot commands anywhere.
Download 15 seconds ADB Installer for Windows:
How to Setup ADB and Fastboot on Windows, Linux, and Mac OS Quickly?
Google has realized ADB and Fastboot is no longer a developer tool anymore. If you use an Android device, then you may have encountered various tutorials, apps, etc requiring ADB connection to operate. So here in this tutorial, we are going to tell yo how you can easily install latest ADB and Fastboot Binaries on Windows, Linux, or Mac OS.
These come directly from Google and are the latest Binaries. So we are certain the above zip files will work for latest Android operating system.
How to install you say?
- Install the latest USB drivers for your Android device. You can download it from Google’s universal USB drivers list. Or you can simply connect device to PC and install drivers from there.
- Download the ADB binary for your particular operating system from above. (Windows, Mac, Linux)
- Extract the zip file.
- From your phone, enable USB Debugging from Developer Options. To do so, first go to Settings > About Phone > tap on the Build Number several times until it says Developer Options enabled.
- Now go to Settings > Developer Options and find USB Debugging.
- Enable it.
- Connect you phone to PC.
- You will get a popup. Allow USB debugging connection to PC.
- Now, this folder can be used for all the ADB and Fastboot operations.
Test the ADB connection by issuing the following command.
It should output a string with device’s product code.
Alternatively, you can also use the following to setup ADB and Fastboot on Mac OS and Linux.
- First, download: Android4.zip or the Mirror zip file. This contains ADB and Fastboot files. Now place it on your desktop (or any location).
- Now extract (unzip) the android.zip file by double clicking it and you will get a folder named “android” that contains multiple files. Files for both Mac OS and Linux.
- You can simply run the ADB-Install-Linux.sh on Linux and ADB-Install-Mac.sh on Mac OS and the operation will automatically install it.
- If you want to manually input commands, then open a new Terminal window on your Mac or Linux system. For Mac, you can search for it from Spotlight with ⌘-Space or find it in your Applications > Utility folder. For Linux, just type terminal in search.
- In the terminal, type in the following command
- To install ADB and Fastboot in Mac type in the following command
On Linux type
Note: You can also drag and drop the “ADB-Install-Mac.sh” file onto your terminal screen.
That’s it. ADB and Fastboot are now successfully installed on your Mac. You can open Terminal anytime and enter ADB or Fastboot commands. ADB and Fastboot setup for Windows, Linux, Mac OS. See how to Install or Setup ADB and Fastboot easily on computer for your Android device? Download 15 second ADB and Fastboot Installer. android tools and drivers.