-
Notifications
You must be signed in to change notification settings - Fork 4
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
[Question] How does it work? #2
Comments
Hm, I did not get it to work after all. Only removing GmsCore.apk worked ... but I was hoping to being able to keep it and still use UnifiedNlp. Apparently I cannot install UnifiedNlp when GmsCore is installed in /system/priv-apps. |
It seems like you using the wrong apk. If you want to use UnifiedNlp with this module you have to download and simply install the UnifiedNlp.apk from the UnifiedNlp release page. It only works with this apk. It is not necessary to copy it to some speciall directory or set permissions. |
Ah, that explains a lot. How do I know that UnifiedNlp is working? I can configure backends, but in Android location settings, I only see "Google location reporting" as location service (and I have disabled location for Google apps). |
I will add some documentation soon. I will also try to update the module to reduce problems. @danielmmmm @CHEF-KOCH |
I added some documentation and updated the module. You can now open the module settings to check if everything is ok. @CHEF-KOCH your last comment seems to be lost but i think the new dialog is similar to your suggestion |
Sorry for not replying earlier. I like the new testing UI! |
Step 3 can fail with different messages. If you get no location you should install a backend, if your location is not an UnifiedNlp location you should make sure that the module is active. |
Thanks a lot for your support! I get the impression that I am a special case :-) Your module says "Your location was not found. Make sure that you added at least one backend". LogCat says: I have two backends installed, configured and activated (GSM Local Backend and WiFi Personal Backend). I will install some other backends and try again. Edit: I installed the Mozilla location Plugin and I think I got a location with "Here GPS Location" (even though I still get the same error with your module). Maybe there is something wrong with my GSM Local Backend database. I will re-build it and test again when I have a fast Internet connection available... |
If you get a network locaiton with Here GPS Location you should get a location in the module too. Both using the default android location api. Please check that you not blocked network location access for the module via XPrivacy. |
I disabled XPrivacy for UnifiedNlp, your module and the backends ... which didn't make a difference. With "Here GPS" I get a location every now and then. Very often, it won't update my location and then it just tells me that it got the last location some thousand seconds ago. |
I'm sitting in the same boat with @danielmmmm and @CHEF-KOCH – I've already checked to use the correct UnifiedNLP.apk (F-Droid seems to have "switched", as what I've got here is Device: LG P880 (aka "Optimus 4X HD"), latest stock LG ROM (Android 4.1.2), latest stable XPosed. UPDATE: Though package names are similar, I've uninstalled the F-Droid version and replaced it by the |
@Rawi01 I've followed your advice from above (as described with my previous comment). Checking with logcat, it seems UnifiedNlp itself is working, but its provided locations are not accepted by the system:
So it does'nt get a chance. My impression was that's exaclty what your Xposed module is supposed to care for ("Module to integrate UnifiedNlp into the system even if GAPPS are installed"). So where am I wrong here? All the module GUI lets me do is run the check, which fails (location is reported, but not a UnifiedNlp location – as the latter gets no chance due to the signature error listed above); I see no options I could set, or actions other than the check I could perform. Device specs in my last comment. Installation steps from the xposed repo page have been followed, plenty of reboots since. |
Sorry guys, I was busy with some genetic algorithm stuff... The logfiles you posted here looks like your device has some problems getting the GsmCellId. Have you tried another backend? I would recommend the AppleWifiNlpBackend for testing as it seems quite stable. If I remember correctly the signature problem is something else. UnifiedNlp tries to add itself to the location provider list which only works if it pass the signature check. The Xposed module should ensure that but it seems not to work on your device. This is not related to the location stuff it is only there to adjust the settings dialog. |
@Rawi01 yes, I've tried a second provider meanwhile (OpenBmap), same results. I prefer not to use the Apple backend (replacing one tracker by another). As I see it, the main problem is the signature stuff, which this Xposed module was supposed to take care of. Any idea what goes wrong with that, or how to figure it? Makes no sense to play with different providers before this issue is solved. Some day I plan to upgrade the device to a custom ROM without GApps, which should make the current issue obsolete for me. What currently keeps me from doing so is I need GCM. I've read µg meanwhile provides that; but as long as the documentation is missing (how to set it up), and advices here and there pretty much differ, I'd rather not... |
@Rawi01 I've just tried with a "virgin device": Stock ROM, also Android 4.1.2. Installed UnifiedNlp, the OpenBmap backend, and XposedUnifiedNlp (1.0.3), rebooted after enabling the module, enabled network locations in settings. Result: Exactly the same as on the LG device,
A closer look: Seems this message was before the update to 1.0.3 (strange, I always thought logs don't survive a reboot?), I could not find it afterwards – so it seems this part works on this device. Still, the check failed (logcat excerpts at pastebin.com). But that might well be due to the fact the device has no GSM facility (nor GPS, it's a tablet), and the OpenBmap database has no entries in my area (I could find no hint in the logcat that the OpenBmap module provided any location; checking with their database confirms my AP is unknown to them). I'm tempted to assume the "signature issue" is due to some LG modifications on my phone (as it didn't pop up on the tablet after enabling v1.0.3). I still welcome hints for how I can verify it works on the tablet. I've tried with the Apple backend (no success) and the Mozilla backend (no success either; though marked compatible with Android 2.3.3+, this one seems to require at least 4.2 according to logcat – which is a pity, as according to their map, the latter should cover my area's WiFi APs). |
Hello everybody, any news concerning this matter? Unfortunately I'm bound to use a Vanilla Rom on my Xperia E Dual device, and am very reluctant to use google location services. After some failed attempts to make the whole thing work with Xposed Framework, Rawi01's module and the F-Droid version of "µg UnifiedNlp for devices with GAPPS" I found this thread. I learned that I only have to download and install the UnifiedNlp.apk linked above (prompts for something being overwritten - supposed it would be the GMS.apk), some of the backends ( install via FDroid? I tried Mozilla location service and Openbmap offline database + Nominatim address lookup), choose them in the Nlp settings, activate the Xposed module and I would be set to go. If I check the state of nlp with the respective tool provided by the module, I get similar results like @IzzySoft : "Your location were found but...not like an UnifiedNlp location. ..." Did anybody actually ever reported a UnifiedNlp environment working on a device with GAPPS installed? A silver bullet at hand somebody? Or a good step-by-step guide? Thx for any advice you might have! Cheers, |
Edit: I figured out what was wrong on my phone. I am in the progress of configureing the backends and I assume that means that your module works :-)
Hello and thanks for this interesting module!
For some reason, I cannot get UnifiedNlp to work on my phone. I copied NetworkLocation.apk to /system/priv-app, changed the access rights to rw-r--r-- and rebooted. UnifiedNlp and Local-GSM-Backend are installed. Your module is activated and I rebooted afterwards.
The only app that I can start is UnifiedNlp itself, but that just opens "Google Settings". Local-GSM-Backend doesn't appear as an app (in my launcher) that can be opened and configured.
The text was updated successfully, but these errors were encountered: