yashsingh1/xdaforums huggingface dataset:
[Android Software Development] machak5:
If you need any help with that I can help, feel free to reach me out since I have a wear device. Is there a place where we can look into where Wear app stores that Info like HR, cadence etc (a folder/file on the phone)so we can export / import to gpx tcx ?
[Android Software Development] adioph:
Hi Jps1x2,

Is there a way we can sideload apps in Mi Watch from Xiaomi Wear? Thanks.
[Android Software Development] sofocus:
Hello, I think about buying Xioami Mi Watch Global but I want to export data to Strava - heart rate, map od training, calories - it is possible?
[Android Software Development] machak5:
At the moment map,distances and duration are included once you do the export to strava via jps1x2's mod.
[Android Software Development] sofocus:
@jps1x2's mod plans to add more data to be exported to the next version?
[Android Software Development] rayray99:
WOULD IT NOT BE POSSIBLE TO EXPORT FREE XIAOMI WEAR SWIMMING DATA FOR STRAVA OR ANOTHER APP ?
[Android Software Development] jps1x2:
Hi!

I do not undertand your question. Can you detail it?

Regards
[Android Software Development] adioph:
Hi @jps1x2,

I owned once an Amazfit Verge and installed Amazmod to it. From Amazmod, we install apk file to Amazmod Verge. Hope we can integrate this feature in the future. Thanks.
[Android Software Development] EkimPadd:
Do you have a github link or link to the source? Would really like to see the code, especially interested in how you get the data out of the app. Thanks! :)
[Android Software Development] adioph:
Please follow link. https://github.com/AmazMod/AmazMod/archive/refs/tags/v1.1.8-217-1903.zip

Thanks.
[Android Software Development] cnx90:
Hi @jps1x2

You do deserve a donation for your hard work on MifitTcxExport. Thank you!

After being a Mi Band user I have now the Xiaomi Mi Watch Global (XMWTCL02). The Mi Watch built-in navigation chip is quite accurate with GPS, GLONASS, Galileo, BDS. Works great to record the trace for my cycling and running workouts. I hope to test it with open water swimming this summer as well.

I tested the Xiaomi Wear version (Wear_263i_Revolutions) with Mi Watch, Strava export works good. I am missing the Heart Rate data export to Strava. Hopefully you could add this HR data export feature in the future releases, so it works same like for the Mi Fit release.

Each time on Xiaomi Wear startup, the temporary toast message / info message appears at the bottom of the screen (with credits, Telegram channel and XDA thread URL). Could you add an option in settings to hide this startup message ? It's useful at the beginning, but on the regular basis use, on each app startup it is a bit distracting.

From Strava I can export the workout data to Google Fit :-) Good workaround.

Btw. Mi Watch is manufactured by 70mai and not Huami, "70mai Health" Android app is having many UI similarities to Xiaomi Wear. Third party data export is possible with Google Fit via 70mai Health, but the only supported device there is 70mai Saphir watch (using the same navigation chip).

Good luck with future development!
[Android Software Development] waabee:
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.
[Android Software Development] jps1x2:
Published here Mifit mod version based on v5.0.2.

Enjoy!
[Android Software Development] jps1x2:
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
[Android Software Development] mrchienquay:
I downloaded miwear 2.6.3i and followed the instructions, but still can't see the export button when opening the app. thanks for support
[Android Software Development] jps1x2:
Try to force close app from Android settings or reboot your phone.

Regards!

Jps1x2
[Android Software Development] bmspam@hotmail.com:
Happend to me too. You have to give Xiaomi Wear application storage permission: Long press on the icon, App Info, Permissions, Storage.
[Android Software Development] bmspam@hotmail.com:
@jps1x2

