Locus default directory change

datruccone shared this problem 5 years ago
Solved

Hi, how can I change the location of the Locus folder?. My files (conf files, POIs, vectors, maps, etc) are on the internal memory (and there is where I want them), but when I start Locus, it creates new dirs on the external SD Card over and over again, except (of course) when I set Read Permits on the external SD.


10x!, David

Comments (11)

photo
0

Hello David,


sorry for troubles. This should not happen of course. One more person also reported similar problem after device restart so I`ll try to improve it.


Till them, may you please tell me absolute path to your internal memory, to your external memory and Android version you use? Thank you!

photo
0

Sure man!, there you go:


Internal Memory: /storage/sdcard0/Locus


External Memory: /storage/sdcard1/Locus


Android Version: 4.1.2 (Resurrection Remix 3.1.2 ROM)


Device: SGS2


Cheers, David

photo
0

Let me refresh this topic, as I encounter the same problem as David and have the same absolute path. Is it possible to save Locus folder on external SD card?


Best regards,


Artur

photo
0

ah I though this problem is already solved. I`m checking code and for my surprise I set searching path to "/mnt/sdcard1/" and not "/storage/ ..."


sorry. In next version, Locus should finally search for correct instance of it`s directory. Let me know if it will not work. Handling of internal/external storages is quite weird on Android so if it will not work, I`ll create some test version.

photo
1

could you add a custom editable path


so the user can manually set the path to where the locus directory is?


(android user)


4.4 kitkat killed my permissions, had to root device, add new permission, move locus back to SD! and had to reboot locus a few times before it realised the locus pro directory was moved.. I was looking through the menu for ages to see if there was an option to change the path


Many thanks


lee

photo
2

Hello Lee,


Give Locus one more chance. I'm not a big fan of editable root directory. Fortunately in next Locus version will be completely new testing of Locus directory, filesystem etc. so if there will be any problem, any change compare to previous start, Locus notify about this and in case there will be more then one Locus directory, it allows to choose which one to use.

photo
2

nice one menion, always look forward to newer releases. we ported from trekbuddy to locus pro and am glad we did :-)


cheers

photo
1

Hello Menion,

I have recently changed my phone from Xperia P to Kruger & Matz Drive2. I would never buy so uncommon brand but it has huge battery so I can put it on my bike and navigate all day. My problem is that the phone sees /storage/sdcard1/Locus as read-only regardless the folder is writable. I even tried different SD card and the effect is the same. The phone runs Android 4.3

Locus shows the following:

Select root dir

/sdcard/Locus (9MB)

/storage/sdcard1/Locus (0bytes)

Read-only


Any thoughts?

photo
1

Hello Tomek,


next time, please create separate issue as this one is already "solved". Thank you.


Anyway here is not a lot, I can do. Locus test if directory is writable, by very simple method. Just try to write tiny file and if it works, then dir is writable, otherwise not.


Suggest to restart your device after you insert a card, this usually helps on common IO problems. Also you may try some other file browsers, like ES File Explorer or others, if they have also problems with write to card or not.

photo
1

Menion,

Thanks for Your reply. I made some research and any card I insert is writable from ES Explorer. I think this is Android 4.3 and later issuse. I already rooted my phone and need to add write permission for applications as Osmand has the same issue.

photo
1

Very interesting. It have to be some "special" feature from manufactuer of your device.


Because limitation on access to SD card is on Android since version 4.4 and not 4.3.


Anyway if you solved it, then perfect. Wish you good luck with this nice looking device and enjoy Locus.