Page 1 of 1

data lost

Posted: Tue Dec 16, 2014 2:13 am
by dbarstow
Petrolhead on HTC M8 this weekend at COTA. Timer collected data but crashed a few times during shut down. Then gave message regarding fixing errors in the database, now the laps are gone, including previous track day events. Video is still there. How do I retrieve the data?

Re: data lost

Posted: Tue Dec 16, 2014 9:36 am
by Harry
LapTimer backups databases in its sandbox before cleaning the lap list. So the data is most probably not lost. The problem is I do not yet have experience how to access the sandbox directory for Android and apply the recovery steps described here: viewtopic.php?f=8&t=2626 In case your device is rooted, you should be able to access the directory already. For a regular system, I read it is probably possible to Kies? Any hints from other Android users appreciated.

- Harry

Re: data lost

Posted: Tue Dec 16, 2014 8:09 pm
by dbarstow
Computer\HTC One_M8\Internal storage\Android\data\com.harrys.laptimerpro\files

Do not find .pdb files here. Directory search of internal storage drive finds no files with .pdb extension. I see in the link you provided, that it is for iPhone. Android uses the same extension, .pdb?

Computer\HTC One_M8\SD card\Android\data\com.harrys.laptimerpro\files

No .pdb files found. The \movies subdirectory contains .mp4 track video.

Could they be somewhere else or different extension?

Re: data lost

Posted: Tue Dec 16, 2014 8:29 pm
by Harry
The extension is fine. I will log an actual path later today.

Re: data lost

Posted: Tue Dec 16, 2014 8:30 pm
by Harry
Files with .pdb (or non media extensions) are probably hidden... Do you see "recovery*" sub directories?

- Harry

Re: data lost

Posted: Tue Dec 16, 2014 10:11 pm
by Harry
This is the physical path for the sample database of LapTimer.

Code: Select all

12-16 22:08:48.375: E/DATABASE(11126): opening '/data/data/com.harrys.laptimerpro/files/LapTimerDB.pdb'...
12-16 22:08:48.375: E/DATABASE(11126): opening '/data/data/com.harrys.laptimerpro/files/LapTimerDB.pdb'...
12-16 22:08:48.376: E/DATABASE(11126): opening '/data/data/com.harrys.laptimerpro/files/LapTimerVehicleDB.pdb'...
12-16 22:08:48.376: E/DATABASE(11126): opening '/data/data/com.harrys.laptimerpro/files/LapTimerGPSRecDB_0.pdb'...
12-16 22:08:48.376: E/DATABASE(11126): opening '/data/data/com.harrys.laptimerpro/files/LapTimerGPSRecDB_3.pdb'...
12-16 22:08:48.377: E/DATABASE(11126): opening '/data/data/com.harrys.laptimerpro/files/LapTimerGPSRecDB_8.pdb'...
This means recovery databases are something like

Code: Select all

'/data/data/com.harrys.laptimerpro/files/recovery*/*.pdb'
- Harry