adb shell logcat >e:\log.txt adb shell dmesg >e:\dmesg_log.txt adb shell cat /proc/kmsg >e:\kernel.log