解決Ubuntu上無法進行fastboot devices

1、先將環境配置好

1. #lsusb
Bus 002 Device 004: ID 18d1:9018 Google Inc. 
2.vi /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="9018",MODE="0600"
# chmod 777 /etc/udev/rules.d/51-android.rules 
3.restart
# /etc/init.d/udev restart
4.#android/out/host/linux-x86/bin# ./adb kill-server
android/out/host/linux-x86/bin# ./adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached 
20100720 device
5.# vi /etc/bash.bashrc 
export PATH=$PATH:/home/wolf/android/out/host/linux-x86/bin//這個在你的工程目錄裏有adb 和fastboot 工具

這些做完以後可以source /etc/bash.bashrc 

1、首先,手機必須先進入bootloader狀態,fastboot devices纔能有所反應(有打印信息);

如果 adb devices可以看到自己的手機,可以直接在shell上敲命令:

adb reboot bootloader

耐心等待一下,應該就會進入bootloader模式

2、此時,輸入命令:fastboot devices,如果提示:no permissions    fastboot

那麼,輸入:sudo fastboot devices即可



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章