FORUMS
Remove All Ads from XDA

Xiaomi Mi Band data extraction, analytics and Google Fit sync tools

119 posts
Thanks Meter: 167
 
By xmxm, Senior Member on 1st February 2015, 09:21 PM
Post Reply Email Thread
5th November 2018, 05:13 PM |#321  
Bonoboo's Avatar
Senior Member
Thanks Meter: 3,871
 
More
Quote:
Originally Posted by bingen

Probably off topic, but I recently discover, via mi fit help, that you can export all the data to .csv files simply via mifit.huami.com/t/account_mifit

Thanks for sharing!
Also here nice online service for creating graphs from CSV.
27th November 2018, 07:17 PM |#322  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by bingen

Probably off topic, but I recently discover, via mi fit help, that you can export all the data to .csv files simply via mifit.huami.com ...

Unfortunately, it does not work for me for some reason, it responds with "default backend - 404" text.
Maybe there is some blocking rule (for Russia where I'm accessing from).
Nevertheless, accessing the page via Opera VPN works fine, thank you for sharing!
15th December 2018, 08:06 AM |#323  
Member
Thanks Meter: 11
 
More
Have anyone tried to get this to work with MiBand 3?
I get this when I run miband_extract_v592:
Extract Started
sob. 15. 12. 2018
Renaming
ADB SU copy to sdcard
ADB pull
Cannot find database files. Non-rooted phone? Attemting backup approach
unpacking backup file
miniz.c version: 9.1.15
Mode: d, Level: 9
Input File: "mi.zlb"
Output File: "mi.tar"
Input file size: 0
inflate() failed with status -5!
bin\tar: apps/com.xiaomi.hm.health/db/origin_db*: Not found in archive
bin\tar: Error exit delayed from previous errors
bin\tar: apps/com.xiaomi.hm.health/db/mihealth*: Not found in archive
bin\tar: Error exit delayed from previous errors
deleting temp files
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
Still cannot find files. Restoring original files

Thank you!
17th December 2018, 11:00 AM |#324  
Junior Member
Thanks Meter: 6
 
More
MiBand 3
I used Ubuntu, I got my data from MiBand 3 to my computer by copying the origin_db_... file manually from the Android system through ADB (phone was rooted) and then modified the scripts a little bit to work with MiBand 3 (the 'id' field had to be removed from miband.sql, doesn't exist anymore). I got it working perfectly.
17th December 2018, 11:45 AM |#325  
Member
Thanks Meter: 11
 
More
Quote:
Originally Posted by kukualla

I used Ubuntu, I got my data from MiBand 3 to my computer by copying the origin_db_... file manually from the Android system through ADB (phone was rooted) and then modified the scripts a little bit to work with MiBand 3 (the 'id' field had to be removed from miband.sql, doesn't exist anymore). I got it working perfectly.

Thank you for your reply!
Would it be possible for you to explain your procedure more thoroughly?
I stopped using MiBand because of poor Google Fit sync and an buying Fossil Sport Wear OS watch. I yould just like to transfer Heart rate data and steps to Google Fit and would be really greateful if you could help me. (I also have a rooted phone - Nexus 5X)

I have found database file in: /data/data/com.xiaomi.hm.health/databases - file is namedorigin_db_ad5a... (string of numbers and letters) and is 2.12MB large - data od last 14 weeks. Is that it?

Could you maybe share your code for Mi Band 3. In my case I just need one time sync of my data, but there might be other users with same problems...
30th April 2019, 05:58 PM |#326  
Junior Member
Thanks Meter: 0
 
More
Hi,

Is it possible to extract Xiaomi Mi Scale data from Mi Fit app using this tool?
6th November 2019, 10:21 AM |#327  
Junior Member
Thanks Meter: 0
 
More
Is there any posibility to get sleep data (REM) in realtime from miband 4? Raw data don't interesting. For my project with arduino and etc. Or maybe sensor + sleep phase recognition.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes