If you want to unlock bootloader, install custom recovery, root your android device or flash a custom ROM on your device, you’re bound to encounter the terms such as ADB, ADB Drivers and Fastboot.
In this guide we’ll talk about What is ADB and Fastboot? How to install ADB drivers and finally how to setup and use ADB and Fastboot for Android on your Windows.
What is ADB?
ADB stands for Android Debug Bridge and it is a command-line utility included with Google’s Android SDK. ADB provides you terminal/command-line based interface to communicate/control your Linux based Android device over a USB connection from your computer. You can use ADB to run shell commands, transfer files back and forth, install and uninstall apps, reboot, reboot into recovery, reboot into bootloader and more. Using ADB, you can even backup and restore your Android phone/tablet. ADB comes as a part of the platform-tools in Android SDK (Software Development Kit). ADB allows developers to tinker with internal components of the Android OS that not not available to the user otherwise.
What is Fastboot?
Fastboot is a new term that has joined in the ADB. Fastboot is a special diagnostic and engineering protocol that you can boot your Android device into. While in fastboot mode, you can directly flash the file system, unsigned partition images in your Android device over a USB connections. Not all the Android phones/tablets have the Fastboot mode. Nexus device comes with fastboot by default as well as some other new devices from other brands.
Now that we have discussed what is ADB and Fastboot, here’s a quick and easy to follow guide to install ADB drivers, setup ADB and fastboot on both Windows and OS X for your Android devices. We’ll discuss things in the following order:
- How to Install ADB Drivers
- How to Setup ADB & Fastboot for Windows
How to install ADB Drivers
- To install ADB drivers for your Android device, you need to download PdaNet. PdaNet comes with drivers from all major manufacturers, so it should take care of your drivers installation part. Here’s the download link: Download PdaNet.
- Disconnect your device from your computer (do not connect until the process asks you to) and install PdaNet after downloading. Hit “Yes” if the installation process ask you to replace or uninstall existing drivers.
- On phone selection screen, choose your device manufacturer, it it’s not listed or you’re not sure about it, select “Others”.
- A scary warning in red will appear telling you that Windows couldn’t verify the publisher of the software. Just click on “Install this Driver Software anyway”. This warning may appear multiple times, keep clicking on install drivers anyway until it stops appearing.
- When PdaNet will ask you to connect your device in USB debugging mode. Connect your Android device to your computer and let the drivers installation to complete. Once the drivers installation completes, it means you’ve successfully installed ADB drivers for your android device.
- Make sure to exit PdaNet from the taskbar. This is just a precautionary measure because PdaNet, running in the background, may interfere with ADB/fastboot commands.
- To confirm whether the ADB drivers are installed properly or not, connect your device to your computer, open “Device Manager” in Windows Computer and see if there’s any sign of exclamation (!) with any ADB/your device listing. If there’s none, you’re good to go.
For MTK Devices
- Download drivers from this .zip file: USB VCOM Driver Mtk65--.zip
- Extract the downloaded USB VCOM Driver Mtk65--.zip file and put the extracted folder wherever convenient in your computer.
- Right click on "My computer" icon and select "Properties"
- Select "Device Manager"
- Select -> Action -> Add new hardware
- Select 'Browse my computer for driver software'
- Select 'Let me pick from a list of device drivers on my computer'
- Select 'Android USB Devices' & select 'Next'
- Select 'Have Disk'
- Select the driver that is compatible with your OS from the extracted USB VCOM Driver Mtk65-- folder
- Click to Install it.
How to Setup ADB & Fastboot for Windows
- To setup ADB and fastboot for Android device in your Windows computer, first you need to download this .zip file: adb-fastboot.zip. It contains all the required files for ADB & fastboot (adb.exe, fastboot.exe, AdbWinApi.dll, AdbWinUsbApi.dll), Start.cmd file opens Command Prompt into ADB & fastboot directory.
- Extract the downloaded adb-fastboot.zip file and put the extracted folder wherever convenient in your computer. This is it! You have successfully set up ADB and fastboot for Android in Windows. Now whenever you want to use ADB or fastboot commands, simply run the START.cmd file.
- To check if ADB is working fine, enable USB debugging mode on you device and connect it to your computer. Now open START.cmd, if Windows prompt, “Run Anyway” the START.cmd file. Now execute the following command:
If if return the serial number, then you have set it up successfully and are good to go! Some useful ADB commands can be found at the bottom of this guide.
More info for how to use it: Useful ADB and Fastboot Commands