If you are a real Android enthusiast and if you have also tried to root your Android device or flash a ROM, then you must have heard about ADB and Fastboot. These are the two surprisingly powerful tools, but can be a bit complex to set up. In this guide we will show you how to do it the easy way.
About ADB and Fastboot
With the help of these two powerful tools we can push terminal commands to Android device from PC through USB. The functionality of both tools is different, but they can be easily installed together in no time and they both are very helpful tools.
Android Debug Bridge (ADB)
A wide array of terminal commands can be send through this tool. The command list is not only limited to basic Linux shell commands, there are also some speciality developer commands for Android devices (as long as device debugging is enabled). You can easily push any command while the device is power on and booted, or even when the device is in recovery mode. ADB normally used with rooting or modifying Android system but it can also be used to push terminal commands to un-rooted devices as well.
In order to modify Android device firmware you need fastboot tool. With this tool you can send commands to the bootloader, so you can flash/modify several things like custom recoveries. There are lots of things you can do with it which you can’t do it in ADB but you can’t flash whole ROMs with it. Not all devices have this enabled, so you may have to check your specific device.
These tools mostly bundled with Android SDK, that’s why the size of the download is extremely large and most of the users don’t really need it. You can skip the SDK if you only want to root your device or flash some ROMs, and work around in the terminal.
In Windows operating system its bit difficult to get ADB and fastboot working on because it has driver issues. But thanks to some senior members of XDA who have make the process much easier and now you don’t even have to download the full Android SDK. If you only want to set up ADB on your Window based PC, you can use this 15 second ADB Installer.
Nexus Tools by Corbin05218
There are many methods available on the internet to set up ADB and Fastboot but the listed method is the simplest one. Corbin05218 is the senior member of XDA who released Nexus Tools to make it easy to set up ADB and Fastboot on Mac OS X. By typing a single command line code in a terminal window can get the job done quickly. And by using Nexus Tools you can easily set up ADB and Fastboot on Mac OS X.
Basically Nexus Tools is not a program as it sounds but a string of command line. What you have to do is to execute the following command in a terminal window on Mac OS X computer:
bash <(curl https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh)
Once the above command executed successfully, all the files required to set up ADB will be downloaded and therefore it requires a good internet connection on your PC.
The script runs as root so it may asks for sudo so that It can copy the download files to usr/bin. All command of Nexus Tools work smooth on Mac machines but if you need to uninstall it at any point then you can use the following command to uninstall ADB from your PC:
bash <(curl https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/uninstall.sh)
So, now you know how easy is to set up ADB and Fastboot in Mac and now it’s must be a simple thing for you.
But before you start using ADB and Fastboot on your Android device, make sure USB Debugging is enabled on your device.