-
-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to extract token from Android backup #138
Comments
Could you take a look how does the database look like? Passing |
Had the same issue. Also MacOS High Sierra, but I've got Android 6 installed on my phone. Maybe a permission issue? But same error with sudo. Solved it with the following steps:
|
@rytilahti sure, only 3 tables, I will post schemas below
I was able to extract token manually, it happens to be the same token I already have extracted previously. Unluckily this is not solving my issue, I'm not able to use this token to remote control the device. Still, I think this issue is valid since automatic extraction is not working as intended @ralph-hm your solution is not working in my case, first of all on higher version of Android backup is password protected, second, it just not working, I guess Xiomi has may have different app version for newer systems |
@outlying the script ( I'm not sure why it isn't working for you, but you could try to modify the "if is_android" check to test for True to see if it can extract the information. Are you sure the tokens are encrypted for newer android versions? The script supports decrypting only passwords from iOS backups.. |
Token wasn't encrypted (I got the same token as I did with device auto discover |
@outlying please send it to me via e-mail and I'll take a look at it at some point later. tpr at iki dot fi is my address. |
I'm in this step to extract tokens but unable to execute the "miio-extract-tokens" command. What am I missing? I'm not a python expert, but I installed the "python-miio" package without problems, just cannot get the command to run. I'm on OSX. What command should I execute exactly? |
Nevermind, achieved and works as expected with the Xiaomi Yeelight Color Bulb. Thanks! |
Closing for inactivity, please reopen if this is still an issue. The newer versions of mi home do not store the token in the database anymore, see #185. |
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 deviceThen I'm trying to extract the token
I would add some debug output but I think
miio-extract-tokens
doesn't have one.The text was updated successfully, but these errors were encountered: