How to change Android usb connect mode to charge only?

James Fu picture James Fu · Jul 28, 2012 · Viewed 222.2k times · Source

I've seen HTC android devices have connect mode selection when connected to PC via usb line, while mine always pops up a USB massive storage device dialog with a button turn on massive storage, which is boring, because sometimes my line could be loose, and off/on randomly, so the pop up always show up suddenly and intrudes my input when I'm doing something else. Is the a way to fix this?

Answer

drumfire picture drumfire · Feb 11, 2014

I have been searching for this for ages on my CM 11 android phone, running kitkat.

Well.. finally I found it. It's hidden in a totally unintuitive location:

  1. Go to settings
  2. Go to storage
  3. Open the menu and choose USB computer connection

Here you can choose between Media Device (MTP), Camera (PTP) and Mass storage (UMS). Turn them all off to get it to charge only.

Sadly, if the option is not there, it is not supported by the phone. This seems to be the case for my HTC One (M7).