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-
- Either get LineageOS for MicroG. Problem with that being it is not official.
- 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.
I just gave up and used GPS. You can manually refresh agps data with satstat
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.