This app is a manager for Mozilla Location Service offline packages for Sailfish OS.
When using this app deinstall all other mls offline packages from other users first! This software overrides this data otherwise.
This app uses the offline data from Mozilla Location Service. The data is licensed under Public Domain.
I had alread released some offline packages on OpenRepos.net but I realized keeping all of them up to date will be a very hard job. An other problem is the big package sizes, taking away a lot of ressources from OpenRepos.
So I decided to host my own repository with packages and create a manager app. And here we are...
All of this is only intended as a temporary solution until Jolla presents an alternative.
The main functionality is given (I hope) but code is a bit hacky at the moment. It needs to be improved in the future.
Updates with actual data will be released weekly (if possible).
I have created an automatic package creation pipline to make the job a bit easier for me.
At the moment 185 different countries are available.
Get no fix at your current location?
These packages do not necessarily guarantee that you will get a GPS lock in your current area. This largely depends on whether there is any cell information available for this area.
To remedy this, you can contribute to the Mozilla Location Service or OpenCellid with software such as the Android App Tower Collector by logging the cell tower information in your area.
Recommended settings:
Settings > System > Location > Custom settings: ON
Settings > System > Location > Select custom settings:
Packages with version >2021.02.10-1 the installation path is in "/home/.system/usr/share/geoclue-provider-mlsdb/". So no worry about size on ROOT partition. Thanks abranson for his suggestion.
Your language is not available? You are welcome to support this project by translating it on my self hosted Weblate server:
I want to thank Petr Tsymbarovich(osetr) for his work on Storeman. His code helped me to get an idea how to handle repositories.
https://github.com/black-sheep-dev/harbour-mlsmanager
Donation
If you like my work you can buy me a beer.
* Mon Oct 03 2022 Black Sheep <blacksheep@nubecula.org> 0.2.6-1 - Fixed search filter - Updated translations - Cleanup * Sun Apr 17 2022 Black Sheep <blacksheep@nubecula.org> 0.2.5-1 - Bugfixes * Sat Jan 08 2022 Black Sheep <blacksheep@nubecula.org> 0.2.2-1 - Preparations for Sailjail - Add Russian translation by sdiconov * Sun Nov 21 2021 Black Sheep <blacksheep@nubecula.org> 0.2.1-1 - Updated translations * Wed Oct 13 2021 Black Sheep <blacksheep@nubecula.org> 0.2.0-1 - Add regions (Africa / Asia / Australia & Oceania / Europe / North America / South America) - Improvements & Bufixes * Wed Sep 01 2021 Black Sheep <blacksheep@nubecula.org> 0.1.15-1 - Translation update (Polish / Slovak) - Remove repository on deinstall (4.2.0 seems to have a problem with it at the moment) * Thu Jul 15 2021 Black Sheep <blacksheep@nubecula.org> 0.1.14-1 - Improved scrolling behaviour (thanks to Petr Tsymbarovich for his contribution) * Tue Jun 01 2021 Black Sheep <blacksheep@nubecula.org> 0.1.13-1 - Translation fixes Slovak (thanks to Ladislav Hodas) - Add button to star repo with SailHub in about page * Mon Apr 19 2021 Black Sheep <blacksheep@nubecula.org> 0.1.12-1 - Translation fixes - Build for aarch64 * Sun Mar 07 2021 Black Sheep <blacksheep@nubecula.org> 0.1.11-1 - Polish translation updated (thanks to atlochowski) - Show package version info in list * Wed Mar 03 2021 Black Sheep <blacksheep@nubecula.org> 0.1.10-1 - Add translation information with self hosted weblate server * Tue Mar 02 2021 Black Sheep <blacksheep@nubecula.org> 0.1.9-1 - Polish translation added (atlochowski) * Tue Mar 02 2021 Black Sheep <blacksheep@nubecula.org> 0.1.7-1 - Norwegian translation added (comradekingu) - Slovak translation added (okruhliak) * Fri Feb 19 2021 Black Sheep <blacksheep@nubecula.org> 0.1.6-1 - Add page busy indicator * Sat Feb 13 2021 Black Sheep <blacksheep@nubecula.org> 0.1.5-1 - Error notifications - Bugfixes * Thu Feb 11 2021 Black Sheep <blacksheep@nubecula.org> 0.1.4-1 - Fixed bug when install all available package updates - Fixed translations - Optimizations * Tue Feb 09 2021 Black Sheep <blacksheep@nubecula.org> 0.1.3-1 - Show progress of install / remove / update operation of package * Sun Feb 07 2021 Black Sheep <blacksheep@nubecula.org> 0.1.2-1 - Update notifications - Update all packages at once in pulley menu - Remorse timer for actions - No need to make a new version of this app when new country is available - Code cleanup and improvments * Sat Feb 06 2021 Black Sheep <blacksheep@nubecula.org> 0.1.1-1 - Added Russia (thanks to osetr again) * Sat Feb 06 2021 Black Sheep <blacksheep@nubecula.org> 0.1.0-1 - Intitial release
Comments
greatneon
Mon, 2021/03/01 - 11:38
Permalink
Hi @blak_sheep_dev. Thank you for this. I've installed it but I'm not sure if everything is working correctly. I've enabled High Accuracy Mode, under Location but I don't get gps fix as fast as one would expect (within seconds) I get it within minutes. Mobile data is enabled.
ls /home/.system/usr/share/geoclue-provider-mlsdb/
gives me: hr si
Any ideas? Should I remove these 2 directories and start over? I hope this will return obtaining agps to previous state when it got fix in seconds.
black_sheep_dev
Mon, 2021/03/01 - 15:11
Permalink
Hi, I don't know how good / complete the cell info is in Croatia and Slovenia. This data only helps to get a first inaccurate position, which should help to get a faster fix for regular GPS.. You can check if it works when you open GPSInfo or PureMaps and you get a horizontal accuracy. This can be several 1000 meters, depending on the cell tower information. For me with XA2 I dont get a GPS fix in 100% at all, but this is an other issue.
black_sheep_dev
Wed, 2021/02/17 - 05:03
Permalink
Ok. Fixed it. New offline packages are out.
ABreen
Wed, 2021/02/17 - 00:31
Permalink
That seems to work. At least at my current location
ABreen
Tue, 2021/02/16 - 11:10
Permalink
Thanks for the reply.
When I first tried using your mlsdb data I was able to get a quick location close to where I was located but not anymore.
Is the problem that there is two geoclue provider folders?
Otherwise do you have any other things for me to try?
Thank you
black_sheep_dev
Tue, 2021/02/16 - 20:43
Permalink
Hi there,
after some investigations, it seems to me that the problem is moving the mlsdb data to "/home/.system/usr/share/geoclue-provider-mlsdb" and create a symlink instead.
This I did some days ago and it seemed to work, unfortunatley not :-S.
Can you please do the following in console:
Then restart your device and look if it works again. In the meantime I will prepare new packages installing the data in system partition again, until I have a solution for that.
ABreen
Tue, 2021/02/16 - 05:46
Permalink
One thing I've noticed is each time I launch MLS Manager is that there is always a message saying "No offline packages available, check your internet connection " After a few seconds the list of offline packages is displayed with a tick mark by my downloaded packages.
Is the app operating correctly?
black_sheep_dev
Tue, 2021/02/16 - 06:00
Permalink
This is normal. At start i refresh the repo which takes some seconds. This can fail when you have no internet connection. This message is displayed when the list is empty. Maybe I replace this with an busy indicator on app start.
ABreen
Tue, 2021/02/16 - 05:39
Permalink
Those folders and links are there and there's 8 mlsdb.data files.
I note in the share/geoclue-providers folder there is two provider folders. geoclue-hybris.provider and geoclue-mlsdb.provider. Is the hybris option supposed to be there?
ABreen
Tue, 2021/02/16 - 05:13
Permalink
My country is New Zealand. High accuracy is turned on. I'll try uninstalling and re installing and have a look in that folder. Thanks
ABreen
Tue, 2021/02/16 - 04:20
Permalink
Something has happened recently which is preventing me getting an approximate location. It worked right at the start but doesn't appear to be working anymore. Xperia XA2 Sailfish 4.
black_sheep_dev
Tue, 2021/02/16 - 04:45
Permalink
For me it is working (germany). Which is your country? Did you try to deinstall and install the specific package? You should check if in "/usr/share/geoglue-provider-mlsdb" there is a symlink with your country code to "/home/.system/usr/share/geoclue-provider-mlsdb/", also with country code. Is this folder empty? There should be some mlsdb.data files in it e.g "1/mlsdb.data".
Is GPS turned on with high accuracy mode?
rob_k
Sat, 2021/02/13 - 18:49
Permalink
Thanks, black_sheep_dev! Earlier I installed it all manually; removed it all including geoclue-provider-mlsdb-tool before installing this app. I guess this should just work now. Or do I still need to geoclue-provider-mlsdb-tool?
black_sheep_dev
Sat, 2021/02/13 - 19:13
Permalink
You don't need the geoclue-provider-mlsdb-tool for this.
claustn
Sat, 2021/02/13 - 12:54
Permalink
I get No offline packages available. Check your internet connection. on Sailfish 3.3.0.16 on XA2. Just updated to the latest version of MLS 0.1.4
black_sheep_dev
Sat, 2021/02/13 - 19:14
Permalink
I didn't test is on 3.3.016. Did a previous version of MLS Manager work?
planetos_store
Fri, 2021/02/12 - 00:37
Permalink
Thanks alot for your tremendously useful work. May I kindly request a few more countries? Brasil, Jordan, Iraq and Saudi Arabia could be useful as well.
nthn
Tue, 2021/02/09 - 22:41
Permalink
Hello, please consider applying for translation hosting at https://hosted.weblate.org/, this will make it easier for people to translate your application.
black_sheep_dev
Fri, 2021/02/12 - 00:30
Permalink
Thank you for your consideration!
I added translation over Transifex and weblate.org (I don't know if i configured it the right way). First time for me ;-)
explit
Tue, 2021/02/09 - 05:49
Permalink
Please add i486 version
black_sheep_dev
Tue, 2021/02/09 - 20:20
Permalink
Now available as i486...
ABreen
Sun, 2021/02/07 - 22:51
Permalink
Thanks for the reply. That was quick. I now get my approximate location in seconds. Thank you
ABreen
Sun, 2021/02/07 - 13:12
Permalink
Great work on the app. Is New Zealand not included in the list? I don't see it listed in the app.
black_sheep_dev
Sun, 2021/02/07 - 13:42
Permalink
It is not available at the moment. I needed to release 0.1.2 first. With this version I am able to provide more without releasing a app new version every time.
Next step is to add more country bounding rects to geoclue-mlsdb-tool and update the whole repository.
trial
Sun, 2021/02/07 - 04:37
Permalink
Worx as expected! 10x!
lxmx
Sun, 2021/02/07 - 03:54
Permalink
Great idea! Unfortunately the app only shows "no offline packages available" for me despite refreshing a few times. Is there a way to refresh through CLI to see what's wrong?
black_sheep_dev
Sun, 2021/02/07 - 13:38
Permalink
Try a "devel-su pkcon refresh" in console and/ or restart your device. I had this one time and it helped.
yomark
Sat, 2021/02/06 - 21:56
Permalink
Tnx for this!! Question: how should I configure the GPS settings in the Phone settings?
nephros
Sat, 2021/02/06 - 23:11
Permalink
Custom settings, enable GPS plus offline Mozilla Service.
black_sheep_dev
Sat, 2021/02/06 - 23:09
Permalink
You need to activate one of the options in the gps settings that mentions the online services (e.g. High Accuracy Mode)
Pages