UnifiedNlp icon indicating copy to clipboard operation
UnifiedNlp copied to clipboard

UnifiedNLP not registered in Omnirom 8.1.0

Open mase76 opened this issue 7 years ago • 20 comments

Hi! UnifiedNLP is not registered in Omnirom 8.1.0. It worked before in 7.1.2. My device is a Sony Xperia X What will I need to post?

mase76 avatar Feb 04 '18 19:02 mase76

I am also having this issue on a 8.1.0 based rom (FireHound on Nexus 6P)

Self-Check is all good on everything but UnifiedNLP (it's not registered in system). I have tried installing NetworkLocation.apk manually following the instructions on the wiki - no change after a restart.

I've since re-flashed as gsmcore has UnifiedNLP already, and having both will probably cause more headaches.

Was working no problem on Nougat as well, so might be an issue with 8.1.0

**********Edit: Managed to fix it by using the microG unofficial installer that was linked in #145 by ale5000.

Uninstalled the microG apps that were installed. Then flashed the installer zip in TWRP. UnifiedNLP was registered after a reboot!

Give it a try @mase76

Domuu avatar Feb 16 '18 10:02 Domuu

Then it’s likely that the issue is because you did not push GmsCore.apk to /system/priv-app/.

ArchangeGabriel avatar Feb 16 '18 13:02 ArchangeGabriel

Yes, pushing GmsCore.apk to /system/priv-app/ did the job. But this has to be done after each ROM update. I saw, there is an official patch, which hasn't been applied yet. Why not? I don't like to flash an unofficial zip.

mase76 avatar Feb 16 '18 14:02 mase76

Can you link to the patch?

ArchangeGabriel avatar Feb 16 '18 14:02 ArchangeGabriel

The patch is on the official wikipage. Scroll down: https://github.com/microg/android_packages_apps_GmsCore/wiki/Installation

mase76 avatar Feb 16 '18 14:02 mase76

Sorry I wasn’t clear, I know about this one, I was asking whether you’ve seen somewhere it was discussed for inclusion in LineageOS4μG or OmniROM.

ArchangeGabriel avatar Feb 16 '18 14:02 ArchangeGabriel

My mistake! I did not notice, that this patch has to be applied to the ROM. I thought, it has to be applied to the GmsCore.

mase76 avatar Feb 16 '18 14:02 mase76

I was asking whether you’ve seen somewhere it was discussed for inclusion in LineageOS4μG or OmniROM

@ArchangeGabriel LineageOS for microG already ships GmsCore.apk in /system, so the patch is not needed there. However, it doesn't do the trick for CarbonROM (Oreo): moving GmsCore to /systems seem gets Location working, but UnifiedNLP ticks in microG Self-Check still don't appear(it was rebooted). What else could I try?

bam80 avatar Mar 11 '18 20:03 bam80

Did you also set the permission of the moved apk to 644?

mase76 avatar Mar 12 '18 11:03 mase76

Did you also set the permission of the moved apk to 644?

Yes, they already were so

bam80 avatar Mar 12 '18 11:03 bam80

Hi,
I recently updated my ROM and somehow UnifiedNlp will not register any more. I installed the app (tried both f-droid and the apk from github), and moved it to /system/priv-app Can it be because I removed com.qualcomm.location? screenshot_20180322-224313 Help is very welcome, thank you!

utack avatar Mar 22 '18 21:03 utack

Same problem here. On Android 8, UnifiedNLP will not register, regardless of wether it's installed as a regular app or in /system/priv-app/.

I can instead use the full GmsCore and put it in /system/priv-app/ to make locations work. But I don't want or need the full package, just NLP.

haarp avatar Sep 03 '18 12:09 haarp

I using OmniRom 9 with MicroG via NanoDroid and I've been able to get everything in Self Check except the "System supports location provider" remains unchecked. I have been trying figure out the patch linked in the Wiki but I'm not sure what to do. I've also tried adb pushing the GmsCore in the /system/pri-app/ but it doesn't seem to work for me. Are there more detailed instructions somewhere?

Jaxseven avatar May 20 '19 15:05 Jaxseven

The patch is already included in Omnirom.

mase76 avatar May 20 '19 15:05 mase76

So should I just disregard the unchecked setting? Will UnifiedNLP function normally regardless?

Jaxseven avatar May 20 '19 16:05 Jaxseven

Do you use UnifiedNlp from Fdroid? This is a very old version and does not work. Install the Service core from the MicroG site or from their Fdroid repo.

mase76 avatar May 20 '19 16:05 mase76

@mase76 The microG Fdroid repo is also quite outdated. https://microg.org/fdroid.html

I haven't yet found a version of UNLP that works on my LineageOS.

haarp avatar May 20 '19 16:05 haarp

@haarp maybe try the Nanodroid repo (unofficial builds): https://nanolx.org/fdroid/repo/

IzzySoft avatar May 20 '19 20:05 IzzySoft

@IzzySoft Would the latest stable zip from Nandroid be the same as what's in the repo? I'm flashing the MicroG, F-Droid, and Webview zips.

Jaxseven avatar May 21 '19 02:05 Jaxseven

I don't know, I'm not involved with the Nanodroid (note additional "o" :wink:) project. I just know it also ships microG. I myself use "LineageOS for microG", so for me it already ships with the ROM.

IzzySoft avatar May 21 '19 05:05 IzzySoft