What is ADB?
The Android Debug Bridge is known as ADB. It functions when the device is turned on and is in OS or recovery mode. The utility facilitates the transmission of fundamental Linux commands, as well as several Android-specific commands, from a PC to connected Android devices.
What’s Fastboot?
ADB is not as powerful as Fastboot, which only operates in bootloader/fastboot mode. It necessitates a smartphone with an unlocked bootloader and enables you to flash your Android handset’s system partitions again. It comes in handy when you wish to manually upgrade your device or, in a very rare circumstance, when you accidentally soft-brick your device and need to install a fresh stock system image.
Advantages of the ADB and Fastboot tools
- Suitable for all Android devices
- It runs on either the Mac or Windows platforms.
- You can flash TWRP recovery.
- Relock and unlock the bootloader of the device.
- Get rid of the bloatware on your phone.
Set up your Android device for ADB
Your Android device cannot use ADB until it has been configured to work with ADB, even if you install ADB on your PC. Follow the instructions below to learn how to accomplish that if you’re unsure.
- Go to “About Phone” in the Settings app on your Android handset. Tap “Build number” seven times in a row from this point on. The ‘Build Number’ page could be buried behind other pages due to the numerous skins that Android devices have.
- Your Android device will now have “Developer Options” enabled. Go to “System,” then “Developer Options,” and “USB debugging” will be enabled. Choose “File transfer (MTP)” as your mode anytime you connect your Android smartphone to a computer going forward. The device front is closed to you. Setting up ADB on your PC is the next step.
Download ADB and Fastboot.
15 Second ADB Installer | Download Here |
Download Adb Minimal | Download Here |
Download ADB and Fastboot tool | Download ADB Platform for Window Download ADB Platform for Linux Download ADB Platform for MaC |
How to install ADB and Fastboot
Mainly, there are three methods to install ADB and Fatboot on your computer. So, today we will explain the three methods to install ADB through this guide.
- ADB Installer for 15 seconds
- Install Minimal ADB and Fastboot Tool
- Download the ADB and Fastboot Platform Tools.Â
How to install ADB Installer for 15 seconds on your computer
- Download ADB Installer for 15 seconds on your computer.
- Now, extract the file from the 15-second ADB installer package.
- Then, open the.exe setup file:
- Now you will be able to see the following screen:
- Press the Y button to continue.
- The next step is to install the ADB System-Wide (It will install the ADB and fastboot files.)
- This will open the final setup window. To continue, click next.
- When the setup is complete, click Finish to close it.
- It takes hardly 15 seconds to install the Android ADB Driver Setup since you only need to press Y and click to complete the process.
Install Minimal ADB and Fastboot Tool
- First, download and extract the MINIMAL ADB and Fastboot Tool.
- Once the tool package is extracted from the PC
- Launch MINIMAL ADB Fastboot.exe
- After that, the setup window is launched. Click on the next button.
- Again, click on the next button.
- The ADB and Fastboot files will now be installed on the computer.
- Click on the Finish button to exit or close the setup window.
- Congratulations! You have successfully installed the ADB and Fastboot files.
How to Use and Setup the ADB and Fastboot Platform Tools in Windows
- Download the ADB Platform Tool through the given link above.
- Now, go to the download folder and extract the file anywhere. (But we recommend extracting the file from C://.)
- After that, open the CMD and enter the file address after hitting Enter (or, alternatively, go to the file when you extract it, select the address, type “CMD,” and hit the Enter button).
- When opening the command prompt, type “Adb Devices.”
- Your smartphone will display a “USB debugging” prompt. Tap “Allow” after checking the “Always allow” checkbox.
- Congratulations! You have now successfully installed ADB on your Windows computer.
Install ADB on Linux.
- You can download the platform-tools package for Linux.
- You will need to extract the contents of the downloaded “platform-tools-latest-linux.zip” file to a location of your choice. Our preference is to use HomeDirect.
- Using a terminal window, navigate to the folder where the ADB and other binaries are located.
- Take a look at the example below.
- Cd /home/arjun/platform-tools
- Enter the following command in the Terminal window after connecting your Android device to the PC via USB cable:
- adb devices
- When you enter this command for the first time, the Terminal window will display the serial number and the “unauthorised” message.
- Your device screen will also display a message prompting you to allow USB debugging. You just need to allow it.
- In the end, you will be able to establish a successful connection between your PC and device using ADB by entering the “./adb devices” command once again.
The installation of ADB on Linux has now been completed.
- For macOS, download the Android SDK Platform Tools ZIP file.
- The ZIP file should be extracted to a location that is easily accessible (such as your desktop).
- Launch the terminal.
- Enter the following command to browse to the extracted folder: cd /path/to/extracted/folder
- This is how it works on my Mac: cd /Users/Doug/Desktop/platform-tools
- Connect your device to your Mac using a USB cable that is compatible with your device. Set the USB connection mode to “file transfer (MTP). You don’t need to do this for all devices, but it’s best to leave it in this mode to avoid problems.
- To launch the ADB daemon, you can run the following command in the terminal once you are in the same folder as your ADB tools:./adb devices.
- An “Allow USB debugging” prompt will appear on your device. Allow the device to.
- In the final step, enter the command that you entered in step 6. The serial number of your device should now appear in the Terminal window of macOS if everything goes well.
I congratulate you! Now you can run any ADB command on your device.