Android Debug Bridge (ADB) Commands

A comprehensive guide to ADB commands for Android development, debugging, and device management.

Device Management

Connect, manage, and debug Android devices with essential ADB commands.

App Development

Install, uninstall, and test applications during development.

System Tools

Access system settings, logs, and perform advanced operations.

What is ADB?

Android Debug Bridge (ADB) is a versatile command-line tool that lets you communicate with Android devices. It facilitates a variety of device actions, such as installing and debugging apps, accessing the device shell, and more.

How to Use This Guide

Browse through our categorized list of ADB commands below. Each command includes detailed explanations, usage examples, and helpful notes. Use the category filter to find specific types of commands quickly.

Quick Tip

Make sure you have ADB installed and added to your system's PATH before using these commands. You can verify the installation by running adb version in your terminal.

ADB Commands Reference

adb devices

Device Management

List all connected devices

adb install

App Management

Install an application

adb shell

Shell Access

Start a remote shell in the target device

adb pull

File Transfer

Copy files from device to computer

adb push

File Transfer

Copy files from computer to device

adb reboot

Device Management

Reboot the device

adb logcat

Debugging

View device logs

adb uninstall

App Management

Remove an app from the device

adb backup

Backup & Restore

Create a backup of device data

adb restore

Backup & Restore

Restore a backup to device

adb tcpip

Network

Set device to TCP/IP mode

adb connect

Network

Connect to a device over network

adb screencap

Screen Capture

Take a screenshot

adb screenrecord

Screen Capture

Record device screen

adb shell pm clear

App Management

Clear app data

adb shell dumpsys battery

Device Info

Get battery statistics and status

adb shell wm size

Display

Get or set the screen resolution

adb shell input

Input Control

Simulate user input

adb shell pm list packages

Package Management

List all installed packages

adb shell getprop

System Properties

Get Android system properties

adb shell settings

System Settings

View or modify system settings

adb shell am start

App Control

Start an activity

adb shell pm disable-user

Package Management

Disable an installed package

adb shell dumpsys meminfo

Performance

Get memory information

adb shell monkey

Testing

Stress test applications

adb shell dumpsys battery reset

Device Control

Reset battery stats

adb shell pm clear-data

App Management

Clear app data and cache

adb shell wm density

Display

Get or set screen density

adb shell service list

System Info

List all system services

adb shell dumpsys window

Window Management

Get window information

adb shell pm disable-user

App Management

Disable an app for the current user

adb shell pm enable

App Management

Enable a previously disabled app