How to install android drivers on ubuntu
How to
Install ADB & Fastboot on Ubuntu 16.04, 16.10, 14.04
This tutorial is going to show you how to
install ADB & fastboot on
Ubuntu 16.04, 14.04, 16.10, which is quite easy.
What is
ADB and Fastboot
ADB and fastboot are two components of the Android SDK Platform-Tools.
ADB stands for Android Debug Bridge. It’s a
command line utility that allows you to do the following stuff:
- Control
your Android device over USB from your computer
- Copy
files back and forth
- install
and uninstall apps
- run
shell commands
- and
much more
Fastboot is a command line tool for flashing
and Android device, boot an Android device to fastboot mode, etc…
How to
Install ADB and Fastboot on Ubuntu 16.04, 16.10, 14.04
It’s super easy. Simply run the following
commands in a terminal window to install them from Ubuntu repository.
sudo apt update
sudo apt install android-tools-adb
android-tools-fastboot
To check ADB version, run
adb version
Sample output:
Android Debug Bridge version 1.0.32
Enable USB
Debugging on Your Android Device
While you Android device is unplugged from
USB, go to your Android settings, scroll all the way down and tap About phone or About device. Then tap
Build number 7 times which makes you a developer.
Now go back to the settings, you will see a
new button called Developer options. Tap that
button and enable USB debugging.
Test the
Installation
To check if ADB is working properly, connect
your Android device to your Ubuntu computer via USB cable. After that, type the
following command in your Ubuntu terminal window.
adb devices
You will be prompted to allow USB debugging
from Ubuntu computer like the screenshot below. Select OK.
Then type run adb devices command again and your Android device will show up.
If you get the following error,
???????????? no permissions
Then all you need to do is restart adb daemon,
run
sudo adb kill-server
Then
sudo adb start-server