yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jc8bit:
CarlosRDonXDA speaks spanish ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Sure I can try to help, do me a favor and get me the actual firmware version from download mode, it will look like this picture (taken from https://xdaforums.com/htc-10/development/bad-sprouts-hidden-red-text-aboots-t3397548):

I need to know the exact model you're using now before i can proceed with any advice.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Be careful changing CIDs/MIDs, make sure you know the backup first to revert back, this will affect your device negative if not correct (which will affect mobile connections):

READ CID:

fastboot oem readcid --> IMPORTANT TO REVERT (this is NOT for newbs so be careful)

WRITE SUPERCID:

fastboot oem writecid 11111111 --> SUPERCID (allows you to flash ANY RUU)

fastboot oem writecid XXXXXXXX

WRITE WORLD PHONE MID:

fastboot oem writemid 2PS650000 --> WORLD PHONE
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Gerriitw:
I know this.... But it was alot easier to choose the right zip ruu here:

https://xdaforums.com/htc-10/how-to/stock-stock-collection-recovery-ruu-ota-t3359297

And then let him flash the ruu.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CarlosRDonXDA:
Hello again:

[MENTION=5659433]Gerriitw[/MENTION], thank you, I really appreciate your help…

cid: HTC__332 Latin America

model id: HTC 10

product: htc_pmewl

model: MSM8996 for arm64

[MENTION=5401191]jc8bit[/MENTION], thank you too… I can read and speak english too.

In fact I already unlock the bootloader and installed TWRP 3.1.1, I made a backup of the original system (6.1GB compressed by TWRP) and I venture to install CrDroid. It did not generate any problems, I installed the applications of my preference and no, no problem.

After that, I restored my backup and it worked again. Again I installed CrDroid, installed applications, configured to my liking and I have not had any complications, in fact, I can assure, for example, that the WIFI works better with CrDroid than with the original system. Everything works ... no forced closure.

[MENTION=6423569]GROOVYJOSHCLARK[/MENTION],thanks again

Firmware versión: OS-2.24.600.11

Thanks in advance...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Check here: https://androidfilehost.com/?w=files&flid=74636

These are NOT mine, I found them on XDA(so I dont take credit), find your RUU for MM and let me know when you have the right RUU downloaded (and which version, SD or standalone) and then I will walk you through it. Find the one that matches your model and mobile network.

If you cannot find it in the above link, go to the official HTC site and find the RUU for your model:

http://www.htc.com/latam/
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Guys did you checkout CRDroid v3.8 build with october security patch?

https://androidfilehost.com/?fid=962021903579486658
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fredgar75:
I really hope this gets updated to oreo
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tigr13:
Hello! Tell me please.

1. nfc does not work for me when I pay. bank programs are swearing for root. although I did not install root.

in the program safetynet check does not work.

I can not attach a screenshot

2. There is no notice that fast charging is connected. on the lockscreen it shows 5v.

HTC 10h cid 621
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fredgar75:
This ROM has built in root access. It is in developer options. But if you haven't enabled it then you should be good. You might have to install magisk in order to hide it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tigr13:
Thk!

in the settings of the developer root is disabled. why then does not pass the test?

looked again at the work of fast charging. slowly charges.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fredgar75:
I never had an issue with fast charge on this ROM. 5v is fast charging though. Maybe try a clean flash. Wipe everything and format data in recovery.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tigr13:
I wanted to do it. then I'll write what happened.

sorry for my English
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tigr13:
I made the date format. Then I installed a pure ROM.

In the settings of the developer, the ROOT is off. But banking programs still find it. Does not work.

At the HTC One M8 ROM from the crDroid works as it should. The ROOT is really off. Banking programs work well.

Somewhere obviously a bug. I liked ROM very much, but because of this I have to look for another ROM. :(

I'm sorry.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abufaris:
Just question, if i could flash the rom from the internal memory not from sd card?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fredgar75:
Yes
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] decodertje:
I think u must Go tot dev options in the menu settings.

Look there
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
v3.8.3 is out !

no major changes just nov. security update and updated colorengine
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CarlosRDonXDA:
Hi [MENTION=6423569]GROOVYJOSHCLARK[/MENTION]:

Sorry for long time.

I searched for Google the original ROM of my device without success, I used CrDroid and my original TWRP backup and I have not had any problems.

I wanted to have the original ROM as a backup, but when I did not find it, I decided to keep my TWRP backup and use it whenever I needed it. I have tried some other ROMs, but they have not been to my liking or they have not worked correctly (I guess it's because I have S-ON).

I appreciate your interest in helping, I know you do it selflessly, thanks again.

I have a comment about CrDroid, when trying to pass a file from another device to mine using Bluetooth, it has not been possible, I do not know if it is a ROM problem or I am S-ON problem.

The rest, without problems, all excellent, only options that I would like to be contemplated in future versions.

Regards... Carlos RD
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
To be honest, I havent used CDroid enough to know what is causing the issue. I mainly use ResurrectionRemix (7.1.2) or PureFusion (8.0). I only play around with CDroid, the dev may know more but I doubt its an OS issue itself but something underlying causing it (like a BT bug). This is just a guess though as again, I dont use CDroid as my daily runner.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] conqueror_25:
crDroid Rom has always been my favorite Los based Rom. I've used this before on my M8 & M9. I'm happy to see the Devs are still updating the Rom on our Pme. This has saved me from rom hopping. I'm running it now for few days already and have zero issues nor complaints. I only have one request if the Dev can provide a flashable zip to bypass force encryption on first boot upon flashing the rom, that would be great.

The rom is beautiful and performance is superb as always. If you have not yet tried crDroid, I' suggest that you give it a try because this rom is very good. :svetius:

To crDroid Team thanks again and more power! :highfive: [MENTION=4258086]firebird11[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sasory:
Amazing Rom, but android pay not working for me :(
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fredgar75:
Are you using magisk to hide root?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sasory:
Yes. The card is added. SafetyNet passes. Nfc is on. But when I bring the phone to the terminal, nothing happens. Nfc working, checked the program.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fredgar75:
I am guessing that you have used it on other ROMs and know that your NFC chip is working properly correct?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sasory:
Install sense ROM - AP works great!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
Rom is running smooth.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] conqueror_25:
Agree. But having one issue. SD card get ejected every time I charge my phone. Need to restart to read again SD card.

I hope crDroid Team got fix for this.. ?.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
No such issues here.

What's the format on the card?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] anarchyuk:
What's the battery like for this rom as stock?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] conqueror_25:
I don't know what is the format of my SD Card ? but I don't face this issue on other roms that I've tried.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fredgar75:
Almost forgot how much I love this ROM.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fredgar75:
Battery life on this ROM is better than any other ROM for our device. Either stock or AOSP. I'm just going to keep running this for quite some time.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fredgar75:
I found a glitch a today. Google voice, whether search or voice to text, it does not work through a Bluetooth device.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DHorseman:
this ROM support HTC 10 KDDI ???
[Amazfit] pieralle:
Hi guys,

in the Amazfit community we are making steps forward thank to some special users like 1immortal and Neuer_User on the side of rooting and language fix, but these is still an enormous issue with this wonderful watch that is the sync problem!

The watch should pair with the Amazfit app and sync the data with Strava (US edition) of Mifit (cn wersion), but in my experience both are buggy!

Following the work done by Mifit users (xmxm first) i'm trying to export the sports data directly from watch to un universal data format like gpx/tcx or othes, so I made some trials but unfortunately I'm a good android/windows users but I'm not a developer :(, so I'm going to provide the gathered information for someone who have the experience.

Prerequisites: adb working, DB browser sqlite (or similar) installed; Android Backup Extractor, winrar or similar

Here is my way to export data form Amazfit watch:

- connect amazfit to pc

- adb backup -f /export_data.ab -noapk com.huami.watch.sport

- java -jar abe.jar unpack export_data.ab export_data.tar (abe is android backup extractor)

- extract the tar file using winrar

- navigate to export_data\apps\com.huami.watch.sport\db folder and open sport_data.db using DB browser

- go in browse data, select the "heart_rate" table and export in csv format (remember to define the new line character)

:D

Following this you will have a txt file with all the information of your activities that should be imported in web pages and apps

:good:

Should be possible create a small app to extract/unpack/format the db in tcx format that could be imported in strava/runtastic/etc using a software like SymcMyTracks

Any help will be welcome
[Amazfit] Beleriand:
Did you get any tracklog information out of the watch? I really like the watch but without GPX export it is useless for me and i will continue using my smartphone with the Sportractive app.
[Amazfit] rihokirss:
GPX file you can download from Stravia webpage if you have synced your watch.

Just push the Actions button (wrench) under your activitie.
[Amazfit] pieralle:
The tracklog is saved together with the heart log in the sport_data.db but must be modified to be imported in other software
[Amazfit] Beleriand:
No i can't because i do not upload any personal activity data to any webpage. That's why i use Sportractive. No upload/share/account login/advertising mail bull****. ;)
[Amazfit] atol71:
Strava work sync only AmazfitPace but AmazfitWatch(Chinese)

sync only Mifit-Mydong and no export GPS another aps and web
[Amazfit] pieralle:
The different sync is due to the amazfit app, not to the firmware version. The app from play store sync with strava, the chinese app sync with mifit, but is you follow these steps:

1 amazfis cn and pair and sync

2 mifit app and sync

3 amazfit playstore

4 strava

Using always the same user, then you will sync with mifit and strava

My actual scope is to export the data from watch or app into txt file (done) and then convert to tcx\gfx
[Amazfit] lowfass:
Hi, is this guide still working? i tried it but i failed because i dont know how to use and instal those programs. only think i have working is adb. I dont know how to use java etc... I had pairing with mifit and strava but i lost it because i was in need of reflash my watch and i cant pair it again so i am looking around for a way to export my activities for endomondo but your guide is too much for me :(
[Amazfit] Neuer_User:
Have you been able to understand the data structure?

I might be able to install a simple method to get access to sport_data.db in my rom.
[Amazfit] alexinc:
as i already mentioned in the pacified-thread (maybe not the best place to do so ;) ), do you think there may be a solution to import data like sleep and steps from mi account back on watch, as resetting the watch only results in restored activities!?
[Amazfit] pieralle:
The data structure looks quite simple, in the db file there are 8 tables each containing some info; in one we have metadata (unito of measure cn_EN), in heart there are info of pulse linked to the activities, then we have location data (GPS), and running per individual or km (the whole running history)

In attach some screenshot
[Amazfit] pieralle:
The procedure creates a backup of the "com.huami.watch.sport" that contains the db files, so if you have the backup you can also put it back on the watch, the only problem is that the program is in the "data" folder which is read only so you first have be root!
[Amazfit] Neuer_User:
If you run the PACEfied ROM, you can simply get the database from the watch with a single command:

adb pull /data/data/com.huami.watch.sport/databases/sport_data.db
[Amazfit] pieralle:
Nice, you have created a root firmware :D

This means that is also possible to push back an sport_data.db as asked by alexinc
[Amazfit] Neuer_User:
Yes, the rom has full adb root. ☺️

Pushing back should work, but the file may be open from apps on the watch. Then you can't overwrite it. In such case, do "adb shell stop" first, then push the file, and then "adb shell start".
[Amazfit] DAVID_EST:
I would like to perform a python script that from that file performs the upload to other services like strava, runtastic or similars.

but I dont have my amazfit watch yet.

Could anybody send me it's file?
[Amazfit] alexinc:
my only "problem" is, that i did pacify my watch (the temporary way) so no backup was created and after reading that unpairing and pairing again may set everything to km instead of miles, my watch was factory reset and i dont have any backup of sport_data.db... big questions is, if there is any way to get database mi fit app is using and retransfer/reconvert it to watch, as there everything got stored - even my data from mi band 2 usage before amazfit. that would be awesome! ;)

edit: at least it seems that mi fit app is storing everything in \data\data\com.xiaomi.hm.health\databases too, now it just needs to get converted as i doubt it will have same format than watch is using - but who knows!? ;)

edit2: all it needs now is an db-expert to merge the information, but it seems like sleep data is not in sport_data.db, at least i didnt find any hint on it? Must be something with wearservices, as it's lately crashing on me, when scrolling in launcher to "sleep", so i guess it's where the database for sleep is located... ;)
[Amazfit] pieralle:
[MENTION=819085]alexinc[/MENTION], i suppose that the app sport is used only for.....sport :) probably other apps (if i remember well there is also something like health) are use for sleep etc. Here you can find many info about mifit app

https://xdaforums.com/general/accessories/xiaomi-mi-band-data-extraction-t3019156
[Amazfit] pieralle:
Here is a backup of the watch foolder
[Amazfit] DAVID_EST:
some progress: I am able with my python script to generate .gpx files for each "running session" . these files can be uploaded to any service and include gps and heartrate info. Next steps will be auto upload to those services
[Amazfit] TF666:
Just wanted to mention on STRATOSfied ROM 2.0.17.1 the data location is different so the command to get sport database is:

adb pull /data/data/com.huami.watch.newsport/databases/sport_data.db
[Amazfit] peanek:
Yes it is, but won't export data without GPS data.

People that are making some trainings circuit trainings, gym, fitness etc (of even run indoor) do not have those data.

That is why this topic can help for this lack.

---------- Post added at 07:53 PM ---------- Previous post was at 07:49 PM ----------

Works like a charm !!! :D:good:

One click script, exporting all data, even swimming ( checked today - I am pasting as attachment for interested )

Tested on Kubuntu 17.04.
[Amazfit] gmincca:
You can export a gpx file from a recorded activity directly in the watch. After that connect watch to pc/laptop with usb and use a file manager in Windows to retrieve the gpx file.

Easy!
[Amazfit] ajid1977:
I'm doing TCX format data export from PACE version 2.6.0.12. as you can the WOS 2.0 as now changed and i guess it data export wont worked now.
[Amazfit] lfom:
This works for Mac/Linux:

https://xdaforums.com/showpost.php?p=76511860&postcount=180
[Amazfit] Puzzlehead:
Update is here https://drive.google.com/drive/folders/0ByaySoSDeGn2S0JndjE4WE8tOUU
[Amazfit] javitum:
Seria posible que tu versión de mifit exportara solo a tcx las sesiones de deportes en los que no se use el gps. Muchas gracias por tu trabajo.

Otra cosilla, estaría genial que automáticamente cada vez que se detecte una nueva actividad se exportara automáticamente (en opciones que se de ha escoger en que formato quieres la salida).

