[Q] My computer cannot recognize my devices MTP - Nexus 7 (2013) Q&A

I just got my Nexus 7(2013) device.
I used to transfer files between my computer and my Nexus 4.
When I plugged in my N4, my computer recognizes my N4 and device manager showed there is a portable devices "Nexus 4"
However when I plugged in my new N7, my computer cannot detect it and device manager showed "Android Device" with "Android Composite ADB Interface" under it.
I cannot find any new drive in My Computer although the device is charging through USB.
I have tried to disable/enable USB Debugging, using different USB cables, switching USB option between MTP and PTP and reinstalling Nexus usb driver from google and all of them do not work.
May I ask for any solution?
Thanks:fingers-crossed::fingers-crossed:

Uninstall/remove the drivers
reboot
then reinstall using these drivers
http://dl-ssl.google.com//android/repository/latest_usb_driver_windows.zip
Even if you did it before, try again, with the removal of drivers and the reboot.
Also you may want to try different ports, cables, computers

sfhub said:
Uninstall/remove the drivers
reboot
then reinstall using these drivers
http://dl-ssl.google.com//android/repository/latest_usb_driver_windows.zip
Even if you did it before, try again, with the removal of drivers and the reboot.
Also you may want to try different ports, cables, computers
Click to expand...
Click to collapse
I've tried that before
I may now try a few times more
By the way, I realized that I can use Wugfresh toolkit and completed the full driver test to bootloader mode. However, I cant even detect the hard drive.

I finally enabled to use PTP to access the photos.
However I am still unable to use MTP to transfer other types of files..
Any help?:fingers-crossed::fingers-crossed:

EggShaarawy said:
I finally enabled to use PTP to access the photos.
However I am still unable to use MTP to transfer other types of files..
Any help?:fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
Please perform the following even if you have done it before.
In this current state, turn on MTP. Then turn off USB debugging. See if MTP shows up. If so, use this fix to get MTP working with USB debugging.
[FIX] MTP with USB debugging / ADB within Recovery (windows/nexus7)

sfhub said:
Please perform the following even if you have done it before.
In this current state, turn on MTP. Then turn off USB debugging. See if MTP shows up. If so, use this fix to get MTP working with USB debugging.
[FIX] MTP with USB debugging / ADB within Recovery (windows/nexus7)
Click to expand...
Click to collapse
I am sorry that I cannot understand it completely.
May I ask
1. Should I uninstall just the entry with Nexus 7 as description in Nirsoft USBDeview and then reboot?
2. You mentioned that "When you turn on USB debugging and windows asks for an MTP driver, just provide mtp_driver.zip". How can I use the zip file? After rebooting and enabling USB debugging, my toolbar on bottom-right has a icon showing I have a MTP and I can choose to "remove MTP safely" just like plugging in a USB flash drive. However, there is not a hard drive in My Computer. Maybe is it the difference between Windows XP and WIndows 7? Or did I misunderstand your instruction?
Thanks for helping! :good:

I finally did it with USB debugging and MTP on.
I occasionally update the Android ADB Interface driver and install Composite USB Device from the list and my computer detects my hard drive!!
Is it possible to get my MTP working without enabling USB Debugging or is it normal to detect mtp with USB Debugging on? :good:

EggShaarawy said:
I finally did it with USB debugging and MTP on.
Click to expand...
Click to collapse
One of the drivers you installed previously which was modified to get MTP working. was implemented too aggressively and is now blocking your ability to use MTP with USB debugging turned off.
For normal systems with no drivers loaded, they have the opposite problem, in that they can get MTP working when USB debugging is disabled, but lose MTP when USB debugging is enabled.
When USB debugging is disabled and MTP is enabled, the USB port advertises that it is compatible with standard MTP drivers, so windows automatically installs. However if you have a custom driver installed, it can block that automatic process.
With USB debugging turned on, the USB port no longer advertises MTP compatibility, so windows is normally confused and doesn't know what driver to use. That you were able to get it working with USB debugging enabled proves to me that you have a custom driver installed that was modified to get MTP working.
The way I wrote my changes to the MTP driver was to leave the standard MTP alone and only intercept the MTP when USB debugging is enabled. Thus my changes don't block normal MTP operation when USB debugging is disabled.
EggShaarawy said:
Is it possible to get my MTP working without enabling USB Debugging or is it normal to detect mtp with USB Debugging on? :good:
Click to expand...
Click to collapse
Yes, but you are going to need to figure out which driver you installed is causing the issue and remove it so it doesn't get in the way.
Alternatively, try a different PC that has never had drivers installed and use just the one I pointed you at earlier.
You don't use the zip file directly, you unzip the contents and will have a .inf file.
When windows asks for a driver (USB debugging turned on and MTP turned on) you point the install at the .inf provided. It will do the rest automatically.

sfhub said:
One of the drivers you installed previously which was modified to get MTP working. was implemented too aggressively and is now blocking your ability to use MTP with USB debugging turned off.
For normal systems with no drivers loaded, they have the opposite problem, in that they can get MTP working when USB debugging is disabled, but lose MTP when USB debugging is enabled.
When USB debugging is disabled and MTP is enabled, the USB port advertises that it is compatible with standard MTP drivers, so windows automatically installs. However if you have a custom driver installed, it can block that automatic process.
With USB debugging turned on, the USB port no longer advertises MTP compatibility, so windows is normally confused and doesn't know what driver to use. That you were able to get it working with USB debugging enabled proves to me that you have a custom driver installed that was modified to get MTP working.
The way I wrote my changes to the MTP driver was to leave the standard MTP alone and only intercept the MTP when USB debugging is enabled. Thus my changes don't block normal MTP operation when USB debugging is disabled.
Yes, but you are going to need to figure out which driver you installed is causing the issue and remove it so it doesn't get in the way.
Alternatively, try a different PC that has never had drivers installed and use just the one I pointed you at earlier.
You don't use the zip file directly, you unzip the contents and will have a .inf file.
When windows asks for a driver (USB debugging turned on and MTP turned on) you point the install at the .inf provided. It will do the rest automatically.
Click to expand...
Click to collapse
I have been using the same computer to root Galaxy Nexus and Nexus 4 and I remembered I have been using some tool similar to the one you provided.
Maybe it makes my computer cannot recognize the MTP
Anyway, Thanks

Related

[Q] ADB not recognizing device

Hi All:
I have the 16GB N7 (2013) with USB debugging enabled. I plug into my Windows 7 box via USB 2.0, and it successfully appears in my device manager as 'Google Nexus ADB Interface'. I just downloaded the current Android SDK, however when I run 'ADB devices' in the command prompt, ADB does not recognize any devices.
Any ideas?
Thanks!
Did you try if it would recognize your device in fastboot bootloader?
Go into I believe its called SDK manager and make sure USB or Google drivers update is checked and then click Install as this will install all drivers needed. But prior to that uninstall any drivers in device manager for your nexus 7 . it should pick it up right away after everything installs! Good luck
Sent from my Nexus 7 using xda premium
highwaybandit said:
Go into I believe its called SDK manager and make sure USB or Google drivers update is checked and then click Install as this will install all drivers needed. But prior to that uninstall any drivers in device manager for your nexus 7 . it should pick it up right away after everything installs! Good luck
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Thank you for the suggestion, highwaybandit. I tried your idea, but still have the same issue with ADB not recognizing the device, despite the device showing up successfully in Windows device manager.
I have the same problem with Ubuntu. I tried "adb reboot bootloader" and nothing. Unlocked fine with fastboot tho.
Sent from my Nexus 7 using Tapatalk 2
Username invalid said:
Did you try if it would recognize your device in fastboot bootloader?
Click to expand...
Click to collapse
Yes, and it does. I was able to 'fastboot oem unlock'. However, can't issue any adb commands.
My Nexus 7 will not show up as a drive on my computer. Drivers are installed, shows up in device manager fine, uninstalled and re-installed drivers, usb debugging is on. I cant see it has a drive so I can transfer files. Any help would be appreciated
mickrg123 said:
My Nexus 7 will not show up as a drive on my computer. Drivers are installed, shows up in device manager fine, uninstalled and re-installed drivers, usb debugging is on. I cant see it has a drive so I can transfer files. Any help would be appreciated
Click to expand...
Click to collapse
Now that you mentioned it, same issue here, in addition to the ADB issue mentioned above. My N7 doesn't show up as a drive whether I have USB debugging enabled or not.
mickrg123 said:
My Nexus 7 will not show up as a drive on my computer. Drivers are installed, shows up in device manager fine, uninstalled and re-installed drivers, usb debugging is on. I cant see it has a drive so I can transfer files. Any help would be appreciated
Click to expand...
Click to collapse
mickrg123, I forgot to mention: I've been getting around this issue by using Google Drive. Not as fast as moving files directly, but still a decent workaround until we get this figured out.
mickrg123 said:
My Nexus 7 will not show up as a drive on my computer. Drivers are installed, shows up in device manager fine, uninstalled and re-installed drivers, usb debugging is on. I cant see it has a drive so I can transfer files. Any help would be appreciated
Click to expand...
Click to collapse
If you have USB debugging enabled, the USB IDs change and for some reason windows can't find the MTP drivers for the device.
If you turn off USB debugging, then the phone shows up as an MTP device (ie it shows up as Nexus 7, not a drive letter)
If you want it to show up as a drive letter, you probably need to root and enable USB mass storage, otherwise it will behave as an MTP device (ie it behaves more like an FTP server than a USB hard drive)
If you have USB debugging disabled and it still won't show up on your computer in MTP mode (ie labeled Nexus 7), then you probably have some problem with MTP on your PC.
---------- Post added at 02:06 PM ---------- Previous post was at 02:04 PM ----------
ddb540 said:
Hi All:
I have the 16GB N7 (2013) with USB debugging enabled. I plug into my Windows 7 box via USB 2.0, and it successfully appears in my device manager as 'Google Nexus ADB Interface'. I just downloaded the current Android SDK, however when I run 'ADB devices' in the command prompt, ADB does not recognize any devices.
Any ideas?
Click to expand...
Click to collapse
Generally, if it doesn't show up at all with adb devices, then it is probably driver problem, cable problem, port problem, or USB debugging didn't properly get enabled. Although since you say it shows up in device manger, it would seem to show that USB debugging was enabled, so you might want to look at driver, cable, or USB port issues (try USB 2.0 port if you are currently using USB 3.0). You can get updated drivers here:
http://developer.android.com/sdk/win-usb.html
You can force windows to update driver by right clicking on the adb device entry and going through the tabs until you find the update driver button.
If it shows up but says device offline, then it is probably the RSA security introduced into adb/android since 4.2.2 (in which case you should update your platform-tools to 16.0.1 or greater)
Also when I check box to load camera it will show as drive
sfhub said:
If you have USB debugging enabled, the USB IDs change and for some reason windows can't find the MTP drivers for the device.
If you turn off USB debugging, then the phone shows up as an MTP device (ie it shows up as Nexus 7, not a drive letter)
If you want it to show up as a drive letter, you probably need to root and enable USB mass storage, otherwise it will behave as an MTP device (ie it behaves more like an FTP server than a USB hard drive)
If you have USB debugging disabled and it still won't show up on your computer in MTP mode (ie labeled Nexus 7), then you probably have some problem with MTP on your PC.
---------- Post added at 02:06 PM ---------- Previous post was at 02:04 PM ----------
Generally, if it doesn't show up at all with adb devices, then it is probably driver problem, cable problem, port problem, or USB debugging didn't properly get enabled. Although since you say it shows up in device manger, it would seem to show that USB debugging was enabled, so you might want to look at driver, cable, or USB port issues (try USB 2.0 port if you are currently using USB 3.0). You can get updated drivers here:
http://developer.android.com/sdk/win-usb.html
You can force windows to update driver by right clicking on the adb device entry and going through the tabs until you find the update driver button.
If it shows up but says device offline, then it is probably the RSA security introduced into adb/android since 4.2.2 (in which case you should update your platform-tools to 16.0.1 or greater)
Click to expand...
Click to collapse
I don't care if doesn't show as drive but doesn't even show as nexus 7 so I can't root until I can load su onto sd card.
Have tried different cables and ports. I heard beep when it connects and shows in menu to to eject nexus 7
Any other ideas?
mickrg123 said:
Also when I check box to load camera it will show as drive
Click to expand...
Click to collapse
If you have USB debugging enabled, then my experience is Media device (MTP) mode won't be recognized because it can't find appropriate drivers (even though you have the MTP drivers installed) but Camera (PTP) mode will still work. I don't think you really mean it shows up as a "drive" as in mass storage device. I think you mean you see a folder where you can access your files.
If you disable USB debugging, than both MTP and PTP should work.
sfhub said:
If you have USB debugging enabled, then my experience is Media device (MTP) mode won't be recognized because it can't find appropriate drivers (even though you have the MTP drivers installed) but Camera (PTP) mode will still work. I don't think you really mean it shows up as a "drive" as in mass storage device. I think you mean you see a folder where you can access your files.
If you disable USB mass storage, than both MTP and PTP should work.
Click to expand...
Click to collapse
Yes you're correct shows as a device not drive when in camera ptp, but not when mtp checked. Where do you disable mass storage?
mickrg123 said:
Yes you're correct shows as a device not drive when in camera ptp, but not when mtp checked. Where do you disable mass storage?
Click to expand...
Click to collapse
Sorry, I meant disable USB Debugging, not mass storage (I'll correct the post)
I'm sure you know where, but if not, Settings->Developer options->USB debugging
If MTP still doesn't work, then see if you have ever gotten MTP to work on the PC (ie another device in MTP mode). If not, look up how to install/reinstall MTP support for your OS version. Windows added it as part of user driver framework and one of the new versions of media player.
---------- Post added at 04:39 PM ---------- Previous post was at 04:32 PM ----------
mickrg123 said:
I don't care if doesn't show as drive but doesn't even show as nexus 7 so I can't root until I can load su onto sd card.
Have tried different cables and ports. I heard beep when it connects and shows in menu to to eject nexus 7
Any other ideas?
Click to expand...
Click to collapse
If your goal is just to load files onto the sdcard, have you tried "adb push"?
You don't need to have the phone visible as a device/folder on the computer to use adb to place files on the tablet.
Im having trouble with mine also. Adb sees it when its in normal mode. When I go to bootloader, it is not seen. When i go to unlock, it just says waiting for device. Any ideas???? Updated SDK installed
droider137 said:
Im having trouble with mine also. Adb sees it when its in normal mode. When I go to bootloader, it is not seen. When i go to unlock, it just says waiting for device. Any ideas???? Updated SDK installed
Click to expand...
Click to collapse
1. Plug in nexus 7, MTP mode
2. Open the device manager
3. Right click the nexus 7 > uninstall drivers > unplug
4. Install drivers > http://developer.android.com/sdk/win-usb.html
5. Plug nexus 7 in, drivers will install, should say adb interface
Open up command prompt > nav to your adb folder > adb devices: device number should pop up. Good to go.
droider137 said:
Im having trouble with mine also. Adb sees it when its in normal mode. When I go to bootloader, it is not seen. When i go to unlock, it just says waiting for device. Any ideas???? Updated SDK installed
Click to expand...
Click to collapse
For me, when I rebooted the phone into bootloader mode, it came up with a new USB device "Android Bootloader Interface". I had to point the driver install at the Google USB drivers I had previously used for the ADB interface so that the Bootloader Interface could be recognized.
sfhub said:
For me, when I rebooted the phone into bootloader mode, it came up with a new USB device "Android Bootloader Interface". I had to point the driver install at the Google USB drivers I had previously used for the ADB interface so that the Bootloader Interface could be recognized.
Click to expand...
Click to collapse
Finally got it!! Had to uninstall and re install the drivers a few times and also remove MTP from device manager. Also had to do the same thing and point it to the drivers in both cases. Thanks. Also thanks to teh roxxorz!
droider137 said:
Finally got it!! Had to uninstall and re install the drivers a few times and also remove MTP from device manager. Also had to do the same thing and point it to the drivers in both cases. Thanks. Also thanks to teh roxxorz!
Click to expand...
Click to collapse
No problem guy; glad you're up an flashing.

Zenfone 2 found through ADB but not in My Computer or Disk Management...

Zenfone 2 ZE551ML, rooted with 1-Click Root method, stock everything else, nothing touched, Developer Mode and USB Debugging on.
Here's what it shows when the device is plugged in. I have Intel Android USB Drivers installed. I have tried uninstalling the drivers through Device Manager, but the same driver keeps getting reinstalled.
MTP Mode is selected under USB Settings/Storage whatever it's called, so it should show up in My Computer but it doesn't.
Thanks!
EDIT: I think I solved it, just have to disable USB Development, unplug then replug with MTP or PTP enabled.

MTP Mode?

Is there a trick to make MTP work under Windows 10? I used it once (via the swipe down, hitting the USB Mode and changing to MTP) before enabeling develper mode.
Now in Developer mode I changed it under Network --> USB Configuration --> MTP but my tablet does not show up on my PC. Do I need to change anything else? Already tried switching between the USB configurations, rebooting the device and so on, but nothing seems to work...
May be wrong but:-
W10 out of the box doesn't support MTP. You may need to install the Android Debug Bridge USB driver on your Windows machine and then connect that driver to your Android device. With the tablet disconnected open W10 Device manager, now connect the tablet to the USB port. Device Manager screen should immediately refresh and show 2 lines at the top of the screen:
Android Device
Android Composite ADB Interface.
Assuming your cable is ok then the absence of these two lines indicates you need the driver installed. The driver is installed as part of Google's Android Studio in the Platform Tools sub directory. If you just want the drivers then they are available to download (no links ) There are automated methods , see http://forum.xda-developers.com/showthread.php?p=48915118#post48915118 or Nexus Root Toolkit does it. ( You should have usb debugging enabled in the tablets Developer menu)
Once the drivers are installed then when you enable MTP via the Notification or your menu "path" then Device manager will show the tablet under the "Portable Devices" line.
I originally got my laptop to work with the Pixel C using Window 8.1. I had trouble at first finding a driver that would work. I tried various drivers, but I eventually got it to work with PDANet. I believe that the trick for me was to first use PTP to get the correct drivers installed. You should be able to switch from PTP to MTP once PTP is working correctly.
I have subsequently upgraded from Windows 8.1 to Windows 10. I had a similar issue again with the drivers. I first used PTP to get the proper driver installed and then switched to MTP.
I always use the pull down menu on the Pixel C to change from charging to PTP once working and then to MTP.
With PTP, you should be able to see the Pixel C drive on the computer but only able to access the photos. Once you switch to MTP, you should see all the folders.
For fastboot, you need to use PTP and not MTP.
Found this post via Google, it's an issue for me with the Pixel phone, too. Photo mode works normally, MTP doesn't.
For others who also find this post, I read that supposedly the Pixel phones install ADB drivers automagically, but this isn't happening for me, and @SmokinCharger's fixes haven't worked either.

ADB Debugging No Longer Connecting to PC

I'm stumped with this one. My HTC 10 no longer will connect to my computer at home or at work when I have USB debugging enabled. I don't get any entry in device manager. I'm running the 2.28.617.8 firmware w/ Viper 4.3.1. I utilize the universal adb driver. When debugging is enabled, the phone message says I'm connected to a slow charger. I have verified the ports on both computers are functional by attaching other devices. I have the connection settings for MTP enabled. I also tried revoking the debugging authorizations in the hope it would reset everything. The only way I can find around it, is to turn off usb debugging. Then, when I connect the phone it will mount properly and I can transfer files. This is ok for the short term, but is not ideal. Does anyone know what I might be missing?
I had this same issue after restoring a TWRP backup on a replacement 2.28.617.8 phone. RUU and restore all my settings mostly by hand fixed it.
Do you have HTC Sync installed? Try installing that, connect the phone and on the phone grant HTC Sync permission.

Usb Debugging Problem

Hi,
i have rooted my Pixel 3 XL without problems.
TWRP & MAgisk is installed.
Now i wanted to disable the new gestures as described here:
https://www.xda-developers.com/disable-android-pie-gestures-google-pixel-3/
unfortunately, the USB Debugging does not stay on.
Also titanium backup always complains about this.
When i enable USB Debugging, i see for a few seconds some "le Mobile android device", but disappeared immediately after.
USB drivers are installed.
Any idea?
Thanks
Btw: adb devices shows me my device in recovery when in TWRP. So cable seems to be ok. (anyway, i installed everything with this cable).
Termi11 said:
Hi,
i have rooted my Pixel 3 XL without problems.
TWRP & MAgisk is installed.
Now i wanted to disable the new gestures as described here:
https://www.xda-developers.com/disable-android-pie-gestures-google-pixel-3/
unfortunately, the USB Debugging does not stay on.
Also titanium backup always complains about this.
When i enable USB Debugging, i see for a few seconds some "le Mobile android device", but disappeared immediately after.
USB drivers are installed. Any idea?
Thanks Btw: adb devices shows me my device in recovery when in TWRP. So cable seems to be ok. (anyway, i installed everything with this cable).
Click to expand...
Click to collapse
Assuming you have enabled USB debugging in Dev settings. You've somehow got the wrong drivers installed. Use a program called USBDeview To remove all the Google related drivers on your PC/Laptop and reinstall the Google USB drivers. There are tutorials out there for step by step, but for some reason your drivers are wrong.
I confirm, Dev options are enabled, so also USB debugging.
Unfortunately when i enable USB debugging (WITHOUT CABLE), go back, and enter again in the Dev options menu, the USB debugging is disabled again..
But nevertheless i reinstalled the drivers as you wrote -> same problem.
I think the problem is the Pixel, not windows, as everything went fine while rooting the device. (usb debugging was active).
Solved!
My fault, enabled by mistake in Cerberus App the "prevent USB Debugging" option!
Should work now

Categories

Resources