Ubuntu12安装adb & fastboot
2013-02-27 09:31
357 查看
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="0666", OWNER="<username>" # fastboot protocol on passion (Nexus One) SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", MODE="0666", OWNER="<username>" # adb protocol on crespo/crespo4g (Nexus S) SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e22", MODE="0666", OWNER="<username>" # fastboot protocol on crespo/crespo4g (Nexus S) SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e20", MODE="0666", OWNER="<username>" # adb protocol on stingray/wingray (Xoom) SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a9", MODE="0666", OWNER="<username>" # fastboot protocol on stingray/wingray (Xoom) SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="708c", MODE="0666", OWNER="<username>" # adb protocol on maguro/toro (Galaxy Nexus) SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0666", OWNER="<username>" # fastboot protocol on maguro/toro (Galaxy Nexus) SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e30", MODE="0666", OWNER="<username>" # adb protocol on panda (PandaBoard) SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d101", MODE="0666", OWNER="<username>" # fastboot protocol on panda (PandaBoard) SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d022", MODE="0666", OWNER="<username>" # usbboot protocol on panda (PandaBoard) SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d00f", MODE="0666", OWNER="<username>" # usbboot protocol on panda (PandaBoard ES) SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d010", MODE="0666", OWNER="<username>" # adb protocol on grouper (Nexus 7) SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", MODE="0666", OWNER="<username>" # fastboot protocol on grouper (Nexus 7) SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e40", MODE="0666", 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.
#sudo service udev restart
#fastboot command
相关文章推荐
- kali linux 安装adb、fastboot
- 在Ubuntu和MacOS下安装Android SDK/ADB/Fastboot(转)
- Ubuntu下常用开发工具安装(VirtualBox/ctags/Beyond Compare/Source Insight/ADB/minicom/fastboot)
- Using ADB and fastboot
- adb fastboot 烧机 和 编译android的几个命令
- Android模拟器安装软件提示错误 'adb' 不是内部或外部命令,也不是可运行的程序
- 使用"adb install"命令无法在真机上安装Google maps demo的解决办法
- adb&fastboot 安装和使用
- Ubuntu12.04安装adb & fastboot
- Ubuntu12.04安装adb & fastboot
- tftp搭建安装 & uboot使用tftp下载内核
- adb shell 命令详解 ZZ 分类: Android安装及配置 2014-05-30 10:59 107人阅读 评论(0) 收藏
- Android 编译生产adb.exe,fastboot.exe的方法
- 二..linux开发之uboot移植(二)——网络命令ping开发搭建使用&tftp服务器的安装&nfs网络服务器的安装
- 在linux下编译 adb 和 fastboot
- adb—fastboot—Download Honor 4C ClockworkMod (Cofface) Custom Recovery
- Install ADB And Fastboot Android Tools In Ubuntu Via PPA
- apk安装:adb push && adb install
- 【Android刷机】windows 7 fastboot mode下无法安装recovery的解决办法
- adb fastboot 命令总结