microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.49k stars 1.71k forks source link

Network-based location NOT ENABLED #1062

Open macromicr0 opened 4 years ago

macromicr0 commented 4 years ago

Hey all i have a moto G7 with lineage 16 and microG, I did a clean install of the device from another rom, so far i have not been able to get the location to appear in any app? I have "unifiednip" status as registered in system & location backends are set up.. (for backends under "network based geolocation" i have mozilla dejavu GSM location & wifi location) (for backends under "address lookup" i have nominatim running with mapquest developer api)

I cant seem to get the last box ticked of Network location, any help??

Axolord commented 4 years ago

What Installer did you use? Did you go with Lineage4microg or an installer like minmicrog, nanodroid, etc? what version of microg are you on?

@mar-v-in is working on unifiednlp v2 which should fix many bugs (especially with android Q, so probably your problem is fixable)

fdawans commented 4 years ago

Is it UnifiedNlp do not have Location to test Geocoder? I have the same issue, it was ticked and now it's not anymore... Edit: if I go in UnifiedNlp settings and disable then enable the backend it's working again (thats a well known issue on Android 10)

I tried those commands in terminal:

adb shell 
su
pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION
pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION