I have connected my mobile to my laptop via a USB cable, have turned on developer mode, debugging mode, MTP, and installed the google driver via the Eclipse "extras" folder in the SDK Manager. I have unplugged and replugged the device into every USB port on my computer, and am about to restart the PC as soon as I post this question.
However, given this too will not work, does anyone know how I can get my device to be detected without factory resetting? It's a friend's phone, so I can't have all his files wiped.
All help appreciated.
I had the same problem after installing the driver, one answer from this question solved my problem What USB driver should we use for the Nexus 5?
To get my nexus 5 recognized I changed the usb connection mode from MTP to PTP
Unplug the device from the computer Go to Settings -> Storage. In the ActionBar, click the option menu and choose "USB computer connection". Check "Camera (PTP)" connection. 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. Finally, you should see it now in the DDMS and voilà.