Development [Firmware] Xiaomi 11T Pro [vili] [Auto updated!]

Search This thread


Senior Member
Aug 5, 2013
OnePlus 7
OnePlus 8T
@yshalsager Thank you for keeping it up to date and appreciate all your efforts.

I have this batch file that I plan to use it on fastboot and rearranged it so that it flashes images in an alphabetical order. Do you see any issues with it?

This is to flash from bootloader (adb reboot bootloader).

EDIT: Flashed the following batch file in fastboot and it went fine. I wasn't sure about "erase imagefv_ab" as it was missing in your script. In any case, it worked and the baseband was updated to a new version.

@echo off

fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *vili" || echo Missmatching image and device
fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *vili" || exit /B 1

fastboot %* flash abl_ab abl.img || @echo "Flash abl_ab error" && exit 1
fastboot %* flash aop_ab aop.img || @echo "Flash aop_ab error" && exit 1
fastboot %* flash bluetooth_ab bluetooth.img || @echo "Flash bluetooth_ab error" && exit 1
fastboot %* flash cpucp_ab cpucp.img || @echo "Flash cpucp_ab error" && exit 1
fastboot %* flash devcfg_ab devcfg.img || @echo "Flash devcfg_ab error" && exit 1
fastboot %* flash dsp_ab dsp.img || @echo "Flash dsp_ab error" && exit 1
fastboot %* flash featenabler_ab featenabler.img || @echo "Flash featenabler_ab error" && exit 1
fastboot %* flash hyp_ab hyp.img || @echo "Flash hyp_ab error" && exit 1

fastboot %* erase imagefv_ab || @echo "Erase imagefv_ab error" && exit /B 1
fastboot %* flash imagefv_ab imagefv.img || @echo "Flash imagefv_ab error" && exit 1

fastboot %* flash keymaster_ab keymaster.img || @echo "Flash keymaster_ab error" && exit 1
fastboot %* flash modem_ab modem.img || @echo "Flash modem_ab error" && exit 1
fastboot %* flash qupfw_ab qupfw.img || @echo "Flash qupfw_ab error" && exit 1
fastboot %* flash shrm_ab shrm.img || @echo "Flash shrm_ab error" && exit 1
fastboot %* flash tz_ab tz.img || @echo "Flash tz_ab error" && exit 1
fastboot %* flash uefisecapp_ab uefisecapp.img || @echo "Flash uefisecapp_ab error" && exit 1
fastboot %* flash xbl_ab xbl.img || @echo "Flash xbl_ab error" && exit 1
fastboot %* flash xbl_config_ab xbl_config.img || @echo "Flash xbl_config_ab error" && exit 1

fastboot %* set_active a || @echo "Set active a error" && exit 1
Last edited:
  • Like
Reactions: yshalsager


May 27, 2014
I have global version 12.5.10 and i want to update to through ota and my phone is root with magisk. Is it safe to update with ota or through device?

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    Xiaomi custom ROMs users face a problem with firmware updates. As there are many devices with no one to provide the newest firmware update every single release, and developers who provide updates to devices may forget or be busy sometimes, so releases are provided later. Here comes Xiaomi Firmware Updater project:

    Xiaomi Firmware Updater (Xiaomi 11T Pro)

    * Your warranty is now void.
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.

    What is Xiaomi Firmware Updater?
    A set of various scripts that automatically generates Xiaomi firmware flashable zip files for every MIUI new update! My scripts download MIUI official ROMs, both Developer and Stable, Global, EEA, India, and China, extract firmware either from the firmware-update folder or from update payload, generate firmware flashable zip with auto-written "updater-script", and uploads them automatically to multiple servers. These scripts are completely automated, running on a Linux server every X hours.

    Firmware filenames for this device are in the following manner:
    • fw_vili_miui_VILIGlobal_*.zip is Xiaomi 11T Pro (vili) Global firmware.
    • fw_vili_miui_VILIEEAGlobal_*.zip is Xiaomi 11T Pro (vili) EEA Global firmware.
    • fw_vili_miui_VILIINGlobal_*.zip is Xiaomi 11T Pro (vili) India Global firmware.

    You can get updates always from various mirrors available on the website:

    Frequently Asked Questions:
    What is firmware? Is it a full ROM or OTA package?
    Firmware is not a ROM nor OTA Package, it's a set of low-level drivers which helps the operating system do whatever it wants to do. It includes various things like Modem, Bluetooth, Bootloader, DSP etc.

    Why should I update the Firmware?
    Firmware is provided from Xiaomi directly, and there are no sources for it to let developers build and edit it on their own like custom ROMs, so if you want to keep your device up to date always update your firmware!

    Do I need to update the Firmware If I'm an MIUI official or a custom ROM user?
    No, MIUI ROMs contain the firmware-update package, which I extract and provide here.

    What are the supported devices?
    All Snapdragon and MTK devices, including China-only devices.
    Check the full devices list here

    How to update the firmware?
    1- Download the package you want to flash. IT MUST BE NAMED WITH THE SAME CODENAME OF YOUR DEVICE.
    2- Flash it using TWRP or any custom recovery. There's no need to wipe/format anything before or after the installation.

    How to check the updated firmware?
    Usually, the modem gets updated with newer firmware, you can check it in Settings > About > Baseband.

    Support or Contact:
    Having trouble with firmware files? You can open a new issue on the GitHub repository or just write here in a reply, and we’ll help you sort it out.

    Source Code:
    - GitHub
    - Main project thread

    A donation was never necessary, but It's making life easier for me and guarantees paying server costs. My works are free and open-source, that cost money, time, and many efforts.

    XiaomiFirmwareUpdater and MIUIUpdatesTracker scripts are automated, running on a Linux server. If you want these projects to continue and provide the best services to Xiaomi users, you can help me by donating using:
    New MIUI Stable Firmware Release
    • Version: V14.0.2.0.TKDMIXM
    • Android: 13.0
    • Region: Global
    • Filename:
    • Filesize: 148.5 MB
    • MD5:
    • Download: Here

    Note: Older releases are available Here
    Wonderful project and appreciate it!

    Btw, 11T Pro doesn't have twrp recovery for Android 12 based ROMs or GSI ROMs as they are flashable only in fastboot. How else can we flash these firmware files?

    Example: If I have MIUI 13 as the base and flashed a GSI ROM in fastboot, how can I flash these firmware files?
    You can extract the zip file, and use a script like this one to flash the extracted files.
    You can extract the zip file, and use a script like this one to flash the extracted files.
    Yes, I got the script from global fastboot ROM and compared it with your link and see few of them are missing. Will check your script in the zip, once it completes the download, and compare it.

    EDIT: Flashed it with the script that you mentioned in fastboot and it's all good! I am attaching the bat file if anyone needs it and I modified it a little bit. Btw, I am NOT the original author - just listing it here for convenience which includes my minor changes! After you extract the zip, copy the attached file to firmware-update folder and rename the .txt file to .bat and run it.
    New MIUI Stable Firmware Release
    • Version: V14.0.11.0.TKDEUXM
    • Android: 13.0
    • Region: EEA
    • Filename:
    • Filesize: 148.6 MB
    • MD5:
    • Download: Here

    Note: Older releases are available Here