title: How to set Android M default USB config to MTP rather than "charging only"?
body: <p>Whenever my device (Nexus 5, Android M Preview 3) connects via USB, the USB config always defaults to "charging only". </p>
  
  <p>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.</p>
  
  <ul>
  <li>Debugging mode is enabled</li>
  <li>Develop settings -> USB Configuration is set to MTP.</li>
  </ul>