Thanks for your effort in providing the modified apps. I would appreciate if you could open source your process of modifying the app (I'm particularly interested in Xiaomi Wear app -- I have a Xiaomi Mi Watch Lite) so the others could help with reverse engineering, modification, translation and other improvements.
[Android Software Development] Skysurfer14:
I have the same issue here.
[Android Software Development] Zgloub:
@jps1x2 Thanks a lot for your work !! it works fine for me with a Xiaomi Watch Lite and Wear..

As I use the Watch mainly for hiking and cycling I was wondering if a better meteo accuracy can be implemented, indeed it appears to give prevision for the biggest town around.

In the same idea, beyond your work, is there any possibility that we could develop our own watch main screen, for example with barometer and altitude data.. ? I think the potential of finest applications for a such cheap watch with all its sensors can be huge.
[Android Software Development] adioph:
Please enable Alexa for all region. Thanks
[Android Software Development] jps1x2:
Hi!

On next version i will try to correct this problem.

Regards

Jps1x2
[Android Software Development] jps1x2:
Hi!

Sorry but my mods only are related to extract trainning data from app and not to other things related to device firmware level or similar like you are asking for.

Regards

Jps1x2
[Android Software Development] jps1x2:
Hi!

I am working several years on my mods and at the moment i am not going to open source the code.

Regards

Jps1x2
[Android Software Development] jps1x2:
Hi!

On next version i will try to correct it.

Regards

Jps1x2
[Android Software Development] jps1x2:
Published here Zepp mod version based on v5.12.2.

Alexa integration is working fine with this version using my new Amazfit Band 5. If you test Alexa on this mod, remember to uninstall Amazon and Amazon Alexa before authorizing it, then you can authorize Alexa on Zepp mod and later you can reinstall again your Amazon apps. This is because of this is a mod and not the original app with its original Zepp signature.

Enjoy!
[Android Software Development] guilhermemfbraga:
Hello All!

I am a new user of Xiaomi mi watch lite and I am using the MifitTcxExport and I would like to know if is it possible to export data from swimming to Strava with this app, If not, does anyone know any other app to do this?

thank you,

Guilherme Braga
[Android Software Development] Akusura:
@jps1x2 thank you for your effort and for sharing it with us.

I have a Xiaomi Mi Watch Global Version and installed the Xiaomi Wear App provided here. I gave all the permissions, but when i press EXPORT TCX/GPX/STRAVA, none of my activities show up.

Do I need to have a rooted device? Or is something else I need to do?
[Android Software Development] cnx90:
Hi @Akusura

I am using the Xiaomi Mi Watch Global as well with the MOD. It works for me. No rooted device needed.

After I click on EXPORT TCX/GPX/STRAVA I see:

1. --->>> Configuracion / Setup

and then list of my workouts

Date + Activity type

...

...

...

I think the MOD is taking the list from app cache you should first display them, go to "View workout history" and try viewing list of your workouts inside the Xiaomi Wear App in a standard way, click on the workout (to see the map and details). It should help.
[Android Software Development] Akusura:
Hello @cnx90,

I've tried your suggestion and activities still don't show up for export. I've opened up the details for every single one of them individually and still no luck.
[Android Software Development] jps1x2:
Hi!

Mod is taking files from app cache. This is the reason to open first some workouts to load cache files.

If the app is not displaying the list of previous cached workouts it is because it can't find cache folder.

If you have a rooted phone we can try to find that file path.

Which Android version do you use? Which is your smatphone model?

Regards

Jps1x2
[Android Software Development] JRoldao:
Hello. I am using xiaomi watch lite + xiaomi wear mod 2.6.3i. I can only export to strava the recent workouts, the old one's are in the list to export but are never uploaded to strava and with no error.

Can you help?

Thank you very much

João Roldão
[Android Software Development] Akusura:
My phone isn't rooted.

It's a Realme X2 Pro running Android 10, with Realme UI
[Android Software Development] jps1x2:
Hi!

Disable auto-upload to Strava in the options and export one old workout. Look at the folder:

/sdcard/Amazfit_Jps1x2

If it is creating a file with extension .gpx or .tcx. Perhaps file structure of old workouts could be different.

Regards

Jps1x2
[Android Software Development] jps1x2:
We need to install a modified version of my mod to debug and investigate file structure on your phone.

I will prepare it this week and we could test this weekend.

Regards

Jps1x2
[Android Software Development] JRoldao:
Yes, both files are being created on that folder. There is any way to manually import those files to strava?

Thank you very much
[Android Software Development] JRoldao:
I have the answer now. http://www.strava.com/upload/select
[Android Software Development] JRoldao:
Still cant because it says everytime there is a duplicate of activity...

Any clue?

Thank you
[Android Software Development] jps1x2:
Look at your Strava activities on your Strava app or on website.

It could be uploaded earlier.

Regards

Jps1x2
[Android Software Development] kouzelnik3:
Hi there, when we can expect 5.1.0 MifitHR? :)
[Android Software Development] Akusura:
Thank you so much :)
[Android Software Development] cnx90:
@jps1x2 Just for info, I see there is a new international version of Xiaomi Wear 2.7.1i (com.xiaomi.wearable) in Google Play Store published on April 28, 2021. Xiaomi Wear 2.7.1i - APKMirror - link to the APK

