-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Can not grand SMS and BACKGROUND_LOCATION Permission on Android 11 #1440
Comments
Same on Android10 |
I reverted to android 10 based rom because of this. |
Installed it as priv-app, still can`t grant these permissions |
I said the opposite, if you don't install as a priv-app. |
You can also take a look at #1280 As my comment there suggests, you can work around this issue by installing GmsCore twice - first as a priv-app and then from the .apk as an user app update. |
Will try it in few days, this should be in wiki too :) |
I have microg working with android 11 without any workarounds.
I flashed MinMicroG-NoGoolag-2.9-20210426095739.zip with TWRP, and microg is working correctly. EDIT: Can the problem be related to the installing method, TWRP vs Magisk module? |
@stainlesspot Yes this did the job for my installation to :). Thank you. |
I'm using the latest available update package -- MinMicroG-NoGoolag-UPDATELY-20210515002736.zip and I have the same problem. This zip was installed from TWRP, but with magisk already installed. This used to work in Lineage17.1 but does not work in LOS 18.1. In order to get location providers working I had to install (as user level apps) the core app and all the location providers as well. I.e. the problem seems to be related to microg (and providers) being in a magisk module? Can it be fixed on a magisk level perhaps? I'm currently using magisk v23.0. |
Hello everyone!
So the key takeaways are:
Also, the whitelisting alone was not enough to be able to grant |
I got it fixed following xda microG GmsCore - lightweight free software clone of Google Play Services post. Basically I changed granted and flags attribute in
|
This is more like an install issue rather than microG issue so I will close it. |
Thank you @evermind-zz!!! I was struggling with this issue and nothing happening when clicking on "Permission to access location in the background" in microG, along with resulting location issues. For anyone else experiencing this issue (Android 11+ ?), search for com.google.android.gms in my root text editor in In this section, change the line that has ACCESS_BACKGROUND_LOCATION so that granted="true" and flags="3020". For awareness, please like or comment if you experienced this issue and this helped. |
There isn't any need to complicate things like this. For installers, they just need to add For users that have the problem they can simply reinstall the app: |
Describe the bug
Trying to grand the permissions for
android.permission.ACCESS_BACKGROUND_LOCATION
android.permission.RECEIVE_SMS
Is not possible.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Permission is granded
Screenshots/Logs
asdf.mp4
Sysdump for package
/data/system/user/0/runtime-permissions.xml
:System
Android Version:11
Custom ROM: LineageOS 18.1
Additional context
Maybe my system is just F*** up. I tried to upgrade from LineageOS 17.1 with a Riru based MicroG installation to a
lineag.microg.org
based setup. This might cause trouble apparently.The text was updated successfully, but these errors were encountered: