Got the Huawei watch GT some days ago.
Everything is good except the fact that i can't get track data from Google fit (i know about the issue since they did update the app) and there isn't a way to get the data straight from huawei health.
So i rooted my phone (Xiaomi natrium) and found out the attached file at the path /data/data/com.huawei.health/files.
I can see the latitude/longtitude/time entries and their count.At the bottom it has the HRM and the altitude.
I am sure is a gps location log file of some kind but i can't understand and i am not a developer. Maybe it is a proprietary log file ?
Can anyone help ?
Is there any kind of converter to .GPX ?
Hi,
Just checked shortly your file and found a few things: if you import it to excel as delimited by semicolon, you can do the necessary conversions, needed to use Excel GPX converter. I am not allowed to post links here, so please search for the site. Please check the requirements how to name the Excel columns!
What shall you do?
- e.g remove lat=, lon=, from the beginning of the coordinates - for 18119 points
- tp=alti rows contains the altitudes, again remove the 'v=' before the value - for 3560 points
- tp=h-r contains the heart rate, again remove the 'v=' before the value - for the same 3560 points
- tp =rs contains the average speed for the same 3560 points, again remove the 'v=' before the value. Speed is most probably m/s.
- tp=s-r - i have no idea what is this, but can be identified if you share what kind of activity you did and where
- tp=p-m - no idea
- tp=b-p-m - no idea
- In case of speed - it is calculated for every 5th point, so you must copy speed values with k=0 to an additional column right to the coordinates, like this: speed for k=0 you copy to coordinates from k=0, k=1, k=2, k=3, k=4, continue with k=5, etc. in the same way.
- Due to the fact that we have Heart Rate and altitude records in the same amount as speed, I guess we have to do the same (add two more columns to the excel and copy the same way). I have no idea, what those huge k values mean at the beginning of the rows, my best guess is a coded time stamp, the difference is always 5000. Half second? 5 second? Can you tell me when you made that track (date and time)?
It's OK, if you convert just e.g. 10-20 records and skip the rest, just to check if the theory is correct or not.
At the end you must remove the columns which contain just type and sequence information (first two). Please also be sure that at the end no formulas remained in the excel, just simple values. Run the GPX export, try to import it to Strava.
If it does not work, download a GPX file from Strava open in Excel as xml and check what is the difference. Fine-tune the excel conversions accordingly and it will work sooner or later. If you can share the final working method here, I will really appreciate it!
I might buy a Honor Magic Watch or a Huawei Watch GT. If that happens, I will write a conversion program to avoid manual work in Excel.
Best regards,
Gabor