Tuesday, October 28, 2014

Get Android Kernel log

 To catch Kernel log, need a rooted Android device and adb shell worable, then use the adb logcat command:

$adb shell logcat -v time -f /dev/kmsg | cat /proc/kmsg

To  write the output to a file:
$adb shell logcat -v time -f /dev/kmsg | cat /proc/kmsg > /sdcard/log.txt

No comments:

Post a Comment

Enable HP Zbook Thunderbolt 3 Dock on Ubuntu

As mention in previously post, I installed Ubuntu on my HP ZBook. After two days used all things work just fine, but the Thunderbolt 3 Dock ...