Download, Install TWRP, and Root Redmi 9 Codename Lancelot

Download, Install TWRP, and Root Redmi 9 Codename Lancelot 1

Xiaomi through its sub-brand Redmi has released Redmi 9 series in the mid 2020. Later this month, a fully working version of TWRP custom recovery has been available for the device that has codename Lancelot.

Despite not being an official build, this unofficial TWRP is said to work properly on Redmi 9.

Thanks to a Chinese developer WZSX150, Redmi 9 users can now enjoy custom recovery and root access on their phones.

WZSX150 is popular for porting TWRP for many Xiaomi phones. His custom build is also known as China TWRP.

Fear not! The custom recovery also supports English language along side with Chinese, obviously.

Redmi 9 is an entry level Android phone powered with Mediatek Helio G80 (12 nm) that sports Octa-core CPUs consisting of 2x 2.0GHz Cortex-A75 and 6x 1.8GHz Cortex-A55).

Surprisingly, it comes with Mali-G52 MC2 which is more than capable to play many mediocore game titles.

The phone becomes favorite thanks to its massive Li-Po 5020 mAh battery and 18W fast-charging feature.

Flashing TWRP on Redmi 9

Before we proceed further, it’s our duty to remind you some disclaimers:

First, rooting may void your official warranty.

Second, we hold no responsibility of anything that happens to your phone as the results of following this guide.

Third, please make backups of your phone especially important data, files, and contacts.

Lastly, make sure you charge the phone so it has at least 65% of power juice remaining.

Disclaimer: This method is proved working on Redmi 9 MIUI 11 Global ROM based on Android 10. The method may also work on MIUI 12 but you may need another TWRP build.


First, you have to unlock the bootloader of your Redmi 9. Follow our guide on how to unlock Xiaomi phone’s bootloader here.

Second, you need to download following files to your computer:

Download essential files

Flashing TWRP

Step 1 – Install ADB & Fastboot Driver. You’ll get a new folder called ADB on your computer (usually in drive C:).

ALSO READ:  10 Steps to Enable Adoptable Storage on MIUI 11 Phones

Step 2 – Extract TWRP RAR (or ZIP) file using WinRAR or 7zip software. You’ll get a file called recovery.img (sometimes Windows hides file extensions, so you may see it as simply recovery).

Step 3 – Copt recovery.img and vbmeta_redmi9.img to the ADB folder.

Tips: you can also copy the files to the Mi Unlock Tool installation directory.

Step 4 – Connect your phone to the computer using its USB cable.

Step 5 – Next, navigate to the ADB folder in Windows Explorer then type cmd in the Explorer address bar then hit Enter. This will bring up Command Prompt window.

Step 6 – Type this command and hit Enter to issue every line of them.

adb devices
adb reboot bootloader
fastboot devices

What the command does? This will reboot your phone to the Bootloader mode or Xiaomi Fastboot mode.

Step 7 – Type in this command and hit Enter to execute it. This installs TWRP and flashes custom vbmeta to your phone.

fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta_redmi9.img

Step 8 – Finally, reboot the Redmi 9 phone in recovery mode by typing this command:

fastboot reboot recovery

Step 9 – That’s it. Your phone will now boot into recovery mode for the first time.

Step 10 – If TWRP asks you for a security pattern, enter what you use on your phone. You may also need to do the Swipe to allow system modifications.

Download, Install TWRP, and Root Redmi 9 Codename Lancelot 2

Root Redmi 9 with Magisk

Step 1 – Copy the file from your computer to the phone internal storage.

Step 2 – Reboot the phone to TWRP recovery by pressing Power button + Volume Up. Skip this step if your phone is already in recovery mode.

Step 3 – Go to Install then locate the Magisk zip file you’ve just copied.

Step 4 – Tap on the Magisk file name tp select it.

Step 5 – Start the root process by doing Swipe to flash.

Step 6 – Once the process has finished, reboot your phone.

That’s all. You have just done rooting Redmi 9 successfully.

Run into trouble? Do not hesitate to write a comment below.


10 thoughts on “Download, Install TWRP, and Root Redmi 9 Codename Lancelot”

  1. I have done everything just like you said , I also set the twrp read only, now my phone is stock while booting up, only showing redmi logo. what should i do?

    1. Don’t worry i had the same issue and i fixed it…

      You must download the Official Xiaomi Redmi 9 Rom in the Fastboot version (it ends with .tgz ) then
      you install the miflash tool over github and then you set the rom in the Folder and then you are typing in sudo bash
      and then you must follow these instructions
      but before them you must get into fastboot but you know how to do this,

      In 2 Days i will upload a Youtube Video and i will post the Link oK?

  2. I have managed to follow the instructions for my Redmi 0 EU version with global rom using miui 12.0.2 and installed TWRP successfully. I can backup system etc. The only issue is that the touch screen does not work and i have to use a usb mouse to control. Does anyone have any how to resolve it?


  3. What causes the phone to fail at the reboot stage when all of the cmd commands were successful? Then I am left with the logo black screen switching on and off. I have successfully reinstalled the stock ROM twice but I really want to install a custom ROM, that is the whole reason I bought this phone.
    Any helpful suggestions are very welcome. I have downloaded the appropriate files and followed the instructions exactly as far as I am aware.
    Thank you.

Leave a Reply

Your email address will not be published.