[FIX][LEAKED 4.4]External Sdcard Mount Perms fix

Search This thread

deathnotice01

Senior Member
Feb 19, 2012
8,328
3,136
Cebu
Okay, so one of the issues currently with the leaked firmware is that some apps (e.g titanium backup, file explorers, etc) cannot save files to the extsdcard due to a incorrect parameter in the platforms.xml

So here is the fix:
Method 1
1.) Download the extsdcardfix-flashable.zip below and save to sdcard
2.) Reboot to recovery (CWM/TWRP)
3.) Flash the zip
4.) Reboot


Method 2
1.) Download the platform.xml.zip attatchment and extract
2.) Navigate to ~/system/etc/permissions
3.) Replace the platforms.xml with this one
4.) Set permissions as RW-R--R-- (644)
5.) Reboot and test if apps now have access to external storage

And NOTE this may or may not work so do so at your own risk!
 

Attachments

  • platform.xml.zip
    2 KB · Views: 18,829
  • extsdcardfix-flashable.zip
    249.4 KB · Views: 20,150
Last edited:

votapero

Member
Sep 6, 2008
46
20
Okay, so one of the issues currently with the leaked firmware is that some apps (e.g titanium backup, file explorers, etc) cannot save files to the extsdcard due to a incorrect parameter in the platforms.xml

So here is the fix:
1.) Download the attatchment and extract
2.) Navigate to ~/system/etc/permissions
3.) Replace the platforms.xml with this one
4.) Set permissions as RW-R--R-- (777)
5.) Reboot and test if apps now have access to external storage

And NOTE this may or may not work so do so at your own risk!

Great ! It works. My Titanium and even Sygic 13.4.1 (starting from SD Card) is working again on my S4!
 

Kriomag

Senior Member
Nov 22, 2011
414
114
Poznań
after i replaced file i missed that permissions changed... then i had to reset default to get everything working :/ bluetooth stopped working and i had terrible glitches and freezes.. even when i changed to 644... so secont time i just added media_rw line by editing permissions.xml and now it worked flawlessly :)

I noticed that even now when i have rw acces to sdcard not everything is working as in 4.3 - for example solid explorer does not see by default external sdcard :/ but it is only beta so i can live with it ;)
 

nikosma

Senior Member
Nov 11, 2010
190
76
Athens
Yes...it works!!!!
I had problem before with Sygic, now, everything works just fine..
Thank you very much!!!
 

rodrigoger

Senior Member
Feb 23, 2010
312
63
Goiânia
Sorry,

But how can I do the step 4?
I changed the file, but I don't know how change these permissions...
Could someone explain it to me, please?

Ps.: sorry for bad english.
 

pinktheater

Senior Member
Sorry,

But how can I do the step 4?
I changed the file, but I don't know how change these permissions...
Could someone explain it to me, please?

Ps.: sorry for bad english.

What explorer are you using? On most of them you just have to long press the file and it will display the menu option (copy, move, delete, PERMISSIONS).

Click on permissions and you will find where to check the option you need to make RW-R-R.

I use Root Explorer by the way.
 
  • Like
Reactions: rodrigoger

Top Liked Posts

  • There are no posts matching your filters.
  • 77
    Okay, so one of the issues currently with the leaked firmware is that some apps (e.g titanium backup, file explorers, etc) cannot save files to the extsdcard due to a incorrect parameter in the platforms.xml

    So here is the fix:
    Method 1
    1.) Download the extsdcardfix-flashable.zip below and save to sdcard
    2.) Reboot to recovery (CWM/TWRP)
    3.) Flash the zip
    4.) Reboot


    Method 2
    1.) Download the platform.xml.zip attatchment and extract
    2.) Navigate to ~/system/etc/permissions
    3.) Replace the platforms.xml with this one
    4.) Set permissions as RW-R--R-- (644)
    5.) Reboot and test if apps now have access to external storage

    And NOTE this may or may not work so do so at your own risk!
    13
    this temporary solved my all problems.....works on both all S4 Versions i950.........

    <permission name="android.permission.READ_EXTERNAL_STORAGE" >
    <group gid="sdcard_r" />
    <group gid="media_rw" />
    </permission>

    <permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
    <group gid="sdcard_r" />
    <group gid="sdcard_rw" />
    <group gid="media_rw" />
    </permission>

    <permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" >
    <group gid="sdcard_r" />
    <group gid="sdcard_rw" />
    <group gid="sdcard_all" />
    </permission>

    or download the file and flash it via recovery
    plus set 744 permission on folder mnt/media_rw [on every reboot]
    Using root explorer manually

    thx
    best regards
    6
    For me, most apps are working now, but the solution was NOT to replace the platform.xml file with the one attached to this thread. This, on the contrary, made things worse.
    What I did, is just add a simple line to the platform.xml file:
    (the one added is the 4th line below, in bold)

    <permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
    <group gid="sdcard_r" />
    <group gid="sdcard_rw" />
    <group gid="media_rw" />
    </permission>


    And that's it. Now, I still have issues with Poweramp but I think that's because the path name of the ExtSdCard changed from 4.3, as they had changed it from 4.2 also.
    Other Music players are not working either because they can't find the sdcard. JetAudio Plus can find it though.
    4
    Problem with Poweramp solved with atualization: 2.0.9.build 543: http://powerampapp.com/download/Poweramp-2.0.9-build-543-uni.apk
    3
    Poweramp still a no go?

    Sent from my SM-N9005 using xda app-developers app
    No it actually works doing the instructions mentioned in the link above and what TheJeremyWhite did (which is the same thing basically).
    I totally missed the part where I had to change the permissions on that folder. That FINALLY solves every single issues I had with my Ext SDCard now!