yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] jody04c:
This Link saved my sanity whilst eventually replacing my dud drivers with ADB friendly ones... THANKS!!!
[Nexus 4 General] darkkid85:
Is it possible to push mp3, video files into my nexus 4 via ADB?

My phone is fully stock 4.2.2 , sorry if this is silly query

Ramoo
[Nexus 4 General] efrant:
Yes. Have a look at the stickied 101 thread.
[Nexus 4 General] darkkid85:
i think ur talking about this http://xdaforums.com/showthread.php?t=2010338

Good job,even a noob who does not computer (let alone rooting phones) can follow this.

Well done:cowboy:
[Nexus 4 General] Aimen7:
just download and install this, I guarantee that

http://www.java.com/en/download/index.jsp
[Nexus 4 General] sickvtec:
I can't even use the MTP function but when I click the USB Debuging option on the MTP stop prompting and from the device manager shows Android ADB files
[Nexus 4 General] Stryder5:
Did you install the drivers in the OP yet?
[Nexus 4 General] justin11141:
cant find anything that works for me :( i want to install ubuntu but adb doesn't work when i try to sideload in twrp :(help?
[Nexus 4 General] Stryder5:
Be more specific. What exactly doesn't work?
[Nexus 4 General] eddy4823:
Cant install drivers on Windows 8. tried Nexus 4 toolkit 1.6 too. and also tried ADB fr dumies.exe... didnt work as wel.. cant I root my Nexus 4 ?? Help..
[Nexus 4 General] Stryder5:
What happens when you try to install the drivers?
[Nexus 4 General] eddy4823:
nvm. I am on AOKP. Everything worked pretty well.
[Nexus 4 General] frontlyna:
Help!

I know how to install drivers via the OP, but I want to request an .exe file that will install the drivers straight to a computer. Can anyone make a .exe for these drivers or does anyone know of an installer that has the Nexus 4 drivers?
[Nexus 4 General] efrant:
Why? Is right-clicking on your device in Device Manager and then clicking "update" and "next" a few times too difficult?
[Nexus 4 General] frontlyna:
First, no that's not the issue. Second, if I were looking for this kind of response I would have expected it to come from someone other than a "mod". The reason being, is because I work on secure computers at work and if I can install the USB drivers to a thumb drive and then move them manually into the correct area on my computer I can gain access to my device. So..before you go assuming someone is looking for an "easy" way or does not know what they are doing you should probably just simply ask "why?" minus the extra bs. Thanks. So if anyone does know of this solution or can create an .exe please let me know, I would really appreciate some real help.
[Nexus 4 General] efrant:
There is no need to get defensive. You shouldn't take replies as insults when people are responding to your requests (you'll probably get more help that way) particularly if you re-read the response without the presumption that someone is attacking you or being disrespectful. If you would have stated "why" in your post instead of just saying i want it, it would have avoided questions being asked.

What is a "secure computer"? Do you mean you do not have administrator access? If so, i can't see how having a binary will help you. You could always try to use the Samsung Galaxy Nexus driver (it's an exe package). I think it may work for the N4, but I still can't see how it will work without admin rights. You can get the exe file from Samsung's website.
[Nexus 4 General] WeekendsR2Short:
I already have ADB up & running thru a minimal SDK install. I've been using it for my HTC device for 2 years now. Yet when I follow the directions in the OP I can never seem to get past Windows 7 REQUIRING me to reboot before installing the new supplied device drivers with ADB functions. When I DO reboot it tells me the drivers were improperly installed so I proceed. Then thru device manager I install the proper drivers BUT I can never get a better response from "adb devices" than the serial number but showing the device offline. I SEEM to be halfway there but even with debug running it won't find my new Nexus when trying the adb reboot bootloader command. What in the world am I overlooking? I'm no dummy....but I AM baffled about what I'm missing.
[Nexus 4 General] Stryder5:
Are you checking the box that says delete existing drivers/software? Or are you just uninstalling? After you uninstall AND check the box to delete existing drivers, unplug the device, try rebooting, then plug it back in and see if that works.

It's important to check that box that confirms you are deleting drivers, and not just uninstalling them.
[Nexus 4 General] WeekendsR2Short:
Yeah, I'm afraid I was. I think sometimes Windows is just TOO danged "helpful". LOL

