UnifiedNlp icon indicating copy to clipboard operation
UnifiedNlp copied to clipboard

No known location despite all self-check boxes and multiple backends installed

Open hynow opened this issue 5 years ago • 8 comments
trafficstars

There is "no last known location" despite all boxes checked in self-check and multiple backends installed.

To Reproduce Backends installed: Deja Vu Location Services, WiFi Location Service, Mozilla Location Service, Radiocells.org. "Use location" and "Wi-Fi scanning" are both checked/enabled in Android settings.

Expected behavior I expected a location to be retrieved.

System Android Version: 9 Custom ROM: LineageOS 16

Additional context NetworkLocation.apk installed via adb push

hynow avatar Nov 15 '20 21:11 hynow

Same issue here pn Redmi Note 7. Lineage os 17 for microG .

warriormaster12 avatar Dec 19 '20 11:12 warriormaster12

Never mind, location services work now.

warriormaster12 avatar Dec 19 '20 16:12 warriormaster12

Another never mind, it's half broken. It works some times but I have no idea what triggers them.

warriormaster12 avatar Dec 19 '20 20:12 warriormaster12

I'm also suffering from this bug after updating to e-os 0.13 . Position using wifi is working much worse now.

marcodiegomesquita avatar Jan 03 '21 01:01 marcodiegomesquita

Another never mind, it's half broken. It works some times but I have no idea what triggers them.

@warriormaster12 came accross the same issue, but with Unified.apk (not NetworkLocation.apk). I could fix it in Android 10 by enabling / disabling the backends after a reboot. Maybe you could try this?

greenflash1986 avatar Nov 10 '21 01:11 greenflash1986

Same issue on Oneplus 8 Pro (instantnoodlep, IN2023) with LineageOS-for-microg 18.1 (2022-04-04) and Mozilla Location Service (Mozilla UnifiedNlp Backend, org.microg.nlp.backend.ichnaea, 1.4.0) and Nominatim.

Tried to detect location inside buildings and outside:

App Network Location (inside) GPS (outside)
Maps sites in Google Chrome (Bromite, v100) fails works
Organic Maps fails works
GPSTest fails works
My Location fails works
OsmAnd~ fails works

Update 1

Performed some testing w\ Mozilla Location Service (1.4.0) and Apple Wi-Fi (org.microg.nlp.backend.apple, 1.2.3). It kind of works, but unreliably. Both got my current location with decent 22-30m accuracy, but both also refuse to work constantly. They give longitude and latitude around 1 time per hour and "fail" to work (as "My Location" com.mirfatif.mylocation tells) every ~10 minutes.

Once in a while logcat logs error messages like that: java.lang.IllegalArgumentException: Receiver not registered: org.microg.nlp.api.WiFiBackendHelper

App Network Location (inside) GPS (outside) Glonass BeiDou
Maps sites in Google Chrome (Bromite, Ungoogled Chromium, v100) fails works doesn't work doesn't work
Organic Maps works unreliably works doesn't work doesn't work
GPSTest fails works works unreliably doesn't work
My Location works unreliably works doesn't work doesn't work
OsmAnd~ fails works doesn't work doesn't work

tsilvs avatar Apr 08 '22 14:04 tsilvs

Another logcat log message I see often is Received no location from org.microg.nlp.backend.ichnaea/.BackendService

tsilvs avatar Apr 09 '22 07:04 tsilvs