Muchísimas gracias
[Amazfit] thinkertank:
Hi! I would like to improve the gpx export in Gadgetbridge for the Bip. Would you be able to help with guidance regarding the calculations? Thanks in advance! :)
[Amazfit] phoenix155:
PAce

Hii man, i used yout updated tool and it is working, but for indoor activities it is exporting only dummy few KB files, HR and other readings are missing, can you implement this?

thanks
[Amazfit] Saratoga79:
Did you try latest backup tool from [MENTION=6504118]lfom[/MENTION]?
[Amazfit] phoenix155:
Pace

I have a Win10 notebook [MENTION=5062938]Saratoga79[/MENTION]
[Amazfit] Saratoga79:
Me too, and the tool works great.
[Amazfit] cbhere:
Thankseveryone for all the tools in this thread and I was able to download data from the watch and convert to sport_data.db and then heart rate to CSV. The issue is that I have continious heartrate ON and need this data for every day but sport_data.db only has data for activities logged and not all data for all days. is there any way we can get this data??
[Amazfit] kart0ffel:
I can run the extractor bu in my case the files extracted for swimming don't include the distance :( is set up to zero. Any what is going wrong?

I am running it on for stratos, latest version I guess
[Amazfit] lfom:
Try AmazeBackup.
[Amazfit] jps1x2:
Hi!

For your information current version of MifiTcxExport (3.5.0 Revolutions) supports auto-upload to Strava.

Regards
[Amazfit] jstsmblaz:
[MENTION=4948642]jps1x2[/MENTION]

somehow i can not install the app to my rooted s9. any help would be great.

I do use mifit app, notify and fitness app and amazfit bip
[Amazfit] jps1x2:
[MENTION=7112177]jstsmblaz[/MENTION]

First uninstall oficial Mifit app, then install MifitTcxExport.
[Amazfit] jstsmblaz:
it worked! thank you.

but now i can not log in :/
[Amazfit] jps1x2:
Like you can see on thread:

https://xdaforums.com/android/software/mod-mifittcxexport-based-oficial-mifit-t3857636

