Nexus 4 ADB Connection - Nexus 4 Q&A, Help & Troubleshooting

I am trying to connect my Nexus 4 to my PC and use the ADB commands. I have the following problems:
ADB driver is installed and "USB Debugging" turned on the Nexus 4. Device shows up on Device Manager, however "adb devices" does not list the device and unable to communicate with the attached device.
The Nexus drive, regardless of MTP or PTP disappears from Windows Explorer when "USB Debugging" is turned on, Turning off "USB Debugging" brings back the drive.
USBView shows the device with a RED light, but it appears working on Device Manager.
I do not have this problem with my other laptop and desktop.
Using Windows 7 x64 Ultimate and Nexus 4 - Stock 4.2.2
Any help would be appreciated. Thanks.

akashi said:
I am trying to connect my Nexus 4 to my PC and use the ADB commands. I have the following problems:
ADB driver is installed and "USB Debugging" turned on the Nexus 4. Device shows up on Device Manager, however "adb devices" does not list the device and unable to communicate with the attached device.
The Nexus drive, regardless of MTP or PTP disappears from Windows Explorer when "USB Debugging" is turned on, Turning off "USB Debugging" brings back the drive.
USBView shows the device with a RED light, but it appears working on Device Manager.
I do not have this problem with my other laptop and desktop.
Using Windows 7 x64 Ultimate and Nexus 4 - Stock 4.2.2
Any help would be appreciated. Thanks.
Click to expand...
Click to collapse
I had sort of the same problem, try uninstalling the driver in device manager, then unplug and replug your USB. Then when you plugged in the USB go to device manager and right click on the device and click scan for hardware changes. See if that works.
I'm not sure if this is a problem caused by windows update or the new updated SDK, but it has been a big problem for me.

heat361 said:
I had sort of the same problem, try uninstalling the driver in device manager, then unplug and replug your USB. Then when you plugged in the USB go to device manager and right click on the device and click scan for hardware changes. See if that works.
I'm not sure if this is a problem caused by windows update or the new updated SDK, but it has been a big problem for me.
Click to expand...
Click to collapse
Thanks for the quick reply.
I tried your suggestion but it did not solve the problem. After re-plugging the USB, Windows listed the device as "Nexus 4" and did not find any drivers for it. I manually installed the Naked Drivers (proven to work on my laptop and desktop) but still facing the same problem
I really do not want to reinstall Windows!
Thanks.

akashi said:
Thanks for the quick reply.
I tried your suggestion but it did not solve the problem. After re-plugging the USB, Windows listed the device as "Nexus 4" and did not find any drivers for it. I manually installed the Naked Drivers (proven to work on my laptop and desktop) but still facing the same problem
I really do not want to reinstall Windows!
Thanks.
Click to expand...
Click to collapse
OK try right clicking on the the device in device manager and choose update driver, then Browse my computer, then let me pick From a list of devices. After choose have disk on and find the file where your USB drivers are and click next. It may prompt you that windows can't verify the publisher Just click install this driver software anyway.
See if this works.

heat361 said:
OK try right clicking on the the device in device manager and choose update driver, then Browse my computer, then let me pick From a list of devices. After choose have disk on and find the file where your USB drivers are and click next. It may prompt you that windows can't verify the publisher Just click install this driver software anyway.
See if this works.
Click to expand...
Click to collapse
I have tried installing the drivers from the latest SDK and also the "Naked Drivers" found here: http://forum.xda-developers.com/showthread.php?t=1996051
Still have the problem.

akashi said:
I have tried installing the drivers from the latest SDK and also the "Naked Drivers" found here: http://forum.xda-developers.com/showthread.php?t=1996051
Still have the problem.
Click to expand...
Click to collapse
Try pointing the path to the Google drivers in the android-sdk in device manager and not the naked drivers.

akashi said:
I have tried installing the drivers from the latest SDK and also the "Naked Drivers" found here: http://forum.xda-developers.com/showthread.php?t=1996051
Still have the problem.
Click to expand...
Click to collapse
This is what I did and waited for the PC to install the adb drivers.
I plugged the phone in and with the USB plugged in turned it off while holding the volume up and down keys. This made my nexus 4 go into download mode and the PC automatically installed the adb drivers. After I just unplugged and held the power button to restart the device hope this helped.
Sent from my Nexus 4 using xda premium

akashi said:
Thanks for the quick reply.
I tried your suggestion but it did not solve the problem. After re-plugging the USB, Windows listed the device as "Nexus 4" and did not find any drivers for it. I manually installed the Naked Drivers (proven to work on my laptop and desktop) but still facing the same problem
Thanks.
Click to expand...
Click to collapse
When you uninstalled what's there now, you did make sure to check the box that will remove the old drivers from your PC?
Just in case, HERE is another source for the drivers.

dinhume echoes
Thanks to everyone for their help.
Just to confirm I have already tried:
Uninstalling the ADB driver via Device Manager and selecting "Delete the driver software for this device" and rebooting.
After reboot, Windows could not locate any drivers and I manually selected the drivers found inside the SDK (08/27/2012,7.0.0000)
The device shows up on Device Manager as working but does not work with adb commands. However, fastboot commands work!
I tried the above with the Naked Driver and had the exact result.
If I boot into the bootloader, I am able to run fastboot commands perfectly!
I have already ruled out my USB port as it works perfectly on VMware.
I am thinking my Windows 7 is messed up somehow and re-installation is looking like the only solution :crying:

akashi said:
Thanks to everyone for their help.
Just to confirm I have already tried:
Uninstalling the ADB driver via Device Manager and selecting "Delete the driver software for this device" and rebooting.
After reboot, Windows could not locate any drivers and I manually selected the drivers found inside the SDK (08/27/2012,7.0.0000)
The device shows up on Device Manager as working but does not work with adb commands. However, fastboot commands work!
I tried the above with the Naked Driver and had the exact result.
If I boot into the bootloader, I am able to run fastboot commands perfectly!
I have already ruled out my USB port as it works perfectly on VMware.
I am thinking my Windows 7 is messed up somehow and re-installation is looking like the only solution :crying:
Click to expand...
Click to collapse
4.2.2 requires updated adb and fastboot. It looks like you have an older version.
Click on the ota help desk link in my signature. The new version is attached to the first post. Replace the old adb and fastboot files with the new ones. Then try again.
Sent from my Nexus 4 using xda premium

El Daddy said:
4.2.2 requires updated adb and fastboot. It looks like you have an older version.
Click on the ota help desk link in my signature. The new version is attached to the first post. Replace the old adb and fastboot files with the new ones. Then try again.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thanks. I tried version 16.01 and still have this problem.
The problem is whenever I uninstall/install the ADB driver or disconnect/reconnect the USB, **ONLY** the "Nexus 4" appears on the Device Manager which I manually install the ADB drivers to. There is not a second "Nexus 4" on the Device Manager for the MTP or PTP.
On my laptop when I remove all drivers and reconnect the USB cable, I always see 2 "Nexus 4" listed on Device Manager. One for the ADB interface and the other for the MTP or PTP.
Please help!

Any ideas please?

Any Solution to ADB connection problems?
Hi was there any solution to this, as I seem to have the same issue.
I have tried different drivers and MTP & PPP modes as well as loading the PDAnet drivers and software.
Each time now I take care to remove all the drivers and also delete the drivers in all modes (Android running and Bootloader running)!
MTP & PPP load different copies of the drivers.
I can get either "Nexus 4" showing up in the device driver or "Google ADB Interface" or Android ADB interface" according to the driver loaded.
I can see the device when Android is running ie "ABD Devices" gives me the serial number and connected, then I can send an ADB command "adb Reboot-bootloader" the Nexus then reboots into the bootloader screen, the device driver changes to the bootloader driver (installs if not installed) however then I loose connection to the Nexus phone! "ADB Devices" returns none connected.:fingers-crossed:
I also tried unplugging and plugging back in the phone in bootloader mode but do not get adb to see the handset or it to react to commands.
I'm just about ready to try a toolkit to see if I can get past this roadblock!!!
Current computer is Win7-x64
This weekend I will try on a different computer.....Win8-X64
All comments appreciated

That's because you cant use adb when in boot loader. You use fastboot
Sent from my Nexus 4 using xda app-developers app

I have same problem on my work laptop DELL when my custom desktop machine works just fine with both Nexus 4 and 7. :/

Related

[Q] Windows ADB USB drivers?