I checked the box to delete them, uninstalled, replugged the device afterwards....all several times just in case. I swear I think it must have had something to do with the fact I have other drivers for another android device (HTC DoubleShot) installed on here too. I can't say for sure. It REALLY baffled my butt.

I FINALLY just gave up the ghost & did something I HATE to do. I (gulp) ....used a TOOL! The WugFresh 1.6.3 Root Tool. It had a utility in it to selectively delete the drivers I wanted to get rid of instead of letting Winders 7 decide FOR me. All is golden now.

Even so, I want to thank you for the timely response to my cry for help!
[Nexus 4 General] jonptr:
Well thanks for this thread coz i was having difficulty to get detected in the toolkit by mskip while in the MTP mode. Now after following stryders instructions its workin now...
[Nexus 4 General] mlj11:
Can't download. After inputting recaptcha the page just reloads. It's not a browser pop-up blocker problem on my end either.
[Nexus 4 General] Stryder5:
There was no captcha when I clicked on the link. It takes me to the download page. I click the download button and it downloads.
[Nexus 4 General] Mottz:
Hey,

I cant seem to uninstall the previous drivers i had, to reinstall fresh.

I installed them through a Toolkit, huge mistake going for toolkit when i had some experience with adb already, now im trying to install 4.3 factory image without a toolkit and i cant get ADB to see the device, throught the toolkit it sees the device both in fastboot and "normal mode" but when i open a cmd prompt and adb devices it either shows up offline or doesnt show up at all( i authorized the device when the adb prompt popped in android )

I had Android SDK installed way before before running the Toolkit and already had 2 other previous devices drivers installed.

When trying to uninstall, i cant see the checkbox to delete existing drivers/software, im running XP, and when i plug the device back in it asks me to update an Ethernet Controller, if i point it to the Nexus4 Drivers it fails, if i cancel and try to manually update the Nexus 4 Drivers it says they already are updated.

As of now i uninstalled the Toolkit, uninstalled and reinstalled the SDK, with no success.

Also when installing the SDK should i choose to install Google USB Driver and Web Driver? Or is it irrelevant?

Thanks.

---------- Post added at 02:59 PM ---------- Previous post was at 02:30 PM ----------

UPDATE:

Ok after reinstalling the SDK, without Google USB Drivers, rebooting PC and all that good stuff, the device is reconized both in fastboot, recovery and "normal mode", everything seems OK, but i think I still am using the Toolkit Drivers, should i keep trying to uninstall them and start fresh, or just proceed with flashing the factory image?

Thanks.
[Nexus 4 General] Stryder5:
If it isn't broken, don't fix it! ;)
[Nexus 4 General] henkspank:
How to install these drivers if the computer shows no device at all?
[Nexus 4 General] Stryder5:
Make sure USB debugging is enabled on your phone.

Also make sure to check both "Android Devices" or "Other Devices" in your Device Manager on your computer.

If nothing is listed here, try rebooting your phone to see if something shows up, or try a different USB cable.

If that still doesn't get anything to show, test on another computer because it may be hardware related.
[Nexus 4 General] henkspank:
All done, still no effect :/
[Nexus 4 General] Tunestwo:
try'd to manually update, it says that there are no updates found.
[Nexus 4 General] Stryder5:
Like I said, try another computer to confirm it's not a hardware issue. If another computer still doesn't detect your phone, then consider contacting Google for RMA.

If the preinstalled drivers aren't working for you, then you have to make sure to fully delete the existing drivers before the computer will let you install the ones from the file I posted in OP.
[Nexus 4 General] Tunestwo:
Fixed it! Thanks allot!
[Nexus 4 General] Dragonkiss:
I have the exact same problem, and even if I force windows 8 to accept by going through that plan of action, it still says there are no drivers found... ?
[Nexus 4 General] Stryder5:
You have to delete the existing drivers first. Attempt to uninstall the driver, then you should see a checkbox to fully delete the driver.
[Nexus 4 General] efrant:
There is no need to do that. But you do need to click "select the drivers from a list" or something like that, not "search my computer for drivers". There should be a button that says "have disk" and you need to click on that, and point it to where you extracted the drivers.
[Nexus 4 General] Dragonkiss:
Thank you very much,

