ADB Commands and Details.
ADB Commands and Details.
== 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)
== 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