Xposed-Modules-Repo / com.github.dan.nostoragerestrict

NoStorageRestrict
https://github.com/Xposed-Modules-Repo/com.github.dan.nostoragerestrict
GNU General Public License v3.0
299 stars 15 forks source link

Doesn't work on Android 14 #17

Open Kakao-Team opened 2 months ago

Kakao-Team commented 2 months ago

There is simply no button to allow any folders.

Kakao-Team commented 2 months ago

Hyper os 1.3.0 Android 14

DanGLES3 commented 1 month ago

Do you have the latest version of the module installed?

music2myear commented 1 month ago

Running OnePlus 8T KB2003 (EU), Android 14, April 2024 security patch. Running this module version 5.0.

I see the "Can't use this folder" message on all folders inside Android\Data but if I keep pressing back until I'm at the File Manager app again (using Solid Explorer) I have access to the required folder.

I get the same prompt each time I access the same folder again, but going through the same steps (Grant Access, see "Can't use..." message, tap back until I'm back in the file manager app) I can then navigate the folders again, until next time.

DanGLES3 commented 1 month ago

Running OnePlus 8T KB2003 (EU), Android 14, April 2024 security patch. Running this module version 5.0.

I see the "Can't use this folder" message on all folders inside Android\Data but if I keep pressing back until I'm at the File Manager app again (using Solid Explorer) I have access to the required folder.

I get the same prompt each time I access the same folder again, but going through the same steps (Grant Access, see "Can't use..." message, tap back until I'm back in the file manager app) I can then navigate the folders again, until next time.

If you're sure you're on version 5, then send the Lsposed logs

This bug should be fixed on version 5, mind you Lsposed for some reason doesn't properly show updates to my module so double check just in case

music2myear commented 1 month ago

LSPosed_2024-05-19T13_01_44.912343.zip

Here's the logs and a screenshot showing module version. Screenshot_2024-05-19-13-03-22-23_084ab3bc34f7aa7ccff83653f52abafc

DanGLES3 commented 1 month ago

LSPosed_2024-05-19T13_01_44.912343.zip

Here's the logs and a screenshot showing module version. Screenshot_2024-05-19-13-03-22-23_084ab3bc34f7aa7ccff83653f52abafc

Hmm, I see no errors, could you send a recording of the error and a copy of the external storage provider apk?

music2myear commented 1 month ago

https://github.com/Xposed-Modules-Repo/com.github.dan.nostoragerestrict/assets/5528223/5baef76b-98be-4376-ab40-20988937f845

LSPosed_2024-05-19T13_10_37.307111.zip

I've not grabbed an apk of an installed system app before. I'm working on learning how to do that and will upload it when I get it. It is the default com.android.externalstorage version 14. In the meantime heres a recording and the updated logs.

DanGLES3 commented 1 month ago

Record_2024-05-19-13-09-40.mp4 LSPosed_2024-05-19T13_10_37.307111.zip

I've not grabbed an apk of an installed system app before. I'm working on learning how to do that and will upload it when I get it. It is the default com.android.externalstorage version 14. In the meantime heres a recording and the updated logs.

The app should be in system/priv-app/ExternalStorageProvider

And yeah, that should be fixed on version 5, strange

DanGLES3 commented 1 month ago

Record_2024-05-19-13-09-40.mp4 LSPosed_2024-05-19T13_10_37.307111.zip

I've not grabbed an apk of an installed system app before. I'm working on learning how to do that and will upload it when I get it. It is the default com.android.externalstorage version 14. In the meantime heres a recording and the updated logs.

Try the following, on Lsposed, go to modules, nostoragerestrict and on it long press the external storage app and tap reoptmize, after that force close the external storage app and see if it works now

music2myear commented 1 month ago

Got the APK com.android.externalstorage-34.zip

I haven't tested if the permissions work without this extension installed, but because it is working with this little work around it's not an emergency. I appreciate the tool, and the work you all put into it. Hopefully my data will help y'all make it even better.

music2myear commented 1 month ago

Try the following, on Lsposed, go to modules, nostoragerestrict and on it long press the external storage app and tap reoptmize, after that force close the external storage app and see if it works now

Doing this the warning goes away, but I get a loop where the Solid Explorer doesn't recognize it has the permission.

Here's a video of me going through that loop a few times, and then using the "tap back" work around instead to make it work.

It appears that after approving the access and then tapping cancel on the prompt in SolidExplorer also works, so this may be an issue with how SolidExplorer is recognizing it has been granted the access. But, that's just a guess.

https://github.com/Xposed-Modules-Repo/com.github.dan.nostoragerestrict/assets/5528223/515bb233-cc5d-41aa-9902-086fc06ad2de

DanGLES3 commented 1 month ago

Try the following, on Lsposed, go to modules, nostoragerestrict and on it long press the external storage app and tap reoptmize, after that force close the external storage app and see if it works now

Doing this the warning goes away, but I get a loop where the Solid Explorer doesn't recognize it has the permission.

Here's a video of me going through that loop a few times, and then using the "tap back" work around instead to make it work.

It appears that after approving the access and then tapping cancel on the prompt in SolidExplorer also works, so this may be an issue with how SolidExplorer is recognizing it has been granted the access. But, that's just a guess.

Record_2024-05-19-13-25-19.mp4

I guess so, it seems to be a Solid Explorer issue, I'll look into that later to see if there's anything I can do on my end