Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just flashed a new stock JB ROM from viper boy over at xda.

What happened to the Connect to PC in the settings window? I can see my HTC Evo 4g LTE as a disk drive and media exchange, but it has no option for charge only. What mode do I need to be in to run cmd commands on my JB phone? Every tutorial for cmd says charge only.

share|improve this question
Just to confirm my understanding, you are saying that there is a cmd commnd to enable charging, and this is what you are looking for. Is that correct? – geffchang Dec 24 '12 at 23:18

For starters, this shouldn't be here, this should have been asked at the XDA thread itself. With all the tweaks they make to their ROM, it would have been a good idea.

Second, with MTP, there is no need for Charge only. The SD card and Phone Storage is always available when you are connected. "Charge Only" was relevant when you were on ICS or GB and you had UMS (USB Mass Storage).

share|improve this answer

As it is two questions in one, you need two answers:

  1. To run commands via ADB, you do not need to set that mode now - you just need to have USB debugging enabled, and the cmd commands will work.
    Just remember that having USB debugging enabled could warrant a security risk as it may allow someone that has stolen your phone to access it's data without having to unlock it, but as you seem to have had it enabled previously, then I believe you should understand the risks.

  2. Concerning the USB connection mode: In the old Android version, that mode caused issues (due to manufacturer modifications), since jellybean, Android uses MTP, so that option became redundant.

share|improve this answer
Thanks, great site and even better contributors.. Merry Christmas. – user25497 Dec 26 '12 at 4:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.