Trucrux Inc

Taking logs through ADB on windows

Enable USB debugging in the device. #

Connect the device to a USB port.

Open the command prompt. #

To get logcat use the following commands:

adb shell

reboot

adb logcat > filename.txt   //stores in filename.txt in host pc

To get kernel message (kmsg) #

adb shell

cd

cat /proc/kmsg > filename.txt   //stores kmsg in filename.txt in device.

exit

adb pull /data/filename.txt  //pulls filename.txt from device to host pc.