In the process of learning Android, ready to use the serial port, because of the permissions, has been not the root of the Development Board access.
Helpless, found in Windows cmd in the use of ADB shell, into the Development Board shell mode can be performed normally chmod 777 tty*
In the Development Board (x210 A8 kernel), the installation of the Super Control terminal is not authorized to execute chmod 777 tty*, I do not understand why the Windows adb shell can be executed.
But using the ADB shell poses some problems
In the process of use, it is found that the LS statement is garbled after execution.
There are more ways to say it online.
Some say use chcp 65001. is to change the default encoding format. The default is 936 ANSI format, Chinese GBK. The original description is as follows:
First, Logcat Chinese garbled
The Android logcat output is UTF-8 encoded, and Windows CMD's default encoding setting is GBK. To display the Chinese correctly, you need to set the encoding settings in the Windows CMD window, and the following are the setup steps.
1. Open cmd, execute chcp View currentcode page chcp Active Code page:936
2, if the output is 936, then please this line below a command, the current activity encoding is set to 65001. If it is already 65001, you can skip this step chcp 65001 3, modify the window properties, change the font right-click on the command line title bar, select "Properties", "Font", change the font to True type "Lucida Console", and then click OK to apply the property to the current window. This completes the configuration. Second, the ADB shell LS garbled solution method:Workaround:adb shell enters the consolethen execute the following command:alias ls= ' ls--color=never 'end, and then enter LS view, all normal. However, after the seemingly closed, re-open, there will be this problem, but also to establish anonymity. Now I do not know where to save this configuration, and so back to have the answer, and then paste it out. actually. The second method solves the problem, and the CMD encoding format is automatically converted to the 65001 UTF-8 format. either way, the second run of the CMD window is not affected. That is, CHCP is only valid for the secondary CMD window. The alias LS command is also