How to Unbrick Redmi K40 via Fastboot Commands?

If you want to Unbrick your Redmi k40 Via Fastboot Commands to deal with the problems of the internal Ads, bloatware, then read more to know How to Unbrick Redmi k40 Fastboot Commands.

Hi, a hearty welcome to this article. In this article let’s have a discussion on Unbrick Redmi K40 via Fastboot Commands. This is a china device having multiple options in it. This will deal with the problems of the internal Ads, bloatware. They become overweight. Xiaomi separated ReadMi into various parts. It prepared a note which will fit in the pocket. The other part is considered as the K series. The newest entry K40 is made popular. Redmi K40 has many specifications to use.


There are complaints coming to this new version of the device also. It has occurred many times about the soft bricking. Soft Bricking means the device will restart every time. It will not allow users to work with it. The device will not start at any cost.

You have to boot the device to resolve or unbrick the device from rebooting or soft booting. You have to change the boot mode & Boot the device. There are two types of booting are available. They are FastBoot Mode & Recovery Mode. Xiaomi K40 Pro is also available to use.

FastBoot Mode:

FastBoot is the mode of the Redmi, which will not be related to the operating system. You can retrieve it without any interference from Operating system loading. It can allow data to store it on memory internally in the ROM. You have to use these features. These mobiles are locked using Fast boot. You will use this booting to rescue your device from soft brick or reboot loop. Mi K40 price in India is available easily in India. It is facing fewer problems like this.

Recovery Mode:

Recovery mode is also one of the modes of android mobile. It is an important mode. It will stop & boot the functions which one needs the booting. This means it will allow the functions to be booted for booting others will remain there. So that, it will not boot the entire OS & Instead of it, this will boot a piece of software only. This is very useful for firmware. If the OS of the phone is corrupted then you only boot that. Then, your data is safe & a lot of time is also saved.

Step-by-Step Procedure to Unbrick Redmi K40 via Fastboot Commands:

To Unbrick Redmi K40 via Fastboot Commands, you have followed the simple steps as suggested below. You have to follow & unbrick the device successfully. Redmi K40 Pro price in India is affordable. So many people using it.

#Step 1. Download & Install Android SDK Tool:

At first, you have to download & install the Android SDK Platform Tool. You have to download it on your PC from the browser. Then install it easily. You can download it from the official browser. This Tool is the official Android Debug Bridge (ADB)  and this will provide fast booting also. This tool is provided by Google. You download it from Google onto your PC at any location on your PC.  And you can observe the platform-tools folder there. You can use it later.

Connecting your device to PC

#Step 2. Download FastBoot ROM:

As the second step, you have to download the Readme 40 FastBoot ROM on your device. You Fastboot ROM MIUI V12.5.2.0.RKHINXM of Redmi K40. This is the latest version of Redmi, you can download it as your choice. But try to download the latest version of builds of your location.

You can know the important issue of the link. Observe the clear explanation of the version:

V12.5.2.0 – Version Name

R – Android Version above 11

KH – Model of the device (Redmi K40)

IN- In India

XM- Version code

Next, download the file. It would be in the .gz extension, after downloading it change it to the TGZ format. You can change its format, by renaming the file. You just confirm it if any confirmation is asked by the device. If you have changed the data type to the TGZ, you can extract it using Win RAR or Win Zip.  If you have completed the extraction of the file successfully, you can follow the next step.

#Step 3. Shift the Redmi K40 FastBoot ROM files to ADB:

In the previous step, you have extracted the Redmi K40 FastBoot ROM files in your device. You just open that directory.

  • Choose the Images folder and you will find many files in it.
Images folder
  • Select all of them by using ctrl+ A and copy those files to the platform-tools directory.
  • If you have copied all those files in the platform-tools folder, which you got after completion of the installation of the Android SDK  platform Tool. If you have completed this, you can now just enter to unbrick Redmi.
copying images

#Step 4. Boot Redmi K40 in Fastboot mode:

  • Just Power off your device once to boot it in Fastboot mode.
  • If it is in the boot loop or soft brick. This means it is restarting again & again. sometimes it will not power off also. If it is not Power Off then leave it until it will completely switch off means wait until the battery will end.
  • If its power is off, then hold the Volume down button & Power button at a time for some time & connect it to the Charger at that time. It will charge, gain some battery & boot up in the Fastboot Mode.
  • You will observe the famous Mi Bunny Logo under the Fastboot text.

#Step 5. Unbrick Redmi K40 using FastBoot Commands:

  • Now, you can use the FastBoot commands
  • Go to the platform-tools directory. Just now you extracted the FastBoot Rom files there.
  • There, you have to type CMD on the address bar and search for it. Then it will directly launch the command prompt window.
  • Now, type & execute the below commands one by one. The commands are:
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
  • After Executing these commands one after another successfully. Your device will be rebooted as instructed at the last command. The Active slot is Set to A as instructed in the above command.

After rebooting of device your problem may be resolved. You can use the device perfectly.

Frequently Asked Questions:

  • Question 1) Is fast boot erases data?
Answer: If you have erased the flash partition then the command will erase the partition instead of resetting it.
  • Question 2) Can I flash my Redmi Mobile?
Answer: First, simply unlock the bootloader using the Mi Unlock Tool. Next, search the MIUI Global ROM.  Now, Flash this ROM to your device.
  • Question 3) Bricked phone will charge?

Answer: Yes. If there is no problem with the battery &its hardware. The battery will charge.


If the Redmi K40 device is facing a reboot problem or the device is rebooting every time, then you have to unbrick the device carefully by using the above process. You have to boot the device & repair it again using the boot device. If you get benefited from this article, then feel free to share this article with your friends and family.

Unbrick of Redmi K40 using fast boot commands is a simple process. But you have to follow it carefully & wait until the process to complete. It will take time for every step but complete it carefully. I hope that this article would be helpful to you, Thanks for reading the article and thanks for choosing iOSWinDroid.

Leave a Comment