Hi all, as development has stalled on this. I thought I would share my 2 cents. I had a look at this zip and it mostly seems to be latest template compliant except for a couple of differences when you download the newest template.
I had a look at what this does and it seems to replace platform.xml in system/etc/permissions
So I compared the platform.xml file in this to an untouched file from S8+ LightROM v5
I noticed 42 changes, but I suspect the platform.xml in this file is an older version to that of the current one.
Most of the changes were missing pieces of code in the newer platform.xml
So the missing code was relating to new settings I guess
What I did notice in the compare was these 4 additions. So I grabbed the latest platform.xml for my S8+ and edited it with these
Code:
<permission name="android.permission.WRITE_MEDIA_STORAGE" >
add:
<group gid="sdcard_all" />
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" />
add:
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
I put this file in a TWRP patch I already use, or you could use a root explorer to replace the file.
I have SDCard R/W access without this module now, with only those 4 pieces of additional code
You are still required to use /mnt/media_rw/<sdcard_serial> to access it.
I'm in no way an expert. Simply a hack. So please if you do this, it's at your own risk
I will not be making my own module, or creating a patch as I am not even sure if the platform.xml I have is Samsung S8 specific or Android specific.. I suspect Samsung specific with some of the code that is in it looks like Samsung software..