# HG changeset patch # User Oleksandr Gavenko # Date 1609708424 -7200 # Node ID 3554b388e7a257b23724faa4fe78ba8160737b88 # Parent 796bbf279e208beee8e3b92a1b1610fa9f14471b logcat. diff -r 796bbf279e20 -r 3554b388e7a2 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/