While I'm backing it up, I'll mention I also have an issue with encryption.
With xiaomi.eu flashed, TWRP does not prompt for pattern, and I see encrypted filenames in storage.
With MIUI flashed, TWRP asks for pattern. When provided, it says it has successfully decrypted "user 0", and failed with...