/proc/last_kmsg
On Android kernels with RAM-console support, this file exposes the previous boot’s kernel messages, retained in reserved RAM across a warm reboot. A post-mortem trace for debugging panics, watchdog resets, and failures below userspace.
mark@lastkmsg.com