AnswerBun.com

Catching real cause of android reboot

Android Enthusiasts Asked by blesius on January 4, 2022

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

One Answer

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.

Answered by Bálint Babics on January 4, 2022

Add your own answers!

Related Questions

How to hide “Do not disturb” notification card

0  Asked on February 12, 2021 by tkit

 

How to securely root g2 phone (AT&T LGE LG-D800)?

1  Asked on February 2, 2021 by ruby

       

Accessing an app by another app

0  Asked on January 31, 2021 by user123960

 

Moto 360 Allow Wear Debugging

2  Asked on January 29, 2021 by user3771655

 

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP