Technology

Technology

How to install ADB and Fastboot on your PC.

If you want to root your Android device, install a custom ROM and kernel’s, first they need to unlock their bootloader and install custom recovery and for that, they need to install ADB and fastboot drivers. ADB and Fastboot is used to Install Custom recovery (TWRP, CWM) on your device. It will help to root your device, install gapps file. It will help you to unlock bootloader of your device. Mainly We can say that it is a tool that helps you to customise your device by allowing you to install various custom files(Custom ROM, Custom Recovery) on your device. install a custom ROM or many other advanced-level techniques then you need to learn how to install ADB and Fastboot on Windows.


What is ADB?

ADB (Android Debug Bridge) is a small debug tool that you found in Android Software Development Kit (SDK). that allows you to send a wide array of terminal commands including but not limited to basic Linux shell commands, plus some specialty developer commands to your phone. It consists of a client and server part each communicating with the other. In laymen's terms, it's a communication tool between your smartphone and PC. You can send commands while the phone is turned on and booted, or even when it’s in recovery mode. With ADB, you can control your device from the computer via USB, transfer files and run powerful shell commands. In other words, ADB is very helpful to the Android community for rooting, flashing new ROMs or simply troubleshooting smartphones.

What is fastboot?

Fastboot is also a part of SDK. It is basically a diagnostic tool used to modify the Android file system from a computer when the smartphone is in bootloader mode. This allows you to send commands to the bootloader, which means you can flash/modify things like custom recoveries. you can also install updates and zip files from fastboot. You can’t flash whole ROMs with it, but it’s helpful for many things that ADB can’t do. Fastboot isn’t enabled for all phones, so you may have to check your specific device.

How to Enable USB debugging

Goto Settings > About phone (tap seven times on Build number ) > Go back to the main Settings menu > Developer options  > activate USB debugging.

Common ADB errors messages and solutions

  • Command Not Found: you have made a mistake, or the command is not yet available in your ADB version. Check the command via adb help or update your ADB.
  • No Device: Check your USB cable connection, ADB interface on your phone is not running or your computer does not recognize your smartphone. Use different USB port, another cable, enable USB debugging, check the device drivers, the computer, and restart your device.
  • Server is out of date: The version of ADB Tools on your computer and the version of Android on your smartphone must be compatible. If they are not, this error occurs.
  • Waiting for device: This error is largely the same as the No Device error. Your computer does not recognize your smartphone.

Method 1 (15 sec adb Installer)

Download  :- ADB Installer 1.4.2 or ADB installer v1.3

Follow these Simple Procedure to install ADB and Fastboot on your PC :
  • Download the installer file from the above link. 
  • Right click and run as administrator then it will open command prompt window. 
  • In the command prompt window you need to type “y” for yes and press enter button (as shown in the picture) to install the ADB and fastboot driver.

  • It will take a few seconds to install the ADB and fastboot drivers on your PC and copied the required files to a particular location.
  • When it completes the installation , Now type ‘Y’ again to install your device driver. It will take few seconds to install device drivers and after that, your command window will close automatically.

  • Now you are ready to work with ADB anf fastboot .

Method 2 (Minimal adb Fastboot Installer)

Download:- Minimal ADB and Fastboot setup

Follow these Simple Procedure to install ADB and Fastboot on your P? :
  • Download the installer file from the above link. Right click on the minimal_adb_fastboot_v1.3.1_setup.exe and run as administrator.
  • Follow the instructions and select where you would like to install Minimal ADB and Fastboot.

  • Choose the file location and complete the setup by following the instruction.
  • Now you successfully install Minimal ADB and Fastboot on your Windows PC.
  • To check ADB and Fastboot is correctly configured on your PC go to the installation directory of Minimal adb fastboot, press and hold the shift key and right click and launched the command prompt and type ‘adb devices’. It will show you the list of connected devices.