Locus Map - forum

Support => Troubles & Questions => Topic started by: kelddaug on January 15, 2014, 21:42:10

Title: Latest Locus vs. Samsung TW 4.4.2
Post by: kelddaug on January 15, 2014, 21:42:10
Hey Menion
After installation of Stock Tw 4.4.2 on my Note 3 I get database error (waypoints & tracks) i have copied the ones from backup,  but that doesn't help...  What to do.?
I can't restore dashboard and settings either..
I don't understand it , it worked fine with Tw 4.3
Keld

(http://s30.postimg.org/7487m0e31/2u5ehy9u.jpg) (http://postimg.org/image/7487m0e31/)
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: Christian on January 16, 2014, 09:23:33
The path to the database and folders is possibly wrong. Samsung changed in 4.1.2. the name of the sd card to "/extSDCard" wich is really stupid.
So you have to check the path. If its wrong, install Locus from scratch and copy manually all contents in the new folder structure.
Hth,
Christian
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: kelddaug on January 16, 2014, 10:29:40
Quote from: Christian on January 16, 2014, 09:23:33
The path to the database and folders is possibly wrong. Samsung changed in 4.1.2. the name of the sd card to "/extSDCard" wich is really stupid.
So you have to check the path. If its wrong, install Locus from scratch and copy manually all contents in the new folder structure.
Hth,
Christian

No i don't think that that is the problem,  it worked fine with 4.3. But not with 4.4.2

Sendt fra min SM-N9005 med Tapatalk

Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: Menion on January 16, 2014, 10:38:18
I also do not think this will be a problem. Locus should find correctly it's own directory even if path has changed. And even if no, then Locus should create new empty database on new location (so it should look like you "lost" your data)

In this case, there have to be a problem with work with database. I suggest to:
- restart your device (helped?)
- check if files (in Locus/data/database) are set to read/write (not locked to "read only")
- you should create a log (if you have rooted device, then simply by CatLog application from Google Play), otherwise is needed complicated method here http://support.locusmap.eu/hc/en-us/articles/200014832-How-to-create-debug-log

Hmm weird is that you cannot restore data from backup file - it looks like whole card is set to "read only". Is this even possible?
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: kelddaug on January 16, 2014, 13:40:12
It's is a read /write problem I think,  but I haven't changed anything, from 4.3.
I have done a factory reset,  but the problem is still there.
It is not rooted.
I have activated log in Locus.
Permissions is set to rwxrwx-
Sendt fra min SM-N9005
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: Menion on January 17, 2014, 10:01:17
I have absolutely no idea, sorry

In Locus/backup/auto should be automatic backups of Locus settings. Inside zip files are database files as well as some settings. Are you able to manually copy content of this zip file to correct places in existing Locus directory?
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: kelddaug on January 17, 2014, 18:14:31
Quote from: menion on January 17, 2014, 10:01:17
I have absolutely no idea, sorry

In Locus/backup/auto should be automatic backups of Locus settings. Inside zip files are database files as well as some settings. Are you able to manually copy content of this zip file to correct places in existing Locus directory?

Yes I have copied it, but still getting the  database error.. I'll wipe it all and copy it all from my Nexus 7 2013 to my sd card and see how that will do.
It won't restore the backups with settings and dashboard either.
I think it is a Samsung bug of some sort. . It works fine on Nexus 7 2013 Android 4.4.2 but not on Tw 4.4.2.. That is weird.
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: Menion on January 17, 2014, 18:55:33
do you have rooted device? If so, may you create a log with CatLog program (available for free on Google Play)? It should help
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: kelddaug on January 17, 2014, 20:11:03
No it is not rooted..I have deleted the Locus folder on the ex-sd card and installed Locus again and got this.. There are no files in the folder.

(http://s21.postimg.org/j50vm1e77/5ujuqute.jpg) (http://postimg.org/image/j50vm1e77/)
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: Menion on January 17, 2014, 20:46:56
you just have new! "Locus" folder on card and this folder is completely empty??
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: kelddaug on January 17, 2014, 21:22:51
Yes.. It was emty when i installed Locus, and it is emty now, that is wierd.. ext-sd..
There is no Locus folder on internal sd either.
I.ll try to play around with it and maybe wipe the phone completely again. I have never seen that before and i have had Locus from the start.
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: Menion on January 17, 2014, 22:14:59
oki so if you delete 'locus' folder, locus do not create new after start, right? What about other apps that store data on card? no problem?

Sent from my Nexus 7

Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: kelddaug on January 17, 2014, 22:28:31
No problems with other apps.. I found that if the Locus folder is on int. Sd then it works fine,  but if I move the folder to ext sd,  then I causes that error.
I can also move the app to sd, with out problems...but not the Locus Folder.
I'll will format my ext sd,  to see if that helps.
I have to copy it all first. Brb

edit
I have now formated the Sd card and that did'nt do it.. still same error .
I'll try a earlier Locus apk to se if that helps, with Locus folder on ext sd, I don't want my Locus folder on internal sd.
Edit: There is no apk to dl... so no test.
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: Christian on January 17, 2014, 23:51:11
How do you move the Locus folder to ext SD Card?
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: kelddaug on January 17, 2014, 23:59:38
Quote from: Christian on January 17, 2014, 23:51:11
How do you move the Locus folder to ext SD Card?

It doesn't matter how it will be moved or copied, Locus will not accept a Locus folder on ext sd. It comes with the error, no matter if it is empty or not.
I can move the locus app to sd, but not the folder.. it's a stock Samsung rom 4.4.2 every thing worked fine on Stock 4.3, so i figure that it a Samsung issue, maybe..... I can't check it on Nexus 7.. there is no ext. sd as you know.
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: Menion on January 18, 2014, 09:22:09
so to sumarize it ..

- card is OK
- all possible apps may write to your card without problems
- only Locus is not able even a create own directory!

Interesting is also, that locus check at start if is able to create and write to "locus" directory. if not, you should get warning that root cannot be created. Anyway I yesterday evening found a quite simple way how to create log on your device.

Please try
- delete Locus folder
- start Locus
- after error, close it
- go to system settings > developer options (if you do not see, do this http://www.youtube.com/watch?v=mp07dPusJNA )
- in "developer options" click first "Take bug report"  > Report
- keep device calm and after a while, you will get notification that report is ready to send, so send it to support.locus@asamm.com

In log will be probably any error, so I hope it will be useful and we will see where is a problem
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: kelddaug on January 18, 2014, 09:53:09
Quote from: menion on January 18, 2014, 09:22:09
so to sumarize it ..

- card is OK
- all possible apps may write to your card without problems
- only Locus is not able even a create own directory!

Interesting is also, that locus check at start if is able to create and write to "locus" directory. if not, you should get warning that root cannot be created. Anyway I yesterday evening found a quite simple way how to create log on your device.

Please try
- delete Locus folder
- start Locus
- after error, close it
- go to system settings > developer options (if you do not see, do this http://www.youtube.com/watch?v=mp07dPusJNA )
- in "developer options" click first "Take bug report"  > Report
- keep device calm and after a while, you will get notification that report is ready to send, so send it to support.locus@asamm.com

In log will be probably any error, so I hope it will be useful and we will see where is a problem

Hey Menion
1.Yes Card works fine.
2. All other Apps can access sd with out errors
3. Locus can only create dir/folder on internal sd not on ext. Sd.
It seams to me that Locus can't write a dir to ext.sd, but others can.

I'll do what you wrote , my Dev options is on..I just have to move or copy the Locus folder and open Locus.
I'll make a report later today

Sendt fra min SM-N9005 med Tapatalk

Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: wurlitzer on January 18, 2014, 09:55:50
Hi, I'm having kitkat on my note 3. There are restrictions for writing on external SD cards for apps. It's not a samsung bug, it's a restriction from the new Android 4.4.2 on external SD card. I can't create or copy files with solid Explorer, too.


Gesendet von meinem SM-N9005 mit Tapatalk

Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: kelddaug on January 18, 2014, 10:09:36
Quote from: wurlitzer on January 18, 2014, 09:55:50
Hi, I'm having kitkat on my note 3. There are restrictions for writing on external SD cards for apps. It's not a samsung bug, it's a restriction from the new Android 4.4.2 on external SD card. I can't create or copy files with solid Explorer, too.

Yes that could be it..But Samsung has to open up for ext.sd support when ext.sd is pressent on Samsung devices.
Edit: I have no problems create folders or copy/paste and delete to ext.sd with Stock file browser,  but Root Explore does not work.

edit
Menion report is send..14 mb
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: Menion on January 18, 2014, 15:33:40
interesting discussion, thanks wurlitzer!

thanks also for logs ... there is only one error from locus

open failed: EACCES (Permission denied)

I was searching and searching, and all leads to this permission (http://developer.android.com/reference/android/Manifest.permission.html#READ_EXTERNAL_STORAGE) . Which say, that since API 19 (A4.4+), this is required to read data from card. Just read, not write, but maybe it means just to have access.

They also wrote that "Any app that declares the WRITE_EXTERNAL_STORAGE permission is implicitly granted this permission.". Locus already has "WRITE_EXTERNAL_STORAGE" ... weird ...

Unfortunately I'm testing and developing Locus on Nexus 7, which do not have slot on SD card, so I can't test it. May you please try this Locus Free/Test (https://dl.dropboxusercontent.com/u/8015949/Locus%20%28dev%29/test_versions/2.18.0.8.apk) version I created for you? Thanks




Also on different forum I read


In addition to all answers above, make sure you're not using your phone as a usb storage. I was having the same problem on HTC Sensation on usb storage mode enabled, I can still debug/run the app but can't save to external storage.


maybe this should help?
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: kelddaug on January 18, 2014, 15:56:07
Hey
I have tested the apk and is getting same error (can't access storage in read / write mode)
It is wierd Root Explore can't delete from ext.sd, but Stock file manager can.
USB storage is not on.

Sendt fra min SM-N9005 med Tapatalk

Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: Menion on January 18, 2014, 16:28:53
ufff ... seem's you're not the only one with this problem ... http://community.spotify.com/t5/Help-Android/Spotify-doesn-t-start-after-reinstall-cannot-access-SD-card-to/td-p/624530

Unfortunately I do not know any solution now. Hope we find something soon ...
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: kelddaug on January 18, 2014, 16:41:47
Quote from: menion on January 18, 2014, 16:28:53
ufff ... seem's you're not the only one with this problem ... http://community.spotify.com/t5/Help-Android/Spotify-doesn-t-start-after-reinstall-cannot-access-SD-card-to/td-p/624530

Unfortunately I do not know any solution now. Hope we find something soon ...

I'll use internal until then. No problem.
Tnx for looking into it. .

edit
Hey Menion
I have spoken to a Samsung dude... it is at Samsung bug, and they are aware of it.
Keld
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: Menion on January 20, 2014, 13:26:30
ah so good news at least for me :) Thank you!!
Title: Re: Latest Locus vs. Samsung TW 4.4.2
Post by: kelddaug on January 20, 2014, 14:08:52
Quote from: menion on January 20, 2014, 13:26:30
ah so good news at least for me :) Thank you!!

Yep it is..

Sendt fra min Nexus 7