Android diagnose help

adb logcat -v threadtime > logcat.txt
adb shell cat /proc/kmsg > kernellogs.txt
.............
adb bugreport > bugreport.txt
................
Make sure you clear below things at the beginning
 /data/anr/*
/data/tombstone/*
 
Pull the traces and tombstone files from the /data/anr and /data/tombstone  
adb pull /data/anr/ .
adb pull /data/tombstone .
 
Note: You can save in any folder by logging it outside the adb shell prompt
 
Search for the time stamp where you encountered the Framework reboot.
Map it appropriately with the traces/tombstones to find the issue.
 
Note: There is one more method of capturing the logs in the sdcard. With the same set of commands by routing it to /sdcard and then pulling it after hitting that issue.

posted on 2014-11-07 14:53  Shawn X.Y. Bai  阅读(166)  评论(0编辑  收藏  举报

导航