# Getting Nexus One Working with USB on Ubuntu

1. Follow the instructions at  http://developer.android.com/guide/developing/device.html
2. Replace the vendor id of “0bb4” with “18d1” in /etc/udev/rules.d/51-android.rules. Or add another line that reads: SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
3. Just restarting adb after this didn’t work for me. I had to reboot Ubuntu. That took me a while to figure out.

After the reboot I was up and running. Development cycle times are now much faster because installs are faster.

##### Rene - Apr 5, 2010

The command “sudo service udev restart” will also suffice instead of a restart.

##### redsonic - May 1, 2010

thanks for this article. And many thanks to Rene because just restarting udev is sufficient. BTW, you can discover the vendor id by looking at /var/log/messages once you plugged the phone keep the good work ;)

##### Dan Syrstad - May 6, 2010

@redsonic: I didn’t see the vendor ID come out in /var/log/messages. I think that’s because it hadn’t been added to the udev file yet.

##### moovida - Jul 6, 2010

You just saved me! Thanks man!

##### who - Jun 2, 2011

Hey, this helped a lot, thanks so much!