x210ii开发板使用fastboot下载出现没有权限的问题

使用fastboot烧写映像时,出现如下错误信息:

jjj@ubuntu-server:~/s5pv210/android_gingerbread_v10/android/out/release$ fastboot flash system system.img 
< waiting for device >

或是

jjj@ubuntu-server:/etc/udev/rules.d$ fastboot devices
no permissions fastboot

解决方法:

在/etc/udev/rules.d目录下新建51-android.rules文件,内容如下:

###################################################### 
#  Project:  http://code.google.com/p/51-android/    #
#  File:     /etc/udev/rules.d/51-android.rules      #
#  Author:   http://www.9tripod.com                  #
#  Date:     2012.08.28                              #
######################################################


# adb protocol on passion (Nexus One)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e12", MODE="0666", OWNER="jianjunjian"
# fastboot protocol on passion (Nexus One)
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", MODE="0666", OWNER="jianjunjian"
# adb protocol on crespo/crespo4g (Nexus S)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e22", MODE="0666", OWNER="jianjunjian"
# fastboot protocol on crespo/crespo4g (Nexus S)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e20", MODE="0666", OWNER="jianjunjian"
# adb protocol on stingray/wingray (Xoom)
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a9", MODE="0666", OWNER="jianjunjian"
# fastboot protocol on stingray/wingray (Xoom)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="708c", MODE="0666", OWNER="jianjunjian"
# adb protocol on maguro/toro (Galaxy Nexus)
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0666", OWNER="jianjunjian"
# fastboot protocol on maguro/toro (Galaxy Nexus)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e30", MODE="0666", OWNER="jianjunjian"
# adb protocol on panda (PandaBoard)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d101", MODE="0666", OWNER="jianjunjian"
# fastboot protocol on panda (PandaBoard)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d022", MODE="0666", OWNER="jianjunjian"
# usbboot protocol on panda (PandaBoard)
SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d010", MODE="0666", OWNER="jianjunjian"
# fastboot protocol on x210
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="0002", MODE="0666", OWNER="jianjunjian"

然后将OWNER里面替换为自己的计算机用户名,保存退出。

使用如下指令重启udev:

sudo service udev restart

再次使用fastboot下载即可。 

也可以到这里下载51-android.rules文件:

http://xboot.org/thread-6898-1-1.html

你可能感兴趣的:(Date,service,File,Flash,System,permissions)