Comments (4)
Using gsm cells to geolocate is not possible on Android version 4.1 and below because of missing API support on most devices.
Please try disabling cell location in the Mozilla backend settings.
from ichnaeanlpbackend.
Thanks! That exception is gone with this (you might consider "graying out" that option, or at least deactivate it and issue a warning when the user activates it on a device running 4.1 and below). Still doesn't work (see logcat excerpt at pastebin).
To make sure it's not simply due to DonkeyGuard still interfering (see lines 15, 28 and 41), I deactivated that module in Xposed, rebooted, and tried again (logcat here): stack traces are gone, still no success.
Looks like I'm haunted: cannot get this working on any device I try. Only my "good old Milestone²" simply works fine with the old NOGAPPS solution. Afraid to break that when updating, so I better don't (yet).
from ichnaeanlpbackend.
The second stack trace contains the right location (line 28) and this should mean that everything is working. Can you verify using a tool like Here GPS Location (select network and enable refresh, then wait a few seconds and read) that it still fails to locate you?
from ichnaeanlpbackend.
@mar-v-in I've seen that line, yes. But I suspected it being from Google's network location, as the Xposed module tells me it's not a UnifiedNlp source.
Of course I can try whether my location is shown in some app (will do so when I'm back home, I'm confident the location shows up (Edit: it does)) – but that doesn't tell me about the source of the location data. I don't want Google's location service to do anything on the device, but solely UnifiedNlp. So how can I tell the two apart in the logs? Wasn't there a string applied with UnifiedNlp locations? And if that line 28 comes from UnifiedNlp, why do lines 29/31 state "UnifiedNlp locations state changed to FAIL" / "UnifiedNlp location: FAIL"?
PS: I've checked for debugging settings, and found some in the OpenBmap module. Activated that, ran the Xposed check again. Now comes the strange thing: OpenBmap finds a location – but it's not the one that's reported later:
I/org.openbmap.unifiedNlp.Geocoder.OnlineProvider(11635): JSON response: {"source":"wifis","accuracy":30,"location":{"lng":11.570856997514667,"lat":48.166475879909996},"measurements":104}
D/Location found(11671): Location[mProvider=network,mTime=1437413601039,mLatitude=48.1664691,mLongitude=11.5706033,mHasAltitude=false,mAltitude=0.0,mHasSpeed=false,mSpeed=0.0,mHasBearing=false,mBearing=0.0,mHasAccuracy=true,mAccuracy=20.0,mExtras=Bundle[mParcelledData.dataSize=212]]
- lat: 48.166475879909996 / 48.1664691
- lon: 11.570856997514667 / 11.5706033
No indication that Ichnaea did anything except for these log entries – which rather suggest it's not active at all: "D/IchnaeaBackendService(11625): No instance found active." (Btw: between lines 7 and 8 are only debug infos from OpenBmap, which seems to confirm my suspicion that it's not used at all).
PPS: Just figured why the OpenBmap location did not make it: that backend crashed right after finding the location, throwing an java.lang.NoSuchMethodError: android.location.Location.getElapsedRealtimeNanos
(link below this comment).
from ichnaeanlpbackend.
Related Issues (20)
- Ichnaea not fetching cells HOT 3
- F-Droid build failed HOT 1
- Android Pie Wi-Fi scanning limitations HOT 2
- Updated zh-rCN (Chinese (China)) translation
- Permissions not being granted
- Daily limit hit
- System crashing after fetch attempts happen
- No location provided (how to debug) HOT 24
- "No instance found active" in first several runs
- Doesn't request background location permission in Android 10 HOT 1
- Android 10 / LOS 17.1: Requests location every 60 seconds HOT 6
- Android 11 requires permanent location permission HOT 2
- [IchnaeaNlpBackend] (unimportant) crash while interacting with interface
- Stop pointing to Mozilla Stumbler
- BackendService has leaked IntentReceiver and Receiver not registered: org.microg.nlp.api.WiFiBackendHelper
- Wifi throttling needs to be disabled
- [com.mercadopago.wallet] Google's ML Kit for codebar scanning causes crash
- missing PEERS_MAC_ADDRESS permission HOT 2
- GPS is stuck at my old place
- V1.5.0 doesn't connect with 3G/4G HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ichnaeanlpbackend.