yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] CrazyIvan:
I've tried everything and cannot get the authorization prompt to pop up on my Nexus5 so when I run adb devices the phone shows up as "unauthorized". Any suggestions? This is with updated sdk and USB drivers. Device manager shows phone as "Android Phone->Android Composite ADB Interface" and "Portable Device->Nexus 5". Tried toggling between MTP/PTP, USB Debugging on/off, stopping and starting the adb server (latest version 1.0.31).

Thanks in advance!

EDIT: Finally got the ba$tard! Run this for some adb debug logging:

adb kill-server

set ADB_TRACE=all

adb nodaemon server

Go and look back at the output from the start for any errors. In my case it couldn't mkdir in c:\users\administrator, which for me doesn't exist. I changed the Windows environment variable "ANDROID_SDK_HOME" to point to "C:\users\<my account dir>", closed the DOS window, re-ran the commands and I got prompted for the permission on my phone. Yee ha! Now I can fire up hello world with the SDK on my phone. Praise be to Google search for turning up this thread that told me about the debug logging.
[Nexus 5 Q&A, Help & Troubleshooting] MaxRabbit:
Wow, sounds like you had a rough time of it. I updated the post with your troubleshooting :) Thanks for sharing!
[Nexus 5 Q&A, Help & Troubleshooting] djnewt:
Iv also been using the PDA drivers due to so many problems with adb....Installed them 6 months ago for my Nexus 4 and had no problems with Nexus 5.

Win 7.
[Nexus 5 Q&A, Help & Troubleshooting] RedBlueGreen:
Everytime i restart my PC it auto updates the drivers.. and im unable to install the ones i downloaded.. How do I disable auto update? Its so annoying!

I have disabled windows auto update and it still updates itself. I have tried so many ways of trying to update it but it always auto updates!"$ =(
[Nexus 5 Q&A, Help & Troubleshooting] MaxRabbit:
When you delete the drivers, make sure to select "delete driver software entirely" or some such option.
[Nexus 5 Q&A, Help & Troubleshooting] RedBlueGreen:
I did the first time and it still auto updated... now i cant even see the option to do so.
[Nexus 5 Q&A, Help & Troubleshooting] MaxRabbit:
It won't try to auto install if you install the correct drivers, I think.

Also, once the drivers auto install, what shows up in your device manager? Are you sure you have USB debugging enabled?
[Nexus 5 Q&A, Help & Troubleshooting] RedBlueGreen:
Yup iv got USB debugging on.

I have gone through the hole thing again (uninstalled everything) and the same thing happened. Keeps auto updating. Even if i try and update it myself after it says "Windows has determined the driver software for your device is up to date"

Is there anyway to totally wipe all USB drivers? That way i can start from the beginning.

btw adb devices says "offline" if that somehow can help you help me :)

I turned MTP and PTP on and off quickly and it shows the Nexus 5 under the "Unspecified" tab. If i try and install the drivers after it says

"Windows could not find drier software for your device.

if you know the manufacturer of your device, you can visit its website and check the support section for driver software"

Iv installed the Android Tool Kit which supports the Nexus 5... I'm still unable to install the correct drivers. It tells me "Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel."

I have uninstalled everything :(
[Nexus 5 Q&A, Help & Troubleshooting] MaxRabbit:
This is the weirdest part for me. Are you sure you are picking the correct, extracted drivers folder? This error should not be happening.
[Nexus 5 Q&A, Help & Troubleshooting] RedBlueGreen:
I finally got it working... Don't know what i did different. Although it was 9am (didnt sleep)

Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] MaxRabbit:
Gotta love when that happens!
[Nexus 5 Q&A, Help & Troubleshooting] PhillyCheez:
I couldn't believe how hard this was...

Installing the driver was the biggest pain in the ass. I was ecstatic when it finally worked after trying every single method (must have took me 2 hours).

After unlocking the bootloader and flashing recovery... I couldn't get the driver to recognize while in recovery so I can push root.

After at least 30 minutes of figuring out what the hell was wrong, I said forget it and remembered I can just manually move the Super User zip to the "sdcard" and then flash it from recovery... but... but... windows 7 can't freakin read it as a MTP!

After trying to figure out what is wrong with the drivers AGAIN (but for a different reason!) I remembered... what am I doing? I can dual-boot into Mavericks OS X and just use the Android File Transfer app for macs.

