There are mentions about ADB on various questions and answers on this site. I'm not exactly sure what ADB is, what it does, how it works and where I can get it: there's little information on the tag wiki besides the link for ADB on the android developer site.

On the site itself, the language is a bit too technical, and there is no information on how to install it or get it working, only a list of commands. This may seem obvious for a developer but may not be for some users.

What is the purpose, usage and installation procedure for ADB?

1 Answer 1


ADB is the acronym for Android Debug Bridge, which is part of the Android SDK (Software Development Kit). It uses a client-server-model (i.e. adbd, the ADB daemon, is running on the device and can be connected to), and in most cases is used via an USB connection. It is also possible to use it via WiFi (wireless adb).

There's nothing you need to install on your Android device, as the ADB daemon (adbd) is already integrated into the Android OS. It is usually accessed via a command line interface from the PC, where either the full Android SDK is installed (several 30 MB download archive currently), or a massively stripped-down version for "non-developers", sometimes referred to as "Mini ADB" or "ADB essentials" (for Linux, this is only the adb executable; for Windows it's adb.exe plus two or three .dll files):

adb [-d|-e|-s <serialNumber>] <command>

(serialNumber is only needed if there are multiple devices connected at the same time, so you have to specify the target)

It would become a rather long answer to explain all the options/commands available to adb. So I will only name some of the more important:

  • adb backup / adb restore: To backup/restore your device, either single apps with/without their data, or data with/without their apps, up to a full backup of all apps and data, including system apps
  • adb push / adb pull: copy files to/from the device
  • adb shell: open a shell on the device to execute commands directly
  • adb logcat / adb bugreport: display the system log or generate a complete bug report including system log, device information and more
  • adb [un]install: (un) install an app

This is just a small selection. There are additional commands for scripting, and especially adb shell has a lot of options (basically, all Linux and Java commands available on the device can be run through it).

Useful references

  • On Debian this is available as android-tools-adb. Commented May 4, 2015 at 22:08
  • 1
    Note also that you need to enable developer options, and also enable USB debugging (I think). You need to tap on the build info in the phone 7 times to show the developer options as of version 4.4.2. Seriously. On my phone it was Settings -> About phone -> Build number. See askvg.com/… Commented May 4, 2015 at 23:18
  • @FaheemMitha .deb: Yes, I know. Wanted to keep it a bit more generic here (gets to much else – but also see: Is there a minimal installation of ADB? and our adb tag-wiki). USB Debug: Yes. And the 7-times-tap is from Android 4.3 up – 4.2 and before didn't hide the developer menu.
    – Izzy
    Commented May 5, 2015 at 8:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .