GPS doesn´t work on FP Open OS

So now omands working after waiting 5-10 min.
But if i use father.io or Pokémon go both cant find my Position and phone crashes.
So i habe to reboot with Holding powerbutton for 10 sec. :frowning:

i have the same problem :frowning: i hope they fix it soon, because i wanna be the very best too

I already read this popular thread but couldn’t find a fix.

Problems:

  • If I enable GPS the PlayStore crashes two times (well, I can deal with that).
    The location via Wifi and Network works; it is only the GPS which doesn’t work properly.
  • If I enable the GPS it needs approximately 10 minutes to find my location.
  • If I lock my screen or switch to a not-using-GPS-app the search for my location (via GPS) is abandoned until I open the app which needs GPS.

Things I have done/tried so far:

  • Changed the NTP-Server via FasterGPS to Germany (I am living in Germany; server is: de.pool.ntp.org).
  • Changed INTERMEDIATE_POS to 1
  • Tried different apps for getting the location (Google Maps, Osmand, Pokemon Go, Ingress …)
  • Installed GPS Status and SatStat, which show that my phone quickly detects a lot of satellites (see picture). (Often I have 15 to 18 of 20 to 25)

According to the app the blue satellites show the ones which can be used to get your location, the red ones show the ones who can’t be used.

I would be glad if someone has another idea what to test or to change :slight_smile:

You still describe the same issues as discussed here, so I moved your post back here.
I’m sorry the workarounds and solutions described here don’t work for you.

Nice summery , that describes my Situation

@Roboe do you think there could be a problem with the Fused Location Provider in FP OS in general?
In other words: could a bug in the FLP in standard FP OS not result in disfunctional GPS but in the phone getting really hot and rebooting when using GPS for a long time or while playing GO games?

Maybe. That’s a really low level question (as it’s too close to the GPS implementation) and I don’t know Android’s guts that well (yet. I hope I learn more to help while porting CM).

But the descriptions of the overheating/reboot issue with the GPS seem not to be related only to FP OS GMS, but with FP Open OS too, right? It may be SoC-related, or GPS misconfiguration (at build time), or memory leaks… I’m afraid I don’t have the knowledge to “virtually debug” that matter right now, :confused:

2 Likes

The 10 minute waiting time until you get a fix is probably a clue that your AGPS data is not properly updating. AGPS (Assisted GPS) data contain the ephemeris data that tell the GPS system where the satellites are. When AGPS is not available the system tries to get the ephemeris data from the satellites themselves - they are constantly transmitting it, but it takes time (usually about 10-20 min.) until all data are downloaded because the bandwidth is small.
I do not know SatStat very well, but GPS Status shows you the age of the AGPS data.

1 Like

Just to check if there is any workaround for this problem ? I have a plain-install of FP Open OS (no GAPPS, XPosed etc. installed) and GPS does not work at all. SatStat is showing no satellites. The only thing that happens is that the location notification icon pops up (but no satellite / GPS icon) when an app like OsmAnd starts.

Today, while checking a logcat, I realized the following lines repeating
E/LocSvc_launcher( 9474): E/main:351]: Error opening /etc/izat.conf No such file or directory

As LocSvc_launcher already sounds suspicious, I checked google and yes, this looks like it has something to do with the location provider.
I checked the FPOS from code.fairphone.com (“returning to the gms version”), there is a izat.conf included. So I tried this one on my phone. As gps did already work, I’m not sure whether it helps much or at all, but it might be that GPS works a bit better and more stable while switching apps.

1 Like

You are exactly the man to try what lklaus wrote!

Bug or not, for a lot of us this makes the difference between a usable Fairphone Open OS and a useless one.

When I realized this “bug” exists, I had to restore my previously installed but rooted Fairphone OS. :cry:

What I want is an OS with root access, TWRP, XPosed and Gravity Box, some Google Services and working Apps.

It would be great if Fairphone would handle this as a bug as it is an annoyance for a lot of people.

2 Likes

Hey ! I’m new here (got my phone fews days back). GPS was working perfectly with stock ROM. But since i’ve installed the OpenOS 16.07 (no gapps or anything else), it simply does not work. Yesterday, I could see 6 or 7 sat in satstat, but no location. After “fixing” the gps.conf with the INTERMEDIATE_POS to 1, I simply do not get any sat. I let the phone for nearly 1 hour on a table outside and it never saw a single sat. I’ll check what FasterGPS gives, but it looks like the issue is still here… That’s a bit sad, knowing that I’ve switched phone (from old samsung i9000) to get decent GPS and be able to contribute to OSM.

I cannot confirm this problem: Just went outside with 16.07 and got a whole bunch of satellites and a fix both on SatStat and OsmAnd.
Did you try turning location on and off ?

Yes I tried that. I tried to reboot the phone, changed application, …

Hi, it’s been three weeks since I received my FP2, which I immediately flashed to Open OS. I’ve had several small glitches (reflash the userdata alone to create a gap for encryption headers, TWRP do not ask to open the encrypted partition, graphic glitches at boot…), and a major one: the GPS.

In my use case I have very few apps from the play store, mainly Waze and Pokemon GO which require location. Xposed and Xprivacy are installed.

Things I tried:

  • with openGAPPS pico, waze and some other map related software crashes (soft reboot of userspace), pokemon go have random crashes (black screen, no led).
  • with microg (gmscore, unifiednlp backends, etc but no play store signature spoofing), waze and other map software works, pokemon go doesn’t cannot acquire location.
  • with microg (same but WITH signature spoofing via xposed module) waze and other map software crashes (soft reboot of userspace), pokemon go works (not tested for long though).
  • with nothing, waze and cie works, but pokemon go doesn’t.

Two recurring errors seems relevant:
“Asset path ‘/system/framework/com.google.android.maps.jar’ does not exist or contains no resources”
“java.lang.IllegalArgumentException: provider doesn’t exist: fused”

It’s definitely something wrong with the FP Open OS fused since everything works on the FP OS

How did you fix gps.conf - editing or copying? Please check the privileges after fixing gps.conf. They should be “-rw-r–r--” and user/group=root/root.

I changed gps.conf using vi from command line, so permission should not have changed. My guess is that I screwed the file; vi on the phone is not very user friendly :slight_smile:

I tried using FasterGPS last night, and it did help… a bit. Now I can have a location in SatStat or Osmand~, even if nearly no sat are available (4). But currently, the error is ~9km, so it’s basically useless and I can’t seem to be able to get something better.

I switched back to Fairphone OS 1.5.1, but at the moment, GPS is still slow to get a fix. Maybe that’s because I’ve only tested from the balcony… But my older phone was able to get a fix from there… Maybe this is something else.

After several tries, I could not get a single fix using a fresh reinstall of Fairphone OS 1.5.1. I did get something once, but strangely, only SatStat could use it: OSMand or Pokemon Go could not get a location.
I’ve waited nearly 1hour in a park outside and SatStat did report ‘3/18’ at most. I tried to switch location on/off, reboot the phone, … No luck. So I’m not sure that my initial problem comes from OpenOS.
I will try to reflash using fastboot.