yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] qvert:
the stuff from Fisker didn't did it for me

the driver is installed and the device is in debug mode,

but i can't see in adb devices,

any idea? :)
[Nexus 4 General] Stryder5:
Go to Device Manager on your PC. If debug mode is enabled, you should see your device listed as an Android phone or something of the sort. If it has a yellow exclamation mark or some sort of symbol next to it, then that means the drivers aren't properly installed. Assuming that is the case, follow FISKER_Q's directions:

Right clicking the device, click update driver software, then the "Browse my computer for driver software." Select the usb_driver folder that you extracted and you should be good to go.
[Nexus 4 General] jark99:
Subbed to refer to later when i have the N4

Sent from my Nexus S
[Nexus 4 General] Stryder5:
This thread is also in the Misc section of the reference guide in case you can't find it later ;)
[Nexus 4 General] Shambala001:
I did the same thing and I cant get adb to see my device however fastboot will =/
[Nexus 4 General] Stryder5:
Did you enable debugging on your phone yet?

If not, go to Settings > About phone, then tap on "Build Number" 7 times. Go back to settings and you will see developer options. Go in there to enable USB debugging.
[Nexus 4 General] Nitemare3219:
Having the same issue. Fastboot works fine, however I am unable to use ADB (device not listed, however is recognized in device manager without any issues). I have tried uninstalling the drivers, but it re-installs them automatically when I plug the phone back in. Debug mode is enabled.

Edit: Fixed by uninstalling the drivers through the SDK manager, then uninstalling and checking the box to delete the driver software in device manager. Re-installed using instructions and now it works in ADB.
[Nexus 4 General] Stryder5:
Glad you got it figured out. :good:
[Nexus 4 General] Letitflow:
I have exactly the same problem and its driving me nuts! I can't get adb to work. Any suggestions? Did you restart during the whole process?

Of course i tried this:

"Having the same issue. Fastboot works fine, however I am unable to use ADB (device not listed, however is recognized in device manager without any issues). I have tried uninstalling the drivers, but it re-installs them automatically when I plug the phone back in. Debug mode is enabled.

Edit: Fixed by uninstalling the drivers through the SDK manager, then uninstalling and checking the box to delete the driver software in device manager. Re-installed using instructions and now it works in ADB."

Fastboot does not work either.
[Nexus 4 General] Stryder5:
Try leaving the phone plug in. Go to Device Manager. Find the ADB drivers and uninstall it. While in Device Manager, have it scan for new changes. You should see your phone appear. Right click it and manually install the drivers.
[Nexus 4 General] IAMLordspeed:
Same here. I'm running windows 7 and it doesn't matter what drivers I try, ADB doesn't list any devices :( first time I've ever had this issue.
[Nexus 4 General] Stryder5:
Make sure USB Debugging is enabled through Developer Options on your phone. Once done, plug the phone into your computer. Go to Device Manager on your computer. You should either see something listed under Android Devices or Other Devices. If you see something under Android Devices, uninstall it. If you see it under Other Devices, right click it and browse to manually install the drivers. Select the folder that has the drivers in my original post.
[Nexus 4 General] ahandmadegrin:
I had to put a check in the box next to "Delete the driver software for this device" to get this to work. Otherwise Device Manager will keep detecting the old drivers.
[Nexus 4 General] Stryder5:
You should be fine as long as you can send adb/fastboot commands.
[Nexus 4 General] spyros95:
Hello my friend. The problem is that I can't use the file explorer.
[Nexus 4 General] Stryder5:
Are you on Marshmellow? If so, you need to open the notifications bar and change from "charge only" to "MTP" to access files in file explorer.
[Nexus 4 General] spyros95:
I've already did that my friend. Not fix yet.
[Nexus 4 General] Stryder5:
Toggle between the various options. I had a similar problem on a different phone. Toggling between the various options, back to MTP fixed it for me.
[Nexus 4 General] pjc123:
Besides what was just recently mentioned and having the proper drivers installed correctly ...make sure the lock screen is not active. Also, once in a great while I can only get Windows Explorer to see the phones files after turning on USB debugging ( not sure why ).
[Nexus 4 General] ladysuin:
so thanks man
[Nexus 4 General] Chochiwpg:
When I plug my phone in it tries to automatically install drivers and it fails. Then when I go to device manager it has SAMSUNG Android Phone listed and under that says Nexus 4 with a Yellow exclamation mark.

