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 Commands
adb devices
Device ManagementList all connected devices
adb install
App ManagementInstall an application
adb shell
Shell AccessStart a remote shell in the target device
adb pull
File TransferCopy files from device to computer
adb push
File TransferCopy files from computer to device
adb reboot
Device ManagementReboot the device
adb logcat
DebuggingView device logs
adb uninstall
App ManagementRemove an app from the device
adb backup
Backup & RestoreCreate a backup of device data
adb restore
Backup & RestoreRestore a backup to device
adb tcpip
NetworkSet device to TCP/IP mode
adb connect
NetworkConnect to a device over network
adb screencap
Screen CaptureTake a screenshot
adb screenrecord
Screen CaptureRecord device screen
adb shell pm clear
App ManagementClear app data
adb shell dumpsys battery
Device InfoGet battery statistics and status
adb shell wm size
DisplayGet or set the screen resolution
adb shell input
Input ControlSimulate user input
adb shell pm list packages
Package ManagementList all installed packages
adb shell getprop
System PropertiesGet Android system properties
adb shell settings
System SettingsView or modify system settings
adb shell am start
App ControlStart an activity
adb shell pm disable-user
Package ManagementDisable an installed package
adb shell dumpsys meminfo
PerformanceGet memory information
adb shell monkey
TestingStress test applications
adb shell dumpsys battery reset
Device ControlReset battery stats
adb shell pm clear-data
App ManagementClear app data and cache
adb shell wm density
DisplayGet or set screen density
adb shell service list
System InfoList all system services
adb shell dumpsys window
Window ManagementGet window information
adb shell pm disable-user
App ManagementDisable an app for the current user
adb shell pm enable
App ManagementEnable a previously disabled app