After enabling USB debugging on my Nexus 7, I still can't get "adb devices" to list my Nexus 7. I also tried switching its USB connection type from "media" to "camera", to no effect. I have Windows 7; I see a "Nexus" device under Other Devices in my device manager, but when I try to install the Google USB drivers from the Android SDK, Windows refuses to take it.
This is going to make development difficult Anyone know where I can find working USB drivers for Windows 7?
beandog said:
After enabling USB debugging on my Nexus 7, I still can't get "adb devices" to list my Nexus 7. I also tried switching its USB connection type from "media" to "camera", to no effect. I have Windows 7; I see a "Nexus" device under Other Devices in my device manager, but when I try to install the Google USB drivers from the Android SDK, Windows refuses to take it.
This is going to make development difficult Anyone know where I can find working USB drivers for Windows 7?
Click to expand...
Click to collapse
If you have updated the drivers from the SDK, then your problem is probably coming from the cable.
PS: Try not to use an extension cable
When I have had this problem in the past I have found that installing PDA net solves it.
Sent from my Galaxy Nexus using Tapatalk 2
download a sync software,for example,chinese use 360 mobile assistant,it will help you to connected with PC
Sent from my SHW-M190S using xda premium
i got the problem too,just install 360 mobile assistant ,it worked.but i dont know ,any mobile assistant
used in your city?
Sent from my SHW-M190S using xda premium
You may try to use device manager to solve the issue.:
Firstly please connect your Nexus 7 to you computer using the USB cable
included in the box.
Then on the tablet,
choose "Settings" -> "Storage" -> open the menu -> choose "USB computer connection" -> choose "MTP" or "PTP".
On your computer,
1. Control Panel -> Hardare and Sound -> View devices and printers
2. Click on Nexus.
3. Click on "Hardware" tab
4. Click on "Properties"
5. Click on "Change settings"
6. Click on "Driver" tab
7. Click on "Update drivers".
I'd suggest that you repeat these steps for both "MTP" and "PTP" connection types mentioned above.
Then on your computer, run "adb devices", the Nexus 7 would be listed in the
output of the adb command.
Enjoy.
Works with PTP mode - MTP mode doesn't
just for future reference...
By default it uses the MTP mode for USB. ADB is not working in this mode, even after i follow all the steps in above post.
Change it to use PTP (Camera mode), and ADB works !! go figure.
driving me crazy too.
First, windows did not recognize the thing in AdB mode. I managed to get around that with PDA net. But in cmd mode running "fastboot oem unlock" it just sits there saying "waiting for device". Also switched to both usb modes under "storage" as well as tried all usb ports on my pc (running Win 7 64bit). Using original cable.
Any other clues on what to do next?
bytecollektr said:
driving me crazy too.
First, windows did not recognize the thing in AdB mode. I managed to get around that with PDA net. But in cmd mode running "fastboot oem unlock" it just sits there saying "waiting for device". Also switched to both usb modes under "storage" as well as tried all usb ports on my pc (running Win 7 64bit). Using original cable.
Any other clues on what to do next?
Click to expand...
Click to collapse
ADB and fastboot may have two different drivers, this is the case with most other devices.
Anywho here's a link to the all inclusive driver bundle. Drivers was one of the reasons I only use a linux distro these days.
Unlawful said:
ADB and fastboot have two different drivers.
Anywho here's a link to the all inclusive driver bundle. Drivers was one of the reasons I only use a linux distro these days.
Click to expand...
Click to collapse
Still nothing. Deleted the drivers, and it obviously installed the new ones, since the name under the "device manager" changed. I go to the Android sdk and it still says waiting for device. Is there different versions of fastboot? Maybe its the wrong command? (fastboot oem unlock)
reddweb said:
just for future reference...
By default it uses the MTP mode for USB. ADB is not working in this mode, even after i follow all the steps in above post.
Change it to use PTP (Camera mode), and ADB works !! go figure.
Click to expand...
Click to collapse
This is how i got my ADB drivers to actuallly work right!! listen to this guy.
Nexcellent said:
This is how i got my ADB drivers to actuallly work right!! listen to this guy.
Click to expand...
Click to collapse
I have it in that mode, and it does not do anything, even with the new drivers.
bytecollektr said:
I have it in that mode, and it does not do anything, even with the new drivers.
Click to expand...
Click to collapse
Oh and fastboot is not available during normal operations and it has to be booted into the bootloader to use fastboot. Try using adb reboot bootloader and then when it restarts fastboot oem unlock.
I'm in the exact same situation
I'm having the same problem. I'm not exactly sure how to use the Naked Drivers pack. Can someone advise?
Easy as ADB...
Use the step by step instructions in the Nexus Root Toolkit found here;
http://forum.xda-developers.com/showthread.php?t=1766475
Hope that helps,
-CC
Set it to ptp mode, install updated sdk, and you will find proper adb driver in extras/google/usb-driver directory. After those steps adb started to work in my case' no need for third party downloads.
Sent from my Nexus 7 using xda app-developers app
I've been having the same issues with all of the new android devices I've tried to use adb on my computer for. I as able to make them work by manually installing the drivers in device manager. When you choose browse for drivers manually you can look through pre installed drivers and select adb interface and manually choose the drivers for adb and fast boot. Only issue I have is that it won't give adb root access and says rot is not available in production builds. Not sue if that's related or not.
Sent from my Nexus 7 using xda app-developers app
Windows 7 - Nexus 7 ADB Recognition
For me, like others, choosing either MTP or PTP from the Nexus 7's USB computer connection options didn't solve the issue. Updated to the latest version of the Android SDK Tools within Eclipse [version 20.0.1], and even uninstalled and re-installed the Google USB Driver [Revision 6] within the Android SDK manager, but no luck.
What ended up clearing the issue for me was to go to Computer Management, find the Nexus device with the question mark next to it, update the driver by browsing a location on the computer, browse to the location on your computer where you saved the Android SDK [the one with the following directories: add-ons, docs, extras, platforms, platform-tools, etc], and choose that very folder containing those folders I mentioned. It should search for a while then ask you whether or not to install some Asus/Google driver.
After installing that driver, my N7 was recognized by the "adb devices" command.
NOTE: Turns out when I updated the driver, my N7 was in PTP mode, and when I switched it to MTP mode, it was no longer recognized under adb devices. adb kill-server then adb start-server should get it recognized again when you switch between MTP and PTP.
Hope this works for all of you out there, like me, who really didn't want to take the 3rd party software route to overcome this problem.
Cheers.
ADB driver
Try to root toolkit from Wugfresh
http://forum.xda-developers.com/showthread.php?t=1766475
There is a very complete and usable guide to install ADB driver for most version of windows (XP->win 7).
You don't have to unlock or root; just use the interactive guide for driver install.
Good luck
bytecollektr said:
Still nothing. Deleted the drivers, and it obviously installed the new ones, since the name under the "device manager" changed. I go to the Android sdk and it still says waiting for device. Is there different versions of fastboot? Maybe its the wrong command? (fastboot oem unlock)
Click to expand...
Click to collapse
rootblock said:
For me, like others, choosing either MTP or PTP from the Nexus 7's USB computer connection options didn't solve the issue. Updated to the latest version of the Android SDK Tools within Eclipse [version 20.0.1], and even uninstalled and re-installed the Google USB Driver [Revision 6] within the Android SDK manager, but no luck.
What ended up clearing the issue for me was to go to Computer Management, find the Nexus device with the question mark next to it, update the driver by browsing a location on the computer, browse to the location on your computer where you saved the Android SDK [the one with the following directories: add-ons, docs, extras, platforms, platform-tools, etc], and choose that very folder containing those folders I mentioned. It should search for a while then ask you whether or not to install some Asus/Google driver.
After installing that driver, my N7 was recognized by the "adb devices" command.
NOTE: Turns out when I updated the driver, my N7 was in PTP mode, and when I switched it to MTP mode, it was no longer recognized under adb devices. adb kill-server then adb start-server should get it recognized again when you switch between MTP and PTP.
Hope this works for all of you out there, like me, who really didn't want to take the 3rd party software route to overcome this problem.
Cheers.
Click to expand...
Click to collapse
i'm having the issue with the mtp not being recognized in adb. can you be more specific in the adb kill-server and adb start-server.

