Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nVidia Shield: Storage Permission toggle disappears (too quickly to toggle ALLOW) #5

Closed
splaquet opened this issue Jan 15, 2022 · 6 comments

Comments

@splaquet
Copy link

As others have mentioned, thank you so much for your generous work!

I've tried installing various releases, but keep having the same issue. I try and open Elementum, then have a pop-up that says:
adb shell appops set --uid service.elementum.android MANAGE_EXTERNAL_STORAGE allow

there's an OK button, but that's about it.

whenever trying to open Elementum, it's still giving me the "still warming up" notice.

when i go into the app permissions, i'll see a permissions box QUICKLY... before it then vanishes. i've tried quickly pressing down, but cannot seem to get onto the spot to toggle the ALLOW permissions.

any suggestions?

ElementumService_notice

@splaquet
Copy link
Author

oh... geeezus. MY APOLOGIES! ...i'm THAT fool. the one who failed to read your readme 🙁 LOL

@StefanIlchev
Copy link
Owner

StefanIlchev commented Jan 15, 2022

No problem, I was just about to direct you to the readme ☺️

@splaquet
Copy link
Author

Out of curiosity, why does the Allow toggle (as seen on the other apps) appear and disappear from the screen (so quickly that it isn't possible to toggle ON)?

If that was working, would users need to push through the CLI command?

Pardon my lack of knowledge. My question comes in form of curiosity and potential benefits for other users.

***Also wanted to note that, for the first time ever, your patch allows for Elementum to continue downloading in the background, even when leaving Kodi. It didn't seem to always download, and didn't continue downloading indefinitely, but long enough for me to get excited about it! 😉

@ChristianCiach
Copy link

ChristianCiach commented Jan 17, 2022

@splaquet As I understand it, Android TV actually does not provide the dialog to manage the MANAGE_EXTERNAL_STORAGE permission via the UI (or maybe nvidia has removed the dialog).

@StefanIlchev
Copy link
Owner

StefanIlchev commented Jan 17, 2022

@splaquet if you're talking about your device's permissions manager UI then I don't know and it sounds like a bug. It shouldn't appear at all as I don't use the WRITE_EXTERNAL_STORAGE on Android 11 and up because it does nothing. I use MANAGE_EXTERNAL_STORAGE which doesn't show up in permissions manager but has its own UI that looks like this on phones and as @ChristianCiach wrote is missing on TVs. When I looked into why this is I found this issue with a "Won't Fix (Obsolete)" status and linked it in the readme.

My guess is that your device's permissions manager shows all of the app's declared permissions for a bit for some reason even ones whose max Android version is below the device's and even if you were able to grant it from there it'll do nothing.

Yes, running in the background is a nice side effect of this setup. I've elaborated on it a bit here.

@splaquet
Copy link
Author

Looks like you figured out the approval toggle disappearance 😊

Nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants