English

✏ µG Unified Nlp (with Installation Guide)

floss
wiki
livingwogoogle
Tags: #<Tag:0x00007fefbdba72c8> #<Tag:0x00007fefbdba7160> #<Tag:0x00007fefbdba6fa8>

#81

Using microG version 0.2.4-108-g464d45d, which integrates UnifiedNLP, with Xposed module XposedGmsCore-UnifiedNLP, which easily integrates microG UnifiedNLP into the system. With this setup I got good results with MozillaNlpBackend and with LocalGsmNlpBackend, but couldn’t get correct localization with OpenBmapNlpBackend.

The Mozilla service is the most precise since it uses both GSM and Wi-Fi info, but I chose to use LocalGsmNlpBackend instead because of a few advantages to me: (a) it doesn’t need to turn Wi-Fi on for localization since it only uses GSM, the radi is always on anyway; (b) it doesn’t send any personal info out since the database is pre-downloaded into memory; and © it reduces battery and data consumption. Normally I get a GPS lock within seconds using it as a backend, so I don’t need the increased precision offered by Mozilla, and in underserved areas Wi-Fi location won’t probably be very helpful anyway.

PS: I added the DejaVu as a second backend, works perfectly too.


#82

Hello Dr_Cool,
I try to use the UnifiedNlps the same way.

My question is, how does the DejaVu Location Service work?
Need the GPS and WIFI search turned on to gather data?
Is it then recommended to walk around with active location?
Will Deja Vu benefit from the LocalGsmNlpBackend?

Thanks for clarification…
Cheers


#83

When you use an app that triggers localization with GPS on and there’s a successful position lock the backend will record GMS info and also Wi-Fi info if it’s turned on. It’s done on the background, you have no control or notification of what it does, but afterwards it will show a more precise non-GPS location than with the GMS database backend alone.


#84

The four screenshots below taken in sequence from SatStat show Déjà Vu at work:
Picture 1 shows localization with GMS only (LocalGsmNlpBackend) before Déjà Vu.
Picture 2 shows localization after turning GPS on.
Picture 3 shows localization after Déjà Vu records only GMS info (Wi-Fi always off, GPS turned off after successful position lock).
Picture 4 shows localization after Déjà Vu records Wi-Fi info, almost as precise as GPS localization due to high density of Wi-Fi stations on the spot.





#85

Thank you for this detailed answer!


#86

After reinstall, permission granting and reboots I was able to make OpenBmapNlpBackend work with my setup described above. I’m now using it with Déjà Vu instead of Mozilla. OpenBmapNlpBackend includes a local database of Wi-Fi stations in addition to GSM, and I prefer to support OpenBmap/Radio cells.org. Déjà Vu is a nice addition because it fixes the occasional location error due to nonupdated Wi-Fi gear displacement.


#87

So you are using…

OpenBmapNlpBackend for WIFI or does it work with an offline database for cells too?
For me - I cannot Update or Download a cell database

LocalGsmNlpBackend for Cells?

and DejaVu as an addition?


#88

My latest setup is made of two backends: OpenBmapNlpBackend for both Wi-Fi and cell towers offline (with their downloaded database) and Déjà Vu to help with refinements/corrections. It’s therefore 100% offline. Works quite well, Déjà Vu works transparently and is very effective. I dropped LocalGsmNlpBackend.
I wonder why you can’t download a database, I’ve never had problems with this part of the setup. Could it be because I’m downloading their database through their RadioBeacon app and then changing the database directory in the backend settings? I do it so I don’t have a duplicate of the offline database.


#89

Ok, thanks.
Maybe I have to reinstall it again and I will test which setup is the best for my use.
Thanks again for sharing yours.
Cheers

Update:
My setup right now…

  • Déjà Vu (as enhancement) <- messed up a bit the localisation quality and speed
  • OpenBmapNlpBackend
  • LocalGsmNlpBackend (dataset from OpencellID)
    since I’m not always in Countries covered by OpenBmap/Radiocells.

Cheers


split this topic #90

A post was split to a new topic: Localisation problem in Osmand (blue marker jumps around) (Kitkat Alpha)


Why use Fairphone's Kitkat Alpha (4.4.2) instead of Chris Hoffmann's 4.4.4?
#91

I too had to drop Déjà Vu, it was crashing with some apps. My stable implementation now uses Local WiFi Backend for personally collected Wi-Fi stations and GSM location Backend for cell towers downloaded from Mozilla, all stored locally.


closed #92

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.