This object is in archive! 

Directories messed up with 4.71 and Android 12

Viajero Perdido shared this problem 2 years ago
Solved

I waited for 4.7.1, then switched main folder to the "recommended" one because the current setting was marked "temporary". After moving files around, the app worked fine, but the directories appeared to be a mess, see screenshot. There were also red boxes complaining about invalid folders.

I tapped SRTM and changed it to the default. This caused it to either delete my SRTM files, or hide them somewhere inaccessible. Now the app still works fine, except all slope shading is gone. It won't let me change the selection back. I can download NEW SRTM files, and slope shading is restored in those areas.

I can't see the Locus folders in the file manager I use (FX), but do see them when connected to my PC running Linux. SRTM is truly gone (or unfindable), and I only see the few new SRTM files I freshly downloaded.

Question: If I attempt to reset the mapsVector folder, will it move those files to some inaccessible place while still using 21GB of my limited storage? Or will it just delete them? I can copy them temporarily to my PC, but don't want to risk permanently losing 21GB of space.

I don't want to uninstall/reinstall unless I can be sure of keeping my settings. BTW, a year ago I transferred from an older tablet via backup/restore; on that tablet I kept mapsVector/SRTM/backup on the external SD card, but on the current tablet it's all internal. During the transfer I had to correct directory names, of course. That may be the cause of today's problem, some leftover configuration cruft.

How do I safely fix this, please?

~~~

MAIN DIRECTORY /storage/emulated/0/Android/data/menion.android.locus/files/Locus

SUPPLEMENTAL DIRECTORY (red!) /sdcard/Locus (almost nothing there)

Replies (5)

photo
1

This private folder system since Android 11 is a real pain.

Nearly all issues would be overcome if Locus would support /Android/media/Locus (rather than yet another private folder there). I hope this will come once Asamm gets rid of MapsForge 3 maps, i.e. delivers them as MF 4+ - overdue since years.

Until then I'm using the AFA versions (LM4 and LMP) from Menion's GoogleDrive (see his footer). Then you can leave everything in place and Locus works just fine.

photo
1

PS: try x-plore file manager and grant all privileges for file system access.

It can read/write on private folders on INT.SD and at least SEE all private content on EXT.SD. For RW access you need to go the USB route indeed, as you already practise.

And Android will kill all private content at un-install!! Hence there is this Locus function to move things to a safe place before un-install.

photo
1

Hi,

Unfortunately, Google again revoked the "all files access" from Locus Map so it has access only to limited places in the device storage. The main app directory can be in:

- /Android/data/menion.android.locus/files/Locus in the internal storage

- /Android/data/menion.android.locus/files/Locus on the SD card

Maps can be in the above-mentioned /Locus/Maps or MapsVector or in the system media folders in Android/media, both in the internal memory or on the SD card.

The transfer of the custom subdirectories should start automatically after updating the app but for some unknown reason in your case it didn't happen. So we recommend to move the vector map files to your Sd card /Android/Media/menion.android.locus/MapsVector manually via connecting the phone to the PC. The maps load to the app after restart.

photo
1

Hi Michael.

Thanks for the tips; I downloaded x-plore, and needed it to fully repair things. The mtp driver on my Linux box seems flaky, so I couldn't fully delete stuff from the PC, and needed the app for that.

~~~

Hi Michal.

Thanks for the direction. I copied everything off, then sent it back to the tablet under "media" rather than "data", after first deleting the mapsVector under "data", lest it become wasted space somewhere. However, my big collection of themes disappeared until I copied them BACK to "data", while leaving the vector map files under "media". Is this a bug?

Now, everything is working well again, though I had to re-download the SRTM files.

BTW, I didn't have "custom directories"; everything pointed to the (old) default place under /Locus/, though the syntax may have been different for those three directories due to "config cruft" from the old import.


When I reset the SRTM directory - as described at the top of this page - did Locus simply delete the existing SRTM files (because not important), or did it move them somewhere inaccessible, taking up space permanently? Even x-plore can't find them.

In short, it works now for me, thanks. But you may have a bug that affects others... Cheers.

photo
1

Hi,

"my big collection of themes disappeared until I copied them BACK to "data","

- yeah, I forgot to mention that the themes must remain in the default map directory...

As for the faulty transfer of the maps from the internal storage, we have to analyze it. Thanks.

Replies have been locked on this page!