Android Debug Bridge

From HandWiki
Revision as of 21:15, 12 September 2021 by imported>BotanyGa (change)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Android Debug Bridge, commonly abbreviated as ADB is a tool to run commands on a connected Android device.[1][2] The adbd daemon runs on the device, and the adb client starts a background server to multiplex commands sent to devices. In addition to the command-line interface,[3] numerous graphical user interfaces exist to control adb. The format for issuing commands is typically:

adb [-d|-e|-s <serialNumber>] <command>
where -d is the option for specifying the single USB-attached device,
      -e for the single running Android emulator on the computer,
      -s for specifying a USB-attached device by its unique serial number.
If there is only one attached device or running emulator, these options are not necessary.

For example, Android applications can be saved by the command backup to a file, whose name is backup.ab by default.[4]

In a security issue reported in March 2011, ADB was targeted as a vector to attempt to install a rootkit on connected phones using a "resource exhaustion attack".[5]

References