[MOD] [CM10] Enable USB Mass Storage !! instead of MTP !

Search This thread

aaki_rocker

Senior Member
Oct 9, 2011
1,924
434
31
Mumbai
to enable mass storage mode !
enter in terminal emulator the following !

Code:
su
setprop persist.sys.usb.config mass_storage
reboot

profit !!


press enter after each line !
after reboot when you plug in your phone usb mass storage should work !



screenshot2012072811244.png
screenshot2012072811250.png
 
Last edited:

aaki_rocker

Senior Member
Oct 9, 2011
1,924
434
31
Mumbai
I think maybe you'd want this:
Code:
su
setprop persist.sys.usb.config mass_storage,adb
reboot

And then to switch back to mtp:
Code:
su
setprop persist.sys.usb.config mtp,adb
reboot

But, I'm new to this. Do your commands as you have them now disable adb?

it disables adb debugging only one time after first reboot !
after that you can go into developer options and enable debugging :)
 

Chris13002

Senior Member
Nov 15, 2011
70
14
Doesn't seem to work for me...

I get "Connected as an installer" and when I goto those options, it brings me back to the MTP or PTP selection screen...
When "connected as an installer", I see two drives but cannot access them on the computer...

Tried CM10 JB Preview and now on ARANOIDANDROID v1.95... Both did the same thing even after full wipes...
 

gorcorps

Member
Apr 22, 2011
35
4
Thank god for this. Lack of mass storage mode really was a deal breaker for me and I almost gave up.
 

AYahooo

Member
Nov 20, 2010
20
2
Not working for me, Latest CM10 with I9300...

Su giving admin privlages... the config has no error \ warning, and the reboot works, but still when connecting - connected as MTP :(
 
  • Like
Reactions: ggyanwali

AllstarE4

Senior Member
Jan 8, 2012
640
59
Posted message in wrong thread. I found USB settings.

Sent from my LG-P930 using xda app-developers app
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 104
    to enable mass storage mode !
    enter in terminal emulator the following !

    Code:
    su
    setprop persist.sys.usb.config mass_storage
    reboot

    profit !!


    press enter after each line !
    after reboot when you plug in your phone usb mass storage should work !



    screenshot2012072811244.png
    screenshot2012072811250.png
    10
    I think maybe you'd want this:
    Code:
    su
    setprop persist.sys.usb.config mass_storage,adb
    reboot

    And then to switch back to mtp:
    Code:
    su
    setprop persist.sys.usb.config mtp,adb
    reboot

    But, I'm new to this. Do your commands as you have them now disable adb?
    5
    This has been added to the latest CM10 nightly.

    Settings > Storage > Menu > USB Computer Connection
    3
    I think maybe you'd want this:
    Code:
    su
    setprop persist.sys.usb.config mass_storage,adb
    reboot

    And then to switch back to mtp:
    Code:
    su
    setprop persist.sys.usb.config mtp,adb
    reboot

    But, I'm new to this. Do your commands as you have them now disable adb?

    it disables adb debugging only one time after first reboot !
    after that you can go into developer options and enable debugging :)
    2
    it disables adb debugging only one time after first reboot !
    after that you can go into developer options and enable debugging :)

    I love you man. For some reason this is the only thing that managed to get adb working on my device.