Skip to content

Conversation

@sirtoobii
Copy link

Resolves #181
Thanks to @pedrxd, @k4ps, @LadyBoonami and @bboyDmT

@lucasrangit
Copy link

This worked for me! Please merge!

Copy link

@pedrxd pedrxd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This steps works fine for android 9

@alexmex90
Copy link

This steps works fine for android 9

Would it be possible if you posted a detailed step by step of how did you made it work? did you have to build any apk from source? I would like to try it on Android 10 (LineageOS 17.1)

@erfanoabdi
Copy link

this app doesn't have to be in priv-app or platform signature so allowing this perms isn't needed at all

@sirtoobii
Copy link
Author

@erfanoabdi can you please elaborate this a bit more. To my understanding, it has to be in priv-app, otherwise the app is unable to register it self as a system-wide location provider..

@erfanoabdi
Copy link

yeah, just placed it on /system/app/ and everything works fine (all checks passed)
(had to add package name to config_locationProviderPackageNames as well)

README.md Outdated

1. Make sure no gapps are installed
2. Download `NetworkLocation.apk`
3. Boot into recovery and copy the apk to `/system/priv-app/` using the adb-command `adb push NetworkLocation.apk /system/priv-app/UnifiedNLP/NetwortkLocation.apk` (also make sure you mount the `/system` partition in advance)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if it really matters for the functionality, but it'd be nice to update NetwortkLocation.apk to be spelled correctly

Otherwise, it'd be great to see this merged - if this was already in the README a few months ago I wouldn't have had to embarrass myself a few times by not having working GPS on my phone 😅

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if it really matters for the functionality[...]

Well, at least in my case, the app didn't registered itself as system-wide location provider (Android 9, LineageOS) when installed as a "normal" app.

but it'd be nice to update NetwortkLocation.apk to be spelled correctly.

Done, thanks 👍

Otherwise, it'd be great to see this merged

Actually I don't know what @mar-v-in 's plan is here - there seems to be active development though...

@Vector00123
Copy link

Help for Android 12 installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to install on Android 9 (LineageOS 16)

7 participants