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!