Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Boston Marathon FIT file corrupt

Rank

Total Posts: 8

Joined 2016-04-20

PM

Hi there,

I am not a ANT/FIT developer but I stumbled upon this forum as an attempt to recover my lost Boston Marathon which I run 2 days ago, Monday the 18th. To make the long story short,I used some data recovery tools to mount my Forerunner 630 as a FAT32 drive and looked for deleted FIT files and I found one for Monday the 18th. When I try to upload it to Garmin Connect I get an error that it is not valid.

Can anyone with some expertise look at it and see if there is any data to be recovered from it? It should contain, HR, HRV, Running Dynamics and enough data for 26.2 miles of run.

You can donwload it here:
https://www.dropbox.com/s/t0rem4ryg4q8sg3/$4IA0156.FIT?dl=0

Any help is greatly appreciated!      
Rank

Total Posts: 8

Joined 2016-04-20

PM

I tried to use FitCSVTool.jar but I get the following error:

d:\Users\001mathineos\Desktop\FitSDKRelease_16.73.0\java>java -jar FitCSVTool.ja
r -b $4IA0156.FIT $4IA0156.csv
FIT CSV Tool - Protocol 1.0 Profile 16.73 Release
Exception in thread "main" java.lang.RuntimeException: com.garmin.fit.FitRuntime
Exception: FIT decode error: Endian 78 not supported. Error at byte: 2434
at com.garmin.fit.csv.CSVTool.run(CSVTool.java:220)
at com.garmin.fit.csv.CSVTool.main(CSVTool.java:288)
Caused by: com.garmin.fit.FitRuntimeException: FIT decode error: Endian 78 not s
upported. Error at byte: 2434
at com.garmin.fit.Decode.read(Decode.java:807)
at com.garmin.fit.Decode.resume(Decode.java:367)
at com.garmin.fit.Decode.read(Decode.java:346)
at com.garmin.fit.csv.CSVTool.run(CSVTool.java:194)
... 1 more      
Avatar
RankRankRankRank

Total Posts: 296

Joined 0

PM

I've tried to read this file with my .FIT parser implementation (Garmin FIT Devices plugins for SportTracks), which usually is quite tolerant.
The import fatally failed after reading about 2kByte of your 611kByte file, i.e. at 0.3%,
So I fear that you won't have much chance to save major parts of your run.

Sorry,
OMB      
Rank

Total Posts: 8

Joined 2016-04-20

PM

old_man_biking - 21 April 2016 01:09 AM
I've tried to read this file with my .FIT parser implementation (Garmin FIT Devices plugins for SportTracks), which usually is quite tolerant.
The import fatally failed after reading about 2kByte of your 611kByte file, i.e. at 0.3%,
So I fear that you won't have much chance to save major parts of your run.


Thank you so much for giving it a try! Do you happen to know of any other data recovery techniques to get different deleted FIT data off my 630?      
RankRank

Total Posts: 44

Joined 2013-04-07

PM

kalamarios - 20 April 2016 12:24 PM

Hi kalamarios,
I found also your Thread: “4.20 FW right before Boston?”
What I can see: for Bosten you use 4.10
I found in yor fit file:
start19.03.2016 16:45:45  37.76947016   -122.510466808  San Francisco
stop
:  19.03.2016 17:37:10  37.759365533  -122.422367726  San Francisco
and
start22.03.2016 02:19:20  37.773074973  -122.443693131  San Francisco
stop
:  22.03.2016 03:03:00  37.75923360   -122.422390524  San Francisco
and
start18.04.2016 14:01:56  42.229775973  -71.518249763  HopkintonMA 01748 Boston Marathon Start Line
stop
:  18.04.2016 15:08:03  42.282687742  -71.375162713  NatickMA 01760 

You see it in my special CSV.

I hope I could help.

UPDATE: 24.04.2016      

File Attachments

Rank

Total Posts: 8

Joined 2016-04-20

PM

edge-python - 21 April 2016 03:31 PM
kalamarios - 20 April 2016 12:24 PM

Hi kalamarios,
I found also your Thread: “4.20 FW right before Boston?”
What I can see: for Bosten you use 4.10
I found in yor fit file:
start22.03.2016 02:19:20  37.773074973  -122.443693131  San Francisco
stop
:  22.03.2016 03:03:00  37.75923360   -122.422390524  San Francisco
and
start18.04.2016 14:01:56  42.229775973  -71.518249763  HopkintonMA 01748 Boston Marathon Start Line
stop
:  18.04.2016 15:08:03  42.282687742  -71.375162713  NatickMA 01760 

You see it in my special CSV.

I hope I could help.


Hi there! This is incredible! I guess you were able to recover part of the marathon from Hopkinton to Natick! I wonder where the rest of it might be.

If I may ask you, what sort of tool did you use to extract this info.

And lastly, yes I also started that thread “4.20 FW right before Boston?”. I tried to be wise and did not update my 630 so I used FW 4.10 for the race. But unfortunately I guess I jinxed myself and lost the race anyway :-(

Thanks again! This is very exciting! I am wondering, I recovered other deleted files from my 630. Could it be that some of them might be the missing second part of the marathon? Any other ideas on how to proceed?      
RankRank

Total Posts: 44

Joined 2013-04-07

PM

Thank you.
I have my own program written in Python for decoding and encoding. Unfortunately, it is not in a state that I can publish it. And I've designed my own CSV format for Excel. What do you need more? A good hex editor and a “little” know about FIT-files.

But: the repair takes longer than your Boston marathon...
     
Avatar
RankRankRankRank

Total Posts: 296

Joined 0

PM

Hhm, I had a second look into your file and found lots of positions from San Francisco (between Mission District and Golden Gate Park) on March 22. Either you took quite a heavy detour in your Boston Marathon or your Garmin device has terribly mixed up things.
Seriously: did you run with that device in SF on March 22?

Cheers,
OMB      
Rank

Total Posts: 8

Joined 2016-04-20

PM

old_man_biking - 23 April 2016 03:16 AM
Hhm, I had a second look into your file and found lots of positions from San Francisco (between Mission District and Golden Gate Park) on March 22. Either you took quite a heavy detour in your Boston Marathon or your Garmin device has terribly mixed up things.
Seriously: did you run with that device in SF on March 22?


Yes, I certainly did! And the location you found is pretty accurate. Hmmm, the plot thickens. March 22nd is also the date of another deleted file I was able to recover from my 630. In fact, I recovered and zipped all the deleted files I could find under Activities and you can find them here:
https://www.dropbox.com/s/jtyvq8wqtqkjkfs/DataRecoveryDump.zip?dl=0

I really can't thank you enough for looking into this but at the same I feel bad you're spending your time. I am a programmer myself so if you want, I would love to try to take a stab using your .FIT parser. I am sure you are much more proficient though.

Thank you again!!!      
Avatar
RankRankRankRank

Total Posts: 296

Joined 0

PM

kalamarios - 25 April 2016 03:11 PM
old_man_biking - 23 April 2016 03:16 AM
Hhm, I had a second look into your file and found lots of positions from San Francisco (between Mission District and Golden Gate Park) on March 22. Either you took quite a heavy detour in your Boston Marathon or your Garmin device has terribly mixed up things.
Seriously: did you run with that device in SF on March 22?


Yes, I certainly did! And the location you found is pretty accurate. Hmmm, the plot thickens. March 22nd is also the date of another deleted file I was able to recover from my 630. In fact, I recovered and zipped all the deleted files I could find under Activities and you can find them here:
https://www.dropbox.com/s/jtyvq8wqtqkjkfs/DataRecoveryDump.zip?dl=0

I really can't thank you enough for looking into this but at the same I feel bad you're spending your time. I am a programmer myself so if you want, I would love to try to take a stab using your .FIT parser. I am sure you are much more proficient though.

Thank you again!!!

Hi kalamarios,

sorry but looking into your files is very time-consuming and nothing I can do "just for fun".

Cheers,
OMB
     
Rank

Total Posts: 8

Joined 2016-04-20

PM

old_man_biking - 25 April 2016 11:39 PM

sorry but looking into your files is very time-consuming and nothing I can do "just for fun".


I completely understand and I wasn't expecting you do so. In a previous reply you mentioned that you used a .FIT parser implementation (Garmin FIT Devices plugins for SportTracks). If you could point me to the software you used and maybe give me a couple of pointers on how to go about it, I would love to try on my own. Would that be possible?

Thanks again for everything you did so far, I really appreciate it!
     
Avatar
RankRankRankRank

Total Posts: 296

Joined 0

PM

kalamarios - 26 April 2016 11:59 AM
old_man_biking - 25 April 2016 11:39 PM

sorry but looking into your files is very time-consuming and nothing I can do "just for fun".


I completely understand and I wasn't expecting you do so. In a previous reply you mentioned that you used a .FIT parser implementation (Garmin FIT Devices plugins for SportTracks). If you could point me to the software you used and maybe give me a couple of pointers on how to go about it, I would love to try on my own. Would that be possible?

Thanks again for everything you did so far, I really appreciate it!

Kalispera Kalamarios,

sorry, but my GFD plugin for ST (--> http://zonefivesoftware.com/sporttracks/plugins/?p=garmin-fit-devices ) isn't a real option for you. The official version doesn't support fixing of major inconsistencies. It needs developer interaction = me. So I fear that I can't help you.

OMB      
Rank

Total Posts: 8

Joined 2016-04-20

PM

old_man_biking - 26 April 2016 01:13 PM

Kalispera Kalamarios,

sorry, but my GFD plugin for ST (--> http://zonefivesoftware.com/sporttracks/plugins/?p=garmin-fit-devices ) isn't a real option for you. The official version doesn't support fixing of major inconsistencies. It needs developer interaction = me. So I fear that I can't help you.


Sounds good, thanks for your time and effort.      
RankRank

Total Posts: 44

Joined 2013-04-07

PM

kalamarios - 25 April 2016 03:11 PM
I recovered and zipped all the deleted files

Hi,
I was busy with the innovations of FIT SDK Rev. 2.0.
I have now seen in your files from the 25th April 2016. I have attached the result. In some places the FR630 has lost contact with the heart rate monitor (not corrupt file problem).
Except for about 12 minutes I was able to recover everything.
This was not a corrupt file, it was totally destroyed.
Have fun
     

File Attachments

Avatar
RankRankRankRank

Total Posts: 296

Joined 0

PM

Wow,
that was really investigative work.
Kudos,
OMB      
Rank

Total Posts: 8

Joined 2016-04-20

PM

edge-python - 15 May 2016 01:06 PM
kalamarios - 25 April 2016 03:11 PM
I recovered and zipped all the deleted files

Hi,
I was busy with the innovations of FIT SDK Rev. 2.0.
I have now seen in your files from the 25th April 2016. I have attached the result. In some places the FR630 has lost contact with the heart rate monitor (not corrupt file problem).
Except for about 12 minutes I was able to recover everything.
This was not a corrupt file, it was totally destroyed.
Have fun


Are you kidding me?!? How on earth did you manage to do this? You bet the FR630 lost contact with the HRM-RUN! It was so hot that I was throwing water on my head pretty frequently which caused the HRM-RUN to slide completely off my chest, not fun!

This is pretty incredible, do you also have your own custom made (Python I assume) FIT parser?

But seriously, thank you so much! I wish I could buy you a beer or something grin