For Android terminal
$ dmesg
$ dumpsys
$ dumpstate
$ logcat -b events
$ bugreport > /mnt/media_rw/{your device}/bugreport.txt
- df: Disk space details in GB.
adb shell df
- du: Disk space used by the specified files and subdirectories.
adb shell du
- For specific folder desk space details in GB.
adb shell df /system
- For specific folder and subdirectories desk space details
adb shell du /system
https://source.android.com/setup/contribute/read-bug-reports
bug report analysis