Useful Android debug commands

For Android terminal

$ dmesg

$ dumpsys

$ dumpstate

$ logcat -b events

$ bugreport > /mnt/media_rw/{your device}/bugreport.txt

  1. df: Disk space details in GB.

    adb shell df

  2. du: Disk space used by the specified files and subdirectories.

    adb shell du

  3. For specific folder desk space details in GB.

    adb shell df /system

  4. For specific folder and subdirectories desk space details

    adb shell du /system

Print Friendly, PDF & Email

One thought on “Useful Android debug commands

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.