Are you planning to release a new version of the Mi Wear Mod based on 2.7.1i?

Changelog:

App supports the recovery of sports data in motion

Improve Workouts function

Fix some bugs

For including the heart rate data, fingers crossed. I remember @waabee offered some help

In case you would need additional real workouts data from the Mi Watch device, let me know via the PM.
[Android Software Development] JRoldao:
Working!

Thank you
[Android Software Development] jps1x2:
Hi!

In a few days i would like to work in Wear v2.7.1i. Last weeks i am very busy at work and home and i have not free time to study and patch.

About heart rate it is difficult to add it to my mod but i will see it.

If anyone can investigate some *_record binary files it could be interesting to take some of my exported gpx or tcx files on a workout with heart rate data and count if my gpx points (lat and long) are the same as heart rate points contained on its *_record file. It will be easy to add heart rate to files if are the same number of registers of gps points than heart rate points. If they are not the same number of registers perhaps any byte of each heart rate register of *_record file could indicate seconds on that heart rate.

On that post:

https://xdaforums.com/t/mod-4-4-mif...workouts-to-file-strava.3857636/post-84952799

Our friend @waabee has some information about heart rate registers on *_record files.

Regards

Jps1x2
[Android Software Development] guigui71:
Hello,

I have an error using the app.

Select region: Unable to apply Token, Insufficiency

What to do ?

Thank you
[Android Software Development] guilhermemfbraga:
Hello All!

MifitTcxExport can export data from swimming to Strava ?, If not, does anyone know if is it possible to do by other app or something like that?

thank you,

Guilherme Braga
[Android Software Development] Supermyguel:
Update 2.8.1

- Support syncing sport's data to Strava
[Android Software Development] guilhermemfbraga:
Is 2.8.1 version support syncing data to strava? Are you right? thanks
[Android Software Development] sofocus:
Heart Rate from Mi Watch is syncing? Can you show synced training on Strava?
[Android Software Development] jps1x2:
Yes. It is supported natively on v2.8.1i. It is syncing heart rate too.

Regards

Jps1x2
[Android Software Development] sofocus:
Thank You so much. It's time to go to the store.
[Android Software Development] guilhermemfbraga:
As I saw, in the Play Store, the actual version is 2.7.1i.....
[Android Software Development] sofocus:
Go to the store to buy me a Mi Watch.
[Android Software Development] guilhermemfbraga:
I have MI Watch Lite, rsrsrsrsr
[Android Software Development] kouzelnik3:
I want mifit 5.1 update with this mode, please
[Android Software Development] ssasmin:
I have an error using the app.

Select region: Unable to apply Token, Insufficiency

What to do ?
[Android Software Development] Supermyguel:
No syncing with my Watch....need special permits? My watch is China version....
[Android Software Development] machak5:
jps1x2 you planning to add the mod to 2.8.1 Xiaomi wear app ? I found it pretty inconsistent since in case of the app doesnt push the workout to Strava it will never get uploaded, there is no manual push option so you mod could be a great addition.​
[Android Software Development] giusepperomano:
I confirm, me too with the official application at 2.8.1 once synchronized but the following time not. And it is not possible to force it
[Android Software Development] Supermyguel:
Really disappointed.....the new official version is a shame....
[Android Software Development] Matybg:
really dissapointing indeed. 2.8.1 never synced any of my workouts, even when correctly paired to Strava.
[Android Software Development] Supermyguel:
I've just updated my watch color sports edition with firmare 1.5.130 but changelog is in chinese.... Someone knows something about this update? Maybe 100% Strava support?
[Android Software Development] kouzelnik3:
will you release any new version of any of those apps? -_-
[Android Software Development] donc3:
Hi!

I have a Mi watch chinese version updated to last firmware.

