Unable to find devices for fastboot in Ubuntu

Source: Internet
Author: User

SPL is 1.33.2013, S-OFF

In ubuntu, enter the lsusb command to display

Bus 001 Device 004: ID 0bb4:0c02 High Tech Computer Corp. Dream / ADP1 / G1 Phone (Debug)Bus 001 Device 002: ID 80ee:0021  

The first device is my mobile phone, So Ubuntu has detected this device.

In addition, this device can be selected in the active USB status of virtualbox.

In the command line

Fastboot Devices

But cannot display any devices

Fastboot reboot

Show waiting for devices

Solution: configure the udev rule file and adjust the permissions.

Modify the 51-android.rules file in the/etc/udev/rule. d directory (depending on the situation, the file name may be slightly different). Backup is a good habit of modifying files.

# adb protocol on passion (Nexus One)SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e12", MODE="0600", OWNER="<tom>"# fastboot protocol on passion (Nexus One)SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", MODE="0600", OWNER="<tom>"# adb protocol on crespo (Nexus S)SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e22", MODE="0600", OWNER="<tom>"# fastboot protocol on crespo (Nexus S)SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e20", MODE="0600", OWNER="<tom>"

I noticed that idvendor is the ID displayed when lsusb is used. I displayed 0bb4, and then read the note. The second sentence is to change the mode to 0666.

# fastboot protocol on passion (Nexus One)SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", MODE="0666", OWNER="<tom>"

Save.

Then

Sudo chmod A + x 51-android.rules

Sudo udevadm control -- reload-Rules


Re-unplug the USB and enter the fastboot devices command to find the device.

If not, shut down and restart.

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.