[Q] Nexus 4 ADB on Windows 7 Home

After several hours of frustration, I'm just going to ask.
I have USB debugging enabled. When I plug in the Nexus 4 Windows auto installs drivers for MTP.
It's listed under portable devices in device manager. I am trying to uninstall the driver and install the Naked driver. But as soon as I uninstall in device manager, Windows reinstalls, despite me having turned off auto-installation of drivers. I am not able to use the advanced method listed here http://www.addictivetips.com/window...utomatic-driver-installation-in-windows-vista because gpedit.msc doesn't exist for Home users.
I have unplugged the device and manually put it into Fastboot and plugged it in. Windows does not try to autoinstall drivers. I am able to install Naked drivers and the device appears as "Android Phone" in device manager.
How can I proceed?
Donteventrii said:
After several hours of frustration, I'm just going to ask.
I have USB debugging enabled. When I plug in the Nexus 4 Windows auto installs drivers for MTP.
It's listed under portable devices in device manager. I am trying to uninstall the driver and install the Naked driver. But as soon as I uninstall in device manager, Windows reinstalls, despite me having turned off auto-installation of drivers. I am not able to use the advanced method listed here http://www.addictivetips.com/window...utomatic-driver-installation-in-windows-vista because gpedit.msc doesn't exist for Home users.
I have unplugged the device and manually put it into Fastboot and plugged it in. Windows does not try to autoinstall drivers. I am able to install Naked drivers and the device appears as "Android Phone" in device manager.
How can I proceed?
Click to expand...
Click to collapse
Try checking the drivers thread link in my signature.
Stryder5 said:
Try checking the drivers thread link in my signature.
Click to expand...
Click to collapse
The problem is that Windows is auto-installing the driver as soon as I uninstall it from device manager. I have this setting disabled in Device Installation Settings but nevertheless it continues auto-installing.
Donteventrii said:
The problem is that Windows is auto-installing the driver as soon as I uninstall it from device manager. I have this setting disabled in Device Installation Settings but nevertheless it continues auto-installing.
Click to expand...
Click to collapse
When you plug in your n4 in your pc, does it allow you to open the folder for your phone. If it does the drivers are installed. Mine n4 did the same as you when I plugged it in my PC, and did show Android in the device manager.
Use the nexus 4 toolkit to do it.
http://forum.xda-developers.com/showthread.php?t=1995688
jt.61 said:
When you plug in your n4 in your pc, does it allow you to open the folder for your phone. If it does the drivers are installed. Mine n4 did the same as you when I plugged it in my PC, and did show Android in the device manager.
Click to expand...
Click to collapse
It's showing up as portable device, not as Android when MTP is connected. If I manually boot into fastboot, and connect to PC it will show as Android.
Nexus 4 toolkit doesn't work. When I connect the device, it still only shows up as MTP device connected.
How can I stop the "Nexus 4" driver from auto installing the MTP driver?
Nobody else is having this problem?
Sent from my Nexus 4 using Tapatalk 2
Donteventrii said:
Nobody else is having this problem?
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Bump
For the love of bump
...
Sent from my Nexus 4 using Tapatalk 2
You could try this installer. If a prompt ever says not to install a driver just do it anyway.
http://www.junefabrics.com/android/download.php
I was having the same issues, toolkit didnt work, auto kept auto installing MTP only, junefabrics.com didn't work by itself, LG drivers didn't work. finally I tried the drivers in sig and adb was installed but the tool kit still didn't recognize it. I ran the one from junefabrics.com after that and hit no to not reinstall the drivers when it asks, but it's hanging when installing pdanet on my phone.
TCMan5190 said:
I was having the same issues, toolkit didnt work, auto kept auto installing MTP only, junefabrics.com didn't work by itself, LG drivers didn't work. finally I tried the drivers in sig and adb was installed but the tool kit still didn't recognize it. I ran the one from junefabrics.com after that and hit no to not reinstall the drivers when it asks, but it's hanging when installing pdanet on my phone.
Click to expand...
Click to collapse
im in the same boat
I'm having these same issues. Very frustrating.
Just fixed the problem by following the directions in this post - http://forum.xda-developers.com/showpost.php?p=34154052&postcount=7
His instructions about cmd prompt didn't work for me, so in device manager I selected View -> Show Hidden Devices.
I removed all android, nexus, other android phones and then reinstalled the drivers via the toolkit. Seems to be working so far!
The MTP driver will always install as that's nothing to do with adb. If you open Device Manager it should have the other option - you then manually install the driver by browsing the the drivers folder when using the 'Update driver' option in the right-click menu when you click on it in Device Manager
BUMP
Donteventrii said:
...
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
I am having the same problem my windows xp is not reading I install a couple of different drivers still nothing. This the only phone/tablet I am having this issu that my pc is it's not reading the files of my phone.
OTA JOP40D
2nd Batch phone
hello, now nexus 4 updated to 4.2.2 and when i connect to computer the device could not be found
i updated SDK , all the required things inside android 4.2 but still device not found
is there drivers that i can install instead of checking for updates and so on?
jasonmiracle said:
hello, now nexus 4 updated to 4.2.2 and when i connect to computer the device could not be found
i updated SDK , all the required things inside android 4.2 but still device not found
is there drivers that i can install instead of checking for updates and so on?
Click to expand...
Click to collapse
Try downloading pdanet on your pc or downliad a nexys4 toolkit from here and they let u install the drivers
Sent from my Nexus 4 using xda premium
casonswag said:
Try downloading pdanet on your pc or downliad a nexys4 toolkit from here and they let u install the drivers
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
tried pda but failed
its caused by the android 4.2.2 update...
For anyone still having problems, these are the steps I followed that fixed it for me. (After updating to the latest sdk version and downloading the google usb driver)
1. Uninstalled the driver from Device Manager
2. Let it automatically install the generic 'MTP device driver'
3. Right clicked on the new device and selected 'Update Driver'
4. Selected 'Have Disk' and pointed it to [android-sdk-dir]\extras\google
5. Watched an 'ADB' driver install.
6. Opened Eclipse to successfully run on my N4.

