I have an AOSP rom of android 5.0. I unchecked the MTP checkbox in the settings, all options turned grey, a few seconds later the activity closed and now I cannot open it again to enable MTP. I've tried restarts and unplugging cable.

The setting under storage > [menu] -> USB computer connection does nothing when I click it.

How can I reenable MTP (or any usb transfer option really)?

  • 1) Can you mention the content in /data/property/persist.sys.usb.config? 2) In my CM12, the activity is com.android.settings/.UsbSettings 3) If it ever happens again with some other settings, use dumpsys activity recents to quickly note the recent activities. – Firelord Jul 8 '15 at 20:50
  • diag,serial_smd,serial_tty,rmnet_bam,mass_storage,adb – Filip Haglund Jul 9 '15 at 0:21
  • I can launch the activity that way (same activity name as you said), but it closes immediately, with or without computer connected through USB. – Filip Haglund Jul 9 '15 at 0:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.