dumpsys
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 23 Mar 2016 20:53:20 +0200
changeset 1946 d10215ae7eaa
parent 1945 dbcf75d07a68
child 1947 a27340a6c3d0
dumpsys
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.
 ============================