If I go to the Nexus 4 device and Update Driver Software manually and browse to the folder where I saved the drivers from this thread it just keeps trying to install and either gets stuck and doesn't do anything or it fails.

Edit: What I did was uninstall the device from Device Manager, after that I plugged the phone back in again and it auto installed the drivers for me. I was able to unlock the bootloader and root without issue.
[Nexus 4 General] efrant:
You are doing something wrong.

You could always look at Google's site here. Notice the difference between "installing drivers for the first time", and "upgrading an existing driver". In your case, you need to follow the "upgrade an existing driver". Point it to the location where you downloaded the driver, either from the SDK, or or from this thread, or from 1wayjonny's driver here which works as well.
[Nexus 4 General] Chochiwpg:
I ended up uninstalling the drivers from Device Manger, plugging the phone back in and the computer recognized the device and installed the drivers correctly. I was able to to run adb devices and my device was recognized through adb. I was also able to unlock the bootloader and root the device without issue afterward as well. Don't know why I didn't need to manually install the drivers, but all seems well now. Thanks.
[Nexus 4 General] DarkShadowAy:
After installing these drivers, how do I select my N4 as a storage device so I can browse the folders?
[Nexus 4 General] Stryder5:
It should work just fine once you plug the phone in. Is it not working for you?
[Nexus 4 General] Stryder5:
Updated the OP with steps on how to replace existing drivers.
[Nexus 4 General] countableSet:
Any chance of getting a direct link from lg's domain name?

Thanks.
[Nexus 4 General] Stryder5:
This isn't from LG's site. The drivers I provided are extracted from the Android SDK. The SDK downloads drivers for the Nexus 4 so it can be installed on your computer. I simply extracted those drivers and uploaded it so you can skip downloading the SDK.
[Nexus 4 General] countableSet:
Sorry about that, after re-reading the thread and now you've confirmed it; I didn't quite understand that it came from the Google USB Drivers from the SDK. Thanks for the clarification.
[Nexus 4 General] anonymous1:
[Question/Help] Windows 7 not recognising Nexus 4...but XP is...odd

Hi,

Just wondering if anyone has any suggestions/can help me, please?

Tried both of the methods in the OP.

Plugged device via USB lead to Windows 7 desktop...device recognised as Nexus 4 or MTP USB device, but drivers fail to install with error message, 'device is unplugged', even when plugged in. Even if I try plugging in, in developer mode it goes into a continual loop of trying to install drivers, but failing and therefore no record of it in device manager where it continually appears and disappears.. If I go into bootloader and plug in, WIndows 7 recognises the bootloader state and installs correct drivers for it.

Deleted all the USB/registry keys to Android devices, tried again...still no luck.

Tried installing drivers from PDAnet drivers, Android toolkit and mskip's rooting toolkit (from xda-developers), as well, but still no luck. Uninstalled all Android drivers prior to trying each of these methods.

Funny thing is, with mskip's toolkit, installed drivers onto XP laptop and device recognised under MTP with no issues. Problem with both devices and the fact that they both work under XP suggests it isn't a problem with the device, but my Windows 7 desktop?

Kinda weird problem as never had any issues with Windows 7 not being able to find drivers before, and this is one of the latest devices there is. Tried LG website via the link for google OEM drivers site and no drivers for LG E960 available.

Annoying and time-wasting exercise, as having to transfer files via USB stick from desktop to laptop, then to Nexus 4.

If anyone knows whether I need a specific driver or has any other suggestions how to solve this problem, I'd really appreciate you posting your suggestions.

Thanks.
[Nexus 4 General] Stryder5:
Are you using the cable that came with the phone? If not, try using it.

Also, when you uinstall the drivers, did you check the box that said to delete it as well?
[Nexus 4 General] lVlaciiiii:
I'm having issues getting this to work too, which is weird, because I did it once for my girlfriend's Nexus 4, and it worked. Now, it won't work for me! I've tried using different computers and everything, still no luck. The drivers given in the OP seem to install fine, but then my Nexus 4 won't be detected by adb devices, or show up in My Computer! I don't know what to do! I've tried uninstalling them and reinstalling them a million times! When I uninstall it in Device Manager under Android Devices, I make sure to check the delete drivers text box, but then my computer goes and reinstalls the generic drivers right away. Even when I hit update drivers, it won't show up under adb. Any help? This is infuriating, since it worked once for me already!
[Nexus 4 General] efrant:
If the generic driver is installed, right click on it in device manager and select update, then select the option to install it manually ("let me select device from list" or whatever that option is called) and then select HAVE DISK <-- this is the important part. Then browse to the location of the drivers you extracted.
[Nexus 4 General] Antebios:
I have a solution to people who install the drivers, but still cannot achieve ADB connection.

On your Android phone, change the USB computer connection from "Media Device (MTP)" to "Camera (PTP)". Now you can type "adb devices" and see your Android listed and carry out all the adb connection commands. After you're done, you can switch it back to Media Device.
[Nexus 4 General] anonymous1:
Thanks for the reply. :)

Tried 3 different cables, including the one in the box and no difference. When the MTP device/Nexus device is listed in device manager (it keeps flashing up, then disconnects), I've tried to manually update the driver and the Windows message that pops up is ' Windows has determined that you have the latest driver'.

Looks like I'll be using my ancient laptop to use the latest smartphone! :confused:

Unless anyone has any other suggestions?

Thanks.
[Nexus 4 General] BrakerB:
I´ve used the Android Toolkit from the developer section, it worked just fine !
[Nexus 4 General] Stryder5:
Have you tried different USB ports on your computer? Having the device flash in and out indicates a bad connection somewhere. Since the phone works on a laptop, it might be your computer's USB port.

Also, if Windows determined that you have the latest drivers, then you need to follow the second set of instructions in my original post. Make sure to uninstall AND delete the drivers.
[Nexus 4 General] Jard16:
Same issue. I can install the driver and my device shows up in Device Manager but not in My Computer. I have uninstalled and reinstalled numerous times.

I am using Windows 7 Ultimate and the cable that came with my N4.
[Nexus 4 General] amazoncom:
Hi, thank you very much for providing the driver, but I have failed to make it work. I am running XP, and have followed your instructions closely. Upon plug in there is a prompt for me to install drivers. I selected your driver, and currently it shows Google Android Nexus 4 ADB Interface in my device manager. However, when I opened My Computer, there is no such drive for my Nexus 4. Are there any thing else that I should try at this stage?

Meanwhile, switching to PTP (Camera) on my Nexus 4 device showed a camera icon on my PC. Switching back to MTP yields no response.
[Nexus 4 General] meangreenie:
^^ do you have a failed mpt device in device manager?
[Nexus 4 General] Tomaxda:
This thread starts with "The long method of getting this is downloading the SDK and running it. "

I don't think this is true.

The SDK does come with a USB driver pack, but it hasn't been updated since Nexus S.
[Nexus 4 General] Stryder5:
The SDK is a huge download. Lots of people don't have previous Nexus devices so it would be true.
[Nexus 4 General] Tomaxda:
Yes, which is why I want to correct the impression that the SDK is a possible source of the Nexus 4 drivers - it is not.
[Nexus 4 General] Stryder5:
It is a possible source. The drivers I posted in the OP were obtained through the SDK.
[Nexus 4 General] Tomaxda:
Do you remember where?

I've downloaded your drivers now, so I'm set, but I'm still curious how I missed it in the SDK. I've scoured the SDK and still can't find any drivers other then the outdated USB driver bundle I mentioned above.

Did you have to add a 'user defined site' in the SDK Manager?
[Nexus 4 General] cobyman7035:
does this work on windows 8? it won't detect my nexus 4 anymore with USB cable, it was working fine untill today! just my luck? do i need to reinstall the drivers again?

nexus 4/usb works fine in my windows 7 laptop

stumped, when i plug usb cable into windows8 computer, nothing happens lol

i can't even find it in the device manager under other devices

weird
[Nexus 4 General] Stryder5:
I don't remember, sorry.

I only have Windows 8 and it works fine. Try a different USB port?
[Nexus 4 General] Depressio:
Having a seemingly stupid problem installing these drivers.

When I plug it in (USB debugging enabled, of course), Windows 7 installs some driver. In device manager, it's identified as "Full JellyBean on Mako," but with a yellow "!" by it. adb obviously can't find it as a result.

So I try to update the drivers and browse to the unzipped directory of the drivers in the OP. Windows tells me it can't find any drivers there.

Fine. I uninstall the existing driver. The device disappears completely from device manager, so I have to unplug the device and plug it back in. It reinstalls the same drivers as before, and I'm back to square one. (edit: "Scan for hardware changes" results in the same thing as unplugging/plugging it in)

Any ideas? This seems like a ridiculous problem to have.

Edit: Side note, I sent the device into LG for repairs recently. The might've messed something up, or used something old... could explain why the device is detected as "Full JellyBean on Mako" instead of "Nexus 4". I'm unsure how to get around that, though.

Edit: All fixed. This post detailed how to force feed the driver to Windows instead of letting Windows accept it. This worked and got at least fastboot to recognize the device; adb still didn't, but at least I was able to unlock the bootloader and flash anyway.
[Nexus 4 General] sirxdroid:
How do you deal with multiple Android devices that need to be attached to the same computer (not at the same time)? E.g. Nexus 4 & 7, HTC One X+, older LG phone, etc.

Is there a driver to rule them all? Do you install drivers for each device? Any potential conflicts? Thanks!
[Nexus 4 General] cobyman7035:
Which win8 drivers work?

via my NeXus⁴ using XDA Premium app
[Nexus 4 General] Stryder5:
I think there is another thread that has drivers for multiple Nexus devices in one. The rest of the devices would need separate drivers.

The ones I posted in the OP work. I tested on both Windows 7 and 8.
[Nexus 4 General] sirxdroid:
Thanks. I found these "naked" drivers and they seem to work for my devices (Nexus and HTC), except for an older LG phone.

http://xdaforums.com/showthread.php?t=1514942
[Nexus 4 General] sld924:
After I update the phone driver in Windows to be ADB driver (verify this by looking at Device Manager window, the phone now appears under Android device instead of portable device prior to ADB driver installation), fastboot.exe and adb.exe are both working.

But the problem is the phone storage (all those directories) no longer appear in Window Explorer.

Before installing ADB driver, Window automatically install generic MTP driver and the phone appears in Window Explorer just like a USB driver or just a portable harddisk.

Is it that ADB driver cannot support identifying the phone storage with MTP?

Right now I need to keep reinstalling two set of different drivers (ADB driver vs MTP dirver) whenever I switch from doing development work to doing simple files transfer and vice versa.

Note: I do not want to use adb push/pull :p
[Nexus 4 General] urmystlkal:
Sorry for the noob question, but I may have not just picked it up in the thread from the others posts. I couldn't tell if this is what I needed or this is for something else. Is this the driver I need to be able to copy files to/from a Windows 7 pc? Usually you just plug in and it picks it up but when I hook up to the computer it says Windows is unable to find a driver for the device and I've tried googling but apparently I'm not doing a very good job.
[Nexus 4 General] Stryder5:
Go to Settings > Storage. Click the 3 dots in the top right corner and make sure MTP is enabled.

If so, Windows will natively support it. You might have USB Debugging enabled, which is what Windows would need drivers for. However, MTP will still work fine. Just go to My Computer and find your device there as a media device.
[Nexus 4 General] urmystlkal:
MTP is enabled and I've tried disabling and re-enabling it as well. I also tried going to Device Manager and it has a yellow triangle next to the Nexus and when I click search for driver it says Windows could not find driver software for your device.

Not sure what the deal is. My Sensation and every other device has connected fine. I have 2 Nexus 4's sitting here and it's the same on both. Very strange but I need to get the pics off to send the one w/ the defective screen back. Guess I'll just have to upload to dropbox but what a pain. Should be connecting fine just like you said. I have also checked for any windows updates and I'm good there.
[Nexus 4 General] Stryder5:
Like I said, it sounds like Windows is just looking for ADB drivers. Did you enable USB debugging? If so, disable it.
[Nexus 4 General] urmystlkal:
Yeah I tried it both ways. The only way I could finally get it to connect was w/ debugging on and it set to PTP. Quite a pain and not sure why my computer isn't finding the driver for it.

