help with getting topodroid to work on Cat S60 phone (marshmallow 6.0.1)

82 views
Skip to first unread message

tte...@gmail.com

unread,
Jan 20, 2018, 8:31:32 AM1/20/18
to TopoDroid

Hi Marco, great app.  I have been using topodroid on a motorola XT1068 and Samsung galaxy phone but after drowning a phone I decided to buy a water proof Cat S60.  I am able to install and open topodroid on the Cat S60 but unfortunately I can not create a new survey without topodroid crashing (Message: Unfortunately, Topodroid has stopped)  I have tried enabling logs but this causes topodroid to crash on opening.  I noticed the topodroid folder does not appear in the internal storage folder of the phone so it seems maybe the app crashes when topodroid tries to create the topodroid folder.  I have manually pasted the folder in from another phone and can now open my old surveys using cave 3d but topodroid crashes immediately on opening with the folder there.  I have tried uninstalling and reinstalling from google play multiple times.

Would you have any suggestion on how to get it working?
Thanks Brett

Marco Corvi

unread,
Jan 20, 2018, 11:30:57 AM1/20/18
to topo...@googlegroups.com


On Jan 20, 2018 2:31 PM, <tte...@gmail.com> wrote:

Hi Marco, great app.  I have been using topodroid on a motorola XT1068 and Samsung galaxy phone but after drowning a phone I decided to buy a water proof Cat S60.  I am able to install and open topodroid on the Cat S60 but unfortunately I can not create a new survey without topodroid crashing (Message: Unfortunately, Topodroid has stopped)

this means that topodroid has created its folder and populated with drawing symbols9

I have tried enabling logs but this causes topodroid to crash on opening.

is a log file in topodroid folder ?
did you specify log on file or system log ?

I noticed the topodroid folder does not appear in the internal storage folder of the phone so it seems maybe the app crashes when topodroid tries to create the topodroid folder

topodroid folder is in the primary external storage by default

I have manually pasted the folder in from another phone and can now open my old surveys using cave 3d but topodroid crashes immediately on opening with the folder there.  I have tried uninstalling and reinstalling from google play multiple times.

did you tried cleaning the topodroid folder as well ?
it is not removed when you uninstall the app

Would you have any suggestion on how to get it working?

first we need to get a way to log messages.
do you have a way to see system logs ?

marco

Thanks Brett

--
You received this message because you are subscribed to the Google Groups "TopoDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topodroid+unsubscribe@googlegroups.com.
To post to this group, send email to topo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topodroid/d3036f37-a81a-4cf1-a4f2-1bf74f41a880%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alireza Balaghi

unread,
Jan 20, 2018, 11:34:58 AM1/20/18
to topo...@googlegroups.com
hi there,
i have a s60 and i have no problem at all.

tte...@gmail.com

unread,
Jan 20, 2018, 8:47:47 PM1/20/18
to TopoDroid

Thanks for the replies.  

I have been using an app called "MyPhoneExplorer" to transfer the files created by topodroid from the topodroid folder to my windows PC.  I originally tried to transfer my surveys to the new S60 phone by replacing the whole  topodroid folder with the one from my old samsung phone, maybe this corrupted something.  I have reproduced the problem on the previously working samsung phone by uninstalling topodroid, deleting the topodroid folder using MyPhoneExplorer and then reinstalling topodroid from google play.  The topodroid folder did not reappear after reinstalling and it crashed as soon as I tried to create a new survey.  I then manually pasted in a backup copy of the topodroid folder and now it crashes on startup.  

I have also tried doing a factory reset on the S60 and wiped all user data and just installed topodroid without anything else.  As soon as topodroid installed, I pressed the blue plus symbol to create a new survey, named it some random letters and pressed save and it crashed the same as before.  I then connected the phone to my PC via USB and looked for the topodroid folder but it is not in the phone's internal storage folder so I can not supply a log file.  Is there a way to get a log file without getting it from the topodroid folder?

Ive run out of phones to experiment with and now both are unusable with topodroid.  Any suggestions on how to get a working install on a phone that has had the topodroid folder deleted from it previously?

Brett

Marco Corvi

unread,
Jan 21, 2018, 2:08:58 AM1/21/18
to topo...@googlegroups.com


On Jan 21, 2018 2:47 AM, <tte...@gmail.com> wrote:

Thanks for the replies.  

I have been using an app called "MyPhoneExplorer" to transfer the files created by topodroid from the topodroid folder to my windows PC.  I originally tried to transfer my surveys to the new S60 phone by replacing the whole  topodroid folder with the one from my old samsung phone, maybe this corrupted something. 

topodroid folder contains only the survey data, the survey database (distox14.sqlite), and the devices database (device10.sqlite)
there are also the two journals for the databases: these are created by the android system

I have reproduced the problem on the previously working samsung phone by uninstalling topodroid, deleting the topodroid folder using MyPhoneExplorer and then reinstalling topodroid from google play.  The topodroid folder did not reappear after reinstalling and it crashed as soon as I tried to create a new survey.

topodroid creates its folder when it is started the first time, not when it is installed

what about other actions ?
- importing surveys
- managing distoxes
- managing the drawing tool palette

I then manually pasted in a backup copy of the topodroid folder and now it crashes on startup.

looks like a privilege problem.
topodroid loads drawing tools and reads the databases from its folder at startup.
if it cannot do it due to some protection it crashes.

