Giter Site home page Giter Site logo

mifit-data-export's People

Contributors

bhavin192 avatar dolnor avatar hanxue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mifit-data-export's Issues

still having trouble with adb binary

I encounter

./run.sh: line 79: ./bin/adb: cannot execute binary file

Locally I have 1.0.32

$ adb version
Android Debug Bridge version 1.0.32
Revision eac51f2bb6a8-android

Which is not able to perform the backup, would it be possible to at least provide information on which version of adb is used by the script as binary? Then I could find one that is runnable on my architecture.

script results with empty mi.ab

At a line

./bin/adb backup -f mi.ab -noapk -noshared com.xiaomi.hm.health

After executing manually

adb backup -f mi.ab -noapk -noshared com.xiaomi.hm.health

The backup procedure is recognised ( I get the query for authorising it on the phone screen).
My resulting mi.ab is

$ cat mi.ab
ANDROID BACKUP
3
1
none
x?c`?`?T

Which further results with empty archive. I tried to debug script myself, I made sure package name is correct

$ adb shell 'pm list packages -f' | grep health
package:/data/app/com.xiaomi.hm.health-1/base.apk=com.xiaomi.hm.health

My MiFit app is 2.2.10, my phone is MI4LTE, Android 6.0.1 MMB29M, MIUI MIUI 8.1 | Stable 8.1.3.0(MXDCNDI)

Problems to extract data in non-root phone

Hi,

I need to extract MyBand data to create a virtual sensor in OpenIoT.

I have a non-rooted Xioami RedMi Note 2 and I set ForceBackupMode value to Y in run.sh, but in my phone I don't see backup screen. In the other project of author is @XmXm, I see backup screen, but the program doesn't run.

Can you help me?

The result of running run.sh is this:

extraction started on 02/23/2017 09:36
cannot find database files. non-rooted phone? attempting native backup approach
adb server is out of date. killing...

  • daemon started successfully *
    adb: unable to connect for backup
    dd: mi.ab: no se puede saltar al desplazamiento especificado
    0+0 registros leídos
    0+0 registros escritos
    0 bytes copied, 5,8166e-05 s, 0,0 kB/s
    tar: Esto no parece un archivo tar
    tar: apps/com.xiaomi.hm.health/db/origin_db: No se encuentra en el archivo
    tar: apps/com.xiaomi.hm.health/db/origin_db-journal: No se encuentra en el archivo
    tar: Se sale con estado de fallo debido a errores anteriores
    cp: no se puede efectuar `stat' sobre 'apps/com.xiaomi.hm.health/db/origin_db*': No existe el archivo o el directorio
    extracted MiBand database
    deleting temp backup files
    extraction failed
    still cannot find new database files - restoring original database backups

Thank you very much

Windows script

Can you please add script for Windows for extracting data?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.