Nexus 4 cannot be recognized as MTP after root

I'm running Windows 7 64bit and followed the Ultimate guide to unlock and root my Nexus 4.
Everything went well but now it looks like that Windows won't recognize my phone as a device. When I plug in the phone, the auto-play window will pop out and recognize it as Nexus 4, but there is no other options. (Normally the auto-play will ask if open folder to view files or transfer photos). I can't see my phone in device manager either.
If I turn on the USB debugging mode, I can see it in device manager but still cannot see it in My Computer. Looks like Windows can't access the SD card at all.
I tried switching to the camera mode but the problem remained. Please help.
desperate bump. can anyone help?
Maybe it's a stupid advice, but have you tried change the USB port in PC?
glancer2315 said:
desperate bump. can anyone help?
Click to expand...
Click to collapse
Plug in the phone, uninstall the drivers from Device manager, then unplug, and replug.
Colourkey said:
Maybe it's a stupid advice, but have you tried change the USB port in PC?
Click to expand...
Click to collapse
yes, i did.
abaaaabbbb63 said:
Plug in the phone, uninstall the drivers from Device manager, then unplug, and replug.
Click to expand...
Click to collapse
thanks for your advice. the problem is that, without USB debugging mode on, I can't see Nexus 4 in Device manager, even though the Windows Auto-play will say Nexus 4 connected. (Nothing in My Computer either)
With USB debugging mode on, I uninstalled the driver and Windows would try installing the driver. Now it shows up as MTP device with an exclamation mark. I tried manually update the driver (direct it to the Google SDK folder and pick the android_windowsusb.inf) but it says it does not support x64. I don't think the 64 bit driver is digitally signed.
I think I had a similar problem as yours. If you deleted the drivers while on debugging mode and reconnected after and it's showing the exclamation mark of a unknown device, try restarting your computer and plugging your phone back in.
SovereigN7 said:
I think I had a similar problem as yours. If you deleted the drivers while on debugging mode and reconnected after and it's showing the exclamation mark of a unknown device, try restarting your computer and plugging your phone back in.
Click to expand...
Click to collapse
i did and it remains the same.
Is there anyway I can know all the files names of the drivers so that I can manually delete them from system folder? When I uninstalled it from the device manager, I don't see the option "Delete the driver software for this device".
I can still see it under "adb devices" list.
I think there are some conflicts in the drivers.
Now when I connect Nexus 4 (without USB debugging mode on), it will show up in device manager under Android Device.
With USB debugging, it will then show up under Portable Devices.
However, it's supposed to work the other way around. that is (no USB debugging --> portable device; with USB debugging --> Android Device).
How can i solve this?
Have you tried manually installing the drivers before plugging in the phone, vs letting windows choose the drivers it wants to install? One option you could try is installing PDA Net on your pc. It will install reliable drivers on your pc.
i also had this same problem after flashing my first custom rom on the n4, and i also run windows 7 Ultimate x64
here is the process i use for full clean installation of device
on phone
goto SETTINGS > STORAGE > (menu) USB Computer Connection
make sure Media Device (MTP) is checked
With USB Debugging On
On your PC go to device manager
there should be 2 devices (Android Phone > Android Composite ADB Interface & Portable Devices > Nexus 4) - this is on a fully working n4 so you might only have 1 of them
Right click on each of them and click uninstall
The popup box should have another check box to delete the driver also, if this is available check it then confirm (note mine only has the box for Android Phone > Android Composite ADB Interface, but if yours has it on both then check it on both)
your computer will now ask you to restart, dont do it yet
repeat previous step for the other device if you have 2 then reboot
upon rebooting it will automatically start reinstalling drivers
by expanding the selection you should see 2 devices
Nexus 4 - Successful - Ready To Use (this is your MTP connection)
Nexus 4 - Unsuccessful - No Driver Found (this is your ADB Connection)
at this point you should be able to access internal storage however ADB will not work
go back into device manager
you should now have
Portable Devices > Nexus 4
and Other Devices > Nexus 4 (with yellow exclamation mark)
right click on the Other Devices > Nexus 4 (with yellow exclamation mark)
hit Update Driver Software
click Browse my computer for driver software
click Let Me Pick Drom a List of Device Drivers On My Computer
double click Show All Devices
click Have Disk...
click Browse
navigate to the download directory for the google usb drivers (for me this was "C:\Program Files (x86)\Android\Android-SDK\Extras\Google\Usb_Driver")
double click on the android_winusb.inf file
click OK
double click "Android Composite ADB Interface"
it will then install the driver for ADB
you should now have full access to internal storage and ADB
Alex240188 said:
i also had this same problem after flashing my first custom rom on the n4, and i also run windows 7 Ultimate x64
here is the process i use for full clean installation of device
on phone
goto SETTINGS > STORAGE > (menu) USB Computer Connection
make sure Media Device (MTP) is checked
With USB Debugging On
On your PC go to device manager
there should be 2 devices (Android Phone > Android Composite ADB Interface & Portable Devices > Nexus 4) - this is on a fully working n4 so you might only have 1 of them
Right click on each of them and click uninstall
The popup box should have another check box to delete the driver also, if this is available check it then confirm (note mine only has the box for Android Phone > Android Composite ADB Interface, but if yours has it on both then check it on both)
your computer will now ask you to restart, dont do it yet
repeat previous step for the other device if you have 2 then reboot
upon rebooting it will automatically start reinstalling drivers
by expanding the selection you should see 2 devices
Nexus 4 - Successful - Ready To Use (this is your MTP connection)
Nexus 4 - Unsuccessful - No Driver Found (this is your ADB Connection)
at this point you should be able to access internal storage however ADB will not work
go back into device manager
you should now have
Portable Devices > Nexus 4
and Other Devices > Nexus 4 (with yellow exclamation mark)
right click on the Other Devices > Nexus 4 (with yellow exclamation mark)
hit Update Driver Software
click Browse my computer for driver software
click Let Me Pick Drom a List of Device Drivers On My Computer
double click Show All Devices
click Have Disk...
click Browse
navigate to the download directory for the google usb drivers (for me this was "C:\Program Files (x86)\Android\Android-SDK\Extras\Google\Usb_Driver")
double click on the android_winusb.inf file
click OK
double click "Android Composite ADB Interface"
it will then install the driver for ADB
you should now have full access to internal storage and ADB
Click to expand...
Click to collapse
thank you for your long and detailed reply.
this is what i wanted to do, but the problem is that when I uninstall them, I don't get to see the option "delete the driver software for this device". What should I? cuz every time I plug in Windosws just tries to automatically install the driver for me.
Have you tried toggling to ptp mode then back to mtp on your phone. It's odd indeed.
The fact that you can't remove the driver is because that is the mtp one which is built in to media player. Let me give this some more thought
EDIT: You said that with USB debugging disabled your device is listed under device manager as an android device
can you check and verify exactly what it is listed as? as it should be portable device
Sent from my Nexus 4 using xda app-developers app
Alex240188 said:
Have you tried toggling to ptp mode then back to mtp on your phone. It's odd indeed.
The fact that you can't remove the driver is because that is the mtp one which is built in to media player. Let me give this some more thought
EDIT: You said that with USB debugging disabled your device is listed under device manager as an android device
can you check and verify exactly what it is listed as? as it should be portable device
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
hi under android device it shows up as Android adb device
under portable device i can it now showing up as MTP USB device with exclamation mark.
glancer2315 said:
hi under android device it shows up as Android adb device
under portable device i can it now showing up as MTP USB device with exclamation mark.
Click to expand...
Click to collapse
does adb work?
i.e. adb devices
or is USB debugging turned off at this point
Also. The one with the exclamation mark. Right click and go to properties. What does it say in device status
Alex240188 said:
does adb work?
i.e. adb devices
or is USB debugging turned off at this point
Also. The one with the exclamation mark. Right click and go to properties. What does it say in device status
Click to expand...
Click to collapse
hi, adb devices works. (will list my device when usb debugging is on)
with usb debugging off, under portable device, the device status says "This device cannot start. (Code 10)". thanks.
still looking for solutions. maybe i should try uninstalling the ADB driver, but the problem is that when i uninstall the device from the device manager I don't see the option "delete the driver software for this device", any help?
glancer2315 said:
still looking for solutions. maybe i should try uninstalling the ADB driver, but the problem is that when i uninstall the device from the device manager I don't see the option "delete the driver software for this device", any help?
Click to expand...
Click to collapse
I have this same issue I'm trying to find a fix, that's how I found your thread. Alex gave very good info make sure you go back to his posts and hit his "Thanks" button, I did it on everyone one of his posts in this thread. I'm starting to think it's a hardware issue and not a software issue, I've never had this issue on any device. When I got it new running stock 4.2.2 MTP didn't work. ADB works and PTP works, just not MTP no matter what I try. I recommend you learn to use, ADB push and pull to move your files if you don't already know how to use it (To use ADB I need to check PTP for it to work and not MTP) you might need to do the same. I will keep you posted if I find a fix.
Sent from my Nexus 10 Pimpin AOKP 4Life
I'm just getting more and more confused with this.
If Adb works then you must have an Adb driver installed for the phone. However your also stating that you get no box for uninstall driver.
With USB debugging disabled you said that it appears as an android phone rather than a portable device. This should not be.
With debugging disabled what happens if you Try to uninstall in device manager
Sent from my Nexus 4 using xda app-developers app
---------- Post added at 01:54 PM ---------- Previous post was at 01:51 PM ----------
My theory still stands that you have updated the mtp driver with adb drivers. Hence why mtp doesn't work but ptp does.
The problem is getting to a position where you can uninstall the adb drivers from the mtp device and let it reinstall the proper drivers
Sent from my Nexus 4 using xda app-developers app
I plugged another Nexus 4 in, and all the drivers loaded perfectly. I then tried my Nexus 4 phone, and nothing happens. No mtp, no adb, no boot loader drivers. Its my phone. My next step is to find a zip file that I can flash via custom recovery, which will bring all the binaries and ROM back to stock. Anybody know where I can find this? I'll probably lose the custom recovery, but hopefully it will be fixed and I can flash the custom recovery again.
LG-E960

