MiToolkit icon indicating copy to clipboard operation
MiToolkit copied to clipboard

password

Open kendopt opened this issue 6 years ago • 19 comments

the option to create the backup is not selectable until I write something on the password field

kendopt avatar Dec 28 '17 13:12 kendopt

Is your device encrypted?

ultrara1n avatar Dec 29 '17 15:12 ultrara1n

Hello, same thing here on a OnePlus 3T encrypted with Android 8 beta 20

Tachikoma-san avatar Dec 29 '17 22:12 Tachikoma-san

Okay, it I will add an hint in the next version, if your Android is encrypted, it is not possible to do backups without a password, but this should not be a problem at all.

ultrara1n avatar Dec 29 '17 22:12 ultrara1n

There is a problem when encrypted, it says it can't find the database --> manually, there was an error with "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7 or 8" see http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html or http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html --> i installed it, restarted mitoolkit --> no error, but no token !? I think it's because no password was provided...

Tachikoma-san avatar Dec 29 '17 23:12 Tachikoma-san

Okay, it I will add an hint in the next version, if your Android is encrypted, it is not possible to do backups without a password, but this should not be a problem at all.

So it is possible to use a password with the backup? It doesn't seem to be an option with the current app

kalenjohnson avatar Jan 05 '18 08:01 kalenjohnson

Das selbe hier, in der App habe ich keine Möglichkeit kein Password zu verwenden. Es muss mindestens ein Charakter verwendet werden, aber dann kann der Token nicht ausgelesen werden. Möglichkeit für eine Möglichkeit für ein Password? Ggf auch ein festen.

Newan avatar Jan 15 '18 18:01 Newan

I also cannot make a backup without a password

MarvinT avatar Jan 24 '18 10:01 MarvinT

I suffer from this password issue too. It would solve this issue if you would update your app in a way that it expects the password to be "pass", then in the popup which says now, that do not set a password, would say set "pass" as password.

tuba59 avatar Jan 24 '18 18:01 tuba59

Same here. Has this been solved?

MimbaMonkeyHouse avatar Feb 03 '18 08:02 MimbaMonkeyHouse

Same problem for me with Huawei P9. The message on the phone say that since my device is encrypted, I can't create a backup without a password. Unfortunately, I think there are no way to "decrypt" the phone.

albertovincenzi avatar Feb 05 '18 18:02 albertovincenzi

Yea, I could find no way to decrypt my Honor 8. I had to use a cheap tablet with an old version of Mi Home (v5.0.19). Then MiToolkit worked flawlessly... No reset was needed and my devices stayed paired with the original phone after Token recovery. It does look like Xiaomi is attempting to lock down its environment thugh so wait & see!

MimbaMonkeyHouse avatar Feb 06 '18 01:02 MimbaMonkeyHouse

I've succeeded in decrypting the data base. You can use "android backup extractor" to transform the .ab in .tar and extract the miio2.db by typing inn windows console "java -jar abe.jar unpack NAME_OF_BACKUP.ab NAME_OF_BACKUP.tar ". The token is in the devicerecord table.

diekrupps avatar Feb 09 '18 12:02 diekrupps

Hello, I managed to extract the Backup.ab database and opened the "devicerecord" table, it shows the information of my Xiaomi devices, but the Token field is empty. Is this normal?

thank you very much

foudepc83 avatar Feb 14 '18 13:02 foudepc83

Hi You have to install an older version of Mihome. The 5.09 work for me.

Le 14 févr. 2018 2:52 PM, "foudepc83" [email protected] a écrit :

Hello, I managed to extract the Backup.ab database and opened the "devicerecord" table, it shows the information of my Xiaomi devices, but the Token field is empty. Is this normal?

thank you very much

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ultrara1n/MiToolkit/issues/8#issuecomment-365613134, or mute the thread https://github.com/notifications/unsubscribe-auth/AinkLxlv0pnMLTjMl7k5nTQWDOup4DHYks5tUuUhgaJpZM4ROTX9 .

diekrupps avatar Feb 14 '18 14:02 diekrupps

Thank you very much for your answer ! Do you have the link to download the old version of mihome? Thank you very much !

foudepc83 avatar Feb 14 '18 16:02 foudepc83

Hello, I managed using an old phone. To download, it's here: https://www.apkmirror.com/

Thank you very much !

foudepc83 avatar Feb 15 '18 15:02 foudepc83

Np you're welcome

Le 15 févr. 2018 4:42 PM, "foudepc83" [email protected] a écrit :

Hello, I managed using an old phone. To download, it's here: https://www.apkmirror.com/

Thank you very much !

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ultrara1n/MiToolkit/issues/8#issuecomment-365966324, or mute the thread https://github.com/notifications/unsubscribe-auth/AinkLw-fRtc9ysC7pTY4zVc2D6woNYEIks5tVFBngaJpZM4ROTX9 .

diekrupps avatar Feb 15 '18 15:02 diekrupps

I've succeeded in decrypting the data base. You can use "android backup extractor" to transform the .ab in .tar and extract the miio2.db by typing inn windows console "java -jar abe.jar unpack NAME_OF_BACKUP.ab NAME_OF_BACKUP.tar ". The token is in the devicerecord table.

For the record: it can be downloaded form here: https://sourceforge.net/projects/adbextractor/files/latest/download

belidzs avatar Sep 29 '18 11:09 belidzs

I've succeeded in decrypting the data base. You can use "android backup extractor" to transform the .ab in .tar and extract the miio2.db by typing inn windows console "java -jar abe.jar unpack NAME_OF_BACKUP.ab NAME_OF_BACKUP.tar ". The token is in the devicerecord table.

sorry I finally managed to extract the database, I do not see a devicerecord table ... is devicerecord a name of a file (its not there) or?

Klagio avatar Dec 01 '18 15:12 Klagio