PC via ADB:
adb logcat > /path/logcat.txt
Phone via Terminal emulator:
logcat > /sdcard/logcat.txt
press the trackball (for ctrl) and c to end the output.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?