How to: generate a kernel log after random reboot
Minggu, 16 Februari 2014
0
komentar
Once in a while, a software bug in the kernel will cause a random reboot, so in order to help kernel developers to fix and troubleshoot the reboots, a kernel log need to be submitted to the developer for further analysis and hopefully lead to a bug fix.
Most Android kernels have "RAM Consoles" to save the necessary kernel logs immediately after reboot in the RAM. The users can then retrieve this RAM log on a subsequent reboot to submit to kernel developers. Here is a quick tour on how to do that.
- adb shell
- su
- cat /proc/last_kmsg > /sdcard/last_kmsg.txt
- exit
- exit
- adb pull /sdcard/last_kmsg.txt
- su
- cat /proc/last_kmsg > /sdcard/last_kmsg.txt
- exit
- exit
- adb pull /sdcard/last_kmsg.txt
File last_kmsg.txt will be located on your SD-card.
- go to /proc folder
- copy last_kmsg to /sdcard/
- rename last_kmsg to last_kmsg.txt
File last_kmsg.txt will be located on your SD-card.
The best method to share the last_kmsg.txt content is to upload it to pastebin.com and send a link to the developer.
Source: faux123 (Google +)
Have any questions or comments? Feel free to share! Also, if you like this article, please use media sharing buttons (Twitter, G+, Facebook) below this post!
TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: How to: generate a kernel log after random reboot
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke https://androidqvga4.blogspot.com/2014/02/how-to-generate-kernel-log-after-random.html. Terima kasih sudah singgah membaca artikel ini.Ditulis oleh Unknown
Rating Blog 5 dari 5
0 komentar:
Posting Komentar