This object is in archive! 

Offline maps only working once

Michael shared this problem 8 years ago
Not a Problem

Hi,


After several attempts to install offline maps in Locus Pro, latest version, I get it temporarily working....


My System:


Samsung Tab Pro 8.4

Cyanogen Mod 13.0 mondrianwifi nightly

Android: 6.0.1

64 GB SDCard extern


My Problem:


Offline Maps from OpenAdroMaps are not working. I copied them to the mapsvector folder but locus will not load them.

So I bought the following maps from the locus store:


Chile, Argentinia, Bolivia and Peru.

After the downloads are finished, all maps are available as offline maps and working fine.

After locking an unlocking the screen Locus is restarting and get stuck at 0% right at the beginning.


My workaround:


I renamed mapsVector to mapsVectorx. After restarting the tablet locus is starting fine without any problems.

Then I rename mapsVectorx to mapsVector again and after some seconds all offline maps are available and working again untill the next restart of Locus.


Does anybody has some clue what's causing this strange behaviour ?


thanks


Michael

Replies (8)

photo
1

Hello Michael,

If the maps on the external SD card?

If so, then I think it is up to the new SD Card Management in Android 6.0,

Is the SD Card registered as external or internal memory?

If then as External Memory Locus has no access to it, but it would have at the start of Locus a message coming which the directory must be re-selected.

I've got it only makes sense under CM13 when migrating the SD card as internal memory.

photo
1

No, all maps are on internal memory.


I know that you can use the sd card as external memory or as internal memory with all the drawbacks...

(Whatever you decide, there are always massive drawbacks in my opinion. But I want to stick to use the sd card as external memory, even a lot of apps seems to can't use it properly right now )


Changing the storage options in locus to use offline maps from sd card is also not working, by the way....


So I decided to use only internal memory for all maps and so on be "free of side effects" which comes from the sd card handling in Android 6

photo
1

Hello guys,


I have to say that such weird behavior really looks like some problem in CM rom and not in Locus. Sorry to say that, but I see nothing I (as a Locus developer) may help here.


Vector maps should cause no troubles no matter if they are on read-only SD card or in internal memory. No matter if they are from Locus Store or from OpenAndroMaps or other sources.


Only what you may try is right after it stops working, create for me a log with CatLog application. Maybe there will be any clue that may helps ...

photo
1

Hi Menion,


I took the log. How can I send it to you rather than attaching it in the forum ?

photo
1

Hello Michael,


you may pack log as zip and attach it here (best solution) or send it to our not-a-lot-used-email: locus@asamm.com , thanks

photo
1

Hi Menion,


Here's the log file

photo
1

Hello Michael,


thanks for a log. Unfortunately I do not see any useful information that make sense to me and say something about this problem. Only in the end (line 2651 for example) is line:


01-04 19:22:19.198 W/menion.android.locus.pro( 3717): type=1400 audit(0.0:1861153): avc: denied { getattr } for comm=4173796E635461736B202332 path="/sys/kernel/debug/clk/mdss_mdp_clk/list_rates" dev="debugfs" ino=1421 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0


Which looks like Locus tries to access system files in "/sys/kernel/..." directory and many others, but Locus never touch such places in device. So sorry, but I have no idea, what may cause this.


Another help here should be creating some special Locus version that will print out some more information about this problem. But to be true, few years ago, usually original roms caused a troubles and alternatives like CM and some others, had these problems fixed and worked well. Unfortunately during last year, most of serious problems are mainly in CM as I see. And because I see you use even a nighly version, I think it is waste of time to try to find some solution inside Locus. Sorry.

photo
1

The same is true for a rooted but otherwise stock Samsung Android 6.01

Other applications are able to store on the external SD card but under Android 6.0 the app has to request permission at runtime.

So, Locus map pro is not up to date.

Sorry, I've to say that,

Helmut

photo
1

Good day Helmut,

unfortunately this is not true. Fact that some apps may store data on card and some not, is based on "what they want's to store". If you wanna store plain files, it is not a problem and Locus already offer this for backups, SRTM files and vector maps. But you simply cannot store SQLite database on SD card, it is not possible. So no points/tracks databases, no downloaded online maps.

We wrote about it here: http://docs.locusmap.eu/doku.php?id=manual:faq:use_sdcard_on_kitkat#why_locus_developers_didn_t_fix_it

Blame Google for this, not team behind Locus. We get from available tools as much as possible.

photo
1

Hu Menion,


thanks for your help !


Maybe I have to switch back to CM 12 which worked great with Locus.

Locus is more important for me than Android 6.


cheers

michael

Replies have been locked on this page!