Using ppsspp build 1.5.7-971 failed to saved settings.
I need to manually on the permission in phone
settings if not need to restart/reboot the phone
Android 6.0
Mali-T720
Even granted the permission ppsspp always say failed to saved

So I need to manually on the permission in the phone settings

@Jinzombie
So you mean if you uninstall the app and reinstall it, the permission dialog doesn't appear automatically? Or maybe not saving the granted permission?
Have you cleared the app data? It can also reset the permissions.
@hrydgard
I think the issue here is that PPSSPP doesn't ask again for the storage permission if the user has somehow turned it off.
Maybe you should ask again if saving fails? ๐ค
We do show a button to allow the user to retrigger the question. Or at least I think we do...
Here's my screen recorder it show up the button and I allow the permission but always failed to saved settings.
https://youtu.be/nSdbdPAssFQ
So permission was definitely granted then, if it could see the games, right? I wonder why the setting had to be turned on again?
-[Unknown]
If I exit in the ppsspp (remove from recent app) and open it again all of the changes in the settings will back to default.
That means it has indeed failed to save the config... Or failed to load it on the next startup, hm.
Yes
Tried a lot of things but can't get it to misbehave on my S8...
Maybe my tablet has the problem and not the ppsspp? ๐
Just downloaded now build 1.5.4-980 and I test it on android 7.1 Mali-400 my friend phone but the issue of saved settings is still happen.
Note:First time to install in his android phone
Well, we do ask the system for the path to the SD card...
Ideally we should probably move ppsspp.ini to app-private storage which always works, with an option to have it in the current location too in case you want to manually edit it..
Why not save it in the private storage in these cases (when error occurs), then try to move it to the PSP directory?
Oops! Deleted my comment accidentally! ๐ Here it is again:
@hrydgard
I don't think this has anything to do with storage permission. If the permission was not granted or saved, then you couldn't even display the contents of the sdcard.
The real issue here is (or at least I think it is) that you're accessing the sdcard from an invalid path, which only grants reading permissions not writing permissions. You have to access it via the valid path which is not that easy and varies across devices (or rather ROMs).
It's a ROM bug not that of PPSSPP. (seen it a lot on Huawei phones)
@Jinzombie
I have 2 questions for you
I plan to do something like that but it's too scary a change for 1.6, I can foresee all sorts of bizarre problems that could arise...
Maybe create a temporary PoC app for testing? (do not merge it to the main branch just upload it here!)
@leopard20
No! Phone Storage Only.
This issue can easily bypass by rebooting/restarting my android phone ๐
Opps... I will close this because I figured out if I delete the system folder or just newly installed a ppsspp build the problem happen but if I had already a system folder this isn't happen and also restarting the ppsspp fix the issue โ๐
*Sorry for mistake ๐
Oh! Hm, that's worth fixing....
Told you it was because of invalid path! Although not exactly what I had in mind! ;)
@hrydgard
What about the SYSTEM directory? I didn't see it in the diff.
Adding it.
This should be ok now, please confirm :)
its OK now ๐
@hrydgard thank you!
Awesome, glad to hear it.
-[Unknown]