GmsCore: android.permission-group.UNDEFINED permission
After installing GmsCore-v0.2.11.202414.apk
and rebooting, self-check does not allow me to grant permission to android.permission-group.UNDEFINED
on my Android 10 device. The device is rooted and the apk is in /system/priv-app/
.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 26 (3 by maintainers)
Also had this issue (perhaps because I was doing a dirty upgrade), and was able to solve it by adding the permission manually in
/data/system/users/0/runtime-permissions.xml
:I wrote some more details about it in the XDA thread. Note that the
flags=
attribute is important.Before that I also tried
pm grant com.google.android.gms android.permission.ACCESS_BACKGROUND_LOCATION
which seems to work but doesn’t fix the problem.I don’t think the location settings can be accessed from the UI at all, at least for me (Android 10, current LOS 17.1):
This just takes me to Settings → Location, where I can only go to App permission → microG Services Core and get the same modal dialog again.
Hi everyone, i make XML patcher python script (i am not programmer so it may look ugly) it make @GeographicCone patch automatically. You can download patcher here I not know how correctly and safe modify XML file in shell script, so it written on python, it mean you also need python to use this patcher, so i also make python installer magisk module. You can download python here
It my first experience of making Magisk modeles, so it may contain errors.
P.S. @GeographicCone thanks for solution, it also work for AFWall+ storage problem.
I verify this worked as well. What i did is this:
Settings > Apps > MicroG > Storage & Cache
/data/system/users/0/runtime-permissions.xml
and changed the numbers4300
to3320
as suggested.Settings > Apps > MicroG App > Permissions. Location could now be set to
Allow all the time`.Havoc 3.7
P.s. I wonder why this issue didn’t came up at testing before releasing (not trying to blame anyone ofc)
@GeographicCone
Confirm, in my case i have in runtime-permissions.xml :
and change 4300 > 3320 fixed issue.
Havoc-OS 3.6