USB Mass Storage - How to enable it ?

Discussion in 'Question & Answers' started by Orpheus, May 24, 2013.

  1. Orpheus

    OrpheusMembers

    Nov 1, 2011
    51
    2
    18
    Hello all

    I'm back on MiUI and very happyfor this ! and so is my GS2 :)
    As i used another ROM for a few months i'm no more used to the new menus -screens...
    Let me explain you my issue:
    I would like to be able to access my SDs content using Windows Explorer. But when i plug the cable, i see only MTP and Camera.
    I went in Storage > tried both options (charge only and mount). doesn't change anything...

    can anyone help me ?

    thanks :)
     
  2. Breaksense

    BreaksenseMembers

    Jun 2, 2013
    2
    0
    21
    Male
    Cluj-Napoca
    In the same situation here, I9100 fresh install, wiped everything. Full stock MIUI.
     
  3. Orpheus

    OrpheusMembers

    Nov 1, 2011
    51
    2
    18
    Ok will create ticket in BUGS project so :)
     
  4. sandy7

    sandy7Members

    Aug 30, 2012
    23
    3
    13
    Male
    event manager
    Bangalore india
    decompile framework-res navigate to res/xml/storage_list.xml

    and this red highlight line
    <storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:allowMassStorage="true" android:maxFileSize="4096" />


    and add or replace this line in build prop

    persist.sys.usb.config=mass_storage,adb
     
  5. Orpheus

    OrpheusMembers

    Nov 1, 2011
    51
    2
    18
    sandy can you explain with more procedure how to do it ?
    would love to apply it ^_^

    Thanks :)
     
  6. kashifziae

    kashifziaeMembers

    Jun 11, 2013
    14
    0
    11
    Male
    hmmm didnt get sandy plz explain have same issue with my xiaomi m2a
     
  7. Coldbird

    ColdbirdMembers

    Mar 1, 2013
    347
    100
    65
    Male
    Does this work on MI2 too?

    Gesendet von meinem MI 2 mit Tapatalk 4
     
  8. sandy7

    sandy7Members

    Aug 30, 2012
    23
    3
    13
    Male
    event manager
    Bangalore india

    well mass storage has been disabled in JB...as i told u have decompile framework-res.apk and enable it manually
     
  9. ganeshrnet

    ganeshrnetMembers

    Nov 12, 2013
    1
    0
    11
    Male
    Hey guys, I dont know whether still you are guys are facing the same problem or not. Well i found a method to resolve the problem :) I hope it will help you guys. :)

    ****To enable USB Mass Storage mode****
    1) Make sure your phone is rooted. This is for rooted phones only.
    2) Download Terminal Emulator from google play.
    3) Open Terminal Emulator run the below commands (press enter after each lines):
    Code:
    su
    setprop persist.sys.usb.config mass_storage,adb
    4) Reboot the phone.
    After the phone reboots, plug in the USB cable and notice it now says 'USB connected'.


    ****To revert back to MTP mode****
    1) Make sure your phone is rooted. This is for rooted phones only.
    2) Download Terminal Emulator from google play.
    3) Open Terminal Emulator run the below commands (press enter after each lines):

    Code:
    su
    setprop persist.sys.usb.config mass_storage,adb
    4) Reboot the phone.
    After the phone reboots, plug in the USB cable and notice it now says 'MTP connected'.
    Hope it help you guys.. Cheers! Have a nice day!
     
  10. Codeman

    CodemanMembers

    Aug 7, 2013
    93
    8
    18
    Male
    I have the problem that it randomly exports my internal storage, and sometimes also the SD card.

    Mostly the first time when I connect it, I see the internal storage. The second or the 3th time, I can also mount the SD card...
     
  11. nelim

    nelimMembers

    Sep 17, 2013
    6
    2
    13
    Male
    This is not working on my Mi2s, at least on 4.1.24 ;)
    Is there any new way to enable mass storage mode ?
     
  12. DeepSpace

    DeepSpaceMembers

    Nov 30, 2013
    236
    36
    50
    Male
    Not as far as I know.
     

Share Our Site