see the adb boot debug guide
See the selinux guide
See the ultimate strace guide
ref: https://source.android.com/docs/core/camera/debugging
adb shell cmd media.camera watch dump
adb shell cmd media.camera watch live [-n refresh_interval_ms]
adb shell cmd media.camera watch stop
adb shell dumpsys media.camera
starting the camera intent when there is no icon:
adb shell am start -a android.media.action.STILL_IMAGE_CAMERA
refs:
- https://medium.com/@mike_87757/set-android-minimum-log-level-globally-for-all-tags-4b1cbc1dc71f
- https://cs.android.com/android/platform/superproject/main/+/main:system/logging/logd/README.property
only first letter is required but you can write it also in full:
- V / VERBOSE
- D / DEBUG
System property filtering liblog queries a set of system properties to determine the minimum severity level to be sent to logd. If your logs have the tag MyApp, the following properties are checked and are expected to contain the first letter of the minimum severity (V, D, I, W, E, or S to disable all logs):
- log.tag.MyApp
- persist.log.tag.MyApp
- log.tag
- persist.log.tag
adb shell setprop log.tag V
adb shell setprop persist.log.tag V
adb shell setprop persist.log.tag.<TAGNAME> DEBUG