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

Android OS 11+ Launching Broken #255

Closed
zach-morris opened this issue May 7, 2022 · 4 comments
Closed

Android OS 11+ Launching Broken #255

zach-morris opened this issue May 7, 2022 · 4 comments

Comments

@zach-morris
Copy link
Owner

Android OS versions 11+ have changed their permissions to be even more restrictive than they were in the past.

When launching a game, the launch will fail, and the log will show something to the effect of:

ActivityTaskManager: Permission Denial: package=com.android.shell does not belong to uid=xxx

It is the same issue other frontend launchers had with the OS, ex:
mmatyas/pegasus-frontend#766

However, in IAGL's case, I'm restricted to whatever I can do only within Python. At the moment, there's no workaround that I'm aware of. Something would have to change either in the OS or in Kodi to get launching working again for Android 11+

@dataghost2014
Copy link

Binaries need editing, and launch from neutral location. Getting closer with changes being made, will share when more progress is made. Cheers.

@chrisism
Copy link

@dataghost2014 Might extending the StartAndroidActivity method help in this case? It looks like that builtin method is working with launching android apps, but it lacks enough properties needed to do correct app launching in launcher addons like IAGL.
See the request on kodi forum for more details: https://forum.kodi.tv/showthread.php?tid=367878

I'll follow this issue too if any updates available.

@zach-morris
Copy link
Owner Author

Some work is being done in Kodi, which looks promising. Unsure how it will interact with permissions though:
xbmc/xbmc#21652

@zach-morris
Copy link
Owner Author

Fixed in 3.0.7 - the wiki will have to be updated but there are some caveats. Main one being that the files need to be downloaded to a shared directory (one that both apps can see given their permissions). The wizard is updated to account for this. Let me know if you run into any issues.

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