I have also tried doing a factory reset on the S60 and wiped all user data and just installed topodroid without anything else.  As soon as topodroid installed, I pressed the blue plus symbol to create a new survey, named it some random letters and pressed save and it crashed the same as before.

this is a topodroid problem, because it should be able to write to its database

I then connected the phone to my PC via USB and looked for the topodroid folder but it is not in the phone's internal storage folder so I can not supply a log file.

topodroid folder should be in the primary external memory (/sdcard).
the log file is created if the log is set to go to file, by default it goes to syslog.

Is there a way to get a log file without getting it from the topodroid folder?

get the system log.
it is very big and grows continuously:
filter on the string "DistoX" (no doublequotes)

Ive run out of phones to experiment with and now both are unusable with topodroid.  Any suggestions on how to get a working install on a phone that has had the topodroid folder deleted from it previously?

start with the syslog messages

marco

--
You received this message because you are subscribed to the Google Groups "TopoDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topodroid+unsubscribe@googlegroups.com.
To post to this group, send email to topo...@googlegroups.com.

tte...@gmail.com

unread,
Jan 21, 2018, 6:58:24 AM1/21/18
to TopoDroid

Hi Marco, 
answers to your questions;
- importing surveys: on both phones, topodroid will not create the folder itself and if I paste the folder in, it crashes on startup so there is no way to put in a survey for import.  Without the folder, when the survey import button is pressed, the survey import box appears with the cancel button and a message below "No file to import".  The only option is to press cancel.
- managing distoxes:  pressing the distox button on the samsung causes it to crash.  On the S60, it can scan for the distox but returns "found no device".  I can pair to the distox using the bluetooth settings but when I return to topodroid the distox is still not shown and pressing pair causes it to crash and thereafter just pressing the distox button causes it to crash.
- managing the drawing tool palette: Both phones can open the drawing tool and select point/line/area but all the different types are not there.  (just user, label, wall and water)  

looks like a privilege problem:  I havent changed any settings on the samsung and had completed 4 surveys on it with no issues until today when I manually deleted the topodroid folder and tried to reinstall topodroid.  Ive tried searching the phone for "distoX" and "Topodroid" and "Syslog" with no result.  Ive tried installing a couple of apps that are supposed to show the system logs but these gave a message saying the phone needs to be rooted to display the syslog.  Would you be able to recreate the problem by manually deleting the topodroid folder on a phone and reinstalling?  Otherwise can you give instructions on how to get the system log?  I obviously dont know much about android.

Brett
 

tte...@gmail.com

unread,
Jan 21, 2018, 7:32:34 AM1/21/18
to TopoDroid


Hi Marco, the issue is now fixed on both phones.  All that was needed was to go into app settings and grant permissions, both phones showed no permissions.  I certainly didnt change these settings so uninstalling the app or deleting the folder must turn off permissions on later installations for some reason. There was no prompt asking me if permissions should be granted in re-install.  Apologies for the trouble and thanks for your help.

Brett 
 

Marco Corvi

unread,
Jan 21, 2018, 7:36:13 AM1/21/18
to topo...@googlegroups.com
it looks definitely as a problem with privileges/protections:

those six symbols are built in the app,
all the rest are loaded from file.
if you do not see them it's because topodroid cannot read the files: either because it cannot unzip the symbols archive, or the files are already there but it does not have read access.

syslog:
i get it with adb which is included in the android development kit.
i use linux, the command line is
  adb logcat | grep DistoX
(grep is there to filter unnecessary messages).
there are other programs, with a graphical interface, to get the syslog in the kit.
the device developer options must be activated (usually tapping a number of times on the built code or some setting nearby, don't remember exactly which), and usb debug enabled.

i cannot reproduce the behavior of your phones: i did uninstall topodroid, renamed its folder to something different, and it starts fine, creating anew the topodroid folder (empty, of course),
and i can start working in it.

i use adb to transfer files between pc and androids

marco

--
You received this message because you are subscribed to the Google Groups "TopoDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topodroid+unsubscribe@googlegroups.com.
To post to this group, send email to topo...@googlegroups.com.

Marco Corvi

unread,
Jan 21, 2018, 7:38:33 AM1/21/18
to topo...@googlegroups.com
good,

well now we know that it is important to grant proper permissions to an app.

marco

On Jan 21, 2018 1:32 PM, <tte...@gmail.com> wrote:


Hi Marco, the issue is now fixed on both phones.  All that was needed was to go into app settings and grant permissions, both phones showed no permissions.  I certainly didnt change these settings so uninstalling the app or deleting the folder must turn off permissions on later installations for some reason. There was no prompt asking me if permissions should be granted in re-install.  Apologies for the trouble and thanks for your help.

Brett 
 

--
You received this message because you are subscribed to the Google Groups "TopoDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topodroid+unsubscribe@googlegroups.com.
To post to this group, send email to topo...@googlegroups.com.

tte...@gmail.com

unread,
Jan 21, 2018, 9:01:49 AM1/21/18
to TopoDroid

Just a follow up comment, now that I know how to fix it I thought I would try and make the issue happen again, confirming just un-installing and re-installing topodroid changes the app settings to no permissions.  Both phones are android 6.0.1 so maybe only this version does this.  Copying the topodroid folder from one phone to the other does not cause topodroid to crash and everything seems to transfer over OK except sketches.  Importing the zip file works perfectly for everything as you would already know.

Brett   
Reply all
Reply to author
Forward
0 new messages