How To Install ADB and Fastboot On Ubuntu 19.04/20.04

We can install ADB and fastboot on Ubuntu 20.04 using the single command. This ADB Andriod tool is also available for Linux. you can also call it an android tool for ubuntu. Let’s see, how to install adb on ubuntu in ubuntu.

These are the components of Andriod SDK Platform-tools. With ADB, you can perform the following task. ADB stands for android debug bridge ubuntu.

  • Copy files
  • Run the shell commands.
  • Install and uninstall apps and much more. Linux adb for mint ubuntu

Fastboot is a special diagnostic product with the help of this you can boot your Android device into. you can also modify the file system images from the computer over the USB connections. We can use these adb android tools for Linux ubuntu as well.

Install ADB and Fastboot On Ubuntu 19.04/20.04:

We can simply install it using the below commands. This will automatically install all the dependencies required for it. 

sudo apt update
sudo apt install android-tools-adb android-tools-fastboot

Check Out: How To Install Zoom Client For Ubuntu 19.10/20.04

You can check the ADB version with the below command. 

[email protected]:~$ adb version
Android Debug Bridge version 1.0.39
Version 1:8.1.0+r23-5ubuntu2
Installed as /usr/lib/android-sdk/platform-tools/adb

Now Enable USB Debugging On your Device:

Make sure your android device is unplugged from the USB. Now you have to go to the “android settings” and scroll down till you find the “about phone“.

Once you have reached it and now look for “build number” then tap 7 times on it.

adb for linux

Check Out: How to Enable QR Code Generator On Microsoft Edge Browser

you will get the “developer options“.

ubuntu android tools

We will test the installation of ADB and fastboot:

Once the above process is completed, we need to check whether it’s working or not. Now connect your android device to your ubuntu machine with USB.

Before running the below command, we need to start ADB daemon using adb start-server.

Check Out: How To Start Monitoring For Elasticsearch Cluster On Linux

Type “adb devices” from the terminal. Now you will be prompt to “Allow USB debugging” from your device and click on “Ok“.

Run the “adb devices” from the terminal and it will show you all the devices connected. 

[email protected]:~$ adb devices
List of devices attached

If you face any issue related to permission, you need to kill the daemon and restart it again using the below commands. 

Check Out: How To Install Ubuntu Server 18.04 On Vmware Workstation

[email protected]:~$ adb kill-server
[email protected]:~$ adb start-server

The daemon will be running on port number 5037ou can find it using netstat command.

[email protected]:~$ netstat -tnlp | grep adb
tcp   0   0*   LISTEN   12174/adb

That’s it.

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment