How to get Logcat logs in terminal
$ su
$ logcat -f /sdcard/logcat.txt
How to get kernel logs
$ su
$ dmesg > /sdcard/dmesg.txt
Or run "cat /proc/kmsg > /sdcard/kmsg.txt"
of-course , when you need kernel logs you can use this .
How to get last_kmsg log
$ su
$ cat /proc/last_kmsg > /sdcard/last_kmsg.txt
This is really helpful when you phone is rebooted and you want to save last_kmsg log .
No comments:
Post a Comment