logcat.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 03 Jan 2021 23:13:44 +0200
changeset 2487 3554b388e7a2
parent 2486 796bbf279e20
child 2488 b044a0017907
logcat.
android.rst
--- a/android.rst	Sun Jan 03 15:41:15 2021 +0200
+++ b/android.rst	Sun Jan 03 23:13:44 2021 +0200
@@ -185,8 +185,8 @@
      cmd# bcdedit.exe /set nointegritychecks on
      cmd# bcdedit.exe /set nointegritychecks off
 
-Recovery.
-=========
+Recovery
+========
 
 To enter phone to recovery mode press ``VolumeDown``+``Power`` button or::
 
@@ -197,8 +197,8 @@
 http://teamw.in/project/twrp2
   Custom recovery built.
 
-ADB tips.
-=========
+ADB tips
+========
 
 List available devices::
 
@@ -286,6 +286,21 @@
   $ adb logcat
   $ adb logcat "*:W"
 
+logcat
+======
+
+Get help::
+
+  adb logcat --help
+
+Clean log::
+
+  adb logcat -c
+
+Log to file::
+
+  adb logcat -f my.log
+
 dumpsys
 =======
 
@@ -318,8 +333,8 @@
 * 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.
-===============
+List partition
+==============
 
 List partitions (with sizes)::
 
@@ -353,8 +368,8 @@
 
   $ aapt dump badging $FILE.apk
 
-Controlling Android from PC.
-============================
+Controlling Android from PC
+===========================
 
 * http://code.google.com/p/androidscreencast/
 * http://code.google.com/p/android-screen-monitor/