Magisk-Modules-Alt-Repo / NoStorageRestrict

Remove the restriction when selecting folders through SAF
192 stars 22 forks source link

Use chmod instead of modified apk #3

Closed HuskyDG closed 2 years ago

HuskyDG commented 2 years ago

You can make a late_start script that will change /sdcard/Android/* to 775 every boot by:

for user in $(ls /data/media); do
   for i in obb data; do
      chmod -R 775 /data/media/$user/Android/$i
   done
done
HuskyDG commented 2 years ago

I think it is not enough, might need to do more step for this

DanGLES3 commented 1 year ago

The issue isn't that of permissions afaik, the storage access framework is artificially restricted by the external storage provider to not allow the selection of the download, Android and root of internal/external storage

The only way I've found to bypass that restriction was either by replacing the APK or injecting code through Xposed https://github.com/Xposed-Modules-Repo/com.github.dan.nostoragerestrict

HuskyDG commented 1 year ago

The issue isn't that of permissions afaik, the storage access framework is artificially restricted by the external storage provider to not allow the selection of the download, Android and root of internal/external storage

The only way I've found to bypass that restriction was either by replacing the APK or injecting code through Xposed https://github.com/Xposed-Modules-Repo/com.github.dan.nostoragerestrict

I realized that I misunderstood this module