Install minicom and fastboot in Ubuntu

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.