I. Installation of minicom 1. use sudoapt-getinstallminicom to install 2. use sudominicom-s to enter the settings page. Select Serialportsetup: serialdevice:/dev/ttyUSB0Bps/Par/Bits: 1152008N1HardwareFlowControl: NOSoftwareFlowCo.
I. Installation of minicom
1. Use sudo apt-get install minicom to install
2. Set
Use sudo minicom-s to enter the settings page. Select the Serial port setup option:
Serial device:/dev/ttyUSB0
Bps/Par/Bits: 115200 8N1
Hardware Flow Control: NO
Software Flow Control: NO
Then exit and save.
Run the minicom command
Ii. fastboot Installation
First download the fastboot tool, which is usually included in the compilation tool. Next we will discuss the installation under the root user.
Create a 51-Android.rules file with the following content:
# Adb protocol on passion (Nexus One)
SUBSYSTEM = "usb", ATTR {idVendor} = "18d1", ATTR {idProduct} = "0002", MODE = "0600", OWNER = "uarmchen"
# Fastboot protocol on passion (Nexus One)
SUBSYSTEM = "usb", ATTR {idVendor} = "0bb4", ATTR {idProduct} = "0fff", MODE = "0600", OWNER = "uarmchen"
# Adb protocol on crespo/crespo4g (Nexus S)
SUBSYSTEM = "usb", ATTR {idVendor} = "18d1", ATTR {idProduct} = "4e22", MODE = "0600", OWNER =" "
# Fastboot protocol on crespo/crespo4g (Nexus S)
SUBSYSTEM = "usb", ATTR {idVendor} = "18d1", ATTR {idProduct} = "4e20", MODE = "0600", OWNER =" "
# Adb protocol on stingray/wingray (Xoom)
SUBSYSTEM = "usb", ATTR {idVendor} = "22b8", ATTR {idProduct} = "70a9", MODE = "0600", OWNER =" "
# Fastboot protocol on stingray/wingray (Xoom)
SUBSYSTEM = "usb", ATTR {idVendor} = "18d1", ATTR {idProduct} = "708c", MODE = "0600", OWNER =" "
# Adb protocol on maguro/toro (Galaxy Nexus)
SUBSYSTEM = "usb", ATTR {idVendor} = "04e8", ATTR {idProduct} = "6860", MODE = "0600", OWNER =" "
# Fastboot protocol on maguro/toro (Galaxy Nexus)
SUBSYSTEM = "usb", ATTR {idVendor} = "18d1", ATTR {idProduct} = "4e30", MODE = "0600", OWNER =" "
# Adb protocol on panda (pandabard)
SUBSYSTEM = "usb", ATTR {idVendor} = "0451", ATTR {idProduct} = "d101", MODE = "0600", OWNER =" "
# Fastboot protocol on panda (PandaBoard)
SUBSYSTEM = "usb", ATTR {idVendor} = "0451", ATTR {idProduct} = "d022", MODE = "0600", OWNER =" "
# Usbboot protocol on panda (PandaBoard)
SUBSYSTEM = "usb", ATTR {idVendor} = "0451", ATTR {idProduct} = "d010", MODE = "0600", OWNER =" "
When you connect to a device, run the lsusb command to view idVendor and idProduct and add a group.
Then copy the 51-android.rules file to the/etc/udev/rules. d/directory.
In ~ /. Add the location of the fastboot tool to the bashrc file, for example, export PATH = $ PATH:/home/uarmchen/tools.
This eliminates the need to include sudo in front of the fastboot command.
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2