kernel logs android

If you want to extract kernel logs from the android shell and are getting 'Permission Denied' errors, you can use this approach:

Go into the adb shell and run: cat /proc/last_kmsg >/sdcard/last_kmsg.
Now come out of the shell and run: adb pull /sdcard/last_kmsg

This will extract the logs to the folder containing the adb exe!

Comments

Popular posts from this blog

endmenu in different file than menu?

A binary with debug symbols with the Android NDK

Multi Threading in Android