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.

    • kosmoz@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      3 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.

    • hughesdikus@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      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.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        3 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