android development: Usb driver for Nexus5

http://binglongx.wordpress.com/2013/03/05/use-android-devices-for-guest-ubuntu-os-in-virtualbox-on-windows-7-host/


1. Enable Developer options and enable USB debugging.


2. Install necessary MTP modules to your computer:
sudo apt-get install mtp-tools mtpfs

3. Configure 51-android.rules
sudo gedit /etc/udev/rules.d/51-android.rules

paste the following at the end of the file (if the file does not exist then just paste):
#LG – Nexus 5
SUBSYSTEM==”usb”, ATTR{idVendor}==”18d1", MODE=”0666"

4. Make the file executable:
sudo chmod +x /etc/udev/rules.d/51-android.rules

5. Restart udev

sudo service udev restart

6. If it doesn't work, restart PC try again.

7.If you use ubuntu in virtualbox, you need add the usb device for ubuntu.

android development: Usb driver for Nexus5_第1张图片

你可能感兴趣的:(android development: Usb driver for Nexus5)