How to set up ADB / USB Drivers and Fastboot for Android devices

ADB is often used when trying to run phone applications on a computer, so you can debug (debug) errors on your applications, the application you are creating. And Fastboot is used more by manufacturers to diagnose and repair devices that are having software problems.

ADB is often used when trying to run phone applications on a computer, so you can debug (debug) errors on your applications, the application you are creating. And Fastboot is used more by manufacturers to diagnose and repair devices that are having software problems.

1. What are ADB and Fastboot?

ADB is often used when trying to run phone applications on a computer, so you can debug (debug) errors on your applications, the application you are creating. ADB is used for Android root devices.

The reason is because ADB allows you to communicate with an Android phone at some level of development, so it is very handy in some cases, for example, when we want to issue a command to allow us to transfer files Go to the device and then execute all the files in the rooted phone.

Similar to ADB, Fastboot is used to list attached device commands. But in Fastboot mode, there are many ways to flash different parts on an Android device (such as updating the new version to the system, deleting all user data, etc.).

This mode is used more by manufacturers to diagnose and repair devices that are having software problems, but like ADB, Fastboot can also be used to support users. in the process of rooting the device.

You can use Fastboot to flash a new recovery image which then allows you to get root access that way.

In short, when trying to root Android devices, both ADB and Fastboot are the tools you will need to set up the device.

2. Instructions for setting up ADB / USB Drivers and Fastboot for Android devices

Part 1: Set up ADB / Fastboot on Windows

I. Download and install ADB and Fastboot

1. Access the page of Developer on XDA to download 15 seconds ADB Installer.

  1. Download ADB Fastboot Installer for Windows here.

2. Right-click the .exe file you just downloaded and select Run As Administrator .

3. On the next window, enter Y there and press Enter for each question. (This is to install an extended ADB system, any user on the computer can access and install the driver).

4. After the process is complete, restart your computer to make sure ADB is installed.

5. On your phone, go to Settings => About Phone and press repeatedly on Build Number until it says you are Developer.

6. Click Back .

7. Access Developer Options and open USB Debugging .

8. Use a USB cable to connect your device to the computer and wait to install the driver.

9. Next on your computer open File Explorer and access C :, then select adb , press and hold the Shift key on the keyboard and right-click any space in the folder (the folder you see adb and fastboot) and select Open Command Window Here .

10. Enter the command line below into the Command Prompt window and press Enter:

adb devices

11. If you are new to your Android device, the screen will display a window asking you to enable RSA keys. Check Always Allow and enable RSA keys.

After completing the screen you will see a notification window containing a Serial Number, which is Serial Number on your device. This means you have completed the process.

If you do not see the Serial Number, then you will have to reinstall the driver manually in the Section section under section II below.

II. Fix Driver error

Sometimes in some cases if the driver is not installed correctly, you will have to do some extra steps to make it work properly.

Install the driver manually:

1. On your computer, use the Search feature - Search (or use Search Charm on Windows 8 or the Search Bar in the bottom corner of the screen on Windows 10), then enter the Device Manager keyword there Press Enter to open the Device Manager window.

2. On the Device Manager window, you will see an exclamation mark on an item (this is to show you that the driver has not been installed). Right-click the item and select Update Driver Software .

3. Then select ' Browse My Computer . '.

4. Choose the next ' Let Me Pick from a List . '.

5. Select Android Device => Android ADB Device .

Now disconnect your device, then proceed to reconnect and run the command:

adb devices

And if you receive a Serial Number, you have completed the process.

Part 2: Set up ADB / Fastboot on Mac

I. Download and install ADB and Fastbootn for Mac

  1. Download and install ADB Fastboot Installer for Mac here.

2. After downloading, proceed to extract the Zip file you just downloaded to get the folder called Android and save this folder on the Desktop screen.

3. Press the Cmd + Space bar to open Spotlight Search, enter the Terminal into the Search frame to open the Terminal window.

4. On the Terminal window, enter each of the following commands and press Enter after each statement:

cd Desktop / Android

./ADB-Install-Mac.sh

5. This is to run the script so everything is installed and you can list the ABD / Fastboot command anywhere in the Terminal.

6. On your phone, go to Settings => About Phone and click Build Number continuously until you say you are Developer.

7. Click Back .

8. Access Developer Options and open USB Debugging .

9. Use a USB cable to connect your device.

10. Type the following command into the Terminal window and press Enter after each statement:

cd Desktop / Android / Mac

./adb devices

11. If you are new to your Android device, the screen will display a window asking you to enable RSA keys. Check Always Allow and enable RSA keys.

After completing the screen you will see a notification window containing a Serial Number, which is Serial Number on your device. This means you have completed the process.

Refer to some of the following articles:

  1. This is a way to transfer files from your computer to your Android phone without a USB cable
  1. All information about devices list on Android 7.0 Nougat, how to download and how to install
  1. How to hide important data files and applications in Android devices

Good luck!

4 ★ | 1 Vote