this post was submitted on 19 Feb 2024
8 points (100.0% liked)

Lineage OS

831 readers
4 users here now

Lineage OS

lineageos.org | Wiki

GitHub

IRC | Unofficial Matrix room | Discord

Twitter | Facebook

Other LineageOS communities on Lemmy

founded 3 years ago
MODERATORS
 

Although GPS or hardware based location does work on LineageOS, it seems there is no easy way to get software based Network Location officially on LineageOS due to UnifiedNLP getting deprecated and merged to GMS Core. (Also see this post)

After discussing with community and my own research, there are 2 ways to get it on LineageOS-

  1. Either get LineageOS for MicroG. Problem with that being it is not official.
  2. Or get some older version of UnifiedNLP with MinMicroG (also an older version) or some other 3rd party installer.

Both of these are complicated and risky (as flashing can brick a phone) processes for something that is software based and is only half part of location services as GPS still works, meaning imo, you aren't getting your effort's worth. Especially noobs.

This post is an upto date guide for future users (as not many might get difference between GPS and Network Location) while also inviting suggestions for older users on how they dealt with the problem.

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 9 months ago (1 children)

Didn't Mozilla have some solution for this? Or am I misremembering?

[–] [email protected] 2 points 9 months ago

I think what you're referring to is the Mozilla UnifiedNLP backend, which is also affected by the removal of UnifiedNLP.

I don't think there is another way to offer this API to the system.

Apps could of course use the Mozilla location services directly, but that requires some sensitive permissions most apps would not need otherwise.

[–] [email protected] 1 points 9 months ago (1 children)

I just gave up and used GPS. You can manually refresh agps data with satstat

[–] [email protected] 2 points 8 months ago (1 children)

GPS works like 5% of the time for me. Seriously. There is a reason both Apple and Google made these solutions.

GPS, especially in some countries, straight up refuses to work.

I know I said it is half the location story but that is for others. For me, UNLP is 95% of the location service and I have no choice but to go back to google services just cause of this.

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago)

Use satstat to get fresh agps data. And stand outside.

I would love network location but for now that's the best answer