Edit: Phone works fine on my laptop, I'll just have to use that. Like I said, what a pain, haha
[Nexus 4 General] Stryder5:
That's odd. Are you on a custom ROM? I know some devices that don't usually support Android may have some similar issue, but the Nexus 4 should work straight out of the box.
[Nexus 4 General] sirxdroid:
I've seen similar reports of MTP not working. I also got into the same state when I installed various drivers for a bunch of Android devices I was using at the time, I think one of them installed it's own MTP driver which confused all the others. It is a driver issue, in particular if you try to clean drivers by hand or you did a lot of driver install/uninstall. I'm not sure how you can get the stock MTP drivers to re-install them on Windows.
[Nexus 4 General] jawmail:
Wow this is weird, my issue is exactly like yours. Phone is seen in fastboot but not adb. I've done everything but no adb communication. Works at work but not at home. When I switch to PTP it works? Wha t the heck is going on. Usb debugging is on of course, I've tried univ. naked driver plus all other drivers listed here, no go. All other phones in the past hook up with no issues. I'm at a loss.
[Nexus 4 General] Stryder5:
Did you have a previous Android device?
[Nexus 4 General] jawmail:
Yes, before this phone, GNex, Tmo SG2, Skyrocket, Incredible 2, Incredible 1. If you're asking because I might have other drivers installed, yes I did. I've uninstalled them all AFAIK it's hard to tell though.
[Nexus 4 General] Stryder5:
That's what I'm thinking the problem is. Maybe the drivers aren't fully uninstalled. When you uninstal a driver, I think you also have to check the option to delete it. Reboot your computer, then try again.
[Nexus 4 General] darkkid85:
How exactly do i get fastboot working? ur driver only is for ADB.

I need the fastboot folder i think, before we use the fastboot oem device and fastboot oem unlock commands

Pls help

ramu
[Nexus 4 General] Stryder5:
Fastboot driver is included. Just boot into fastboot and then plug in your phone. Just follow the same steps to install the drivers.

The fastboot folder you are referring to is probably the tool to use the fastboot command, which is not what I have provided in this thread.
[Nexus 4 General] darkkid85:
Where exactly is the fastboot driver in ur zip?

When i run, fastboot.exe it says DLL is missing etc.

I am thinking this requires some DLL files in the fastboot folder for it to work? :highfive:

ramu

---------- Post added at 03:58 PM ---------- Previous post was at 03:51 PM ----------

I suggest u update ur signature to download the fastboot folder also.

Here is the link for FASTBOOT package, unless im missing something

http://www.androidauthority.com/nexus-4-e960-root-134470/

Thanks,

Ramu:cyclops:
[Nexus 4 General] Stryder5:
You don't run the fastboot.exe file. You're supposed to run the fastboot command through command prompt.
[Nexus 4 General] darkkid85:
Yes, exactly. I agree with u.

The fastboot folder should contain some important DLL files for it be used to on command prompt, rite.

Generally, from what i have seen it must have 4 important DLL files

I dont think ur link has those files?

It does have the ADB files, which work absolutely fine for me.

correct me if i m wrong pls

Ram
[Nexus 4 General] Stryder5:
The drivers has nothing to do with getting fastboot command to work. Rather, it lets the fastboot command recognize your device. If you have fastboot setup properly on your computer, then it will either detect your device, or it won't detect your device.

If you get a different error saying that a dll is missing, then you have incomplete files to run the fastboot tool itself.

If fastboot runs but doesn't detect your device, then you are missing the drivers for the device. That is where my driver files would come in. I don't actually provide you the adb or fastboot utility. I'm just providing the drivers for your device to be recognized by these tools.
[Nexus 4 General] darkkid85:
Exactly i agree with you. Ur drivers immediately helped me use ADB, but like u said i need other DLL's to get the fastboot working.

I was just wondering if you can update ur signature with http://www.androidauthority.com/nexus-4-e960-root-134470/ , that will it will help others with both ADB/Fastboot.

Also, 1 lazy stupid query 4 u, which may be silly.

Can i push my music/video files via ADB? (I have setup using ur driver:))

Whenever, i establish MTP phone i keep getting warnings like "this file is not recognized bla bla", even though it plays fine later on.

Ramu
[Nexus 4 General] efrant:
No, you do not need any dll's for fastboot.exe to work. It is a stand alone file. The dll's you are referring to are for adb.exe to work.
[Nexus 4 General] darkkid85:
Thanks 4 the clarification dude,

Also, thanks 2 stryder for providing the driver, makes our job easier :)
[Nexus 4 General] jasonmiracle:
is there method to update adb? nexus 4 android 4.2.2 causes my compurter unable to detect it... is there newer drivers?
[Nexus 4 General] darkkid85:
Uninstall any previous version of the driver which u may have, also check "Uninstall device driver for thsi device" etc.

Reboot

Install this guy Stryder5 driver's from the home page.

I have tested his drivers and they worked on 3 different computers.

ramu
[Nexus 4 General] penzoilguy:
Being looking for this!! thanks!!!