I have recently switched my FP2 from Fairphone Open to Lineage 17.1.
Everything works fine, except I can’t get UnifiedNLP to work.
I installed this package and the Mozilla back-end.
The self-check has “System supports location provider” checked, but not “UnifiedNlp is registered in system” even after I reboot my phone.
“Network-based location enabled” is also unchecked, although I did enable wi-fi as a location source in system settings.
Is this a known issue? Do I need to do something else in order to make it work?
I thought Lineage had the required patches to install UnifiedNLP in userspace, but it seems I was wrong.
I tried to flash the 2020-01-15 zip and it indeed does not work, so I will wait for a new stable release.
I understand your concern.
This zip has the change that was discussed upstream in the github issue mentioned above. However this current workaround (included in the .zip) might break compatibility with older OSs which means it cannot be included upstream. To resolve this and come up with a better solution (and test it thoroughly) might take some time.
Sorry for the delay of an update with a working solution for the UnifiedNlp flashable ZIP. I was lacking a LOS17.1/A10 phone. I have one now,
I can give my blessing to this solution:
You don’t need to build the ZIP: just applying the changes to the updater-binary of the latest released ZIP should work. But if it’s about trust… build it! It’s open,
There’s now a test ZIP available with Android 10 support for the installer and retro-compatible with older Android versions. (Privileged permissions for microG components could fail, as noted in the upstream issues)
Please, if you have a device with Android <10, test it too!
I have another (maybe stupid) question about this: Do I need to have micoG installed on my phone if I want to flash the unifiednlp_2020-04-07.zip? And if not, can I just flash it with adb sideload?
Since I don’t have full microG but only unifiednlp installed and working just fine I guess the answer to your question is no. That’s the whole plan behind a seperate unifiednlp: to not need full microG.
@StephanK is right: you flash UnifiedNlp when you don’t want to install the full microG suite.
(For the record: in fact, microG itself includes UnifiedNlp, so flashing UnifiedNlp on top of microG already installed will just mess your microG installation, and probably your system. Don’t do that!)
And yes, you can adb sideload the zip while you’re at TWRP Recovery, after starting Advanced → ADB Sideload there.
Note that the version released on 2020-04-07 is a pre-release. MicroG/UnifiedNlp seem not to be working fine on Android 10 yet. Refer to the open issue (#11, linked above) for other user experiences. Also backup your system beforehand, just in case something goes wrong.