0

I am currently using my phone with CM installed (newest release, clean install). For some reason the phone keeps rebooting at random moments, when sleeping (never when awake).
I wonder if it is possible to find out the real reason of rebooting, other than checking /proc/last_kmsg: for me, it only states if it was caused by unsecure-watchdog-bite, or kernel panic. I am curious about finding out, which process' irresponsiveness caused the watchdog-bite, or what made the kernel panic.

Details:
Moto G xt1032, newest firmware
CM13.0, release ZNH5Y
recovery: twrp 3.0.2

Tl;dr: last kernel message is not informative enough about last restart reason.

Edit: link to kernel messages: https://1drv.ms/f/s!AqQWXVmn2ZoKonIJgnToo58XmoVy

0

1 Answer 1

0

You can try to use adb logcat command from the terminal/command prompt to examine continuously your device log. On your device has to be enabled USB debugging in Settings -> Developer options section.

Or after the random reboot try

su  
cat /proc/last_kmsg > /mnt/sdcard/last_kmsg

from a terminal window on your device. You can download terminal app from Play.

For the su command your device has to be rooted.

1
  • I have been exactly using your latter solution to map kernel messages. I edited my main comment to add some links to kernel messages.
    – blesius
    Aug 18, 2016 at 18:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .