UnifiedNlp icon indicating copy to clipboard operation
UnifiedNlp copied to clipboard

Provide easy method for /system install

Open Roxxor91 opened this issue 8 years ago • 10 comments

As unpatched Android 7 does not allow Location providers outside of /system and as most Android 7 variants are not patched in this regard, I think that it would be reasonable to provide an easy installation method for UnifiedNLP. There are 2 possibilities:

  1. Provide a flashable .zip
  2. An installer to push the .apk to /system (requiring root)

I personally think that the 1. option is better. It is easier to achieve (based on my amateurish knowledge) and also works for people who do not like to enable root on their phones.

Roxxor91 avatar Dec 17 '16 10:12 Roxxor91

@Roxxor91 Flashing might work on some devices. But people unwilling to root are certainly as well unwilling to unlock the bootloader and installing a custom recovery – without which the "flashable zip" must be signed with the same key as the ROM to be accepted.

As a result, I'm afraid there is no "easy way" to work around that. As much as I appreciate the idea.

IzzySoft avatar Dec 17 '16 14:12 IzzySoft

But people unwilling to root are certainly as well unwilling to unlock the bootloader and installing a custom recovery.

This assumption might as well be wrong. I’m unwilling to root, but I do have a custom recovery.

ArchangeGabriel avatar Dec 19 '16 19:12 ArchangeGabriel

There are always exceptions :) I should have included the term "most"...

IzzySoft avatar Dec 19 '16 20:12 IzzySoft

@Roxxor91: In case you haven't already found it, I have created a flashable zip: microG unofficial installer.

ale5000-git avatar Jan 17 '17 00:01 ale5000-git

Also https://shadow53.com/no-gapps/downloads/

daktak avatar Mar 14 '17 04:03 daktak

@daktak Installing the unifiednlp from that page as a system zip made pass all the self checks on jfltexx lineageOS 14.1 20170524

rodrigoaguilera avatar May 31 '17 08:05 rodrigoaguilera

The link provided by @daktak is okay as a workaround, but I'd feel safer if a flashable NetworkLocation.zip file was provided from here instead. :-)

breversa avatar Nov 14 '17 12:11 breversa

Also https://lineage.microg.org/ :-)

daktak avatar Nov 19 '17 01:11 daktak

@daktak Thanks for mentioning it here, I think this possibility lacks advertisement!

ArchangeGabriel avatar Nov 20 '17 22:11 ArchangeGabriel

if you only want to install UnifiedNLP you can use "unifiednlp-minimal_2018-08-17.zip" available here: https://github.com/WeAreFairphone/flashable-zip_microG/releases/tag/2018-08-17 Their are build instructions as well. I tested it on LineageOS 15.1 on Nexus 4 (mako)

Please pay attention to the following:

Concerning the impossibility of launching the UnifiedNLP app, this is happening on all devices (see this forum thread). I don't know why it can't be launched normally on Oreo, but you can still access the UnifiedNLP configurations through "Location settings" (tap and hold the notification bar quick-setting for toggling location), and at the bottom (“Location services”) you’ll find an entry for launching it.

See as well: #154

mulles avatar Sep 09 '18 12:09 mulles