Download and Install ADB/Fastboot Tools on windows, macOS and Linux

install ADB/Fastboot Tools on Mac

Looking to  install ADB/Fastboot Tools on your Mac, Windows or Linux computer? To conenct your Android Phone? Here is a quick guide to install ABD and Fastboot Tools on your computer. ADB stands for Android Debug Bridge, it is a command line utility which comes with Google’s Android SDK. You can control your device over USB from a computer using ADB. Files can be copied to or from the phone through ADB. ADB is very helpful or maybe very important when you are doing a root of your Android device.

Download and Install ADB/Fastboot Tools

Setting up the Android Debug Bridge (Install ADB)

  1. Go to settings in your Android Phone.
  2. Scroll down you will find About Phone at the bottom of the list (in the Google’s latest Android Oreo version it is hidden behind System option)
  3. Tap the Build Number option 7 times to enable Developer Mode. A toast will appear once it’s done.
  4. Go back to the main Settings screen and a new Developer Options menu will appear.
  5. Then tap that and enable USB Debugging mode option

prompt1

Once you are done setting up your phone, you need to follow the below steps as required by the respective OS.

Install ADB/Fastboot Tools on Microsoft Windows

  1. Download ADB ZIP file for Windows.
  2. Extract the contents of this ZIP file into an easily accessible folder (such as C:adb)
  3. Browse to the folder where you extracted the ZIP file using Windows Explorer.
  4. You can open up a Command Prompt from the same directory as this ADB binary. This can be done by holding Shift and Right-clicking within the folder then click the “open command prompt here” option. (Some Windows 10 users may see “PowerShell” instead of “command prompt”.)install ADB/Fastboot Tools on Windows
  5. If the above step doesn’t work then you can go to Run and type cmd press Enter to run command prompt.
  6. Connect your phone to PC via USB. Change the USB connectivity mode to file transfer (MTP)
  7. In the Command Prompt window, type following command to launch ADB daemon:
  8. adb devices
  9. Your phone will display a prompt asking for USB Debugging access to allow or deny. To grant access you need to tap allow.prompt2
  10. You need to re-enter the command from step #6. If everything went well, you will see your device serial number as the device connected to your PC.
  11. You are finally successful now and can run any ADB command on your device using PC. All the customizations or modding will now be easy for you with this.

Install ADB/Fastboot Tools on macOS

    1. Download ADB ZIP file for macOS.
    2. Extract the ZIP to an easily-accessible location (like the Desktop for example) by double clicking on it or Right.

      Install ADB/Fastboot Tools Mac Folder

    3. Open Terminal.
    4. To browse to the folder you extracted ADB into, enter the following command:
    cd /path/to/extracted/folder/ (For example: cd /Users/MyPC/Desktop/TheNerdMag/platform-tools/)
    1. Connect your phone to your mac via USB. Change the USB connectivity mode to file transfer (MTP)
    2. In the Terminal once you get to the same folder containing ADB tools, you can type the following command to launch ADB daemon:
    adb devices
    1. You will get a prompt asking for permission for USB debugging. Tap OK.prompt2
    2. You have successfully installed adb now on your PC and can run any ADB command on your device using PC. All the customizations or modding will now be easy for you with this.

Install ADB/Fastboot Tools on Linux

    1. Download the ADB ZIP file for Linux.
    2. Extract the ZIP to an easily-accessible location (like the Desktop for example).
    3. Open a Terminal window.
    4. Enter the following command in the Terminal to get to the folder where adb tools are extracted:
    cd /path/to/extracted/folder/(for example: cd /Users/myPC/Desktop/platform-tools/)
    1. Connect your device to your PC USB. Change the connection mode to “file transfer (MTP)” mode. This is not always necessary for every device, but it’s recommended so you don’t run into any issues.
    2. Once the Terminal is in the same folder your ADB tools are in, you can type the following command to launch ADB daemon:
    adb devices
    1. Your phone will ask for USB debugging permissions. Tap OK.prompt2
    2. You have successfully installed adb now on your PC and can run any ADB command on your device using PC. All the customizations or modding will now be easy for you with this.

Easy way to install ADB and Fastboot Tools on Linux:

There is another easier way to install ADB on your Linux PC. The above steps will do just fine for you, but of if you happen to own a Debian or Fedora/SUSE-based distro of Linux, you can skip the first two steps of the above guide and enter following commands…

  1. For Debian-based Linux users, type the following:
    • sudo apt-get install adb
  2. For Fedora/SUSE-based Linux users, type the following:
    • sudo yum install android-tools

I hope this tutorial will be useful for you while installing other ROMS on your device or modding it.

 

Credit: xda-developers.com