Find android.permission.WRITE_EXTERNAL_STORAGE and
android.permission.WRITE_MEDIA_STORAGE lines.
These are XML sections. You need to make them look exactly like the strings below
:
Save the platform.xml file. It’s necessary to set the file permissions to 644 (rw-/r–/r–) before mobile restarting. Now reboot your Android device. You are done.
Unfortunately, there is no known solution to me which could be suitable for non-rooted devices.