• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Write To External SD

Curtis1973

Android Expert
This is a modified stock platform.xml file. Editing in write access and move access to applications, etc. to external sdcard.

How to use:

First open your favorite root access file manager and navigate to system/etc/permissions and rename your platform.xml to platform.xml.bak so you can restore it if you feel the need to do so

Next download this platform.xml and copy it to system/etc/permissions,then set proper permissions on the file (rw,r,r) and reboot device.


This will allow the ability to move apps to sdcard directly from the system.


Be sure to rename the file below to platform.xml from platform.xml.txt
 

Attachments

Last edited:
Just switched back to stock and can confirm apps that are move to sd capable do move to external sdcard. verified via twrp file manager. some root file managers do not show the android secure folder even when hidden files are checked to be shown. twrp will give you verification that your files are indeed moved to external. simply boot to recovery and select advanced, file manager, navigate to external sdcard and from there you can visually check in android secure that your app has been moved. the stock lg rom does not show the moved apps in its own panel. will update this later with entries that can be made to custom roms like pac so users can add their own changes to their roms. do note that apps that dont have built in native move to sd support may not give the option to move.although it is possible they might. untested. if they do not you can still use a third party app for those apps.
 
Last edited:
for roms other than stock,open platform.xml in any text editor and copy the following lines in replacement of the same lines already in your platform.xml

Code:
<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>

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

these three columns of entries should come one after the other as you see them above. just replace yours with these to allow external sdcard use for app moving and other general write uses.
 
Back
Top Bottom