Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change Android usb connect mode to charge only? [closed]

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?

like image 850
James Fu Avatar asked Jul 28 '12 06:07

James Fu


Video Answer


2 Answers

Nothing worked until I went this way: Settings>Developer options>Default USB configuration now you can choose your default USB connection purpose.

like image 125
Mirwais Shah Arya Avatar answered Sep 21 '22 20:09

Mirwais Shah Arya


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).

like image 40
drumfire Avatar answered Sep 19 '22 20:09

drumfire