[Q] No Drivers Found Windows 7

Kind of frustrating, I can't seem to get my computer to recognize the Nexus 7. I'm running Windows 7 64bit. I do have the Android SDK installed with 4.3 updated to the latest already. Can't imagine what could be triggering this... hmmm
Use the SDK manager to download the Google USB drivers. Head to device manager on your windows, update the driver for the nexus 7 which has an exclamation mark, and select the android SDK folder to install the drivers.
Hope it works for you.. That solved it for me.
Sent from my Nexus 7 using xda app-developers app
You can get latest drivers here:
Description/Download
http://developer.android.com/sdk/win-usb.html
Direct download
https://dl-ssl.google.com//android/repository/latest_usb_driver_windows.zip
will this drivers works under win8 (64)?
They should.
meine12 said:
will this drivers works under win8 (64)?
Click to expand...
Click to collapse
It works PnP on my Win8-64
Sent from my Nexus 7 using xda premium
sWirL said:
Use the SDK manager to download the Google USB drivers. Head to device manager on your windows, update the driver for the nexus 7 which has an exclamation mark, and select the android SDK folder to install the drivers.
Hope it works for you.. That solved it for me.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
sfhub said:
You can get latest drivers here:
Description/Download
http://developer.android.com/sdk/win-usb.html
Direct download
https://dl-ssl.google.com//android/repository/latest_usb_driver_windows.zip
Click to expand...
Click to collapse
Hmmm unfortunately still nothing. When I browse either the usb_driver folder or my SDK folder (with the Google USB drivers), I still get a "Windows was unable to install your Nexus 7, Windows could not find driver software for your device." message.
So I've been scratching my head over this one. I tried USB debugging mode, reinstalling the drivers, etc. Basically with USB debugging and the SDK drivers, I can finally get something installed, I see the Android Composite ADB Interface, but MTP is still eluding me. So PTP works fine now, but MTP is so damn annoying...
Once I disable USB debugging, I'm back to square one, its no longer MTP that has the ! sign in device manager, but instead, Nexus 7 again. Searching the SDK folder yields nothing and not even PTP works once USB debugging is gone.
PharaohsVizier said:
So I've been scratching my head over this one. I tried USB debugging mode, reinstalling the drivers, etc. Basically with USB debugging and the SDK drivers, I can finally get something installed, I see the Android Composite ADB Interface, but MTP is still eluding me. So PTP works fine now, but MTP is so damn annoying...
Once I disable USB debugging, I'm back to square one, its no longer MTP that has the ! sign in device manager, but instead, Nexus 7 again. Searching the SDK folder yields nothing and not even PTP works once USB debugging is gone.
Click to expand...
Click to collapse
I created the attached MTP driver inf to see if it would address your issue.
If it works let me know which OS version you are running. I think you mentioned windows 7 64-bit, but sometimes people switch machines in the efforts of trying to get things working.
You can install by telling the driver install not to search and to look for the driver in the path you downloaded and EXTRACTED this zip file.
The other way to install is to right click on the ? question mark entry in devmgmt.msc and go to the tab with the update driver option.
sfhub said:
I created the attached MTP driver inf to see if it would address your issue.
If it works let me know which OS version you are running. I think you mentioned windows 7 64-bit, but sometimes people switch machines in the efforts of trying to get things working.
You can install by telling the driver install not to search and to look for the driver in the path you downloaded and EXTRACTED this zip file.
The other way to install is to right click on the ? question mark entry in devmgmt.msc and go to the tab with the update driver option.
Click to expand...
Click to collapse
Thank you! That worked fantastic, still running Windows 7 64-bit. Can I ask what you did to get this working?
EDIT: This works fine for USB Debugging Mode, but when I turn that off, the Nexus 7 will try and install this MTP driver and get a "this device cannot start" error (on Windows). Although I'm more than happy with this solution, just info for anyone browsing this thread later on.
PharaohsVizier said:
Thank you! That worked fantastic, still running Windows 7 64-bit. Can I ask what you did to get this working?
EDIT: This works fine for USB Debugging Mode, but when I turn that off, the Nexus 7 will try and install this MTP driver and get a "this device cannot start" error (on Windows). Although I'm more than happy with this solution, just info for anyone browsing this thread later on.
Click to expand...
Click to collapse
If you want, you can try the version in this thread:
http://forum.xda-developers.com/showthread.php?t=2391236
This driver inf only affects MTP under USB debugging and will defer to windows for MTP when USB debugging is turned off.
You'll need to go to devmgmt.msc and Portable Devices, find Nexus 7, right-click, find the option to uninstall drivers, choose that, righ-click on Nexus 7, remove device, reboot.
Then specify the new path for the driver install (the one from that thread is mtp_driver, instead of mtp_driver_all in this thread)
Also you may want to post your experiences on that thread so people can find it in the future.
Yep I can confirm this one works as well. Awesome!
PharaohsVizier said:
Yep I can confirm this one works as well. Awesome!
Click to expand...
Click to collapse
Do you still have the issue where it says device could not be started when you turn off usb debugging?
Not sure if I'm having the same problem or just similar.
With usb debugging mode enabled, the tablet appears as Nexus 7 with no drivers found.
Without usb debugging mode, the Nexus 7 doesn't appear at all, not even under "other devices" or as a .USB composite device.
First tried installing Google USB Driver Rev. 8 from the SDK manager, with no luck.
Trying to manually install the extracted WPDMTPNX.INF driver with "Include subfolders" checked gives "Windows was unable to install your Nexus 7" as a result.
ROM: ParanoidAndroid 3.93
Kernel version 3.4.0-g365a6e0
msilby said:
Trying to manually install the extracted WPDMTPNX.INF driver with "Include subfolders" checked gives "Windows was unable to install your Nexus 7" as a result.
Click to expand...
Click to collapse
I sent you a PM.
msilby said:
With usb debugging mode enabled, the tablet appears as Nexus 7 with no drivers found.
...
ROM: ParanoidAndroid 3.93
Kernel version 3.4.0-g365a6e0
Click to expand...
Click to collapse
I attached a modified driver inf for your setup in the referenced post. See if that works for you.
mtp_driver_usbdebug_paranoid.zip
http://forum.xda-developers.com/showthread.php?p=44253804#post44253804
I believe your USB IDs are different from stock because of the ROM you are running.
I don't think it will fix your problem of not seeing the device properly with usb debugging disabled (I think that is possibly a rom issue), but it should theoretically get your device visible with usb debugging enabled.
Right-click on Nexus 7 in start menu->run->devmgmt.msc and choose the tab that allows you to update drivers and specify a folder where you unzip'd the zip file.
sfhub said:
Do you still have the issue where it says device could not be started when you turn off usb debugging?
Click to expand...
Click to collapse
Nope, it works fantastic!

