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

Search This thread

sohebq

Senior Member
Aug 20, 2011
3,438
604
RAWALPINDI
I flashed the file in op. It fixed the write issue on ext card but the card still doesn't appear on the list in es file exp. Any solution?

Sent from Note 3 (The beauty & beast)
 

Shiroh1ge

Senior Member
Dec 27, 2013
84
6
I can't change edit the folder permissions even with root access (using ES File Explorer) it doesn't let me to delete or edit the files.. any help? Flashing works but then again I don't want to enter recovery every and flash it all over every time I need to reboot.
 

ibandasanchez

New member
Nov 20, 2013
2
0
z1

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!

It works on Xperia Z1?
 

itsme_4ucz

Inactive Recognized Developer
Jul 21, 2007
1,196
502
Samsung Galaxy S21 Ultra
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
 

Attachments

  • extsdcard_fix.zip
    249.4 KB · Views: 888
Last edited:

bala_gamer

Recognized Contributor
Mar 29, 2011
12,350
7,035
Madurai-Chennai
Xiaomi 13
Xiaomi 13 Pro
this temporary solved my problem.....
<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>

this fix ,both for read and write external storage has to be manually modded even on official 9500 rom... wth samsung and google!!! didnt expected this in an official rom
 

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!