Whenever my device (Nexus 5, Android M Preview 3) connects via USB, the USB config always defaults to "charging only".
This is quite problematic because the USB port on my device is faulty and sometimes disconnects and reconnects when bumped and so I have to manually change the mode to MTP (media transfer protocol) from the notification drawer each time.
Go to Preferences > Extensions and check the MTP Devices option. Connect your Android to Mac via a USB cable. Enable MTP on Android (File transfer mode) by switching from charging mode to it. Your phone is connected to a Mac.
3 Answers. If you have Android 6.0 installed in your phone go to Settings > Developer Apps > Network > USB Configuration and select the option that you wish to be the default option. Connect your device to your PC and wait.
To do that, you need to enable Developer Mode. Go to Settings, and use the search field to locate the “Disable USB audio routing” option. Then, simply toggle off the option. Alternatively, you can also go to Settings, and select System, and then tap About Phone.
I just tried this on my Nexus 5 (Android 6.0.1) and it worked:
The trick was to have a phone disconnected from USB. I guess the idea behind such a behavior was that if you set an USB connection type while your phone is not connected to any device, it will be treated as a default behavior.
By Default, Android 6.0 does not provide an automated method to select MTP when the device is connected as USB. After much wait and research through XDA, blogs, stackoverflow etc, the best solution I found to this was a small application, named MTP enabler PRO Marshmallow(4.5 MB) - built by one of the users to overcome this problem.
This requires a rooted device.
Below is a link to download the APK file.
http://forum.xda-developers.com/android/apps-games/app-mtp-enbaler-t3263467
Below is a link to the app in PlayStore(paid app)
https://play.google.com/store/apps/details?id=mtp_enabler.esolutions4you.de.mtpenabler&hl=en
Hope it helped.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With