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

unifiednlp do not have location to test geocoder on Android Pie #164

Open
ghost opened this issue Sep 18, 2018 · 13 comments
Open

unifiednlp do not have location to test geocoder on Android Pie #164

ghost opened this issue Sep 18, 2018 · 13 comments

Comments

@ghost
Copy link

ghost commented Sep 18, 2018

I've flashed NanoDroid-patcher-18.2.20180916.zip and then NanoDroid-microG-18.2.20180916.zip
On my LineageOS 16.0 (Android 9).
Signature spoofing is working, but the last checkbox (unifiednlp do not have location to test geocoder) is unchecked.
I've checked in SatStat app and it shows me location, but only from GPS.
In conclusion my GPS is working, microG with network location isn't
I have Apples and DejaVu backend turn on, as well as unifednlp and localisation.

@subterfugium
Copy link

I have same issue with OmniRom 9. microG installed via fdroid repo. ROM has signature spoofing support and unifiednlp should be able to run outside /system
https://gerrit.omnirom.org/c/android_frameworks_base/+/32437/2

@0pLuS0
Copy link

0pLuS0 commented Oct 5, 2018

Solution? ----> microg/GmsCore#366 (comment)

@subterfugium
Copy link

I don't have root so can't test it.

@0pLuS0
Copy link

0pLuS0 commented Oct 7, 2018

@subterfugium it works here, but I forgot to mention, this is on Stock Android.

No root on OmniRom and microG is really limiting yourself...

@subterfugium
Copy link

@0pLuS0 It worked fine on android 8.1 (without root)

@Devorlon
Copy link

Devorlon commented Feb 9, 2019

I've tested that the su commands do fix location for 8.1 but only partily work for 9.

I think this is becasue you cannot set "high accuracy" for location within pie but can for oreo. And that 'Network -based location enabled' does not get checked after the commands in 9.

Android 9 tests were done on the unnoficial lineage os builds for the OP5T using NanoDroid (nano repo), and tested with:

openstreetmaps in brower (partly working),
maps.me from F-Droid (working),
Pokemon GO (not working).

Android 8.1 test were done on Lineage + Microg and Lineage + NanoDroid (nano repo) for the 5T:

openstreetmaps in brower (working),
maps.me from F-Droid (working),
Pokemon GO (working).

@ArchangeGabriel
Copy link
Contributor

@Devorlon Ah, indeed. I was wondering how to test network location only in Android 9 since the location settings are now either on or off. But what you describe matches what I see here.

@subterfugium
Copy link

subterfugium commented Jul 4, 2019

I received update to microG today, 0.2.8, and now unifiednlp says it is able to provide updates in microg self-check. Using omni9 without root/gapps/etc. Wow, my location finally works, a have a smartphone ! :)

EDIT: After update and reboot, microg requested permission (did not specify which one) and after granting it, location started to work.

@IzzySoft
Copy link

IzzySoft commented Jul 7, 2019

@subterfugium I wish that update had done the same for me, but it didn't. Situation still the same: With "high precision" the last checkbox remains unchecked, with network only ("energy saving") all boxes are checked but still no location 😢

@subterfugium
Copy link

Check that microg has the new permission (it didn't specify which which was weird) and make sure to reboot phone.

@IzzySoft
Copy link

IzzySoft commented Jul 7, 2019

@subterfugium it was the location permission (not sure which thread stated that) – and yes, it has both of them granted here. Had them before, so no change with that either. Didn't ask for anything new when I opened it after update+reboot.

@ghost
Copy link

ghost commented May 23, 2020

I'm on Lineage 14.1 and it doesn't work even after giving perms as root. I am using Nanodroid.

@septem9er
Copy link

septem9er commented Aug 23, 2020

Solution? ----> microg/android_packages_apps_GmsCore#366 (comment)

Did solve the issue for me on two phones which used NanoDroid installed to install microG. A reboot was required.

I am using radiocells.org and local gsm location as UnifiedNlp backend.

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

6 participants