I don't have enough premission so I post it here.
This recovery can automatically decrypt /data partition.
I already tested it on my redmi 6.
Just follow the instruction in the flash tool after you decompress it.
Available in Simplified Chinese and English