[guide] [xperia] fix cm10 & miui jb mass storage |

Search This thread

sean.paul

Senior Member
Dec 4, 2012
241
394
guilan-talesh
in the name of god


hi all


as you know , we have two select in usb conect mod in cm 10


media device

camera


i81653_8774749.JPG



and just mtp in miui 5 (jb)



i think this simple guide can help u

you need :

apk tool ( & apk manager & ...) - to decompile and recompile framework-res.apk

notepad++ - to edit the xml file

root explorer - to copy file from rom to sd card

================================================================================

1- copy framework-res.apk to your pc from /system/framework

2- decompile it with apk tool

3- go to created framework-res.apk/res/xml/

4-open " storage_list.xml " with notepad++

5- in this line

Code:
<storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:maxFileSize="4096" />



add this line Among its



Code:
android:allowMassStorage="true"



after edit you must have this


Code:
<storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:allowMassStorage="true" android:maxFileSize="4096" />



screen shot

wukx6il8ja9nox94mebl.jpg



6- save edit and recompile the framework-res.apk

7- copy build.prop in pc and open it with notepad++


8-
for cm 10​


edit this line


Code:
persist.sys.usb.config=mtp

to

Code:
persist.sys.usb.config=mass_storage


for miui 5 (jb)

edit this line

Code:
persist.sys.usb.config=mtp


to

Code:
persist.sys.usb.config=mass_storage,adb



9- save change and replace build.prop and framework-res.apk in rom


i81655_6.JPG




you can putt them in flashable zip and install with recovery (attached for u)




hit the thank button if i help u
 

Attachments

  • flash-able.zip
    126.6 KB · Views: 689
  • shot.JPG
    shot.JPG
    32.2 KB · Views: 635
Last edited:

phagenauw

Member
May 24, 2007
26
6
Redmi Note 8
Xiaomi Poco X3 Pro
It Works!

Was using FreeXperia (234) CM10 but sadly enough no mass storage support. Followed this article from sean.paul and it worked out great!

See attached file for installable zip (CWM) for FXP234.

Thanks! :good:
 

Attachments

  • ums_fxp234.zip
    5.3 MB · Views: 246
  • Like
Reactions: jays473

ggyanwali

Member
Apr 5, 2014
25
4
Kathmandu
in the name of god


hi all


as you know , we have two select in usb conect mod in cm 10


media device

camera


i81653_8774749.JPG



and just mtp in miui 5 (jb)



i think this simple guide can help u


================================================================================

1- copy framework-res.apk to your pc from /system/framework

2- decompile it with apk tool

3- go to created framework-res.apk/res/xml/

4-open " storage_list.xml " with notepad++

5- in this line

Code:
<storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:maxFileSize="4096" />



add this line Among its



Code:
android:allowMassStorage="true"



after edit you must have this


Code:
<storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:allowMassStorage="true" android:maxFileSize="4096" />



screen shot

wukx6il8ja9nox94mebl.jpg



6- save edit and recompile the framework-res.apk

7- copy build.prop in pc and open it with notepad++


8-
for cm 10​


edit this line


Code:
persist.sys.usb.config=mtp

to

Code:
persist.sys.usb.config=mass_storage


for miui 5 (jb)

edit this line

Code:
persist.sys.usb.config=mtp


to

Code:
persist.sys.usb.config=mass_storage,adb



9- save change and replace build.prop and framework-res.apk in rom


i81655_6.JPG




you can putt them in flashable zip and install with recovery (attached for u)




hit the thank button if i help u

Didn't work on xperia miro running cm10 fxp 221. please help
 

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    in the name of god


    hi all


    as you know , we have two select in usb conect mod in cm 10


    media device

    camera


    i81653_8774749.JPG



    and just mtp in miui 5 (jb)



    i think this simple guide can help u

    you need :

    apk tool ( & apk manager & ...) - to decompile and recompile framework-res.apk

    notepad++ - to edit the xml file

    root explorer - to copy file from rom to sd card

    ================================================================================

    1- copy framework-res.apk to your pc from /system/framework

    2- decompile it with apk tool

    3- go to created framework-res.apk/res/xml/

    4-open " storage_list.xml " with notepad++

    5- in this line

    Code:
    <storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:maxFileSize="4096" />



    add this line Among its



    Code:
    android:allowMassStorage="true"



    after edit you must have this


    Code:
    <storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:allowMassStorage="true" android:maxFileSize="4096" />



    screen shot

    wukx6il8ja9nox94mebl.jpg



    6- save edit and recompile the framework-res.apk

    7- copy build.prop in pc and open it with notepad++


    8-
    for cm 10​


    edit this line


    Code:
    persist.sys.usb.config=mtp

    to

    Code:
    persist.sys.usb.config=mass_storage


    for miui 5 (jb)

    edit this line

    Code:
    persist.sys.usb.config=mtp


    to

    Code:
    persist.sys.usb.config=mass_storage,adb



    9- save change and replace build.prop and framework-res.apk in rom


    i81655_6.JPG




    you can putt them in flashable zip and install with recovery (attached for u)




    hit the thank button if i help u
    1
    It Works!

    Was using FreeXperia (234) CM10 but sadly enough no mass storage support. Followed this article from sean.paul and it worked out great!

    See attached file for installable zip (CWM) for FXP234.

    Thanks! :good: