[Xperia X] [Xperia XA2] [] GPS: Lost position in flight mode

HARDWARE: Xperia XA2 - Dual SIM h4113, XperiaX f5121
UI LANGUAGE: en_GB, Swedish
REGRESSION: Yes, was fixed in or so


GPS position is immediately lost and never re-acquired when turning flight mode on.
Edit: Added XperiaX, corrected info on top indicator and Location toggle


  1. Have Location and Mobile network on
  2. Have a stable GPS fix


  1. Preconditions met
  2. Turn Flight mode on
  3. Location is lost, top indicator goes away, Location toggle remains on


Location to remain stable once a GPS fix is acquired, regardless of Flight mode state.


Location is lost.


OpenRepos, Chum


Watching via the GPSInfo app is quite telling.

This was previously reported here:

Feel free to re-open that issue and move the new info there (I can no longer edit the old topic).

1 Like

And reported here too:https://forum.sailfishos.org/t/flightmode-disables-gps/14754?u=phklrz

1 Like

@vige , @pherjung it looks like we have an old, closed report (that could be re-opened) plus two new reports (different hardware, different OS versions) about the same problem.

Can we somehow remove duplicates while preserving information?

1 Like

Whether we can and whether we should are different things. Probably our best option is just to close the duplicates with links to the one that is kept open. Well, links both ways would be even better.

1 Like

I’m not sure about the definition of Flight Mode; there probably isn’t an “offical” one. For me it means cut ALL connectivity. That would include GPS.

I could agree but in that case the location button in the top menu should change status (from on to off) which is not the case presently.

There’s no official definition from Jolla from what I can find. However, Flight mode does seem to be about mobile network, ConnMan and oFono, as evident from the following:

In addition, as noted in my bug report, this was already fixed once before by Jolla.

In addition, the fact that the Location toggle remains on and a GPS fix can be re-acquired just by toggling it seems consistent with my view that the reported behaviour is unintended.

1 Like

For me it means: Turn off all transmitters. This includes mobile network, WLAN, BlueTooth, but not GPS because GPS is only a receiver for the satellite signals and doesn’t transmit anything. Self-evident no A-GPS possible, but ‘pure’ GPS reception + positioning is no problem.


Sure. Question is just where the bug is then: wrong buttons/notifications, or wrong flightmode functionality.

1 Like

My impression is, this is not a bug but Jolla coded it this way. I can tell that it is so since 4 Years.

Yes, GPS emits nothing.
Should stay ON in Flight Mode.
One of the interrests of OSMScout or other offline mapping solutions is to be able to navigate in “spy mode” :slight_smile:
But if GPS is down…

The reason is perhaps that GPS and modem are in the same chip (at least in XA2 IIUC). Difficult to power off only one of those?

Tested on Android XA2: GPS works well in Airplane Mode (GpsTest app).


In my experience, GPS used to remain on in Flight mode, then it broke. This was around the time when the offline MLS packages were introduced. Coincidence or causation? I can’t say.

Then it was fixed in 4.4 or so.

Then it broke again. It’s unclear to me in which release this happened, as a full root partition kept me on until I went through a brutal spring cleaning and upgraded straight to

I believe this is pretty much the expectation on other platforms, and it used to be the case on SFOS too.

There can be many reasons to use GPS in Flight mode, like navigating or tracking for extended periods of time. Reducing battery drain from the modem, especially where cellular signal is weak, can be essential. (But this is all off-topic.)

Or one may want to know where (or how far) he is on a flight. GPS reception works well inside a plane.

I guess, not the chip, because it’s easy possible to turn on the GPS again while still in flight mode. But (only speculating) maybe some firmware or Sony blob function.

Is there a single command for flight mode from UI / SFOS to Sony blob OR does SFOS switch off all transmitting devices one by one on changing to flight mode?

In case 1 the reason may rely to the Sony blob.
In case 2 it should be possible to tweak SFOS to NOT switch off GPS when going into flight mode.

1 Like

As noted several times now, here and in the original report against, this behaviour has changed back and forth with SFOS upgrades (over the course of five years).

The blobs don’t enter into it, unless they are replaced when upgrading Sailfish OS. Does that happen?