I found the method in this thread after I put the message up haha, to bad I can only send 1 message/ 5 min so I had no chance to change it.

Thank you!
[Nexus 4 General] thienquang07:
why can't i install driver? :(

please help me! why can't install driver for my phone? i had followed your tutorial, but i failed at this step! (picture)

(my phone is galaxy nexus and of cause the driver is for the galaxy nexus too)
[Nexus 4 General] efrant:
As I mentioned a few post above and other times in this short thread, you need to select the "let me pick from a list of device drivers on my computer", NOT "browse for driver software on your computer". Then you have to select "have disk" and then point to where you extracted the drivers.
[Nexus 4 General] thienquang07:
thanks :)

sorry, i'm a noob!

thank you very much! :)
[Nexus 4 General] Stryder5:
Thanks, I'll update OP to add that. Originally wrote the steps from memory so I forgot what the exact options were haha.
[Nexus 4 General] NeXuS_4_UsEr23:
Same thing happened to me

Sent from NEXUS⁴ via XDA Premium app
[Nexus 4 General] Stryder5:
Did you read the updated instructions? The part where you need to select the "let me pick from a list of device drivers on my computer", NOT "browse for driver software on your computer". Then you have to select "have disk" and then point to where you extracted the drivers.
[Nexus 4 General] NeXuS_4_UsEr23:
Thanks for the info

Sent from NEXUS⁴ via XDA Premium app
[Nexus 4 General] chrone:
Thanks Stryder5, now i know how to get the official driver and how to install it.

Here's the latest usb driver v8.0 from latest sdk r22.0.5.

http://db.tt/pCS793ry

Sent from my Nexus 4
[Nexus 4 General] punitthereddevil:
Guys I need help...

I've got a weird problem here...my device gets recognised in ADB mode and fastboot mode too...but I don't see the "Nexus 4" in "My Computer"...I tried all sorts of driver uninstalls and updates...

installed the drivers using mskips toolkit...the toolkit recognises the device in ADB and fastboot mode fine...but I still don't see the device in My Computer via which we usually do data transfer...

I'm using win 8...can anyone help me out here...? Inability to make data transfer is a big time handicap for me or anyone for that matter...:(:(:(

Edit : problem solved...!!!

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66Y | ZIDDEY'S OTG KERNEL | OTG ENABLED TWRP 2.6.1.1
[Nexus 4 General] Stryder5:
Switch to PTP instead of MTP mode (or vice versa) should probably fix that for you. If you found another fix, please share it in case someone else has the same problem :good:
[Nexus 4 General] punitthereddevil:
Switching to camera mode works...but u can only transfer pics and vids...so that's not of much help...

All I did to set things right was uninstall the ADB interface driver (which shows up at the top of the list in device manager), and then reconnected the phone...it ran a usual driver installation and done...!!:)

***Hit the "Thanks" button and save yourself the effort of typing it***

NEXUS 4 | STOCK 4.3 JWR66Y | ZIDDEY'S OTG KERNEL | OTG ENABLED TWRP 2.6.1.1
[Nexus 4 General] magnifisa:
Hi! Here's also a solution for "Full JellyBean On Mako" driver. http://xdaforums.com/showthread.php?p=46750576#post46750576

Feel safe to use it. :good:
[Nexus 4 General] TraumaHawk03:
This worked just dandy for me
[Nexus 4 General] LarryLauLive:
I think my problem is unique? My stock Nexus 4 running 4.3 OTA will not connect to my Win XP SP3 via USB like it used to. I have stopped my projects for a while, and in the meantime, upgraded to 4.3 OTA. Now I cannot connect my Nexus 4 to the PC. I have deleted all drivers, turned off MTP (or ATP), turned on Allow USB Debug Mode, and the PC identifies "Nexus 4" when I plug it in, with a "? Other Devices"|_ "?! Nexus 4" shown under Device Manager. I have uninstalled the drivers, and tried to install the naked driver, the driver downloaded from this thread, the official Google Driver downloaded last week, selected "android_winusb.inf", and they all say "The specified location does not contain information about your hardware". Any ideas? Thanks in advance.
[Nexus 4 General] Stryder5:
The drivers I posted are for ADB and Fastboot. This is not the drivers for MTP usage. I'm not sure whether Windows XP should be able to natively use MTP or not. If not, you'll have to find drivers for MTP, not ADB/Fastboot.

Windows 7 and up either automatically download the MTP drivers, or were already compatible so I'm not sure where to point you. I'd try toggling between MTP and PTP mode (with computer reboots in between) to see if XP picks up the proper drivers for one of those modes.
[Nexus 4 General] LarryLauLive:
Thanks for the super fast response, and apologies for not being clear. I am trying to connect my Nexus 4 in ADB mode for projects. I have no problems connecting to the PC in MTP mode. XP fails to find the drivers in ADB mode, and even specifying the inf file returns the error "The driver does not......". Any ideas will be welcome.
[Nexus 4 General] Stryder5:
I haven't used XP in years now so I'm not sure if the steps differ much compared to Windows 7 or 8. I'm also not entirely sure if the same drivers are compatible, or if you need to download different ones. I go the drivers out of the Android SDK but I don't remember if that was OS specific. All I can suggest is trying the steps again and restarting your computer in between steps (such as uninstall, or reinstalling drivers). :confused:
[Nexus 4 General] arkui0129:
Thanks,it worked.
[Nexus 4 General] LarryLauLive:
The situation has been resolved - as it turns out, it was the USB cable (!). I did not suspect the USB cable because it can still transfer files via MTP, as well as charge the phone. I have just bought a Nexus 5, and I couldn't connect to XP just like the Nexus 4. I decided that I will try out with the spanking new cable - same USB port, same Nexus 5, and it worked! XP detected ADB device, and installed the software. Thanks for your help!
[Nexus 4 General] siretfel:
Been trying for a week now to connect nexus 4 as mtp to windows xp. A few minutes ago It did! How? I m not sure but after following EVERY guide and researching on Google i downloaded LG drivers from teamandroid.com and ...it works. Again I'm not sure if that was the solution cause i tried so many methods that i'm dizzy right now :eek:. I even dowloaded the whole sdk package.

