Home > Redmi

How to Unbrick Redmi K50 Pro via Fastboot Commands

In this guide, we will show you the steps to unbrick your Redmi K50 Pro via Fastboot Commands. The K series from Xiaomi has a niche segment for a loyal fanbase- all thanks to the company’s dedication to stick to its USP of providing feature-rich devices at a price that wouldn’t burn a hole in your pockets. With 120Hz refresh rate, 150W fast charging, 108MP primary camera, and Android 12 out of the box, the reason for the popularity of the K50 Pro is there for everyone to see.

Along the same lines, the device is quite popular in custom development as well. Be it for flashing custom ROM, installing a custom recovery like TWRP, or gaining access to the system partition by rooting your device via Magisk, the possibilities stand endless. Once rooted, you may then be able to welcome abode a plethora of mods onto your device. However, this is just one side of the coin.

Trying out these tweaks also brings in a few associated risks as well. Just a slight deviation and there is every chance of your device ending up in a bootloop or softbrick. Fortunately, you could bring your device back to life. All that you need to do is flash the firmware onto your Redmi K50 Pro via Fastboot Commands and the device would be unbricked. So without any further ado, let’s check out how this could be carried out.

Unbrick Redmi K50 Pro via Fastboot Commands

unbrick redmi k50 pro

The below instructions are listed under separate sections for ease of understanding. Make sure to follow the 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: Download Android SDK

install adb platform tools windows

To begin with, download and install the Android SDK Platform Tools. This is the official ADB binary file provided by Google and is used to execute ADB and Fastboot Commands. So download and then extract it to any convenient location on your PC. Doing so shall give you the platform-tools folder, which we will be using throughout this guide.

STEP 2: Download Redmi K50 Pro Fastboot ROM

Next up, download the Fastboot ROM for your device. As for this guide, I am using Redmi K50 Pro China MIUI V13.0.13.0.SLKCNXM [Direct Download Link]. You are free to try any version of your choice, but it is recommended to try the newer builds only and of your region. To download the firmware, you may use the official MIUI Forum.

Or if that is inaccessible, you may also take the help of a third-party site such as Xiaomi Firmware Updater. Furthermore, if you wish to understand the Xiaomi Fastboot firmware version, you may refer to our comprehensive guide on What is MIUI Fastboot ROM for Xiaomi, Mi, Redmi, Poco Devices. Or here’s the instruction in short,

  • 13.0.13.0– Firmware version
  • S – Android version (S-> Android 12).
  • LK – Smartphone model code (LK= Redmi K50 Pro)
  • CN – Firmware build type (CN for China | IN for India | MI for Global | EU for Europe)
  • XM – Firmware version code​

Now that you have got hold of the required firmware file, proceed ahead to the next step to unbrick Redmi K50 Pro via Fastboot Commands.

STEP 3: Move Redmi K50 Pro Fastboot ROM Files to ADB Folder

  1. To begin with, extract the downloaded firmware file. Once the extraction is complete, you should see the following files:
    unbrick redmi k50 pro
  2. So head over to the Images folder and the following files will be present there:
    unbrick redmi k50 pro
  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 Redmi K50 Pro via Fastboot Commands.

STEP 4: Boot Bootloop/Bricked Redmi K50 Pro to Fastboot Mode

  1. To begin with, you will have to boot your device to the Fastboot Mode. The first step for that requires you to 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 (remember the good old days when we could easily remove the battery!).
  3. Once your device has turned off, press and hold the Volume Down and Power buttons for a few seconds.
  4. This will boot your device to Fastboot Mode. You should see the famous Mi Bunny Logo with the Fastboot text underneath it.
    unbrick redmi k50 pro

STEP 5: Unbrick Redmi K50 Pro via Fastboot Commands

To begin with, head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt. Now type in the following three commands, one at a time, in this CMD window to erase the data on boot_ab and expdb partitions as well as the metadata:

fastboot erase boot_ab
fastboot erase expdb
fastboot erase metadata

Once done, you may now execute the below commands to flash the stock firmware files to their respective partitions. As before, make sure to copy-paste one command at a time. Moreover, if you get any error after executing any of these commands, then don’t leave the process mid-way. Rather continue executing the rest of the commands and then check the results.

fastboot flash preloader1 preloader_matisse.bin
fastboot flash preloader2 preloader_matisse.bin 
fastboot flash vbmeta_ab vbmeta.img 
fastboot flash vbmeta_system_ab vbmeta_system.img 
fastboot flash vbmeta_vendor_ab vbmeta_vendor.img 
fastboot flash md1img_ab md1img.img 
fastboot flash spmfw_ab spmfw.img 
fastboot flash mcf_ota_ab mcf_ota.img 
fastboot flash audio_dsp_ab audio_dsp.img 
fastboot flash pi_img_ab pi_img.img 
fastboot flash dpm_ab dpm.img
fastboot flash scp_ab scp.img 
fastboot flash ccu_ab ccu.img 
fastboot flash vcp_ab vcp.img
fastboot flash sspm_ab sspm.img 
fastboot flash mcupm_ab mcupm.img 
fastboot flash gpueb_ab gpueb.img
fastboot flash apusys_ab apusys.img 
fastboot flash mvpu_algo_ab mvpu_algo.img 
fastboot flash gz_ab gz.img 
fastboot flash lk_ab lk.img 
fastboot flash vendor_boot_ab vendor_boot.img 
fastboot flash dtbo_ab dtbo.img 
fastboot flash tee_ab tee.img 
fastboot flash logo_ab logo.bin 
fastboot flash super super.img 
fastboot flash cust cust.img 
fastboot flash rescue rescue.img 
fastboot flash userdata userdata.img
fastboot flash boot_ab boot.img

fastboot set_active a
fastboot reboot

The second last command will set your active partition to A and the last command will automatically boot your device to the OS. However, if your device is still not booting to the OS, then you will have to take the nuclear approach of factory resetting your device (which will delete all the data). So with your device booted to Fastboot Mode, execute the below command to wipe your device:

fastboot -w

After that, execute all the aforementioned commands, one at a time, starting from the three fastboot erase commands all the way up to the last fastboot reboot command. Your device should then boot to the OS. So on that note, we round off this guide to unbrick Redmi K50 Pro via Fastboot Commands. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.


Share:
  • Not helpful, mate. All you’ve done is copy/pasted the commands from the batch files / shell scripts included with the fastboot rom.