[Solved] Windows unable to install MTP driver

Hello guys!
I have already read some topics on this forum but it is my first message.
As indicated in the title, I cannot connect my Nexus 4 on my computer using MTP. This computer is running Windows 8.1 Update 1. So far I have tried every method I have seen on the web so I am a little bit desperate.
I have tried to plug my device on other computers and it was automatically detected on Windows 7, Windows 8.1 Update 1 and Ubuntu 14.04.
On my computer, as it does not auto-configure MTP I have tried to install ADB drivers, hoping it would help me. Universal ADB drivers, Naked Drivers and drivers from the SDK didn't changed anything. I also tried changing USB port.
It always recognised my phone as a "Nexus 4" in the "Other devices" section of the Device Manager (I do not have "Android Device" section), except in when MTP + debugging are activated. Then I have both "Nexus 4" and "MTP", in "Other devices" section.
It does not work in PTP mode either and I also tried uninstalling/reinstalling the Nexus Root Toolkit, even if I do not see how it can help...
One last point: I have the "connected as multimedia device" notification on my Nexus 4 when MTP is activated, even if it's not recognised by Windows.
Do you have any idea of what I can do?
Have you tried Nexus 4-specific drivers? Try following this guide.
Marvlesz said:
Have you tried Nexus 4-specific drivers? Try following this guide.
Click to expand...
Click to collapse
I have already tried to follow this guide, it just helped me to install ADB drivers but I still don't have access to the content of my Nexus from my computer. I just tried it again, just in case. No changes
Bartimoot said:
I have already tried to follow this guide, it just helped me to install ADB drivers but I still don't have access to the content of my Nexus from my computer. I just tried it again, just in case. No changes
Click to expand...
Click to collapse
Last time I had such an issue: I uninstalled the drivers using Device Manager, then installed the drivers from that guide, plugged in my phone and it worked..
Here is another post from another forum that has something you could try:
still1 said:
ttwiitch said:
still1 said:
1. make sure Settings ->Storage -> Menu[3 dots on top right] -> USB Computer Connection is MTP
2. USB debugging is disabled (if you ever enabled it)
3. make sure the drivers installed is MTP drivers rather than adb device(you do this when you unlock/root nexus)
point 3 is important. thats the reason why its not getting detected
Click to expand...
Click to collapse
2. Where in setting do I check for USB debugging?
3. How do I check this? (I'm not rooted)
Click to expand...
Click to collapse
2. developer option.. if you have not enabled developer option then you wouldnt have enabled USB debugging. so skip this
3. Connect your nexus to PC-->Go to Control panel-->device manager
you will see something like Android adb in device manager
Right Click and click "Update device Software"
Click "Browse your Computer for driver Software"
Click "Let me Pick from a list of device drivers on my Computer"
Click Next, for the device list shown.
Click to expand...
Click to collapse
Tell us how it goes..
Thank you for spending some of your time to help me Marvlesz, I really appreciate.
Marvlesz said:
Last time I had such an issue: I uninstalled the drivers using Device Manager, then installed the drivers from that guide, plugged in my phone and it worked..
Click to expand...
Click to collapse
Yes, I saw it worked for a lot of people, for what I have read, but it seems that I am not that lucky
When picking from the list, I tried from the Android Device section and it displays "Unable to find any drivers for this device". Same Results in “Mobile devices”.
When I try “Show all devices”, I have a lot of possibilities. I just tried “MTP Device” from both “Standard MTP-Compliant Device” and “Standard MTP-Compliant devices” sections, and it displayed “The install class is not present or is invalid”
Am I cursed?
I was wondering, is it possible that the problem is coming from my hardware? Or its drivers? (Those for the motherboard maybe?)
EDIT: I just found this thread : http://forum.xda-developers.com/showthread.php?t=2493734
I will try it and I will keep you updated when it is done.
EDIT 2:
So I tried the solution... and it worked! :good:
I had the N version of Windows 8.1, mainly to avoid useless software like Windows Media Player, and it was the exact problem.
Sorry for taking a little of your time, and thank you again!
No problems, I'm glad you had it fixed.

Categories

Resources