[AIOT] Get the Log File Through adb for Tinker Board 2

For Logcat:

adb logcat > logcat.txt
 

Logcat will save as logcat.txt

For Kernel:

adb shell dmesg > kernel.txt
 

Logcat will save as kernel.txt

Reference: http://developer.androids.com/studio/command-line/adb http://developer.androids.com/studio/command-line/logcat