Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nexus 5 USB driver

I want to develop and debug Nexus 5 with ADT (based on Eclipse) in Windows 7 x64.

As I connect Nexus 5, it appears in Windows in Explorer, so I can transfer files to/from Nexus. Next step I enable USB debugging in Developer options on the phone; the phone shows notification "USB debugging connected", device disappears from Explorer and Windows tries to install a driver and fails. In Device Manager I see Nexus 5 with exclamation mark icon in "Other devices". Then I select Update Driver Software in Device Manager for Nexus 5 > Browse My computer for driver software > provide path to the driver I downloaded from here http://developer.android.com/sdk/win-usb.html: C:\Program Files\Android\usb_driver, check "Include subfolders" and click Next.

I get the message "Windows could not find driver software for your device". I tried all kinds of tricks suggested on Internet including this topic: What USB driver should we use for the Nexus 5?

Nothing helps. Any idea how to force Nexus 5 to work on Windows?

Looks like Google released Nexus 5 without providing an updated driver (the last version is dated 07/09/2013, version 8.0 making it useless for developer on Windows platform.

like image 709
serget Avatar asked Nov 23 '13 22:11

serget


4 Answers

Currently experienced this problem with my Nexus 5, when attempting to sideload latest 4.4.1 OTA update via stock recovery.

Solution:

  1. Open Android SDK Manager (in console get to sdk directory then run tools\android)
  2. Download/install latest USB drivers (under Extras).
  3. In Windows Device Manager (devmgmt.msc), right click the Nexus 5 device and select Update Driver Software.
  4. Browse My Computer for driver software > Android SDK Dir > Extras > usb_driver
like image 102
user3079537 Avatar answered Oct 19 '22 19:10

user3079537


I just wanted to bring a small contribution, because I have been able to debug on my Nexus 5 device on Windows 8, without doing all of this.

When I plugged it, there was no yellow exclamation mark within the device manager. So for me, the drivers was OK. But the device was not listed within my eclipse ddms. After a little bit of searching, It was just an option to change in the device settings. By default, the Nexus 5 usb computer connection is in MTP mode (Media Device).

What you have to do is:

  1. Unplug the device from the computer
  2. Go to Settings -> Storage.
  3. In the ActionBar, click the option menu and choose "USB computer connection".
  4. Check "Camera (PTP)" connection.
  5. Plug the device and you should have a popup on the device allowing you to accept the computer's incoming connection, or something like that.
  6. Finally you should see it now in the ddms and voilà.

I hope this will help!

like image 45
sonida Avatar answered Oct 19 '22 18:10

sonida


Well @sonida's answer helped me but Here I am posting complete step How I did it.

Change Mobile Device Settings:

  1. Unplug the device from the computer
  2. Go to Mobile Settings -> Storage.
  3. In the ActionBar, click the option menu and choose "USB computer connection".
  4. Check "Camera (PTP)" connection.

enter image description here

enter image description here

Download Google USB Driver:

5 .Now go to http://developer.android.com/sdk/win-usb.html#top and download USB Drivers --> unzip folder.

enter image description here

Install USB Drivers and Get Connected Device:

6.Then Right click on My computer -->Manage --> Device Manager.

enter image description here

7.You should seed Nexus 5 in the list.

8.Right click on Nexus 5 --> Update Driver Software... --> Browse my computer for driver software

enter image description here

9.select the folder we downloaded/unzipped "latest_usb_driver_windows" and Next ...Ok.

enter image description here

10.Now you will see pop-up dialogue asking for Allow device --> Ok.

11 .That's it!! device is connected now, you can see in DDMS.

enter image description here

Hope this will help someone.

like image 18
swiftBoy Avatar answered Oct 19 '22 17:10

swiftBoy


Is it your first android connected to your computer? Sometimes windows drivers need to be erased. Refer http://forum.xda-developers.com/showthread.php?t=2512549

like image 4
fada21 Avatar answered Oct 19 '22 17:10

fada21