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

App not getting required permissions #197

Open
The-Techy opened this issue Feb 19, 2023 · 3 comments
Open

App not getting required permissions #197

The-Techy opened this issue Feb 19, 2023 · 3 comments

Comments

@The-Techy
Copy link

The-Techy commented Feb 19, 2023

Hi!

I have a bit of an odd use case, and so my issue probably isn't fixable. Figured I'd try anyway though! btw, I have used Hyperion before, using the built in screen capture on my computer.

Basically, I have an Oculus Quest 2 that I want to use this with

I want to capture the edges of what's being displayed and broadcast that to leds around the inside edge of the headset, giving the illusion of a wider field of view. I have a pi lying around to act as the Hyperion server, and want to use WLED for the leds.

So, I've installed the APK on to my quest, and it runs. However, upon trying to click the TV icon, it says it doesn't have screen recording permissions. Unfortunately, the version of android that runs on the quest is pretty locked down (and old, its android 10), so this can't be granted in settings.

However, you can use ADB commands. I verified that screen capture was a valid permission, and then attempted to grant it to this app. It wouldn't do it, as apparently the app hasn't requested that permission. Using ADB, I can confirm it doesn't appear to have requested this.

Without the app requesting permission, I can't grant it, and so it can't work.

Any idea how to get around this? Some hidden command or something? Thanks!

@The-Techy
Copy link
Author

Had a thought, I was trying to give permissions to com.abrenoch.hyperiongrabber , as that's what's visible on my quest. Is the actual screen grabber different, and is that why it didn't show up?

@The-Techy
Copy link
Author

Some more googling, seems like it could just be changing some stuff in the AndroidManifest.xml file to make screen capture a required permission, as right now it seems like its not, since it can't be granted. Shouldn't be too difficult hopefully

@The-Techy
Copy link
Author

Well, a lot of googling later I was able to change the manifest file and rebuild the app. Unfortunately, CAPTURE_VIDEO_OUTPUT just isn't a permission that I can grant on my quest, even if it's required. Annoying

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

1 participant