Skip to content

Unable to extract token from Android backup #138

@outlying

Description

@outlying

mirobo 0.3.2
Android 8.1 (Nexus 5X)
Mi Home 5.0.10
adb 1.0.39

I'm trying to extract token on OS X High Sierra (version 10.13).

Not much to describe, I start with downloading backup and I set password to 1 on my device

$ adb backup -noapk com.xiaomi.smarthome -f backup.ab
Now unlock your device and confirm the backup operation...
$

Then I'm trying to extract the token

$ miio-extract-tokens --password 1 backup.ab 
Saving database to /var/folders/f0/n_2l3ndj337_nfsyzlgy09gc0000gn/T/tmp13bony6u
INFO:miio.extract_tokens:Reading database from /var/folders/f0/n_2l3ndj337_nfsyzlgy09gc0000gn/T/tmp13bony6u
ERROR:miio.extract_tokens:Error, unknown database type!

I would add some debug output but I think miio-extract-tokens doesn't have one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions