FORUMS

New Xposed for Lollipop 5.0 Update Fixes Major Bugs

Senior Recognized Developer rovo89 has patched Xposed for Lollipop 5.0 to … more

Download Sony’s new AOSP-like concept for Xperia Z3

Over in our forums, Recognized Contributor Jozinek has posted a very … more

OnePlus 2 vs Moto X Style: Which is The Better Flagship?

Two big industry names have announced their newest flagship phones within the … more

Making Your Own Xposed Modules Is Easier Than You Think

Close to the heart of XDA is the Xposed Framework by Rovo89. Most of … more

[Q] MTP Connection

79 posts
Thanks Meter: 15
 
By mta1981, Member on 12th February 2014, 02:15 AM
Post Reply Subscribe to Thread Email Thread
Ok so I'm extraordinarily frustrated with getting this to work. I've searched the forum to the point of a headache. Something about the .inf file and hardwar id's. I've uninstalled and reinstalled the drivers a million times. I've even reflashed the stock rom. Can anyone help? usb debugging works and PTP works. Currently back to stock and all drivers currently uninstalled.
 
 
12th February 2014, 02:22 AM |#2  
mdamaged's Avatar
Senior Member
Flag South of Heaven
Thanks Meter: 1,397
 
More
Quote:
Originally Posted by mta1981

Ok so I'm extraordinarily frustrated with getting this to work. I've searched the forum to the point of a headache. Something about the .inf file and hardwar id's. I've uninstalled and reinstalled the drivers a million times. I've even reflashed the stock rom. Can anyone help? usb debugging works and PTP works. Currently back to stock and all drivers currently uninstalled.

Check this: http://forum.xda-developers.com/show....php?t=2391236
12th February 2014, 04:03 AM |#3  
OP Member
Thanks Meter: 15
 
More
Thanks man but I've tried following that post. It doesnt makae sense that none of these work arounds work for me
12th February 2014, 05:09 AM |#4  
mdamaged's Avatar
Senior Member
Flag South of Heaven
Thanks Meter: 1,397
 
More
Quote:
Originally Posted by mta1981

Thanks man but I've tried following that post. It doesnt makae sense that none of these work arounds work for me

Ok, I decided to use a laptop which has never had my N7 attached to it as MTP, only as adb for wugs (before I got comfortable with doing things manually), I had the same problem you did, this is what fixed it. I had used koushes adb driver installer on it, so his driver kept intercepting it.

First I got these drivers and unpacked them: http://developer.android.com/sdk/win-usb.html#

Then I plugged in my device, with PTP enabled and updated drivers and browsed to those drivers and let it install...this did not fix it.

Disable usb debugging, plug it in, enable MTP, then go into device manager, then go into the menu and show all devices, you should see something like Google ADB driver, right-click and uninstall it, selecting delete driver checkbox, then reboot your nexus 7 while still plugged in, it should redetect your N7 as a "Nexus 7" and you should see it in Computer as a Portable Media Player, then unplug the device, wait 3-4 seconds to make sure its unmounted, then plug it back in, you should now actually see files.

NOW, once I saw that that worked, I noticed PTP stopped working, leave it plugged in, switch to PTP. then you will see the ADB driver back, uninstall it again, reboot the device leaving it plugged in, it will redetect the device again, it will say MTP again even though it's in PTP, let it finish, then unplug the device, wait a few seconds, and plug it back in, now you should be able to see it connected as a camera, and should be able to see files, now I can switch PTP ro MTP and back again with debugging off resulting in it working fine.


NOTE: USB debugging only works right in PTP mode for me.. which is fine, I tested to make sure that once debugging was off, I can unplug the device, and plug it back in and I can still switch between MTP and PTP perfectly.

EDIT: Actually I am now going to try leaving debugging enabled, in MTP mode, uninstall the ADB driver and reboot the device and see if that fixes that problem too.

EDIT2: AND IT WORKED!

So now I can have debugging on and off, in MTP and PTP mode, adb devices works perfect for either mode.

In summary, i think the REAL trick here is to put the device in each mode combination one at a time, delete the device and driver from device manager and reboot the device while it's still plugged in, then unplug the device and plug it back in, you do this for every combo outlined below, a total of rebooting and unplugging/plugging in the device 3 times...because PTP+debug on or off worked already

MTP on - Debugging off - find entry in device manager, uninstall it, reboot device, leaving it plugged in, verify it shows in Computer, unplug device, wait 3-4 seconds plug device back in, verify you can see files.

PTP on - Debugging off - find entry in device manager, uninstall it, reboot device, leaving it plugged in, verify it shows in Computer, unplug device, wait 3-4 seconds plug device back in, verify you can see files.

MTP on - Debugging on - find entry in device manager, uninstall it, reboot device, leaving it plugged in, verify it shows in Computer, unplug device, wait 3-4 seconds plug device back in, verify you can see files.


..at the end you should be able to have MTP and PTP fully working with or without debugging on.
Last edited by mdamaged; 12th February 2014 at 05:32 AM.
The Following 2 Users Say Thank You to mdamaged For This Useful Post: [ View ]
13th February 2014, 01:56 AM |#5  
Junior Member
Thanks Meter: 0
 
More
Try installing Sony PC Companion. It will install the necessary drivers. Works great with my Nexus 7 when connecting to PC in Windows XP .
14th July 2014, 07:18 AM |#6  
Senior Member
Thanks Meter: 43
 
More
I'm on WIndows 8.1 and when I connect my N7 2013 to PC, it gives me error Unknown USB Device (port reset failed). Anybody knows how I could fix this issue?
14th July 2014, 05:46 PM |#7  
mdamaged's Avatar
Senior Member
Flag South of Heaven
Thanks Meter: 1,397
 
More
Quote:
Originally Posted by hussam91

I'm on WIndows 8.1 and when I connect my N7 2013 to PC, it gives me error Unknown USB Device (port reset failed). Anybody knows how I could fix this issue?

Good luck with that.
15th July 2014, 09:43 AM |#8  
jblaze10's Avatar
Senior Member
Flag Gold Canyon,Az
Thanks Meter: 109
 
More
mtp
ive had my n7 for couple months now and mtp never worked only ptp until about a week ago when in cleanrom thread here http://forum.xda-developers.com/show...83146&page=389 post 3877 asked 3888 answered. I checked in android devices and did not have the android composite adb interface. so I simply unistalled the drivers I had and plugged in device and bam. working great since. don't know if it was related but the day before I updated my sdk and there were some google drivers in the update list. hope this helps someone!


I don't mind airdroid as an alternative but soooo much nicer to plug in and drag and drop!! GL!!
Post Reply Subscribe to Thread

Tags
mtp
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes