Patch: GPS supplier (for Jolla 1 ONLY)

Your rating: None Average: 5 (2 votes)


If you already installed it and applied, your file /system/etc/gps.conf is broken and gps will not work for you!
To fix it (as ROOT):
1. Uninstall this app:
pkcon remove sailfishos-gps-supplier
If you get error and can't uninstall, run this commands:
rpm -e --noscripts sailfishos-gps-supplier
cd /usr/share/jolla-settings/pages/gps_and_location
/bin/rm -rf plugins ActionList.qml restart_su* tools.js
pkcon install jolla-settings-system

2. Reinstall 2 packages to fix the gps.conf file:
pkcon install droid-config-l500d
pkcon install droid-system-l500d
Now it should be fixed.


This patch can change this Supplier and NTP server inside /system/etc/gps.conf file:
To Google supplier:
Or Nokia:

NTP server (Europe (default), Asia and North America):
#North America
* DON'T forget to press Apply button.
* Before unapplying patch, please restore to Default first!
* Thanks to Ancelad for help.

* If you can't install because of this package (lipstick-qt5-tools), open terminal as ROOT and run:
pkcon refresh
When it finish, run:
pkcon install lipstick-qt5-tools
After this try to install my package again.

- Compatible with v2.0.3.11.
- Reapply your changes after update.

- File /etc/gps.conf restored as a symlink, now it use real file /system/etc/gps.conf.
- Added option to change NTP server (regions Europe (default), Asia and North America).
- Reapply your changes after update.
- Compatible with v2.0.1.11 &

- Small changes in .spec file.
- Compatible with v2.0.1.11 &

Beware, use it on your own risk !!!

Donation are welcome :)

Application versions: 
File sailfishos-gps-supplier-0.1-1.armv7hl.rpm10.97 KB27/05/2016 - 07:46
File sailfishos-gps-supplier-0.1-2.armv7hl.rpm10.6 KB25/06/2016 - 04:09
File sailfishos-gps-supplier-0.1-3.armv7hl.rpm12.4 KB26/06/2016 - 15:33
File sailfishos-gps-supplier-0.1-4.armv7hl.rpm12.25 KB23/07/2016 - 17:49

- Compatible with v2.0.3.11. - Reapply your changes after update.


olf's picture

[Regression due to SFOS update]
v0.1-4 fails to apply in Patchmanager (v2.3.3-10.41.1 used) under SailfishOS

Side note: v0.1-4 was applicable and working under SailfishOS (used Patchmanager 2.3.1-10.39.1 with SFOS

Schturman's picture

Hmmm, still someone need this ? Maybe later I will update it...

explit's picture

Hi Schturman.

Have a problem to uninstall this Package


Got this:

Error: Subprocess failed. Error: RPM failed: sed: couldn't open temporary file /system/etc//sedy6nmnP: Read-only file system
sed: couldn't open temporary file /system/etc//sedJHEOjQ: Read-only file system
error: %preun(sailfishos-gps-supplier-0.1-3.armv7hl) scriptlet failed, exit status 4
error: sailfishos-gps-supplier-0.1-3.armv7hl: erase failed


Any idea?

Schturman's picture

try to reinstall this version
pkcon install sailfishos-gps-supplier
and after this uninstall as root:
pkcon remove sailfishos-gps-supplier.
if still not help, try:
rpm -e --noscripts sailfishos-gps-supplier
Should work.

explit's picture

Thanks, that worked !!!

pseudoscion's picture

What benefits can changine GPS supplier give you?

Schturman's picture

Maybe more fast will connect...

vbelloir's picture

Hi Schturman,

got an error during installation : "nothing provides sailfish-utilities needed by Sailfishos-gps-supplier-0.1-1.armv7hl"

lipstick-qt5-tools  is correctly installed.

Sailfish OS


Do you have an idea?



Schturman's picture

Install sailfish utilities from jolla store

vbelloir's picture

It works.


elfio's picture

Hello, this is great! Do you think it would be possible to add other providers like Mozilla or Apple?

Schturman's picture

Hi. I can add this if you will provide a correct SUPL_HOST= and SUPL_PORT=. But I really don't know if it will work or not ;)

elfio's picture

Well, sadly I don't know this information from these providers I was talking about. I figured out that Mozilla's has this structure:

And I didn't find anything about Apple's :-/

Schturman's picture

Sorry, I also don't know...