And wow... I never would have thought, the answer to my problems was using OS X to gain root. :silly:
[Nexus 5 Q&A, Help & Troubleshooting] Empty Hand:
Deleted
[Nexus 5 Q&A, Help & Troubleshooting] pau11y:
"adb devices" yields blank space. after battling for a while, I did the "start from scratch":

I used USBDeview to remove the 8 or so 'androidy' looking devices shown in my usb "history"

I downloaded 'latest_usb_ driver_windows.zip' (from google page linked in OP) to 'downloads', when I plugged in my phone it popped up in correctly. just to be paranoid I tried to update driver anyway, pointing it to the 'latest_usb_ driver_windows.zip', which yielded that there was nothing new to update.

I fresh downloaded the sdk, and platform tools per OP.

still blank space from "adb devices".

I then toggled on the "adb_trace=all" per the three commands in post #2, which spit out the jazz shown in the attached pic, where my device manager line is also visable off to the left.

any thoughts?

Thanks!

EDIT: To add some detail. USB debugging is on. Connected in MTP. Puter OS is Windows 7. Although this morning I'm noticing that the Win7 popup asking what to do with the device doesn't happen (where it's if I want to 'import files', 'open folder for viewing', etc). While it used to, before I started these efforts. But it does show in Device Manager as "Google Nexus ADB Interface".

EDIT EDIT: fwiw. Been using OEM cable. Although tried my old 3vo cable with same result.

At work today ( via different win7 puter, different cable, no driver alterations, just how win7 "naturally" deals with n5's), I did at least get the win7 popup asking me what I wanted to do with the device ("open folder to view files", etc) and could xfer files of course. I don't get this popup at home, after having installed the google nexus driver that is, I used to.

Is it normal for this "popup" to go away?
[Nexus 5 Q&A, Help & Troubleshooting] mnhs1010:
prob solved....plz delete....
[Nexus 5 Q&A, Help & Troubleshooting] MaxRabbit:
I wish I could tell you what to do. A lot of people who had this problem have been able to fix it; I'd just double-check you've done everything mentioned in this thread.
[Nexus 5 Q&A, Help & Troubleshooting] ZooBaAr:
PHone wont go into Fastboot USB ??

I have already rooted and unlocked my phone using fastboot with no problems. I had installed TWRP and did first nandroid with it but prefer CWM and installed cwm as soon as it came available. The problem came when I needed or wanted to reinstall twrp, Goo is just fornicated and I didnt want to wait so i tried to fastboot the phone and I could not get the bootloader to say "Fastboot usb". I got "fastboot mode " but then couldnt flash twrp.

I followed all the directions here, Thanks they were terrific, updated my sdk install, had the right drivers already and attached the booted phone with its own cable and everything looked fine, I could transfer files etc. When I ran cmd prompt and entered ADB devices I received the proper response . Shutdown phone, detach, reboot into recovery "fastboot mode", attach cable and run ADB devices again, I again got proper response even thought phone did not say "fastboot usb" I was unable to flash twrp recovery as a result, here is the txt of my session: Anyone have any ideas on why phone will not enter fastboot usb??? ty

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Zoo64>cd c:\

c:\>cd sdk-tools

c:\sdk-tools>ADB devices

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

List of devices attached

02b8216d0911872a device

c:\sdk-tools>

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>adb version

Android Debug Bridge version 1.0.31

C:\Windows\system32>ADB devices

List of devices attached

02b8216d0911872a device

C:\Windows\system32>fastboot devices

C:\Windows\system32>cd c:\sdk-tools

c:\sdk-tools>fastboot devices

c:\sdk-tools>fastboot devices

02b8216d0911872a fastboot

c:\sdk-tools>fastboot flash recoverytwrp.img

unknown partition 'recoverytwrp.img'

error: cannot determine image filename for 'recoverytwrp.img'

c:\sdk-tools>fastboot flash recovery.img

unknown partition 'recovery.img'

error: cannot determine image filename for 'recovery.img'

c:\sdk-tools>
[Nexus 5 Q&A, Help & Troubleshooting] MaxRabbit:
You are forgetting to specify a partition before your .img file, e.g.

fastboot flash recovery recovery.img
[Nexus 5 Q&A, Help & Troubleshooting] ZooBaAr:
DOH *facepalm headslap* RTS

That will teach me to do stuff tired ! LOL

TY ima dope :)

zoo
[Nexus 5 Q&A, Help & Troubleshooting] heliosue:
FWIW - I think I tried everything in this thread and several others before I managed to unlock the bootloader and root. I started out trying the CF root method and managed to unlock the boot loader, but couldn't get the root part to work- hours went by. My laptop would not connect or even recognize my N5.

After trying everything I could find, and more, I finally reset to factory and started over with Wug's Nexus Root Toolkit:

http://xdaforums.com/showthread.php?t=2517778

If anything, it was almost too easy. His program literally leads you through the enitre process, step by step. My biggest problem was remembering that for most of the process, I was not supposed to be in fastboot mode, but just a regular USB connection to my laptop. Wugs program did all of the work. The biggest help was that his program really helps to identify and remove all of the drivers that can be causing problems - lots of stuff I probably wouldn't have touched, otherwise. All I can say is, it worked for me, but I do think that it is really important not to try any shortcuts. Go step by step. I just downloaded the toolkit and started the program and it took over from there.

Hope this helps.
[Nexus 5 Q&A, Help & Troubleshooting] marleyfan61:
When I'm connected using PTP windows can see my phone but I only have access to the DCM and Pictures folders. When I connect using MTP I get no pop-up on my computer giving me access to my phone. Therefore I cannot drag and drop files. What am I doing wrong???

When connected by PTP I can still use adb to push and pull files but that's too much of a hassle to move files around. Solutions anyone??
[Nexus 5 Q&A, Help & Troubleshooting] Jsparta26:
I apologize if this has been suggested already. I'm simply here to see if I can offer a viable solution. I installed composite drivers and it worked. My phone popped up and I was able to copy and paste files. I also used wugfresh's toolkit and followed the step by step instructions. You have to choose raw drivers in the driver options. If you go this route. Or you could go through device manger too.

Edit. I was on windows 8.
[Nexus 5 Q&A, Help & Troubleshooting] marleyfan61:
Where did you download the composite drivers from?
[Nexus 5 Q&A, Help & Troubleshooting] Jsparta26:
I got them from here.

http://www.driverscape.com/download...com/download/usb-composite-deviceosite-device
[Nexus 5 Q&A, Help & Troubleshooting] marleyfan61:
A license key is required for that utility. Unless I'm missing something on that page.
[Nexus 5 Q&A, Help & Troubleshooting] Jsparta26:
There should be a grey download link below the info on the drivers. You don't download the utility. Just the drivers. Lol
[Nexus 5 Q&A, Help & Troubleshooting] marleyfan61:
The link below the drivers info downloads a toolkit. When I run the toolkit it requires a license. I'm not clicking the Download Utility link on the right of the page. Not sure what's going on.
[Nexus 5 Q&A, Help & Troubleshooting] Jsparta26:
Lol I guess I was trying to save some time by installing them directly. The composite drivers I used came from wugfresh's toolkit. I used his kit to install the drivers and followed the instructions provided. Try that and see if it works. Under driver options choose raw.
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
I tried following the wugtoolkit and it said uninstall anything Nexus 5 related in the drivers list. So i did. Now when i plug my phone in the device manager doesn't even show mtp mode with an exclamation mark. Now what do I do?

I plugged the phone back in and it installed some adb drivers again but still no mtp symbol at all and still no acknowledgement off the pc but the phone says plugged with usb debugging on

But now I don't even have the anything mtp related or the little triangle to try install drivers??
[Nexus 5 Q&A, Help & Troubleshooting] Jsparta26:
Did you follow the instructions under the raw drivers? Follow all the steps. After your PC is booted up again. Go under device manager. Find your phone. Go under update drivers. Click on windows to search for the drivers on your PC. Two drivers should pop up and one of them should have composite. Install it and you should be good.
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
I can't find my phone now. That's the problem I'm having :-|
[Nexus 5 Q&A, Help & Troubleshooting] marleyfan61:
That's the problem I'm having too. I can follow all the steps but when I reach the one where I have to find my phone in device manager it isn't there.
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
I've got all my adb mode back but still no mtp mode or unknown mtp device shown. It isn't kernel related is it?
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
Wooohoooo!

http://xdaforums.com/showthread.php?p=48030076
[Nexus 5 Q&A, Help & Troubleshooting] SonicAngel:
I just rooted my N5 (using the guide on this forum so I had no other drivers other than Google's SDK) and after unlocking my bootloader windows did not recognize my phone so I couldn't go further. Upon checking device manager I saw something called "AOSP on Hammerhead", a quick online search found a lot of very complicated answers (uninstall all drivers, restart, install adb drivers was one example).

Instead of all that I just right clicked "AOSP on Hammerhead", chose Update Driver, manually choose driver, went to "Android bootloader", chose the default driver from "Google inc" manually and that for some reason worked.

I figured this might help someone since the other solutions I found really were very long.
[Nexus 5 Q&A, Help & Troubleshooting] marleyfan61:
I think I've tried pretty much every solution in this thread. The problem I'm having is that there is no device listed in my Device Manager under Other Devices. I do get Android Device -> Google Nexus ADB device but if I try to update the drivers for that I get a message that the drivers are up do date.

But the main problem is that I don't get a device in Explorer that I can drag and drop to. I'd like to be able to just plug my phone into my computer and drag files to it. That is the biggest frustration I'm having right now. Windows 8 btw. If anyone has any help that hasn't already been suggested, or something I may be missing, please let me know.
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
That's what i had. Make sure usb debugging is off. Put it in mtp mode and plug in. Find that Android device, update driver and manually pick one yourself. Find the one that says composite or mtp driver and pick it
[Nexus 5 Q&A, Help & Troubleshooting] marleyfan61:
When I do that it just says my driver is up to date.
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
You should have the option to change the driver too? On xp it's the same as update, maybe it's a different heading on yours
[Nexus 5 Q&A, Help & Troubleshooting] jeffsun:
im having the exact problems.

all i want is my nexus 5 to sync my music together and im having the biggest issue.

in device manager i got it to say andriod composite adb interface but now im stuck.
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
Is usb debugging off on the phone when it says that?
[Nexus 5 Q&A, Help & Troubleshooting] jeffsun:
no debugging mode is on
[Nexus 5 Q&A, Help & Troubleshooting] marleyfan61:
Off or on makes no difference in my case.
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
Debugging has to be off. As that's the driver you need to change
[Nexus 5 Q&A, Help & Troubleshooting] Dave08:
For me debugging on or off didn't make any difference, so I ended up leaving debugging on since that's where I usually have it. Here's what I did in Windows 8.1: once the Android Device was identified as "Android Composite ADB Interface" I still had a yellow exclamation mark against "MTP Device" (or something like that, I don't recall exactly) under the "Portable Devices" category of device manager and Windows wouldn't see my N5 in MTP mode. Then I right-clicked on that MTP Device listing, selected "Update Driver Software," selected "Browse my computer for driver software," selected "Let me pick from a list of drivers on my computer," and then got two compatible hardware choices: "MTP Device" and "MTP USB Device." You must pick MTP USB Device; the other one won't let Windows see your phone in MTP mode. After that it has always worked fine, although sometimes when I connect I need to cycle the MTP setting on my N5 (off and then back on), when I do that I can immediately see all of my internal storage.
[Nexus 5 Q&A, Help & Troubleshooting] unoo:
Not sure if this has been posted or not but if you are having issues with windows detecting your nexus 5 in recovery then read below!

Make sure you get your phone into recovery mode

step 1: Download usb drivers from here http://developer.android.com/sdk/win-usb.html

step 2: unzip

step 3: locate android_winusb.inf in the unzipped folder.

step 4: right click it and select open with notepad

step 5: IF you are on 64bit Windows then scroll down and find [Google.NTamd64]. I am not 100% sure but if you are using 32bit windows then find [Google.NTx86].

step 6: under that heading, you will see ;Google Nexus S go down until you see %CompositeAdbInterface%. Make sure you located it under the Nexus 5 heading still.

step 7: replace the

second

%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E22&MI_01 with %CompositeAdbInterface% = USB_Install, USB_Install, USB\VID_18D1&PID_D001

step 8: save and close.

step 9: Go to your device manager and locate your nexus 5 (it should have a yelow triangle by it)

step 10: click update driver and point it to your usb_driver folder. Make sure include subfolders is checked.

It should now install the drivers for your nexus 5 and you will be able to run adb commands etc.

source: http://blog.dantup.com/2012/10/fixing-adb-device-not-found-with-nexus-7-in-recovery-mode/
[Nexus 5 Q&A, Help & Troubleshooting] greystealth:
Found this: http://www.dominantwire.com/2012/11/how-to-solve-adb-device-not-found-error.html#.UqIYBvRDv09

Even if you don't use pdanet, it worked like a charm and was much less work.
[Nexus 5 Q&A, Help & Troubleshooting] Anarchy1984:
I cannot believe how hard this was.

I cannot believe how difficult this was. Tried every method described here. Tried everything from numerous other threads. Spent 4 hours, and nothing. I would get the ADB Composite driver to show up in Device Manager while on the 4.4 home scree, adb reboot bootloader, and then it would switch to an unknown device. I could not update the driver regardless of what I tried to use (SDK Manager, Google USB Drivers, fresh ADB / Fastboot drivers).

Finally I used this program to delete EVERY Android driver I've ever installed, rebooted my machine, installed the Naked Driver, rebooted my machine again, and finally everything worked. Oddly enough it showed up as a Nexus 4 on the home screen, and a Galaxy Nexus in bootloader / recovery,..but it worked. What a piece of work these sh*tty drivers are. Why it doesn't "just work" is beyond me.
[Nexus 5 Q&A, Help & Troubleshooting] Venomous Viper 119:
Finally updated to the 4.4.1 manually via adb. With the update received, now I can proudly say, "My Nexus 5 is the best android smartphone in the market now !!"
[Nexus 5 Q&A, Help & Troubleshooting] cybafro:
Thanks! This helped out a lot!
[Nexus 5 Q&A, Help & Troubleshooting] smartguy10:
I device is showing up as an MTP device in windows but I cannt get the adb to work . Any suggestions , I removed reinstalled drivers and usb debugging is turned on .

Does the device has to show up as an adb composite device in order for this to work ?
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
Usb debugging on?
[Nexus 5 Q&A, Help & Troubleshooting] smartguy10:
Got it to work had to toogle between camera and storage device . Know I am steps listed here http://www.droid-life.com/2013/11/04/how-to-unlock-the-nexus-5-bootloader/

and typing fastboot oem unlock reboots the device doesn't give me the option to unlock bootloader..
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
I used the skipsoft toolkit just cus I'm lazy. It's very easy to use
[Nexus 5 Q&A, Help & Troubleshooting] jeffsun:
which drivers do i delete using usbreview?
[Nexus 5 Q&A, Help & Troubleshooting] xsbear:
Good!

Thanks for your working!
[Nexus 5 Q&A, Help & Troubleshooting] MaxRabbit:
Whoops. Ignore this.
[Nexus 5 Q&A, Help & Troubleshooting] billy_overheat:
Guys, have no luck on installing the driver. Uninstalled everything and installed everything. Nexus 5 just doesn't show up at all in Device Manager.

Anyone?

Tried everything on my win 8.1. Nexus 4 was ok though.

http://stackoverflow.com/questions/1983801...for-the-nexus-5
[Nexus 5 Q&A, Help & Troubleshooting] Phateless:
Update your Platform Tools via the SDK and you're good to go. Older versions of adb aren't asking the phone for access to adb. Try the attached kit, I just updated the other day.
[Nexus 5 Q&A, Help & Troubleshooting] Paul Baumann:
My analyse and solution

I had the same problem. After flashing TWRP i could not connect via adb.

A litte analyse showed that my Nexus 5 showed up in Windows Device Manager with this pid: USB\VID_18D1&PID_D001

This device was not included in my android_winusb.inf. After adding

%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_D001

below [Google.NTx86] the driver was found and installed correctly.

I'm using Win7x86, if you use Win7x64 you should put the line below [Google.NTamd64]

Hope this will work for you.

Best wishes

Paul
[Nexus 5 Q&A, Help & Troubleshooting] gregb882:
I didn't read back but a couple of pages so I don't know if you already tried this, but have you disabled the Windows Driver Signature Enforcement? I had a hell of a time getting mine to shut off so I could install the unsigned Android drivers in 8.1. The instructions are here: http://www.howtogeek.com/167723/how...8.1-so-that-you-can-install-unsigned-drivers/. But I could never get my brand spanking new Dell XPS 8700 to restart to the final page where I could then select F7 to disable the driver enforcement. But I did discover, with the help of Costco's Technical Support, that if I held F7 while I selected Restart on the "Restart to change Windows Options" page, it would disable the driver signature enforcement anyway so I could install the drivers correctly. I easily wasted a half-day figuring that out. Once I did, though, everything loaded correctly and I was good to go.

I can tell you MaxRabbit's instructions in Post#1 saved my butt when I was trying to get my N5 to connect to my Windows 7 machine, but I gave my old N4 to my wife and had the driver signature enforcement issue on her Windows 8.1 PC in addition to the issues MaxRabbit helped me through.
[Nexus 5 Q&A, Help & Troubleshooting] gaurishmhatre:
urgent help required

i am getting no permission error for flashing the hammerhead image and i am stuck on it..

i have flashed radio and bootloader please help