Android debugging guide

Debugging Unexpected Android Reboots

Do not equate the last reboot line with the cause. Separate orderly reboot, system_server watchdog recovery and abrupt kernel/power reset first.

01

Boot reason is a routing clue

ro.boot.bootreason and vendor reason strings can point toward watchdog, panic, power or user-requested reboot, but vendor formats vary. Validate them against independent evidence.

02

Look for orderly shutdown checkpoints

Framework shutdown or reboot trails indicate that Android entered a deliberate path. Their absence, plus pstore panic evidence, supports a different failure class.

03

For watchdog, find what stopped making progress

WATCHDOG KILLING SYSTEM PROCESS is the recovery action. Inspect the first overdue monitor/thread, binder state, wait channels and nearby I/O or vendor service failures.

Open related analyzerUnderstand bugreport structureTechnical references