I'm trying to export tcx/gpx training from your app android wear 2.6.3i. The file is being exported, but it only have data about time, speed and position, the file doesn't have info about heart rate. Is it actually exporting hr in that app? Do you any solution?
[Android Software Development] jps1x2:
Published here Wear mod version based on v2.8.1i. Alexa is working fine on this version.
[Android Software Development] jps1x2:
Hi!

At the moment only basic gpx/tcx files are generated. I have received last week my new Mi Watch and i will start investigating heart rate data and try to add to exported information on next weeks.

Regards

Jps1x2
[Android Software Development] jps1x2:
Yes, published today a new version of Wear v281i.

Regards

Jps1x2
[Android Software Development] jps1x2:
I will start working today on that mod version, i had problems on Wear v281i on my recent migrated Samgung to Android 11 and i had to add more patches and test it fine.

Regards

Jps1x2
[Android Software Development] jps1x2:
Can you try last updated version 281i?

Regards

Jps1x2
[Android Software Development] kouzelnik3:
Ok, great, I was worried that you quit the modding or something :D
[Android Software Development] Supermyguel:
Is now possibile flashing global version on chinese version?

On chinese Alexa is working?
[Android Software Development] Supermyguel:
Strava sync is working?
[Android Software Development] jps1x2:
Published here Mifit mod version based on v5.1.0.

Enjoy!

Jps1x2
[Android Software Development] rtelemovel:
good afternoon the latest version for Xiaomi mi watch can't sync with strava!!
[Android Software Development] _prietpraat_:
For everyone using the wear app, I've got some weird behaviour. After downloading the official 2.8.1i Strava sync worked one time as mentioned before. After installing the 2.6.1i mod version again now Strava support strangely works all the time including heart rate.

More people experiencing this?
[Android Software Development] machak5:
Yeah, I experienced the same, looks like some kind of account/strava link which synced correctly. However, moved to 2.8.1 mod, feeling much safer than relying to official app.
[Android Software Development] x655:
Please, how to correct a shifted activity time? All my activities are shifted 1 hour forward (5 p.m. instead of 4 p.m.) in TCX/GPX and strava record as well (maybe DST, UTC???). Otherwise great mod app of course. (v4.9+BIP)
[Android Software Development] jps1x2:
On mod options (Configuration / Setup) there is a text box called Sec Dif. Time where you can indicate how many seconds do you want to add (can be positive or negative) to epoch. That option was made to do this.

Delete your workout on Strava, change that option and upload again your workout from the mod to Strava.

Enjoy!

Jps1x2
[Android Software Development] Supermyguel:
New version updste.... 2.9.1i....

