As an Android user, I never miss out on any opportunity to bring exciting customization to my smartphone. In order to personalize my Android device, I use root to open my phone to hundreds of exciting tweaks as well as customizations.
ADB and Fastboot are very handy tools as they not allow you to backup up your device but also root it with ease. Besides, you can download and install ADB & Fastboot on your Windows, Mac, and Linux.
You Need to Know:
- The ADB (Android Debug Bridge) is a superb command line tool primed by Google for Android developers.
- ADB enables developers to debug their applications with a variety of easy-to-use commands.
- With ADB installed on your computer, you will be able to flash a factory image or install an OTA without needing to wait for the update to come from Google.
- After you have set up ADB, you will be able to get fastboot commands as well.
- Fastboot commands such as, “fastboot flash” will let you install custom recoveries as well as kernels on your device.
How to Install ADB & Fastboot on Windows, Mac & Linux
Step #1. Install the Android SDK Tools that comes with ADB & Fastboot.
Go to the official site and download the file for your particular operating system.
If you are a Windows user, you need to launch the EXE file and go ahead with the instructions to install the full Android SDK will be saved in the C:\Program Files (x86)\Android\ folder.
If you are Linux or Mac user, you have to extract the contents of the ZIP to a folder that can be accessed with ease.
Step #2. Now, launch a terminal window and then change directories to the /android-sdk-linux/tools/ or /android-sdk-macosx/tools/ folder which you have just extracted.
Step #3. Next, you will have to type android sdk (Linux) or. /android sdk (Mac) to open the SDK Manager.
Download the Platform Tools package if you are Linux or Mac computer. You need to select the “Android SDK Platform-tools” option, then click the install button.
Step #4. If you are a Windows user, you have the option to download the drivers from this link.
If you are Linux user, you need to download and extract this ZIP file and then run the script with Terminal.
If you are Mac user, you have to install the proper drivers on your device.
Using snoop05, you can easily install ADB and Fastboot to your entire system.
Just download ADB installer (.exe) and select whether you wish it to install system-wide or want it to install the Google Drivers.
If you want to install ADB and Fastboot on the device that you are currently using, just type N when asked to install it system-wide.
Mac or Linux users will have to use Terminal command to install ADB and Fastboot. Nevertheless, like Windows installation, it will install ADB and Fastboot in a way that will let you use them from any directory.
Step #6. As Terminal will handle the downloading and installation process by itself, you don’t need to download any file. To install ADB and Fastboot, you have to use this command.
Internet connection is required to run this perfectly. You need to use this alternative command if you get any error.
cd ~ && curl -s -o ./install.sh “http://github.com/corbindavenport/nexus-tools/raw/master/install.sh” -LOk && chmod +x ./install.sh && ./install.sh && rm ./install.sh
Step #2. You can now access the ADB tools via your command line if you are in the platform-tools directory found in the SDK folder.
You need to set up a PATH variable to ADB in order to access the tools from anywhere in your command line.
On Mac or Linux, you need to open up your terminal and type “nano ~/.bash_profile”. Press return. This command will open a text editor to let you modify the file which contains your system’s PATH variables. Next, you have to add this line to your file, along with the needed information.
“export PATH=$PATH:/Users/<your username>/<path to platform-tools>”
Step #3. Next up, you will have to save your changes by pressing the “Option” and “X” keys at simultaneously. Then, you need to test the ADB tools using the “adb devices” command.
If you see a “list of devices attached:” prompt, ADB has been set up perfectly. If you see “adb command not found,” you will have to go back and ensure that you have your PATH variable.
That’s it! You have got an up-to-date copy of ADB and Fastboot on your computer.