Local-NLP-Backend icon indicating copy to clipboard operation
Local-NLP-Backend copied to clipboard

And without microG?

Open xeruf opened this issue 3 years ago • 6 comments

If I understand it correctly, this replaces the google services that tend to provide location data within seconds, but needs microG. I have a completely G-Free phone, are you aware of any usable alternatives?

xeruf avatar Mar 06 '23 00:03 xeruf

You could try UnifiedNlp, which is only the location provider component of microG. But the standalone app is 6 years old, and didn't work for me when I tried it a few years ago.

On my phone I have microG installed only for location purposes, and all the Google service replacements disabled.

Helium314 avatar Mar 06 '23 05:03 Helium314

Thanks for the hint, trying that right now.

xeruf avatar Mar 07 '23 22:03 xeruf

On my phone I have microG installed only for location purposes, and all the Google service replacements disabled.

Ah, I wasn't aware that was an option; I might look into it at some point.

The UnifiedNlp developer brought forward some thoughts on why it wasn't working anymore: https://github.com/microg/UnifiedNlp/issues/247#issuecomment-1468275786

UnifiedNlp uses [the Binder RPC system to bind to location modules]. Previously, such a bind relationship would keep the bound package process running and fully operational if and as long as the binding package process remains running. This is no longer the case in latest Android versions and Android would under certain conditions pause the bound process, resulting in the binder interface being stuck until the process is unpaused or terminated. UnifiedNlp itself is exempted from any such pausing while being registered as a system location provider.

It probably would work if we had UnifiedNlp and the modules as a privileged system app

I'm thinking of making location modules I have installed system-priv.

MayeulC avatar Mar 15 '23 10:03 MayeulC

And without microG now? MicroG is dropping support for UnifiedNLP modules, for technical reasons, and incorporating location monolithically instead.

But I see that this project is still being worked on, as have other NLP backends been recently... is there a plan to keep these alive? Or is the assumption that people will just keep using the last microG version that had UnifiedNLP support?

LuccoJ avatar Aug 20 '23 20:08 LuccoJ

See the pinned issue, especially https://github.com/Helium314/Local-NLP-Backend/issues/18#issuecomment-1678946066

Helium314 avatar Aug 21 '23 04:08 Helium314

There is also a unofficial UnifiedNLP build which works fine on my lineageos-18.1

biopsin avatar Mar 20 '24 11:03 biopsin