I hope all is working after reboot.
[Nexus 4 General] AndersRP:
Had the same problem on windows 7. I tried opening the .inf file and notised, that it lacks the Nexus 4 model. I tried adding it manually to the inf file (copied the lines from Nexus 7 and changed the hardware id's to nexus 4.

android_winusb.inf added lines

;Google Nexus 4
%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_D002
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_D002&REV_0228
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_D002&REV_0228

(The hardware id's was found through Device Manager -> Nexus 4 -> Properties -> Details -> Hardware ids)

I have attached the edited inf file

Not the prettiest solution, but it worked for me

Hope it does the magic for you as well
[Nexus 4 General] Stryder5:
That's odd. I got this straight from the SDK and it works for almost everybody else. Since my methods don't work for you, I'm glad you found a solution :good:
[Nexus 4 General] baxtex:
Okay so here's the deal:

On my main rigg I don't have internet on for the moment, instead I have to rely on my crapy mobile data (got unlimited data at least) to surf. However, I thoguht I connect my stock Nexus 4 (4,4,2) to it and share the connection but I canät get it to work. Nothing hapens when I plug it in (never had it plugged in this computer) and I have enabled USB debugging but it won't show up in the device manager.

What to do?
[Nexus 4 General] Stryder5:
Try a different cable or a different slot. If nothing shows up in device manager, then it sounds like some physical hardware issue. Are you sure it doesn't show up as unknown device? Does your phone work with other computers?
[Nexus 4 General] muzaffarkhan95:
Nexus 4

hwen i connect my phone to my pc the auto play option dznt show the OPEN WITH FOLDER option....and theres no drivers shown in MY COMPUTER....what shud i doo?
[Nexus 4 General] Stryder5:
Follow the directions in my original post. See if it shows up in Device Manager.
[Nexus 4 General] NerdyMofo:
nice works just fine, put my own hardware id's and installed :)
[Nexus 4 General] Eluc:
Hello,

I need help with the dirver install on my Nexus 4 with Windows 7. It used to work on this system but I don't know what happen and now I cannot see my Nexus 4 folder on the computer. The driver seams missing, so I've tried to reinstall them from SDK but when I select the folder USB_driver windows said it couldn't find any driver for this device. I've tried to download drivers separately but it's the same.

How can I start from fresh, remove all drivers installed and try again ? Maybe there is a problem with the phone ?

Do you have some steps that I can follow to help me locating where the issue come from ?
[Nexus 4 General] Stryder5:
I included instructions on how to uninstall old drivers before installing new ones, in the original post of this thread. Did you try those instructions yet? They should work.
[Nexus 4 General] lindii2:
hi

can you help me i have format data in recovery mode, restore it in normally when i connectet on pc in device manager show android driver and not install.

i have install SAMSUNG_USB_Driver_for_Mobile_Phones_1.5.5.0 but nothing

What I have to do ??

help me .
[Nexus 4 General] Stryder5:
This thread is about your computer recognizing your phone, not about formatting data in recovery. For assistance with formatting recovery, please go to the appropriate recovery thread.

This thread is also specifically made for the Nexus 4, which is made by LG, and not Samsung. You want to ensure that you have the LG Nexus 4, and not a Samsung phone if you are using files and instructions from this thread.

Finally, read the first post in this thread, as I have already written out instructions on how to uninstall existing drivers and how to install the proper drivers (files are also included in the original post). Hope that helps :good:
[Nexus 4 General] Eluc:
I've done this already, but I did one more time with your instruction to be sure. After that in device manager I notice that my Nexus 4 is listed as a Samsung Android phone (Android ADB Interface) is it normal ?

Anyway I still cannot see the nexus 4 in "computer", so I'm unable to browse the content of the phone for backup. (My plan is to backup my Titanium backup folder, hard reset the phone then install CyanogenMod).
[Nexus 4 General] Stryder5:
Did you previously have a Samsung device? Your computer might be trying to recognize it as such if you installed previous drivers. Simply right click it and uninstall. Make sure to check the option that deletes the actual driver.

I don't have multiple phones so I'm not sure how a computer would interact if multiple phones had drivers on the computer.
[Nexus 4 General] Eluc:
Yes I did have a galaxy S2 about one year ago but it went dead so didn't connect it since then. I've choose the uninstall with "delete drivers option" and then try again and it's the same ! I'm lost. Maybe I'll try to get an old hard drive and install a fresh win7 on it to give a new try from scratch (maybe it's time for a fresh start on my win7 laptop after all).
[Nexus 4 General] Stryder5:
Try using a different cable. I have one cable that doesn't properly connect my phone, but all my other cables work fine.

Otherwise, I'd recommend trying to use one of the other drivers out there, or one of the toolkits that have driver installation as part of them, as somebody earlier in the thread reported that the toolkit worked fine for them.

Sorry I can't be more helpful than that.
[Nexus 4 General] Eluc:
Ok I've found my problem, it was quite stupid...

SETTINGS > STORAGE > (menu) USB Computer Connection -> nothing was checked, I've checked MTP and it's working again :victory:

I found my solution here, thanks to Alex:

http://xdaforums.com/nexus-4/help/nexus-4-recognized-mtp-root-t2287768/page2

Thanks everyone for the help. I can finally go on now.
[Nexus 4 General] klappa:
Can i use the Nexus without having MTP enabled? It's very slow and it doesn't act as a external disk would when it's enabled. When i disable MTP my Nexus shows up as a yellow exclamation mark and installing the newest google usb drivers doesn't work.
[Nexus 4 General] Stryder5:
You will need to select either MTP or PTP in order to work with the files once connected. Otherwise, you can use ADB and command line if you don't want to use a File Explorer on your computer.
[Nexus 4 General] Shafty6:
Device manager doesnt even show device

i just got a nexus 4 and i have enabled usb debugging mode and installed sdk tool kit with the google drivers and I cant even get it to show up in the device manager to update a driver.

I got this phone used already unlocked and TWRP i think recovery on it but not the latest version. the phone is not rooted either because i cant get it to show up on any computer i own (both win7).

Any help would be greatly appreciated

Update i have got my nexus 4 to connect to the computer but when i try to install Android ADB Interface it tells me that it encountered an error while attempting to install. "This device cannot start. (Code 10).

i have usb debugging on and the device now shows up in the device manager under Andriod Phone but Andriod ADB Interface has a yellow sign on it and it wont let me install the drivers at all.
[Nexus 4 General] ITGeekMonkeys:
Thanks for this. Recently, the universal drivers I had installed months ago stop working and this fixed that issue.