Something special or just bug fix?
[Android Software Development] kouzelnik3:
And 5.2.0 mifit update was released. And now I am eagerly waiting for the moded version. :)
[Android Software Development] Supermyguel:
Hi! Why I have this problem? All permits are ok...
[Android Software Development] Supermyguel:
Is this thread dead?
[Android Software Development] Marou12:
hi, i have the same error some workouts display 100% but they are not exported to STRAVA and other workouts only 75% and stuck there... i notice there is no notification displayed (STRAVA) during exportation as the tuto shows...! please help us
[Android Software Development] Supermyguel:
Downgrade to version 2.6.3 is the way
[Android Software Development] jps1x2:
Published here Wear mod version based on v2.9.1i. Alexa is working fine on this version.
[Android Software Development] kouzelnik3:
Sad story for Mifit and Zepp. I wonder how can I now automatically sync Strava with mi band 6 :(
[Android Software Development] jps1x2:
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.

I will continue working on Xiaomi Wear mods

Regards

Jps1x2
[Android Software Development] kouzelnik3:
Xiaomi wear mods doesn't have automatic strava sync, or am I wrong?
[Android Software Development] jps1x2:
Hi,

From version 5.2.0 of Mifit has new protection from manufacturer that does not allow modders to change its content. It is encrypted and can't be modified.

Regards

Jps1x2
[Android Software Development] jps1x2:
Please, when you have a problem indicate which mod and version are you using and your Android version, i maintain 3 different mods here.

Regards

Jps1x2
[Android Software Development] jps1x2:
Latest versions of Wear official have integrated Strava at manufacturer level. It is available on Profile -> Plus sign on upper right corner -> Settings -> Connected applications and here you have Strava.

My mod is useful to export workouts to files and upload workouts to Strava that were created before official Strava app integration.

On Wear versions, lately there are some problems exporting workouts to files, but it is working fine for me on my Android 11 device on v2.9.1i.

Regards

Jps1x2
[Android Software Development] jps1x2:
Are you having errors on all workouts or only on some of it?

It is important that storage permissions are set OK. Test v291i and give feedback.

Regards

Jps1x2
[Android Software Development] bricololo:
I started using it for 2 hikes with breaks. The first one crashes at 75% and the other at 100% and still without generated file.

Bike also crashe at 75%.

Storage permissions are allowed
[Android Software Development] Andy_jun:
Well it seems that dvd_bluray has improved his tool and Now xiaomi_exporter_bot includes heart rate and altitude
[Android Software Development] Supermyguel:
Which tool are you talking about?
[Android Software Development] Andy_jun:
T.me/xiaomi_exporter_bot
[Android Software Development] Supermyguel:
Ah ok thanks.....
[Android Software Development] jps1x2:
I am studyng Wear app internal data to extract heart rate too. But it is difficult.

Regards
[Android Software Development] jps1x2:
Published here Wear mod version based on v2.10.0 Chinese and 2.11.1i Google Play.

Enjoy!

Jps1x2
[Android Software Development] jps1x2:
Published here Mifit mod version based on v5.3.0. We have Mifit mod again!

Enjoy!

Jps1x2
[Android Software Development] jps1x2:
Published here Zepp mod version based on v6.1.4. We have Zepp mod again!

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

Enjoy!

Jps1x2
[Android Software Development] jps1x2:
Published here Wear mod version based on 2.12.3i Google Play.

Enjoy!

Jps1x2
[Android Software Development] jps1x2:
Published here Mifit mod version based on v5.3.2.

Now on Mifit mod, Authkey of our device is saved on file /sdcard/AmazfitJps1x2/MifitAuthKey.txt

Enjoy!
[Android Software Development] whitexp:
Thanks for you work
[Android Software Development] jps1x2:
Published here Wear mod version based on 2.13.2i Google Play.

It has better compatibility with Android 11. From now on exported gpx/tcx files will be saved on Download folder of your Android.

Enjoy!

Jps1x2
[Android Software Development] jps1x2:
I have been testing and modifying last version of Wear mod with users on Android 11 and is exporting fine.

Test it and give feedback.

Regards

Jps1x2
[Android Software Development] jps1x2:
Published here Mifit mod version based on v5.4.0 and Zepp version based on v6.3.2-play.

Enjoy!
[Android Software Development] jps1x2:
Published here Mifit mod version based on v5.4.1 and Zepp version based on v6.3.3-play.

Enjoy!
[Android Software Development] fxnull:
Thank you for your massive effort and sharing.

I used both mifit and zepp mod latest version as above on my xiaomi redmi note 7 running android 10.

I dont have issues with mifit but seems zepp mod export not working.

On zepp mod, even the strava token successfully authorized, it cannot export tcx/gpx. Always return to config/setup, click guardar and nothing happen as usual.

Zepp mod already granted all permissions.

Are they broke or conflict between zepp and mifit mod on same device ?

Look forward for any solution. Thank you
[Android Software Development] jps1x2:
Hi!

Test this please:

1.Open on your Zepp app an activity of running or cycling that has gps data. This is to test saving info to cache.

2.on Configuration/setup of mod select only export gpx checkbox and save.

3.on export tcx/gpx/strava click to export workout you opened on step 1.

4.¿Do you see percentage from 0% to 100%?

5.¿Can you see new file with gpx extension created on your /storage/emulated/0/Amazfit_Jps1x2 folder?

6.Is it working fine export process on previous mod version of my mod on your device?

Tell me where the process has stop and i will try to understand problem.

Regards

Jps1x2
[Android Software Development] fxnull:
Hello again,

I follow your steps as is

1. done

2. done

3. done. no display for track list for export to

4. no percentages. nothing happen.

5. no new file on the Amazfit_Jps1x2 folder

6. first time used of Zepp Mod 6.3.3. for my GTR 2e.

Working fine on previous mifit mod and the latest for my BIP S.

The process stop from the beginning. When I click export gpx/tcx , its going to configuration setup that already check the only gpx export , then I click guardar and closed. no percentages. nothing happen.

BTW the Zepp internal sharing - Export Track is working fine. The gpx file exist in Zepp track folder.

Hope the steps figure out the problem.