Tell me more ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have a rooted android motorola atrix (MB860) with gingerbread that I'm trying to have start up with the usb settings I would like.

Currently I have an app sitting in the /system/app folder that will enable usb debugging and stay awake on boot, but the phone still comes up with the usb setting in motorola phone portal, where I would like it shifted to none.

I tried

Settings.Secure.putInt(context.getContentResolver(),Settings.Secure.USB_MASS_STORAGE_ENABLED, 0);

and while that ran without an error the phone was still in MPP mode.

Is there a way from either java or shell space to default the USB to none?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.