Android Kernel Debug

Recently I’ve been trying to trace some kernel debugging being generated on an android phone and the relative shortness of dmesg has been proving an issue. I figured there would be another way and of course there is…

On a computer attached via a USB cable with USB debugging enabled, simply do

adb shell cat /proc/kmsg

Simple when you know how :-)

This entry was posted in development, mobile. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>