Prabhu#how-to-take-log
Logcat
To grab a logcat it is required to have USB debugging enabled:
Go into Settings -> About Phone and press 7 times the Build Number.
Go into Settings -> System -> Developer options and enable USB Debugging.
Open an ADB & Fastboot tools window on your PC and run this:
$ adb logcat -d > logcat.log
If a radio buffer log is requested, run this as well:
$ adb logcat -db radio > radio.log
Dmesg
Go into Settings -> About Phone and press 7 times the Build Number.
Go into Settings -> System -> Developer options and enable USB Debugging and Rooted debugging.
Open a ADB & Fastboot tools window on your PC and run this:
$ adb root # Enables root shell
$ adb shell dmesg > dmesg.log