Install ADB And Fastboot The Easiest Way On Linux Mint, Ubuntu And Other Debian Based Distros

Share:

In this article, we will discuss on how to install Android Debug Bus (ADB) and Fastboot on Debian based Linux, like on Linux Mint, Ubuntu, Kali, Parrot Sec OS etc. This article will guide you the easiest method to install ADB and Fastboot on Linux machine. If you are a Android user or a developer, you might be well aware of these two tools. These are extremely useful and must have tool for a developer and as well for a advance Android user. Before we install the tools, lets know about these a little more.

Android Debug Bus: ADB is a cross-platform command line utility, which help users to communicate to Android device form a PC using USB cable. ADB can be used to copy files, run shell commands, controlling device form PC ect. As you have already known, both ADB and Fasboot are part of Google Android SDK. Fastboot: Fastboot provides functions to manipulate Android file system and bootloader. You can use Fastboot to flash custom recoveries and updates.

Following below instructions, you should be able to install ADB and Fastboot on your system easily.

These commands are same for all Debian based distros
Instructions to install Android Debug Bus (ADB)
Open a terminal and enter the following commandsto install ADB ,
First
sudo apt-get update
then
sudo apt-get install android-tools-adb

Instructions to install Fastboot
Again enter the following command on terminal to install fastboot
sudo apt-get install android-tools-fastboot

Now you have successfully install these two packages, ADB and Fastboot.

To start and kill adb server enter the following commands.
to start ADB server,
sudo adb start-server
to stop ADB server
sudo adb kill-server
After starting adb server connect your Android device with USB debugging mode enabled to your PC.
Allow if prompted on Android device and issue the following command to list your device on ADB.
adb devices
If your device is detected, it will be like below and you are done.

But if your device doesnt show up, try to kill and start the adb server again. If you face any issue just comment below.

6 comments:

  1. Samsung S8 both FRP and OEM Lock on when starting in recovery mode. Unable to start in USB debugging mode. Appreciate any help:)

    ReplyDelete
  2. When I enter command: adb devices

    I don't see my device I think it's not mounted but how do I mount it's stucked in FRP.

    ReplyDelete
  3. Thanks for this!! Any advice? Unfortunately I get "unauthorized" when I type:
    Laptop@Laptop:~$ adb devices
    List of devices attached
    8XV5T15A30003117 unauthorized

    ReplyDelete
  4. Hi, I am unable to use fastboot command from terminal in Linux Mint 19, but it works with the same Android device in Linux Mint 18.3. This is after having installed both the adb-tools and adb fastboot. The device is recognized in recovery mode, but not with fastboot devices. I get: no permissions (user in plugdev group; are your udev rules wrong?). Same device on Mint 18.3 is able to execute and recognize fastboot on a different machine. This is a rooted Android device, the bootloader unlocked (Nexus 5 hammerhead). Seems like Mint 19 is more strict?

    ReplyDelete
  5. Hello. I have a problem, it does not appear in the list my device is connected.

    tt@tt-Aspire-5750:~$ sudo adb start-server
    [sudo] senha para tt:
    tt@tt-Aspire-5750:~$ sudo adb kill-server
    tt@tt-Aspire-5750:~$ adb devices
    List of devices attached
    * daemon not running; starting now at tcp:5037
    * daemon started successfully

    ReplyDelete
  6. You can find and download all the latest minimal adb files here

    ReplyDelete

😉 Adblocker detected!! 😉

Please disable your adblock or atleast whitelist us. We work hard to deliver useful content for you, in return we are politely asking you to view ads on side site. It is the only source of our income. Hope you understant.

Click below to refresh the Page.

Thank you.