Installing ADB on Ubuntu

ADB on Ubuntu android

First, a little about ADB. ADB on Ubuntu allows you to:

  • View all! folders on your tablet
  • View tablet logs.
  • Copy files from tablet and on him.
  • Install/Remove applications on your tablet.
  • Implement various control scripts.
  • Change/add/edit various files on the tablet
  • and much more.

Setting up and installing ADB on Ubuntu

First, install the Android SDK in Ubuntu. To do this, open the terminal in Ubuntu

ADB on Ubuntu

sudo add-apt-repository ppa:upubuntu-com/sdk

sudo apt-get update sudo apt-get install android-sdk

After all packages have been downloaded, a new folder android-sdk-linux will appear in the Ubuntu home folder.

Let's go to it. Write in the terminal

cd android-sdk-linux/tools/

press enter, then

./android

Android SDK manager will open
ubuntu android adb

We put a tick next to Tools and install 2 packages. That's all.

Now you need to log in as root in the terminal. If you have never done this before, then first set a new password for root

sudo passwd root

Now we log in as root and move to the platform-tools directory

cd android-sdk-linux/platform-tools/

And we get access to the device via ADB on Ubuntu

./adb shell

The inscription will appear

root@android:/ 

That's it! We're back in. Now you can view and modify files on your device using lunix commands

Note: If the inscription is displayed error: insufficient permissions for device or adb does not see devices in Ubuntu

Then you need to restart adb server

./adb kill-server ./adb start-server

SEO Expert and Web Developer

Rate author
iNevidimka Blog
en_USEnglish