MLS Manager

Rating: 
5
Your rating: None Average: 5 (24 votes)

This app is a manager for Mozilla Location Service offline packages for Sailfish OS.

!!! Warning !!!

When using this app deinstall all other mls offline packages from other users first! This software overrides this data otherwise.

Mozilla Location Service

This app uses the offline data from Mozilla Location Service. The data is licensed under Public Domain.

Intention of project

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.

Development Status

The main functionality is given (I hope) but code is a bit hacky at the moment. It needs to be improved in the future.

Automatic Updates

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.

Available Countries

At the moment 185 different countries are available.

Available Regions

  • Africa
  • Asia
  • Australia and Oceania
  • Europe
  • North America
  • South America

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.

How to use

Recommended settings:

Settings > System > Location > Custom settings: ON

Settings > System > Location > Select custom settings:

  • GPS positioning: ON
  • Offline position lock: ON
  • Online position lock: OFF

Storage Location

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.

Translations

  • English
  • German
  • Norwegian (by comradekingu)
  • Polish (by atlochowski)
  • Slovak (by okruhliak)
  • Russian (by sdiconov)

Your language is not available? You are welcome to support this project by translating it on my self hosted Weblate server:

https://weblate.nubecula.org/engage/harbour-mlsmanager/

 

Thanks

I want to thank Petr Tsymbarovich(osetr) for his work on Storeman. His code helped me to get an idea how to handle repositories.

Source code is available on Github:

https://github.com/black-sheep-dev/harbour-mlsmanager

Donation

If you like my work you can buy me a beer.

Donate

Donate using Liberapay

Application versions: 
AttachmentSizeDate
File harbour-mlsmanager-0.1.0-1.armv7hl.rpm208.35 KB06/02/2021 - 20:39
File harbour-mlsmanager-0.1.1-1.armv7hl.rpm208.86 KB06/02/2021 - 23:05
File harbour-mlsmanager-0.1.2-1.armv7hl.rpm391.21 KB07/02/2021 - 13:30
File harbour-mlsmanager-0.1.2-1.i486.rpm398.46 KB09/02/2021 - 20:19
File harbour-mlsmanager-0.1.3-1.armv7hl.rpm392.46 KB09/02/2021 - 22:18
File harbour-mlsmanager-0.1.3-1.i486.rpm399.93 KB09/02/2021 - 22:18
File harbour-mlsmanager-0.1.4-1.armv7hl.rpm393.36 KB11/02/2021 - 20:50
File harbour-mlsmanager-0.1.4-1.i486.rpm401.02 KB11/02/2021 - 20:50
File harbour-mlsmanager-0.1.5-1.armv7hl.rpm393.16 KB13/02/2021 - 12:45
File harbour-mlsmanager-0.1.5-1.i486.rpm400.89 KB13/02/2021 - 12:45
File harbour-mlsmanager-0.1.6-1.armv7hl.rpm393.42 KB19/02/2021 - 23:02
File harbour-mlsmanager-0.1.6-1.i486.rpm401.26 KB19/02/2021 - 23:02
File harbour-mlsmanager-0.1.7-1.armv7hl.rpm394.88 KB02/03/2021 - 11:30
File harbour-mlsmanager-0.1.9-1.i486.rpm404.11 KB02/03/2021 - 23:16
File harbour-mlsmanager-0.1.9-1.armv7hl.rpm396.25 KB02/03/2021 - 23:19
File harbour-mlsmanager-0.1.10-1.armv7hl.rpm398.91 KB03/03/2021 - 13:50
File harbour-mlsmanager-0.1.10-1.i486.rpm406.55 KB03/03/2021 - 13:50
File harbour-mlsmanager-0.1.11-1.armv7hl.rpm399.33 KB07/03/2021 - 11:42
File harbour-mlsmanager-0.1.11-1.i486.rpm407.3 KB07/03/2021 - 11:42
File harbour-mlsmanager-0.1.12-1.armv7hl.rpm399.48 KB19/04/2021 - 18:54
File harbour-mlsmanager-0.1.12-1.i486.rpm407.41 KB19/04/2021 - 18:54
File harbour-mlsmanager-0.1.12-1.aarch64.rpm403.3 KB19/04/2021 - 18:54
File harbour-mlsmanager-0.1.13-1.aarch64.rpm403.65 KB01/06/2021 - 19:47
File harbour-mlsmanager-0.1.13-1.armv7hl.rpm400.02 KB01/06/2021 - 19:47
File harbour-mlsmanager-0.1.13-1.i486.rpm407.82 KB01/06/2021 - 19:47
File harbour-mlsmanager-0.1.14-1.i486.rpm407.88 KB15/07/2021 - 20:34
File harbour-mlsmanager-0.1.14-1.armv7hl.rpm400 KB15/07/2021 - 20:34
File harbour-mlsmanager-0.1.14-1.aarch64.rpm404.08 KB15/07/2021 - 20:34
File harbour-mlsmanager-0.1.15-1.i486.rpm408.5 KB01/09/2021 - 18:38
File harbour-mlsmanager-0.1.15-1.armv7hl.rpm400.72 KB01/09/2021 - 18:38
File harbour-mlsmanager-0.1.15-1.aarch64.rpm404.28 KB01/09/2021 - 18:38
File harbour-mlsmanager-0.2.0-1.i486.rpm446.14 KB13/10/2021 - 21:05
File harbour-mlsmanager-0.2.0-1.aarch64.rpm441.62 KB13/10/2021 - 21:05
File harbour-mlsmanager-0.2.0-1.armv7hl.rpm438.04 KB13/10/2021 - 21:05
File harbour-mlsmanager-0.2.1-1.armv7hl.rpm438.12 KB21/11/2021 - 22:18
File harbour-mlsmanager-0.2.1-1.aarch64.rpm441.64 KB21/11/2021 - 22:18
File harbour-mlsmanager-0.2.1-1.i486.rpm446.41 KB21/11/2021 - 22:18
File harbour-mlsmanager-0.2.5-1.aarch64.rpm443.43 KB17/04/2022 - 09:56
File harbour-mlsmanager-0.2.5-1.armv7hl.rpm439.52 KB17/04/2022 - 09:56
File harbour-mlsmanager-0.2.5-1.i486.rpm447.95 KB17/04/2022 - 09:56
File harbour-mlsmanager-0.2.6-1.armv7hl.rpm447.71 KB03/10/2022 - 17:54
File harbour-mlsmanager-0.2.6-1.i486.rpm456.41 KB03/10/2022 - 17:54
File harbour-mlsmanager-0.2.6-1.aarch64.rpm451.93 KB03/10/2022 - 17:54
Changelog: 
* 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's picture

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's picture

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's picture

Ok. Fixed it. New offline packages are out.

ABreen's picture

That seems to work. At least at my current location

ABreen's picture

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's picture

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:

  1. devel-su
  2. rm /usr/share/geoclue-provider-mlsdb/[country_code] (replace [country_code] with e.g. nz)
  3. cp -r /home/.system/usr/share/geoclue-provider-mlsdb/[country_code] /usr/share/geoclue-provider-mlsdb/[country_code]

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's picture

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's picture

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's picture

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's picture

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's picture

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's picture

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's picture

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's picture

You don't need the geoclue-provider-mlsdb-tool for this.

claustn's picture

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's picture

I didn't test is on 3.3.016. Did a previous version of MLS Manager work?

planetos_store's picture

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's picture

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's picture

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's picture

Please add i486 version

black_sheep_dev's picture

Now available as i486...

ABreen's picture

Thanks for the reply. That was quick. I now get my approximate location in seconds. Thank you

ABreen's picture

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's picture

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's picture

Worx as expected! 10x!

lxmx's picture

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's picture

Try a "devel-su pkcon refresh" in console and/ or restart your device. I had this one time and it helped.

yomark's picture

Tnx for this!! Question: how should I configure the GPS settings in the Phone settings?

nephros's picture

Custom settings, enable GPS plus offline Mozilla Service.

black_sheep_dev's picture

You need to activate one of the options in the gps settings that mentions the online services (e.g. High Accuracy Mode)

Pages