all you need is this version
Go here and get first google drive link
touch focus will fail unless turn off HDR+ and reopen
but amazing photo quality can let you forgive this bug
with this version,won't need tripod to take a night shot...
try this google drive url
Go back to original miui recovery then you can update your miui successfully. After update,reflash twrp and magisk.
Flash recovery img with fastboot
fastboot flash recovery recovery.img
then boot your phone
settings->about phone->system update->update
it will get in origin miui recovery and update system automatically
after update finished,reflash twrp and...