[Xiaomi 11T Pro] diogotc:
I've crafted a bash script to flash the firmware through fastboot (since it's bash, it only works on Linux and possibly MacOS -

THIS WILL NOT WORK ON WINDOWS

). It is based on the official flash script from MIUI Fastboot ROMs and some information already in this thread.

For Windows instructions, check the reply by @RainGater already in this thread.

How to upgrade firmware through fastboot:

Download latest firmware from this thread.

Unzip the file (e.g. unzip fw_vili_miui_VILIEEAGlobal_V14.0.12.0.TKDEUXM_21eb2aa4b1_13.0.zip - change the filename)

Place the following file in the root of the extracted folder (i.e. next to the firmware-update directory). I've named it flash.sh, but you can name it whatever you want.

fastboot $* getvar product 2>&1 | grep "^product: *vili"
if [ $? -ne 0 ] ; then echo "Missmatching image and device"; exit 1; fi

fastboot $* flash xbl_ab `dirname $0`/firmware-update/xbl.img
if [ $? -ne 0 ] ; then echo "Flash xbl_ab error"; exit 1; fi
fastboot $* flash xbl_config_ab `dirname $0`/firmware-update/xbl_config.img
if [ $? -ne 0 ] ; then echo "Flash xbl_config_ab error"; exit 1; fi
fastboot $* flash abl_ab `dirname $0`/firmware-update/abl.img
if [ $? -ne 0 ] ; then echo "Flash abl_ab error"; exit 1; fi
fastboot $* flash aop_ab `dirname $0`/firmware-update/aop.img
if [ $? -ne 0 ] ; then echo "Flash aop_ab error"; exit 1; fi
fastboot $* flash tz_ab `dirname $0`/firmware-update/tz.img
if [ $? -ne 0 ] ; then echo "Flash tz_ab error"; exit 1; fi
fastboot $* flash featenabler_ab `dirname $0`/firmware-update/featenabler.img
if [ $? -ne 0 ] ; then echo "Flash featenabler_ab error"; exit 1; fi
fastboot $* flash hyp_ab `dirname $0`/firmware-update/hyp.img
if [ $? -ne 0 ] ; then echo "Flash hyp_ab error"; exit 1; fi
fastboot $* flash modem_ab `dirname $0`/firmware-update/modem.img
if [ $? -ne 0 ] ; then echo "Flash modem_ab error"; exit 1; fi
fastboot $* flash bluetooth_ab `dirname $0`/firmware-update/bluetooth.img
if [ $? -ne 0 ] ; then echo "Flash bluetooth_ab error"; exit 1; fi
fastboot $* flash dsp_ab `dirname $0`/firmware-update/dsp.img
if [ $? -ne 0 ] ; then echo "Flash dsp_ab error"; exit 1; fi
fastboot $* flash keymaster_ab `dirname $0`/firmware-update/keymaster.img
if [ $? -ne 0 ] ; then echo "Flash keymaster_ab error"; exit 1; fi
fastboot $* flash devcfg_ab `dirname $0`/firmware-update/devcfg.img
if [ $? -ne 0 ] ; then echo "Flash devcfg_ab error"; exit 1; fi
fastboot $* flash qupfw_ab `dirname $0`/firmware-update/qupfw.img
if [ $? -ne 0 ] ; then echo "Flash qupfw_ab error"; exit 1; fi
fastboot $* flash uefisecapp_ab `dirname $0`/firmware-update/uefisecapp.img
if [ $? -ne 0 ] ; then echo "Flash uefisecapp_ab error"; exit 1; fi
fastboot $* erase imagefv_ab
if [ $? -ne 0 ] ; then echo "Erase imagefv_ab error"; exit 1; fi
fastboot $* flash imagefv_ab `dirname $0`/firmware-update/imagefv.img
if [ $? -ne 0 ] ; then echo "Flash imagefv_ab error"; exit 1; fi
fastboot $* flash shrm_ab `dirname $0`/firmware-update/shrm.img
if [ $? -ne 0 ] ; then echo "Flash shrm_ab error"; exit 1; fi
fastboot $* flash cpucp_ab `dirname $0`/firmware-update/cpucp.img
if [ $? -ne 0 ] ; then echo "Flash cpucp_ab error"; exit 1; fi

fastboot $* set_active a
if [ $? -ne 0 ] ; then echo "set_active a error"; exit 1; fi

fastboot $* reboot
if [ $? -ne 0 ] ; then echo "Reboot error"; exit 1; fi

Run chmod +x flash.sh to make the file executable.

Now, plug in your device via USB to your computer and run adb reboot bootloader. You should get to a screen with orange text saying "FASTBOOT".

Finally, run the script with ./flash.sh. Your phone will reboot when finished.