[MOD][4.4+] MifitTcxExport based on oficial Mifit to export workouts to file/Strava

Search This thread

jps1x2

Senior Member
Nov 12, 2012
197
120
MifitTcxExport / ZeppTcxExport / MiFitness(previously WearTcxExport)
Mifit v5.5.2_HR / Zepp v6.4.2_HR / Wear v2.14.1i GPlay - 2.14.4 Chinese / MiFitness v3.5.1i GPlay - v3.4.0 Chinese
UPDATE 2022/07/09 Published quick patch mod versions of MiFitness based on official chinese 3.4.0 and 3.5.1i Gplay.
UPDATE 2021/12/23 Published new mod versions of Wear mod based on official 2.14.1i, chinese 2.14.4, Zepp 6.4.2 and Mifit 5.5.2. Exported gpx/tcx files will be saved on Download folder.
UPDATE 2021/11/28 Published Wear version v2.14.1i. Exported gpx/tcx files will be saved on Download folder.
UPDATE 2021/11/14 Published Mifit version v5.5.0HR and Zepp version 6.3.4HR.
UPDATE 2021/10/30 Published Mifit version v5.4.1HR and Zepp version 6.3.3HR.
UPDATE 2021/10/11 Published Wear version v2.13.2i. exported gpx/tcx files will be saved on Download folder from now on.
UPDATE 2021/10/02 Published Mifit version v5.3.2HR with AuthKey of device dump.
UPDATE 2021/09/19 Published Wear version v2.12.3i.
UPDATE 2021/09/18 Published Zepp version v6.1.4HR with AuthKey of device dump.
UPDATE 2021/08/08 Published Mifit mod version v5.3.0.
UPDATE 2021/08/06 Published Wear version v2.11.1i Google Play and 2.10.0 Chinese version.
UPDATE 2021/07/10 Published Wear version v2.9.1i. From now on, the MiFit and Zepp versions will no longer be modified, because the manufacturer has activated protections that prevent it from being manipulated. MiFIT 5.1.0 and ZEPP 5.12.2 are the last versions that allowed to add my mod patches.
UPDATE 2021/06/12 Published Mifit version v5.1.0HR.
UPDATE 2021/06/11 Published Wear version v2.8.1i with Alexa for compatible devices.
UPDATE 2021/05/09 Published Zepp version v5.12.2HR with Alexa for compatible devices.
UPDATE 2021/05/05 Published Mifit version v5.0.2HR.
UPDATE 2021/04/22 Published Wear version v2.6.3i.
UPDATE 2021/04/14 Published Mifit version v5.0.0HR.
UPDATE 2021/04/08 Published first Wear Chinese version v2.6.4 for Chinese devices.
UPDATE 2021/04/05 Thanks @jfulgen for your video about our mods:
UPDATE 2021/04/04 Published Mifit version v4.10.0HR and Zepp version 5.11.1HR.
UPDATE 2021/03/27 Published first Wear version v2.5.1i.
UPDATE 2021/02/06 Published Mifit version v4.9.0HR and Zepp version 5.9.2HR.
UPDATE 2021/01/11 Published Mifit version v4.8.1HR and Zepp version 5.8.1HR.
UPDATE 2020/12/19 Published Mifit version v4.8.0HR.
UPDATE 2020/12/07 Published Zepp version v5.6.2HR.
UPDATE 2020/11/08 Published Mifit version v4.7.0HR.
UPDATE 2020/11/02 Published Zepp version v5.4.1HR.
UPDATE 2020/10/25 Published version Mifit 4.6.5_HR.
UPDATE 2020/10/20 Published Zepp version v5.3.1HR.
UPDATE 2020/10/08 Published Mifit 4.6.1_HR version, and from now on i will mod Zepp too, first patched version is v5.2.1HR.
UPDATE 2020/07/13 Published 4.2.0_HR version, Added options to open with external app gpx and csv of HR data files after exporting. Google Fit working again. You can select field separator for csv files.
UPDATE 2020/05/11 Published 4.1.0_HR version, Complete redesign of the mod, export to gpx/tcx/Strava our workouts, allows to update AGPS when OTA and LOCAL firmware flash is disabled. Google Fit OK. Added AGPS info on firmware info. You can export heart rate information now.
UPDATE 2020/04/13 Published 4.0.17_Covid-19 version, that allows to update AGPS when OTA and LOCAL firmware flash is disabled. Google Fit OK. Added AGS info on firmware info and you can force agps update now.
UPDATE 2020/02/07 Published version 4.0.15_Revolutions that allows to update AGPS when OTA and LOCAL firmware flash is disabled. Google Fit OK.
UPDATE 2019/12/28 Published version 4.0.14_Revolutions that allows to update AGPS when OTA and LOCAL firmware flash is disabled. Google Fit OK again.
UPDATE 2019/11/03 Published version 4.0.11_Revolutions that allows to update AGPS when OTA and LOCAL firmware flash is disabled.
UPDATE 2019/08/12 Published version 4.0.7B_Revolutions_AGPS-OK that allows to update AGPS when OTA and LOCAL firmware flash is disabled.
UPDATE 2019/08/08 Published version 4.0.7_Revolutions with firmware update of devices disabled + corrected crash on adding new devices
UPDATE 2019/07/13 Published version 4.0.6_Revolutions with firmware update of devices disabled
UPDATE 2019/07/07 Published version 4.0.5_Revolutions with firmware update of devices disabled
UPDATE 2019/05/18 Published version 4.0.0_Revolutions and 3.6.0B_Revolutions fixing app crash showing devide type info
UPDATE 2019/04/28 Published version 3.6.0_Revolutions containing all the functions and improvements of previous versions
UPDATE 2019/03/28 Published version 3.5.9_Revolutions non-grouping notifications and emoji support + Amazfit Bip firmware detail info + More Android Pie compatibility
UPDATE 2019/02/08 Published version 3.5.8_Revolutions non-grouping notifications and emoji support + Amazfit Bip firmware detail info
UPDATE 2019/01/17 Published version 3.5.7_Revolutions non-grouping notifications and emoji support.
UPDATE 2018/12/31 Published version 3.5.6_Revolutions non-grouping notifications and emoji support.
UPDATE 2018/12/15 Published version 3.5.5_Revolutions non-grouping notifications and emoji support.
UPDATE 2018/11/21 Published version 3.5.5.1_Revolutions non-grouping notifications and emoji support.
UPDATE 2018/11/18 Published version 3.5.4_Revolutions non-grouping notifications and emoji support.
UPDATE 2018/11/07 Published version 3.5.3_Revolutions.
UPDATE 2018/10/29 Added information about laps and published version 3.5.2_Revolutions.
UPDATE 2018/10/28 Added explanation of configuration options.

Using this mod you can export your workouts to gpx/tcx files or upload them automatically to your Strava account.
It is based on the official Mifit application with modifications that allow data extraction and import to other platforms.

About Firmware update of devices:
From 4.0.5: Only one version of MifitTcxExport will be published when a new version is released from now on. With a flag (explained later) you can enable/disable firmware update on devices.
Previous to 4.0.5: Normally I publish 2 versions of the mod, one that includes firmware and the other without firmware. If you use the one that includes firmware I do not take responsibility for possible bricks of your watch / smartband. To update the firmware should be done with the official Mifit application and after updating uninstall oficial Mifit version and install my mod. Although I always use my mod with the included firmware to upgrade my Amazfit Bip when there are new firmware versions and I have never had problems.

The way to use the tool is very simple, when we are visualizing a training session, by clicking on the upper right button to share our training we will see a list of the trainings that we have loaded in the Mifit cache. The first item in that list leads to a dialog that allows us to change the mod's configuration.

In the latest versions after researching the Strava API, studying the Java threads and many other things, I have already managed to allow the automatic upload of the training to Strava when the users selects an activity to export.

You also have the option to continue exporting the files to gpx / tcx format and upload them manually (or using other tools) to your favorite sports platforms (Polarflow, GarminConnect, Runtastic, Endomondo, Strava, etc.)

Here I leave a gif image as a tutorial so that you can observe how easy it is to use:


IgtULD2.gif

Explanation of configuration options:

m39sv5t.gif

Information about creating laps with small pauses on your workout and converting it to Laps on Strava website:

l5X1LRj.gif

Added support for non-grouping notifications and support to display emojis.
It is important to know how to upgrade firmware files (.res, .ft and .fw) using Gadgetbridge or a similar tool to upgrade font file that includes emoji images. Thanks to ASMUser from MyAmazfit.ru for the code used to this modifications and to renzettis from ilgruppotester that helped me to test several .ft, .res and .fw files to achieve this modification. Special thanks to xCape for sharing ideas and testing last versions of Mifit and to ASMUser for help on deco and reco and other tips:


wFQDIJr.gif

2019-02-08 Added support to display detailed information about firmware on Amazfit Bip device:

HQcMWDA.jpg

2019-02-08 Corrected display of contact information when receiving call on native-Ukrainian and other languajes.

2019-03-28 Added more compatibility to Android Pie, detected new file names on sqlite databases with extensions -shm and -wal.

2019-05-18 Corrected bug on my detailed firmware function that was crashing app. Implemented Google Fit sync on all my mod versions including previous versions.

2019-07-07 From version 4.0.5 to Enable firmware update of devices at the moment create the file allow.fwr on mod folder, located in /sdcard/Amazfit_Jps1x2. On next versions it will be placed on mod dialog configuration.

2019-08-08 Corrected crash on adding new devices

2019-08-12 Enabled updating of AGPS while firmware flash is disabled.

2020-04-13 I have called this version Covid-19 due to the many hours I have been able to spend being confined at home. I have investigated in detail the operation of the AGPS update and now we have the possibility to see on detailed firmware info section the last date and time that the AGPS has been updated and force the update whenever we want.

Added on firmware info of device last AGPS update date and time:


Vw9jZlr.jpg

Now you can force AGPS update. If you create a file on folder of Mifit mod /sdcard/Amazfit_Jps1x2/ named force.agps and close Mifit app. When you open again and your device is connected using Bluetooth it will update AGPS and this file will be renamed to force.agps.ok

UfpHILx.jpg

2020-05-11 Complete redesign of the mod in its version 4.1.0 here you can see in a gif an example of the new interface:

slTipJk.gif

2020-07-13 Two gifs to expain new options added:

YmItSzW.gif




NgbTh2N.gif

2020-10-08 From now on you will have available too Zepp (formerly Amazfit) with my modification to export gpx, tcx and HR information of your devices.

2021-03-27 From now on you will have available too Xiaomi Wear mod with my modification to export gpx, tcx and upload to Strava.

2021-09-18 Now on Zepp mod, Authkey of our device is saved on file /sdcard/AmazfitJps1x2/ZeppAuthKey.txt

Other details of this mod:
-You can create laps on your workouts making small pauses and they are displayed on Strava website.
-Notice by vibration to the watch from the first second of call
-Show the name or number of the person who calls us on the device.
-It only works with Mifit accounts, it does not work with facebook or google login. The mods seem to have a restriction that by changing the signature of the apk do not allow this type of login.
-Google fit does not work (I'm investigating the cause)
-Non-Gps activities are exported too as Crossfit (Treadmill running for example).
-Non-grouping notifications enabled and emoji support.
-Detailed firmware information of Amazfit Bip device.
-Added more Android Pie compatibility
-Google Fit sync enabled on all my mod versions
-Enable/Disable firmware update of devices.
-You can see las AGPS date/time update and force AGPS update.
-You can export heart rate data to csv files.
-Zepp mods save AuthKey on file /sdcard/AmazfitJps1x2/ZeppAuthKey.txt
-Mifit mods save AuthKey on file /sdcard/AmazfitJps1x2/MifitAuthKey.txt

You can download the latest version and previous versions on my AndroidFileHost host, here:



I hope you enjoy it!
 
Last edited:

jps1x2

Senior Member
Nov 12, 2012
197
120
Added information about lap capture and display on first post and published on Android File Host version 3.5.2_Revolutions.
 
Last edited:

jps1x2

Senior Member
Nov 12, 2012
197
120
view

Sorry but config option is not present for me.
I juste see "escoge track a exporter"
Thx

Which version do you have installed?
Configuration options are only available on version 3.5.0_Revolutions or newer, on previous versions (3.5.0_Reloaded and lower) you can only select one track to export workout.

Regards.
 
Last edited:

apacz93

Member
Aug 26, 2013
5
2
Thanks so much for this app. I have spend almost one year of searching for such a app with tcx/gpx export. Works like a harm with amazfit pace. Thanks!!! Even non gps activities are transfering to Strava !!!!
 
Last edited:
  • Like
Reactions: jps1x2

ciafe

New member
Nov 7, 2018
2
1
non-GPS activities export?

Hello,

I'm just trying to use the APP to export swimming pool activity logged with the Amazfit Stratos (function not supported by the clock... :( ).

I can see the activity present in the "export selection list" as "Croosfit" and distance. But then, when I press it to be exported, it remains blocked in the "Progerso 10%", and file is no generated.

Does the tool supports the non-GPS activities export?

Thanks a lot!
 
  • Like
Reactions: jps1x2

apacz93

Member
Aug 26, 2013
5
2
Hello,

I'm just trying to use the APP to export swimming pool activity logged with the Amazfit Stratos (function not supported by the clock... :( ).

I can see the activity present in the "export selection list" as "Croosfit" and distance. But then, when I press it to be exported, it remains blocked in the "Progerso 10%", and file is no generated.

Does the tool supports the non-GPS activities export?

Thanks a lot!

Hey, amazfit pace don't have swimming so i can't help you, but indoor running, crossfit etc - non gps are transfering to strava. And from strava with syncmytrack i transfer this to endomondo.
In setup i have:
Z197_rs-qKV1-67VUBawz55UVHgUuJz7-XgcyVoJVPMJRPpLdhqAmwEgasJxD5g_48fEjCDl96dPAZzMbcze3-RrCYHvaSydB8GBD62sIMK7cRU38aApoEgHh75GgfBp8dPGi6tJBjGNjoTRwy93HdADYsC_OBzfsfvQj8QB3HRI5McxpuG5JiAKGQ0g0aJ4N_Sl_ySmWj6U2iiGc6ipUJaHhjEIQ_rbDx1luJsqDamxl16fQWdwPrdiSnUeo6B61HrbC_hYSbkcfgGLGmAJ_fJ086vTszPiWIupoKqTyA2HiPUzFt6awj4tfnhe6Ae7UB7qBfqFq3s9RhYV0milLwQAKdoAq4dFc55Z1tT7Dbu9fDlhjEBsWyCCc_UNPl5Qu6BSBcU4yZq4PaUZbmLANFM3x1Dq1OFjaaBMsl0JSZ8Zj4TczVItDTkclcWGS4m8ZWlDRGEQmmHW0s7YDN8LnSmomq17OYf31PqRxapaTpuDKe4MIOgyj3cQpvSw3t9yW1_aA-_bJOfQcmc51iTRQr_ISlneerTC7u4jNJxkhLz6KUjwFXopsDLkOIYuUT7KQGMu76Hw-ya6RiMH5UfKkDbWielZSMFHqAT1m6SnXTB7dKGOplu3GAagjIX4oVPxtGZH9yB5xNXePMsbZKZU6iRJwJKQCpct_7p6FS1yaBpz9g=w499-h1033-no
 
  • Like
Reactions: jps1x2

jps1x2

Senior Member
Nov 12, 2012
197
120
Hello,

I'm just trying to use the APP to export swimming pool activity logged with the Amazfit Stratos (function not supported by the clock... :( ).

I can see the activity present in the "export selection list" as "Croosfit" and distance. But then, when I press it to be exported, it remains blocked in the "Progerso 10%", and file is no generated.

Does the tool supports the non-GPS activities export?

Thanks a lot!

@ciafe / @apacz93 ,

I have one Amazfit Bip that only has following 4 type of activities:

-Running Outdoor
-Treadmill Running
-Biking
-Walking

All these types of activities are tested on development, and Treadmill Running is exported as Crossfit to GPX/TCX/Strava to obtain at least heart rate, other activity types are exported like gps activity.

I don't have in my app database other type of activities and can't work on it.

If you have a rooted device you can access to your Mifit Database app, extract it and send it to me and i will see if i can do something on future versions about new activities.

Path to Mifit Database is the following:

/data/data/com.xiaomi.hm.health/databases/

And the file is named something like origin_dbXXXXXX. You will find 2 files, i need the one that do not has "journal" on filename.

Send me a private if you can extract database with other activity types.
 

ciafe

New member
Nov 7, 2018
2
1
@ciafe / @apacz93 ,

I have one Amazfit Bip that only has following 4 type of activities:

-Running Outdoor
-Treadmill Running
-Biking
-Walking

All these types of activities are tested on development, and Treadmill Running is exported as Crossfit to GPX/TCX/Strava to obtain at least heart rate, other activity types are exported like gps activity.

I don't have in my app database other type of activities and can't work on it.

If you have a rooted device you can access to your Mifit Database app, extract it and send it to me and i will see if i can do something on future versions about new activities.

Path to Mifit Database is the following:

/data/data/com.xiaomi.hm.health/databases/

And the file is named something like origin_dbXXXXXX. You will find 2 files, i need the one that do not has "journal" on filename.

Send me a private if you can extract database with other activity types.

Thanks for the feedback, now it's clear what is going on!
I had a Bip and I've just changed to the Stratos for the swimming capability, but I was really surprised when I realized they can't be exported by the clock itself... Now I discovered you APP trying to extract the activities.

Unfortunately I don't have a rooted device, but I'll try to get one, or root mine, and provide you the files!

Thanks a lot for your support and great job!
 

jps1x2

Senior Member
Nov 12, 2012
197
120
Published version 3.5.4_Revolutions enabling non-grouping notifications on Amazfit Bip and enabling emoji on notifications. Thanks to amsuser from MyAmazfit.ru for the code used to this modifications and to renzettis from ilgruppotester that helped me to test several .ft, .res and .fw files to achieve this.
 
Last edited:
  • Like
Reactions: Flippiej

jps1x2

Senior Member
Nov 12, 2012
197
120
Published version 3.5.5.1_Revolutions on my Android File Host, with all previous improvements. Version 3.5.4 aparently was having hight battery consumption and is corrected on this Mifit Beta.
 

jps1x2

Senior Member
Nov 12, 2012
197
120
Thanks for your mod, you did a great job!
I have only a question: how to enable emoji?
I haven't found any option in MiFit, is a custom fw necessary to enable emoji?
Emoji is enabled patching several function on Mifit app, from version 3.5.4 of this mod it is enabled. You only need to have installed some font firmware file that contains emojis and it will be displayed on your Bip. This font file must be compatible with your firmware type and your resource type. There are two types of firmware: latin and normal.
The problem is that updating firmware with GadgetBridge is dangerous for your Bip if you do not know well what you are doing.
 

bellabax

Member
Nov 15, 2013
14
3
Google Nexus 4
Moto G5S
Thanks for reply.
Using GB is not a problem at all.
Got a font file and successfully flashed to watch; all is working fine!
No problem at all with notifications or emoji
 
Last edited:

Jerdan7

New member
Nov 25, 2018
1
0
Hi just downloaded the latest version. However upon installing it says app not installed. Tried updating mi fit app from google play first but again the apk says app not installed.
 

Japakz

New member
Apr 28, 2018
3
1
thanks for this app i can finally upload my activities to strava.
but i cannot see custom watch face in watch face settings.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    MifitTcxExport / ZeppTcxExport / MiFitness(previously WearTcxExport)
    Mifit v5.5.2_HR / Zepp v6.4.2_HR / Wear v2.14.1i GPlay - 2.14.4 Chinese / MiFitness v3.5.1i GPlay - v3.4.0 Chinese
    UPDATE 2022/07/09 Published quick patch mod versions of MiFitness based on official chinese 3.4.0 and 3.5.1i Gplay.
    UPDATE 2021/12/23 Published new mod versions of Wear mod based on official 2.14.1i, chinese 2.14.4, Zepp 6.4.2 and Mifit 5.5.2. Exported gpx/tcx files will be saved on Download folder.
    UPDATE 2021/11/28 Published Wear version v2.14.1i. Exported gpx/tcx files will be saved on Download folder.
    UPDATE 2021/11/14 Published Mifit version v5.5.0HR and Zepp version 6.3.4HR.
    UPDATE 2021/10/30 Published Mifit version v5.4.1HR and Zepp version 6.3.3HR.
    UPDATE 2021/10/11 Published Wear version v2.13.2i. exported gpx/tcx files will be saved on Download folder from now on.
    UPDATE 2021/10/02 Published Mifit version v5.3.2HR with AuthKey of device dump.
    UPDATE 2021/09/19 Published Wear version v2.12.3i.
    UPDATE 2021/09/18 Published Zepp version v6.1.4HR with AuthKey of device dump.
    UPDATE 2021/08/08 Published Mifit mod version v5.3.0.
    UPDATE 2021/08/06 Published Wear version v2.11.1i Google Play and 2.10.0 Chinese version.
    UPDATE 2021/07/10 Published Wear version v2.9.1i. From now on, the MiFit and Zepp versions will no longer be modified, because the manufacturer has activated protections that prevent it from being manipulated. MiFIT 5.1.0 and ZEPP 5.12.2 are the last versions that allowed to add my mod patches.
    UPDATE 2021/06/12 Published Mifit version v5.1.0HR.
    UPDATE 2021/06/11 Published Wear version v2.8.1i with Alexa for compatible devices.
    UPDATE 2021/05/09 Published Zepp version v5.12.2HR with Alexa for compatible devices.
    UPDATE 2021/05/05 Published Mifit version v5.0.2HR.
    UPDATE 2021/04/22 Published Wear version v2.6.3i.
    UPDATE 2021/04/14 Published Mifit version v5.0.0HR.
    UPDATE 2021/04/08 Published first Wear Chinese version v2.6.4 for Chinese devices.
    UPDATE 2021/04/05 Thanks @jfulgen for your video about our mods:
    UPDATE 2021/04/04 Published Mifit version v4.10.0HR and Zepp version 5.11.1HR.
    UPDATE 2021/03/27 Published first Wear version v2.5.1i.
    UPDATE 2021/02/06 Published Mifit version v4.9.0HR and Zepp version 5.9.2HR.
    UPDATE 2021/01/11 Published Mifit version v4.8.1HR and Zepp version 5.8.1HR.
    UPDATE 2020/12/19 Published Mifit version v4.8.0HR.
    UPDATE 2020/12/07 Published Zepp version v5.6.2HR.
    UPDATE 2020/11/08 Published Mifit version v4.7.0HR.
    UPDATE 2020/11/02 Published Zepp version v5.4.1HR.
    UPDATE 2020/10/25 Published version Mifit 4.6.5_HR.
    UPDATE 2020/10/20 Published Zepp version v5.3.1HR.
    UPDATE 2020/10/08 Published Mifit 4.6.1_HR version, and from now on i will mod Zepp too, first patched version is v5.2.1HR.
    UPDATE 2020/07/13 Published 4.2.0_HR version, Added options to open with external app gpx and csv of HR data files after exporting. Google Fit working again. You can select field separator for csv files.
    UPDATE 2020/05/11 Published 4.1.0_HR version, Complete redesign of the mod, export to gpx/tcx/Strava our workouts, allows to update AGPS when OTA and LOCAL firmware flash is disabled. Google Fit OK. Added AGPS info on firmware info. You can export heart rate information now.
    UPDATE 2020/04/13 Published 4.0.17_Covid-19 version, that allows to update AGPS when OTA and LOCAL firmware flash is disabled. Google Fit OK. Added AGS info on firmware info and you can force agps update now.
    UPDATE 2020/02/07 Published version 4.0.15_Revolutions that allows to update AGPS when OTA and LOCAL firmware flash is disabled. Google Fit OK.
    UPDATE 2019/12/28 Published version 4.0.14_Revolutions that allows to update AGPS when OTA and LOCAL firmware flash is disabled. Google Fit OK again.
    UPDATE 2019/11/03 Published version 4.0.11_Revolutions that allows to update AGPS when OTA and LOCAL firmware flash is disabled.
    UPDATE 2019/08/12 Published version 4.0.7B_Revolutions_AGPS-OK that allows to update AGPS when OTA and LOCAL firmware flash is disabled.
    UPDATE 2019/08/08 Published version 4.0.7_Revolutions with firmware update of devices disabled + corrected crash on adding new devices
    UPDATE 2019/07/13 Published version 4.0.6_Revolutions with firmware update of devices disabled
    UPDATE 2019/07/07 Published version 4.0.5_Revolutions with firmware update of devices disabled
    UPDATE 2019/05/18 Published version 4.0.0_Revolutions and 3.6.0B_Revolutions fixing app crash showing devide type info
    UPDATE 2019/04/28 Published version 3.6.0_Revolutions containing all the functions and improvements of previous versions
    UPDATE 2019/03/28 Published version 3.5.9_Revolutions non-grouping notifications and emoji support + Amazfit Bip firmware detail info + More Android Pie compatibility
    UPDATE 2019/02/08 Published version 3.5.8_Revolutions non-grouping notifications and emoji support + Amazfit Bip firmware detail info
    UPDATE 2019/01/17 Published version 3.5.7_Revolutions non-grouping notifications and emoji support.
    UPDATE 2018/12/31 Published version 3.5.6_Revolutions non-grouping notifications and emoji support.
    UPDATE 2018/12/15 Published version 3.5.5_Revolutions non-grouping notifications and emoji support.
    UPDATE 2018/11/21 Published version 3.5.5.1_Revolutions non-grouping notifications and emoji support.
    UPDATE 2018/11/18 Published version 3.5.4_Revolutions non-grouping notifications and emoji support.
    UPDATE 2018/11/07 Published version 3.5.3_Revolutions.
    UPDATE 2018/10/29 Added information about laps and published version 3.5.2_Revolutions.
    UPDATE 2018/10/28 Added explanation of configuration options.

    Using this mod you can export your workouts to gpx/tcx files or upload them automatically to your Strava account.
    It is based on the official Mifit application with modifications that allow data extraction and import to other platforms.

    About Firmware update of devices:
    From 4.0.5: Only one version of MifitTcxExport will be published when a new version is released from now on. With a flag (explained later) you can enable/disable firmware update on devices.
    Previous to 4.0.5: Normally I publish 2 versions of the mod, one that includes firmware and the other without firmware. If you use the one that includes firmware I do not take responsibility for possible bricks of your watch / smartband. To update the firmware should be done with the official Mifit application and after updating uninstall oficial Mifit version and install my mod. Although I always use my mod with the included firmware to upgrade my Amazfit Bip when there are new firmware versions and I have never had problems.

    The way to use the tool is very simple, when we are visualizing a training session, by clicking on the upper right button to share our training we will see a list of the trainings that we have loaded in the Mifit cache. The first item in that list leads to a dialog that allows us to change the mod's configuration.

    In the latest versions after researching the Strava API, studying the Java threads and many other things, I have already managed to allow the automatic upload of the training to Strava when the users selects an activity to export.

    You also have the option to continue exporting the files to gpx / tcx format and upload them manually (or using other tools) to your favorite sports platforms (Polarflow, GarminConnect, Runtastic, Endomondo, Strava, etc.)

    Here I leave a gif image as a tutorial so that you can observe how easy it is to use:


    IgtULD2.gif

    Explanation of configuration options:

    m39sv5t.gif

    Information about creating laps with small pauses on your workout and converting it to Laps on Strava website:

    l5X1LRj.gif

    Added support for non-grouping notifications and support to display emojis.
    It is important to know how to upgrade firmware files (.res, .ft and .fw) using Gadgetbridge or a similar tool to upgrade font file that includes emoji images. Thanks to ASMUser from MyAmazfit.ru for the code used to this modifications and to renzettis from ilgruppotester that helped me to test several .ft, .res and .fw files to achieve this modification. Special thanks to xCape for sharing ideas and testing last versions of Mifit and to ASMUser for help on deco and reco and other tips:


    wFQDIJr.gif

    2019-02-08 Added support to display detailed information about firmware on Amazfit Bip device:

    HQcMWDA.jpg

    2019-02-08 Corrected display of contact information when receiving call on native-Ukrainian and other languajes.

    2019-03-28 Added more compatibility to Android Pie, detected new file names on sqlite databases with extensions -shm and -wal.

    2019-05-18 Corrected bug on my detailed firmware function that was crashing app. Implemented Google Fit sync on all my mod versions including previous versions.

    2019-07-07 From version 4.0.5 to Enable firmware update of devices at the moment create the file allow.fwr on mod folder, located in /sdcard/Amazfit_Jps1x2. On next versions it will be placed on mod dialog configuration.

    2019-08-08 Corrected crash on adding new devices

    2019-08-12 Enabled updating of AGPS while firmware flash is disabled.

    2020-04-13 I have called this version Covid-19 due to the many hours I have been able to spend being confined at home. I have investigated in detail the operation of the AGPS update and now we have the possibility to see on detailed firmware info section the last date and time that the AGPS has been updated and force the update whenever we want.

    Added on firmware info of device last AGPS update date and time:


    Vw9jZlr.jpg

    Now you can force AGPS update. If you create a file on folder of Mifit mod /sdcard/Amazfit_Jps1x2/ named force.agps and close Mifit app. When you open again and your device is connected using Bluetooth it will update AGPS and this file will be renamed to force.agps.ok

    UfpHILx.jpg

    2020-05-11 Complete redesign of the mod in its version 4.1.0 here you can see in a gif an example of the new interface:

    slTipJk.gif

    2020-07-13 Two gifs to expain new options added:

    YmItSzW.gif




    NgbTh2N.gif

    2020-10-08 From now on you will have available too Zepp (formerly Amazfit) with my modification to export gpx, tcx and HR information of your devices.

    2021-03-27 From now on you will have available too Xiaomi Wear mod with my modification to export gpx, tcx and upload to Strava.

    2021-09-18 Now on Zepp mod, Authkey of our device is saved on file /sdcard/AmazfitJps1x2/ZeppAuthKey.txt

    Other details of this mod:
    -You can create laps on your workouts making small pauses and they are displayed on Strava website.
    -Notice by vibration to the watch from the first second of call
    -Show the name or number of the person who calls us on the device.
    -It only works with Mifit accounts, it does not work with facebook or google login. The mods seem to have a restriction that by changing the signature of the apk do not allow this type of login.
    -Google fit does not work (I'm investigating the cause)
    -Non-Gps activities are exported too as Crossfit (Treadmill running for example).
    -Non-grouping notifications enabled and emoji support.
    -Detailed firmware information of Amazfit Bip device.
    -Added more Android Pie compatibility
    -Google Fit sync enabled on all my mod versions
    -Enable/Disable firmware update of devices.
    -You can see las AGPS date/time update and force AGPS update.
    -You can export heart rate data to csv files.
    -Zepp mods save AuthKey on file /sdcard/AmazfitJps1x2/ZeppAuthKey.txt
    -Mifit mods save AuthKey on file /sdcard/AmazfitJps1x2/MifitAuthKey.txt

    You can download the latest version and previous versions on my AndroidFileHost host, here:



    I hope you enjoy it!
    5
    Published v4.0.0 and 3.6.0B on my Android File Host. Enabled on all versions Google Fit Sync. Enjoy!
    5
    Regarding Xiaomi Wear App: Heart Rate

    So I went ahead and checked where the data is located and found this:

    It seems the heart rate is stored as UInt8 and starts at offset 17, and onwards every 3. Cross checked with the graphical data on the app and it matches. I'm not sure what the other bytes mean, and how it's structured since I have no background in programming.

    I hope we could have the heart rate included to the TCX export soon.

    View attachment 5299251
    Hi!

    Thanks for investigatimg it. I have not wear device and can't get hr recorded from device. Could you send me *_gps and *_record file with an screen capture displaying hr graph of that workout?

    I will study it on next weeks and will see if it is possible to add hr on gpx/tcx files.

    Regards

    Jps1x2
    5
    Published on my Android File Host 4011_Revolutions. Enjoy!
    4
    Regarding Xiaomi Wear App: Heart Rate

    So I went ahead and checked where the data is located and found this:

    It seems the heart rate is stored as UInt8 and starts at offset 17, and onwards every 3. Cross checked with the graphical data on the app and it matches. I'm not sure what the other bytes mean, and how it's structured since I have no background in programming.

    I hope we could have the heart rate included to the TCX export soon.

    Untitled.png