# HG changeset patch # User Oleksandr Gavenko # Date 1458759200 -7200 # Node ID d10215ae7eaa4d3abc4428d35980c4a53a4d0340 # Parent dbcf75d07a68c0e5e0a8348dc069f65f2241a7e4 dumpsys diff -r dbcf75d07a68 -r d10215ae7eaa android.rst --- a/android.rst Wed Mar 23 11:34:57 2016 +0200 +++ b/android.rst Wed Mar 23 20:53:20 2016 +0200 @@ -169,6 +169,38 @@ $ adb logcat $ adb logcat "*:W" +dumpsys +======= + +Info from all services:: + + $ adb shell dumpsys + +List of available services:: + + $ adb shell service list + +Info from concrete service:: + + $ adb shell dumpsys phone + $ adb shell dumpsys diskstats + $ adb shell dumpsys usb + $ adb shell dumpsys activity + $ adb shell dumpsys package + $ adb shell dumpsys display + $ adb shell dumpsys gfxinfo + $ adb shell dumpsys power + $ adb shell dumpsys battery + $ adb shell dumpsys batteryinfo + $ adb shell dumpsys cpuinfo + $ adb shell dumpsys dbinfo + $ adb shell dumpsys meminfo + $ adb shell dumpsys account + $ adb shell dumpsys netstats + +* https://source.android.com/devices/tech/debug/dumpsys.html +* http://stackoverflow.com/questions/11201659/whats-the-android-adb-shell-dumpsys-tool-and-what-are-its-benefits + List partition. =============== @@ -182,6 +214,21 @@ android# mount android# df +Remount /system as RW +===================== + +Usually with:: + + $ adb remount + +If you have root but above command fail:: + + $ adb shell + android# su + android# mount | grep /system + ... + android# mount -o remount,rw /system + Controlling Android from PC. ============================