Results 86 comments of Nikolay Elenkov

I don't have access to this device, so can't really help much. The error suggest that the Moto X is using some kind of custom, probably hardware-accelerated FDE (similar to...

Unless Motorola changed something, you need to hex-encode the password (including any special chars), so quotes shouldn't be needed. BTW, you can run logcat in another terminal to see if...

Sorry, I missed the Marshmallow part. Yes, in 6.0 they reverted it, so you need to enter the actual characters, escaping the ones than can interpreted by the shell.

The app passes the password to the `vdc` command as is, spaces are most probably trimmed by `vdc`. You can try `vdc cryptfs changepw` in console to confirm.

Could you share some docs/info about MIUI OS backup format?

There's been some redesign in 7x, you should be able to find the latest format in AOSP code. Some high-level info here: https://source.android.com/security/keystore/

This seems to be a complete different format, there is no text header, so no idea really how it works.

How was this file created and from what device? In any case, it's not encrypted so you can just strip the header and extract, see readme.

This is some sort of unity serialization format, the extension happens to be same but it's not in Android backup format. This tool won't work, you'll have to figure if...