# HG changeset patch # User Oleksandr Gavenko # Date 1441834444 -10800 # Node ID ca6335f9471f1b76c0f28c221139f648b2a4840d # Parent 5c549e75b296cd256e78d9089d9c13764d783abe List partition. diff -r 5c549e75b296 -r ca6335f9471f android.rst --- a/android.rst Thu Sep 10 00:06:36 2015 +0300 +++ b/android.rst Thu Sep 10 00:34:04 2015 +0300 @@ -129,6 +129,11 @@ $ adb shell ps | grep $REGEX $ adb shell kill $PID +To stop application:: + + $ adb shell am kill com.google.android.contacts + $ adb shell am force-stop com.google.android.contacts + Take a screenshort:: $ adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > screen.png @@ -146,6 +151,19 @@ $ adb logcat $ adb logcat "*:W" +List partition. +=============== + +List partitions (with sizes):: + + android# cat /proc/partitions + android# cat /proc/mtd + +List mounted file systems:: + + android# mount + android# df + Controlling Android from PC. ============================