So.. Does it boot or not? If not use the fastboot mode to return to the stock china rom and try again from there. I sometimes got your error message because i left partitions mounted during flashing and twrp was mounting already mounted stuff.
Verstuurd vanaf mijn MI MAX met Tapatalk