For those who trying dirty flash with twrp made for android 11 or 12, just reminding them
It can hard brick your device aka in EDL mode
And there is no way to fix this device EDL without authorized flash, and you have to pay for auth flash
I experienced that in miui 12
Fastboot way is best right...