adb
Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with a device.
Commands
ADB Basics
adb devices (lists connected devices)
adb root (restarts adbd with root permissions)
adb start-server (starts the adb server)
adb kill-server (kills the adb server)
adb reboot (reboots the device)
adb devices -l (list of devices by product/model)
adb shell (starts the backround terminal)
exit (exits the background terminal)
adb help (list all commands)
adb -s <deviceName> <command> (redirect command to specific device)
adb –d <command> (directs command to only attached USB device)
adb –e <command> (directs command to only attached emulator)Package Installation
adb install <apk> (install app)
adb install <path> (install app from phone path)
adb install -r <path> (install app from phone path)
adb install-multiple <apk> config.* (install from xapk)
adb uninstall <name> (remove the app)Paths
File Operations
Phone Info
Package Info
Configure Settings Commands
Device Related Commands
Logs
Permissions
Commonly used commands
Download APK from mobile device
References
Last updated