Ubuntu12.04安装adb & fastboot
2012-12-29 09:27
288 查看
Install "android-tools" package (adb and fastboot) in Ubuntu 12.04, 11.10 or 11.04
Like I've said above, android-tools is available in the official Ubuntu 12.10 repositories so all you have to do is search for it in Ubuntu Software Center and click the install button.For Ubuntu 12.04, 11.10 and 11.04, you can install android-tools using the main WebUpd8 PPA:
sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install android-tools-adb android-tools-fastboot
Once installed, run "adb" and "fastboot" in a terminal to see the available options and how to use these Android tools.
Configuring USB Access
Under GNU/linux systems (and specifically under Ubuntu systems), regular users can't directly access USB devices by default. The system needs to be configured to allow such access.The recommended approach is to create a file
/etc/udev/rules.d/51-android.rules(as the root user) and to copy the following lines in it.
<username>must
be replaced by the actual username of the user who is authorized to access the phones over USB.
# adb protocol on passion (Nexus One) SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e12", MODE="0600", OWNER="<username>" # fastboot protocol on passion (Nexus One) SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", MODE="0600", OWNER="<username>" # adb protocol on crespo/crespo4g (Nexus S) SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e22", MODE="0600", OWNER="<username>" # fastboot protocol on crespo/crespo4g (Nexus S) SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e20", MODE="0600", OWNER="<username>" # adb protocol on stingray/wingray (Xoom) SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a9", MODE="0600", OWNER="<username>" # fastboot protocol on stingray/wingray (Xoom) SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="708c", MODE="0600", OWNER="<username>" # adb protocol on maguro/toro (Galaxy Nexus) SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0600", OWNER="<username>" # fastboot protocol on maguro/toro (Galaxy Nexus) SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e30", MODE="0600", OWNER="<username>" # adb protocol on panda (PandaBoard) SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d101", MODE="0600", OWNER="<username>" # fastboot protocol on panda (PandaBoard) SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d022", MODE="0600", OWNER="<username>" # usbboot protocol on panda (PandaBoard) SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d00f", MODE="0600", OWNER="<username>" # usbboot protocol on panda (PandaBoard ES) SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d010", MODE="0600", OWNER="<username>" # adb protocol on grouper (Nexus 7) SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", MODE="0600", OWNER="<username>" # fastboot protocol on grouper (Nexus 7) SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e40", MODE="0600", OWNER="<username>"
Those new rules take effect the next time a device is plugged in. It might therefore be necessary to unplug the device and plug it back into the computer.
only root user can use fastboot commnad.
#sudo fastboot command
相关文章推荐
- Ubuntu12.04安装adb & fastboot
- adb&fastboot 安装和使用
- Ubuntu12.04 安装ADB调试环境
- 安装Win7和Ubuntu12.04双系统后,意外删除Ubuntu12.04引导文件,出现error:unknown filesystem;grub rescue>错误的解决方案
- Ubuntu 14.04 - Install Android Tools (ADB, Fastboot, ... & QtADB)
- ubuntu下快速安装adb,fastboot的方法
- Ubuntu12.04下安装配置adb工具
- ubuntu 12.04 安装adb和fastboot
- Ubuntu12.04 安装adb
- ubuntu 安装adb和fastboot
- Ubuntu12.04 安装adb
- Ubuntu12.04 安装adb
- ubuntu12.04中cuda6.5的安装与测试(笔记本&双显卡)
- adb 安装&卸载apk
- adb shell 命令详解 ZZ 分类: Android安装及配置 2014-05-30 10:59 107人阅读 评论(0) 收藏
- Ubuntu12安装adb & fastboot
- Android预安装软件&adb命令&编译源码
- Ubuntu12.04 安装adb
- 在linux中安装adb和fastboot工具
- Ubuntu12.04 安装ADB调试环境