Looking to install ADB/Fastboot Tools on your Mac, Windows or Linux computer? To conenct your Android Phone? Here is a quick guide to install ABD and Fastboot Tools on your computer. ADB stands for Android Debug Bridge, it is a command line utility which comes with Google’s Android SDK. You can control your device over USB from a computer using ADB. Files can be copied to or from the phone through ADB. ADB is very helpful or maybe very important when you are doing a root of your Android device.
Download and Install ADB/Fastboot Tools
Setting up the Android Debug Bridge (Install ADB)
Go to settings in your Android Phone.
Scroll down you will find About Phone at the bottom of the list (in the Google’s latest Android Oreo version it is hidden behind System option)
Tap the Build Number option 7 times to enable Developer Mode. A toast will appear once it’s done.
Go back to the main Settings screen and a new Developer Options menu will appear.
Then tap that and enable USB Debugging mode option
Once you are done setting up your phone, you need to follow the below steps as required by the respective OS.
Extract the contents of this ZIP file into an easily accessible folder (such as C:adb)
Browse to the folder where you extracted the ZIP file using Windows Explorer.
You can open up a Command Prompt from the same directory as this ADB binary. This can be done by holding Shift and Right-clicking within the folder then click the “open command prompt here” option. (Some Windows 10 users may see “PowerShell” instead of “command prompt”.)
If the above step doesn’t work then you can go to Run and type cmd press Enter to run command prompt.
Connect your phone to PC via USB. Change the USB connectivity mode to file transfer (MTP)
In the Command Prompt window, type following command to launch ADB daemon:
Your phone will display a prompt asking for USB Debugging access to allow or deny. To grant access you need to tap allow.
You need to re-enter the command from step #6. If everything went well, you will see your device serial number as the device connected to your PC.
You are finally successful now and can run any ADB command on your device using PC. All the customizations or modding will now be easy for you with this.
Extract the ZIP to an easily-accessible location (like the Desktop for example).
Open a Terminal window.
Enter the following command in the Terminal to get to the folder where adb tools are extracted:
cd /path/to/extracted/folder/(for example: cd /Users/myPC/Desktop/platform-tools/)
Connect your device to your PC USB. Change the connection mode to “file transfer (MTP)” mode. This is not always necessary for every device, but it’s recommended so you don’t run into any issues.
Once the Terminal is in the same folder your ADB tools are in, you can type the following command to launch ADB daemon:
Your phone will ask for USB debugging permissions. Tap OK.
You have successfully installed adb now on your PC and can run any ADB command on your device using PC. All the customizations or modding will now be easy for you with this.
Easy way to install ADB and Fastboot Tools on Linux:
There is another easier way to install ADB on your Linux PC. The above steps will do just fine for you, but of if you happen to own a Debian or Fedora/SUSE-based distro of Linux, you can skip the first two steps of the above guide and enter following commands…
For Debian-based Linux users, type the following:
sudo apt-get install adb
For Fedora/SUSE-based Linux users, type the following:
sudo yum install android-tools
I hope this tutorial will be useful for you while installing other ROMS on your device or modding it.