Add External Storage's Path in media_rw in Nougat Roms for Unrestricted Read and Write Access

It's been months since I haven't posted a single topic, It's quite hard to manage your schedule for different tasks when you have an extremely tight and busy one and as in my previous post I had mentioned that I'm preparing for medical entrances and hopefully it didn't go well :P and I need to be working a little harder and be prepared for the next time.

Moving to the important stuff, as we all are aware that since the very beginning of Android KitKat era Google has started to put fences on the sdcard access for the third party apps and caused a huge distress among sdcard fans who store all their information and files in sdcards leaving their internal memory a free country and I'm one of these users :P. After frequent OS upgrades Google has slightly improved the access, not like KitKat which completely blocks the access but leaving some bridges open for the users to at-least they can keep up with their sdcards as well.

In Nougat 7.0 and 7.1 sdcard access is open for applications but has to get some permissions from the system framework, so I decided to make it, even more, easier by using the previous method but this time it's different, we will be just adding a separate external storage path in /mnt/media_rw/ which will allow partial yet unrestricted sdcard access for many apps like ADM or various torrent clients.

  • Download the platform.xml file
  • Use any root explorer file manager
  • Copy/Move the platform.xml file into root/system/etc/permissions/
  • Overwrite the existing file
  • Set permission to 644 (rw-r-r)
  • Reboot
  • After reboot, the external sdcard should be shown in /mnt/media_rw
  • Reference was taken from here
  • It will modify the system and might break the SafetyNet check but you can systemless-ly install this from Magisk
  • This will require root or a custom recovery to be done
  • Don't forget to make a backup of the old platform.xml file before replacing with the new one
If any problem occurs you're free to share with us and we will try our best to assist each and everyone... :)


  1. You sir rock so hard. It worked flawlessly, Samsung Galaxy S4 with Nexus custom rom 7.1, so far so good. Now i can access my external sd card to write as long as the app allow you to browse system locations or manually write the folder path.

    Not the ideal scenario but for a quick fix/workaround it does a magnificent job, thanks!

    :P Now I we could mount it as ext_sd it should work with all legacy apps, oh well.

    PD. It took me about an hour if Google with custom settings to find this fix, it should pop waaay up in the search, will share this in XDA and Reddit soon.

    1. I'm glad that it worked for you and if you can come up with better solution then don't forget to share with us ;)


  3. Just a question, what lines were added/changed compared to the stock platform.xml as on my Samsung Note 8, the stock platform.xml has other stuff so I rather manually edit the file to add the required things in. Thanks!


Post a Comment