0% found this document useful (0 votes)
6 views1 page

ADB Commands and Details.

The document provides a list of ADB (Android Debug Bridge) commands for managing Android devices, including starting and killing the ADB server, rebooting devices, and accessing device information. It also covers commands for logging, updating apps, and retrieving device properties. Key functionalities include remounting partitions, checking device status, and executing shell commands on the device.

Uploaded by

kailas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

ADB Commands and Details.

The document provides a list of ADB (Android Debug Bridge) commands for managing Android devices, including starting and killing the ADB server, rebooting devices, and accessing device information. It also covers commands for logging, updating apps, and retrieving device properties. Key functionalities include remounting partitions, checking device status, and executing shell commands on the device.

Uploaded by

kailas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

adb start-server - ensure that there is a server running

adb kill-server - kill the server if it is running


adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb get-devpath - prints: <device-path>
adb status-window - continuously print device status for a specified
device
adb remount - remounts the /system and /vendor (if present)
partitions on the device read-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the
bootloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adb daemon with root permissions
adb usb - restarts

== Adb Server
adb kill-server
adb start-server

== Adb Reboot
adb reboot
adb reboot-bootloader
adb root //restarts adb with root permissions

== Shell
adb shell // Open or run commands in a terminal on the host Android device.

== Devices
adb usb
adb devices //show devices attached
adb devices -l //devices (product/model)

== Get device android version


adb shell getprop ro.build.version.release

== LogCat
adb logcat
adb logcat -c // clear // The parameter -c will clear the current logs on the
device.
adb logcat -d > [path_to_file] // Save the logcat output to a file on the local
system.
adb bugreport > [path_to_file] // Will dump the whole device information like
dumpstate, dumpsys and logcat output.

== Update app
adb install -r yourApp.apk // -r means re-install the app and keep its data on the
devi

You might also like