It only works with Mifit accounts, not facebook or google login. Other mods (russian, Italian) that i know have the same problem.
[Amazfit] jstsmblaz:
wrong thread
[Amazfit] schousda:
Is it possible to download the DB and then upload it to the watch again?

I have to reset my watch and dont wanna lose the data since the last sync.

Thanks
[Amazfit] schousda:
I found the solution myself.

Here you can get a nice tool to backup, restore and export all of your data: https://xdaforums.com/smartwatch/amazfit/utility-amazebackup-backup-tool-pace-t3801165
[Amazfit] Adamatus Arts:
[MENTION=5062938]Saratoga79[/MENTION]

I follow your telegram channel and downloaded the latest version of modded mifit app. But it doesn't seem to be able to detect my amazefit bip over Bluetooth sync. I am using the version without the firmware update.

Any suggestions would be much appreciated!!
[Amazfit] pieralle:
:good: with SyncMyTracks app you should be able to export gpx to any sport app, i also found this service with same scope https://tapiriik.com

Your pyton code works on android or pc (i mean db to txt conversion and java unpacking)?

If you need a betatester i can do some tests
[Amazfit] DAVID_EST:
Its is for me a pleasure to publish my first github repository in which i will develop the python script to export data from amazfit and import it to runtastic, strava ... https://github.com/botmakerdvd/amazfit_exporter
[Amazfit] pieralle:
Great I'll test is as soon as possible!!!

:good::good::good::good::good:
[Amazfit] Beleriand:
Works like a charm on Ubuntu 16.04 Thank you so much for your work. Now i can use the watch for OpenStreetMapping. :good::D

The only thing that doesn't work for me is elevation data. All tracklogs have an ascent of approx. 20400 meters and a descent of approx. 50 meters.

Looking at the GPX, all tracks seem to start at -20000 meters for the first few trackpoints. (20 to 30 seconds)

Have no time at the moment to investigate further, but i am quite sure that is a problem of the watch itself.

<trkpt lon="12.132479667663574" lat="49.11283493041992">
<ele>-20000.0</ele>
<time>2017-01-24T11:29:06.000Z</time>
</trkpt>

---------- Post added at 09:55 PM ---------- Previous post was at 09:00 PM ----------

For "automatic" export of data from the PACEfied ROM on Ubuntu, just generate a file "amazexport.sh" with the following content:

***EDIT: This is now for watches with permanent PACEfied 1.2.6c ROM***

#!/bin/bash
# Amazfit Export V0.2
echo "export started"
echo "becoming root"
adb root
sleep 4
echo "get data from watch"
adb pull /data/data/com.huami.watch.sport/databases/sport_data.db
echo "exporting gpx"
python3 amazfit_exporter_gui.py sport_data.db
echo "done!"

make it executable by clicking on the executable checkbox in properties

Then put it together with the all contnets of the downloaded python script in a folder .

you can now double click it to get the sport_data.db fromt the watch and have the gpx extracted.

If the script does not run but is opened in your editor instead. change the settings in your file explorer's behaviour settings to ask what to do with executable text files.
[Amazfit] alexinc:
Could you someday try to extend your script for importing data to watch? :confused::cowboy:
[Amazfit] dpenevdpenev:
Hello,

Nice work!

To be convenient however (at least for me) the activity import should be running on a phone. And then export to Strava on the phone.

Is it not possible we check where the Amazfit Watch app (Chinese) stores the synced activity data and to process it on the phone?

Anyone else commenting about the altitude issue ?

Thanks

Dimitar
[Amazfit] Beleriand:
I Guess, you can start making an app for exporting the data. ;)

In Mi Fit it says the elevation information is not supported. All my actual tracks were recorded without waiting for the GPS so this might cause the issue.

I have older tracklogs on my phone where elevation data is displayed but i do not have them on the watch anymore. So it could be an issue with a newer GPS firmware, too.

When i delete the trackpoints with the wrong elevation, the file looks good and the elevation is calculated and displayed correctly.
[Amazfit] Beleriand:
Okay, did another test run round the block. This time i waited for the GPS to get a fix and then started countdown.

Same problem with the -20000meters.

Now someone else with firmware 1.2.6b should export the GPX file and check for the <ele> values on the first trackpoints.