UnifiedNlp icon indicating copy to clipboard operation
UnifiedNlp copied to clipboard

unifiednlp do not have location to test geocoder on Android Pie

Open ghost opened this issue 6 years ago • 13 comments

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.

ghost avatar Sep 18 '18 10:09 ghost

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

subterfugium avatar Sep 30 '18 08:09 subterfugium

Solution? ----> https://github.com/microg/android_packages_apps_GmsCore/issues/366#issuecomment-427252345

0pLuS0 avatar Oct 05 '18 05:10 0pLuS0

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

subterfugium avatar Oct 07 '18 11:10 subterfugium

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

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

0pLuS0 avatar Oct 07 '18 22:10 0pLuS0

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

subterfugium avatar Oct 13 '18 09:10 subterfugium

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).

Devorlon avatar Feb 09 '19 10:02 Devorlon

@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.

ArchangeGabriel avatar Feb 09 '19 11:02 ArchangeGabriel

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.

subterfugium avatar Jul 04 '19 11:07 subterfugium

@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 :cry:

IzzySoft avatar Jul 07 '19 10:07 IzzySoft

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

subterfugium avatar Jul 07 '19 12:07 subterfugium

@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.

IzzySoft avatar Jul 07 '19 12:07 IzzySoft

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

ghost avatar May 23 '20 14:05 ghost

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.

septem9er avatar Aug 23 '20 16:08 septem9er