problem never stops for me .. last eve I got notice that Miui 10.2.2.0 is available update, so I did the same which was working before for Miui update (I was using PitchBlack by that time). So I deinstalled Magisk, performed update, TWRP booted, was not able to install (same as PitchBlack) then re-downloaded miui update (this time a bit bigger), then again phone restarted to TWRP, it did the system update, and the phone restarted fine. So the same like with PitchBlack,
Now comes the good part - as I tried to go back to recovery to install Magisk back, I got the factory recovery. Even better, I flashed via adb console 3.2.3.1, all went fine (sending recovery ... OKAY), and yet when I enter to recovery I don't have TWRP but the stock recovery. Any idea (instead of future hiding the notification for miui system update that caused all the sh*t ) ?
Flash recovery and directly boot in to it, or use fastboot boot recovery.img
After that flash dm-verity zip.