Perhaps the MI flash tool could help. Search for the original stable rom of your device first.The rom failed to update on my Mi 10 Ultra using the windows_updater.bat and know its totally bricked, since fastboot cant write to it "FAILED (Write to device failed (no link))" and it gets detected as device = "unknown". Is there any fix for this?
fastboot devices outputs " ???????????? fastboot"