My moto g2 is not being detected via USB when I connect it to my PC. It still charges however. Its not getting recognized since i have done marshmallow update. i have even enabled MTP in developer options. but still its not showing any notifications when connected. Please help me.
My moto g3 had similar problem. After connecting the USB cable the device would appear within windows explorer but no file structure would appear. This is because the phone was in USB charge only mode. I double tap the very top status bar and a USB notification appears as shown below.
After selecting the USB for file transfer notification the following display appears:
Select the MTP protocol (or PTP) and you should see the media of the phone appear in the explorer window.
Every time the phone is connected to USB it will default to charging mode.
I hope this was a useful tip!