n76 / DejaVu

Yet another network location backend for the UnifiedNLP/microG project
GNU General Public License v3.0
100 stars 18 forks source link

Not fetching location #28

Closed ghost closed 5 years ago

ghost commented 5 years ago

Not sure what am I doing wrong here but it appears that both DejaVu and GSM backend fail to work on my device. In case of DejaVu, I looked inside the database and it is correctly populated with both cellular and WiFi entries from the places I've been to. On the other hand, I am pretty sure that I have downloaded the Mozilla database correctly with the MCC codes for my country. In both cases however, I just never get a location while using OsmAnd or any other app. I do know MicroG is setup correctly because it takes less than 5 seconds to fetch location using the Mozilla (Ichnaea) backend. I also tested with SatStat and it shows exactly the same info as one of the entries in the DejaVu database, so I have no idea where is it going wrong. Thoughts?

n76 commented 5 years ago

In SatStat there is a map view that shows the GPS location in red and the network based location in blue. What does it show?

In your system settings, what is your location mode set to?

ghost commented 5 years ago

Ugh, sorry for the false alarm. Both backends have finally started working. For the GSM one, I didn't realise that we're supposed to specify an MNC filter as well, once I did that and updated the database it worked instantly and the file itself is down from more than 100 MB to only around 3 MB now! No idea about DejaVu though, it just automagically started working once I did the map view thing in SatStat like you mentioned. Anyway, thank you!