Home > Unbrick

How to Unbrick Mi 11X via Fastboot Commands

In this guide, we will show you the steps to unbrick the Mi 11X device via Fastboot Commands. The latest addition to the Mi family did manage to create quite a lot of buzz when it was initially launched. And even months later, its hype hasn’t settled down. The top of the end specs sheet coupled with an affordable price tag was some of the device’s differentiating factors that made it stand apart from the crowds.

Along the same lines, the devices from this Chinese OEM are known to be quite an active player in custom development. And Mi 11X didn’t seem to disappoint either. There are a plethora of mods and tweak that you could flash onto your device. These include the likes of Magisk ModulesXposed FrameworkSubstratum ThemeViper4Android, and the likes. But this is just one aspect.

There’s always an element of risk involved when dealing with these mods. Risks such as a boot-looped or soft-bricked device are always there. But at the same time, there does exist a method to rectify this issue as well. And this guide shall make you aware of just that. Given hereby are the detailed instructions that shall help you unbrick your Mi 11X device via Fastboot Commands.

How to Unbrick Mi 11X via Fastboot Commands

how to unbrick mi 11x

The below instructions are listed under separate sections for ease of understanding. Make sure to follow in the exact same sequence as mentioned. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

STEP 1: Install Android SDK

install adb platform tools windows

First and foremost, you will have to install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide.

STEP 2: Download Mi 11X Fastboot ROM

Next up, download the Fastboot ROM for your device. As for this guide, I am using the following ROM file: Mi 11X India Stable Fastboot ROM V12.5.2.0.RKHINXM. You are free to try any version of your choice, but it is recommended to try the newer builds only and more importantly, of your region.

unbrick mi 11x fastboot commands

Here is how to understand the Xiaomi Fastboot firmware version:

  • V12.5.2.0 – Firmware version
  • R – Android version (R-> Android 11).
  • KH – Smartphone model code (KH = MI 11X)
  • IN – Firmware build type (IN for India | MI for Global | EU for Europe)
  • XM – Firmware version code​

Furthermore, the downloaded firmware file might be in .gz format. So right-click on it, select Rename and change its extension to TGZ. Then reply Yes in the confirmation dialog box. Once that is done, you may extract this TGZ file via WinRAR/7ZIP, etc and proceed ahead to the next step to unbrick Mi 11X via Fastboot Commands.

STEP 3: Move Mi 11X Fastboot ROM Files to ADB Folder

  1. Head over to the folder where you have extracted the firmware.
  2. Then go to the Images folder present inside this extracted firmware and you should find the following files:
    unbrick mi 11x fastboot commands
  3. Select all these files via Ctrl+A shortcut keys and copy them to the platform-tools folder. This is the same folder that you have got after installing the Android SDK.
  4. Once done, proceed to the next step to unbrick your Mi 11X device via Fastboot Commands.

STEP 4: Boot Bootloop/Soft Bricked Mi 11X to Fastboot Mode

  1. First off, boot your device to the Fastboot Mode. For that, power it off.
  2. If you cannot do so (due to your device being stuck in a bootloop) then the only option left is to let the entire battery drain out.
  3. Once your device has turned off, press and hold the Volume Down and Power buttons for a few seconds. Then connect it to the charger at the very instance so that it gets some power to boot up to Fastboot Mode.
  4. This will boot your device to Fastboot Mode. You should see the famous Mi Bunny Logo with the Fastboot text underneath it.
    fastboot mode xiaomi device
    Fastboot Mode in Xiaomi

STEP 5: Unbrick Mi 11X via Fastboot Commands

  1. Let’s now start off with the fastboot commands and flash each of these partition files to your device.
  2. For that, head over to the platform-tools folder where you have extracted the Fastboot ROM.
  3. Go to its address bar, type in CMD, and hit Enter. This will launch the Command Prompt window.
    fix Fastboot FAILED (remote: No such file or directory) error
  4. Now execute the below commands in this CMD window. Don’t copy-paste them all at once, rather execute one command at a time:
    fastboot erase boot_ab
    fastboot flash xbl_ab xbl.elf
    fastboot flash xbl_config_ab xbl_config.elf
    fastboot flash abl_ab abl.elf
    fastboot flash tz_ab tz.mbn
    fastboot flash hyp_ab hyp.mbn
    fastboot flash devcfg_ab devcfg.mbn
    fastboot flash storsec storsec.mbn
    fastboot flash bluetooth_ab BTFM.bin
    fastboot flash cmnlib_ab cmnlib.mbn
    fastboot flash cmnlib64_ab cmnlib64.mbn
    fastboot flash modem_ab NON-HLOS.bin
    fastboot flash dsp_ab dspso.bin
    fastboot flash keymaster_ab km41.mbn
    fastboot flash logo logo.img
    fastboot flash featenabler_ab featenabler.mbn
    fastboot flash aop_ab aop.mbn
    fastboot flash qupfw_ab qupv3fw.elf
    fastboot flash uefisecapp_ab uefi_sec.mbn
    fastboot flash multiimgoem_ab multi_image.mbn
    fastboot flash super super.img
    fastboot flash misc misc.img
    fastboot flash vbmeta_ab vbmeta.img
    fastboot flash dtbo_ab dtbo.img
    fastboot flash vbmeta_system_ab vbmeta_system.img
    fastboot erase metadata
    fastboot flash userdata userdata.img
    fastboot flash cust cust.img
    fastboot erase imagefv_ab
    fastboot flash imagefv_ab imagefv.elf
    fastboot flash rescue rescue.img
    fastboot flash spunvm spunvm.bin
    fastboot flash vendor_boot_ab vendor_boot.img
    fastboot flash logfs logfs_ufs_8mb.bin
    fastboot flash boot_ab boot.img
    fastboot set_active a
    fastboot reboot
  5. Once you have successfully executed all the above commands, your device will reboot to the OS. And your active slot will be set to A (due to the second last command that we executed).

With this, we conclude the guide on how to unbrick Mi 11X via Fastboot Commands. The best part about this tutorial is the fact that it doesn’t require any Mi 11X Patched Firehose File (prog_emmc_firehose.mbn) or the prog_firehose_ddr_unbrick.elf file.

Furthermore, we didn’t need to make use of the Mi Flash Tool either. With that said, if you have any queries concerning the aforementioned steps, do let us know in the comments section below. We will get back to you with a solution at the earliest.