-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android version and UnifiedNlp package is not supported (OxygenOS Beta 12, Android 7.1.1) #411
Comments
same issue with version of microg and phone, should I provide additional information? logcat? |
08-17 23:40:40.253 2896 2896 D LocationManager: requestLocationUpdates listener=org.microg.tools.selfcheck.NlpStatusChecks$2@201d836 packageName= com.google.android.gms |
GmsClient: unable to connect to service: com.google.android.gms.measurement.START on com.google.android.gms |
Have you guys tried different location backends yet? |
Just tried this and that. No difference. |
Posted this issue five months ago, but not fixed. :( |
To all: "Android version supported" is only an indication and it doesn't really mean nothing important. "System supports location provider" is an issue with your ROM or an incorrect installation so it cannot really be fixed here (except rare cases). PS: You should really try to install it without NanoMod to see if the problem also happens in that case; in the case it is a NanoMod problem then should be reported to the NanoMod's author. |
Please clarify "System supports location provider" part:
[This wiki page](https://github.com/microg/android_packages_apps_GmsCore/wiki) says:
GmsCore includes the Unified Network Location Provider module (UnifiedNlp) which handles application calls to Google's network location provider.
A user expects it to work (as it does on my Android 7/LOS tablet).
If NOT, then could devs please give some explanations on it or where we can see the details why it doesn't work. Thanks in advance!
|
It works fine for me. Sometimes there are conflicting packages, if you want you can try my microG unofficial installer that fix most problems automatically. |
I see two issues here:
1. The cited wiki page implies that the feature is present and should work.
Which is misguiding.
2. The MicroG app only saying if NLP works or not, doesn't give any clue in
case NLP doesn't work.
On the 1st issue: this function isn't properly documented. Besides fixing
the cited page, a separate wiki page is desired, containing following:
1. how to diagnose the problem, find out what gone wrong.
2. What to do, propose workarounds applicable.
With the 2nd issue I'd prefer that MicroG would do some work inplace,
gathering diagnostics or something helping the user to get working NLP.
|
@ildar You suppose that microG can know the cause of the problem, it isn't like this (at least not the exact specific cause). I agree that a guide for solving common errors would be good. |
Can you point at any solution/workaround? I couldn't find any to start with.
|
There may be multiple causes. Some of them may be:
My microG unofficial installer take care automatically of point 1, 3, 4 and 5 (excluding only problem 2 that isn't common). The manual solutions are
|
Wow! Thanks a lot!
I'd be happy to also see how 2 and 3 can be detected. Like grepping logcat
for certain messages...
|
For 2 you have to decompile /system/framework/framework-res.apk For 3 you can just look at know pathes of these location services (they are present often in Chinese ROMs). Note: Patching framework-res.apk fixes both problems. |
@ildar: I'm not sure about logcat but it wouldn't be nice doing it in microG since it is outside it scope although it may be created a separate tool to do this. |
Thanks. I think this knowledge is something precious already. Just need to
put it to wiki. Then later need to think how to develop it into a code.
That's my idea about it.
|
Oh! The right thing to do here is:
чт, 1 мар. 2018 г. в 0:59, ale5000 <notifications@github.com>:
It is intended.
On Android < 4.4 you must install LegacyNetworkLocation in addition to
GmsCore.
The app: https://f-droid.org/packages/com.google.android.location/
Should be installed to /system/ . Got it working on JB yesterday.
|
@ale5000-git you wrote
and
Can you tell which file(s) should contain the location service name (where / how)? Context: I've got an unofficial Resurrection Remix build (Android 7.1, device Samsung Galaxy S3 Mini "golden"), which has everything in "Self-check" covered, apart from "UnifiedNlp is registered in system". This is both with UnifiedNlp (no GAPPS) from f-droid, microG from their f-droid repo, and that microG GmsCore.apk copied to |
hello,
microG says that the android version and the location provider is not supportet. I used latest nanomod v12 with magsik 13.3 and I also tred installing microG (v0.2.4-103-gd9e86d9) directly into system/priv-app folder, but no changes. What can I do to resolve this or is it a bug in microG/unifiedNlp? My ROM is OxygenOS Beta 12 for the Oneplus 3T with Android 7.1.1.
The text was updated successfully, but these errors were encountered: