Userspace Reset:
Merge logcat and kernel log in one file:
logcat -f /dev/kmsg & 8 cat /proc/kmsg > /data/1.txt &
bugreport: get the system logs and thread status
dumpstate: get the system state
procrank: print each thread memory usage
top: print each thread cpu usage
adb logcat –v threadtime
For the native crash issues, the tombstones file will be generated on phone’s filesystem in 17 /data/tombstones folder when issues happen.