As a custom ROM user I know how important is ADB for performing various operations such as flashing zip files and recoveries. It can be used for booting the device into various boot modes. The most commonly used command is the “adb sideload” which helps the user to transfer and flash the zip files from PC to phone through the recovery.

Before using the ADB and fastboot, you have to first enable the USB debugging from the Developer options. If you can’t see the Developer options in the settings menu, then you have to enable it. To enable Developer Options, you have to tap the build number (Which can be found on Settings > About Phone) for 5 times. Now you can find the Developer Options in the Settings Menu.

Installing ADB

  1. Download ADB files.
  2. Now run the download file.
  3. It will ask you “Do you want to install ADB and fastboot? (Y/N)” in the command window you have to type Y or N and then press Enter.

    Setting up ADB and Fastboot

  4. Then it will again ask you if you want it install the ADB system wide, enter your option and again press Enter.

    Installing ADB drivers

  5. Install the adb Drivers.

After the installation is completed you can find the adb folder in C drive or the root drive. You don’t have the option to change the location during installation. However, you can move the folder to another location or you can also rename the folder.

What else do you need?

Some devices work on the same driver that you have just installed but others need some extra drivers to get themselves detected. You can download them from the phone manufacturer’s website.

Some ADB and fastboot commands

If you are using ADB for the first time, then you might need to get used to some basic commands.