right now I'm in your same situation. I almost try everything. flash from miflash, than reinstall twrp, fresh install of xiaomi.eu rom, flash the dm-verity patch (probably not necessary in xiaomi.eu rom), flash magisk. at the beginning seems ok, but than when switch-off the phone it doesn't...