Install TWRP Recovery on Xiaomi Redmi K40S? Adb & Fastboot!

Hi, welcome to my guide on installing TWRP on your Xiaomi Redmi K40S phone. TWRP is a custom recovery that gives you more controls over Android software. It works great on the Xiaomi Redmi K40S. I will show you easy steps to put TWRP onto your phone’s recovery.

Just carefully flash TWRP on your Xiaomi device using my guide. Soon your Xiaomi Redmi K40S smartphone will have this helpful new recovery letting you do more customizations.

What is TWRP Recovery?

TWRP stands for TeamWin Recovery. It replaces the default recovery software on your Android. TWRP is a custom recovery made by developers. It lets you install custom ROMs, flash ZIP files from SD card, and make full backups.

It comes with more features than the basic recovery Xiaomi phones come with. TWRP uses a touch screen, so you don’t need buttons to navigate options.

Overall, TWRP lets you change and customize your phone software in ways the stock recovery blocks. Next, I’ll share some pros and cons of putting TWRP as recovery before we start the installation steps.

Must Read – Various Issues on the Xiaomi Redmi K40S & How to Fix Them

Advantages of Installing TWRP Recovery on the Xiaomi Redmi K40S?

Must Read: Install Stock ROM on Xiaomi Redmi K40S

Disadvantages of Installing TWRP Recovery on the Xiaomi Redmi K40S?

  • Your phone warranty gets voided.
  • If you flash wrong files or unstable files, then your phone will be bricked.
  • You may face some performance issues after installing TWRP.
  • Flashing Unstable ROM to Xiaomi Redmi K40S can make your device nonfunctional.
  • You will not get OTA updates from your phone manufacturer.

Related article: Unroot Xiaomi Redmi K40S

Let’s Install TWRP Recovery on the Xiaomi Redmi K40S

So, to install TWRP, you need to make sure that you have followed the pre-requirements shown below:


  • You will need a Laptop or PC for this method.
  • Fully charge your Xiaomi Redmi K40S.
  • Make sure to Unlock Bootloader on Xiaomi Redmi K40S.
  • Download TWRP Recovery Img file to your Windows PC and Rename it to twrp.img.
  • Take a full backup of your Xiaomi Redmi K40S device. It will help you to restore files if anything goes wrong.
  • This method is only for the Xiaomi Redmi K40S smartphone. Please do not try this method on any other smartphone. Otherwise, your device will get bricked/nonfunctional.

TWRP Xiaomi

Disclaimer: All the tutorials/ guides shown in this blog are not tested for each and every smartphone. As the method of installing TWRP Recovery is almost the same for every smartphone.

If anything happens to your smartphone is not responsible for loss and damage to your smartphone. Try these methods with your own risk!

Steps to Install TWRP Recovery on Xiaomi Redmi K40S

  1. First Enable USB Debugging on your Xiaomi Redmi K40S.
    • Go to SettingsAbout Phone.
    • Tap on the MIUI/ HyperOS version 6–7 times until you see “You are now a developer!” message.
  2. Thereafter, Go Back to the Settings and scroll down and tap on Additional settings.
    • Go to Developer Optionsenable USB Debugging and OEM unlocking option.
      Xiaomi OEM Unlocking
  3. Now you need to Set up ADB and Fastboot drivers on your PC/ Laptop. Follow the below steps:
    • Download ADB and Fastboot Tool
    • Extract it and Run it
    • Next, Press Y/Yes to install ADB and Fastboot or N/No to skip
    • Press Y/Yes to install ADB system-wide or N/No for current users only
    • Again, Press Y/Yes to install Drivers or N/No to skip
      setup adb and fastboot drivers
    • Continue Driver installation
  4. Download Android Platform Tools and extract it to your PC.
  5. Power off your Xiaomi Redmi K40S device.
  6. Now press and hold the Volume Down Plus Power buttons until you see the Fastboot mode screen.
    Xiaomi Fastboot Mode
  7. Connect your Xiaomi Redmi K40S device to the PC via the original USB cable.
  8. Open the Platform tools folder.
  9. Move twrp.img file to the Platform tools folder.
  10. Press Shift Plus right click blank area inside the Platform Tools folder and choose “Open command window here”.
    platform tools powershell window
  11. Inside the Command Window, type the following commands.
    fastboot devices
    • Hit Enter on the keyboard, this command should display connected device information. Next type:
    fastboot flash recovery twrp.img
    • Hit Enter on the keyboard, wait until the flashing process completes. Thereafter, type the below command:
    fastboot reboot
  12. Now your Xiaomi Redmi K40S smartphone will reboot.
  13. Congrats! You have successfully installed TWRP Recovery on the Xiaomi Redmi K40S.

Steps to Boot Xiaomi Redmi K40S into TWRP Mode

After installing TWRP, follow these steps to boot your Xiaomi Redmi K40S into TWRP Recovery Mode:

  1. Turn off your Xiaomi Redmi K40S phone if it’s on.
  2. Press and hold the Volume Up Plus Power buttons together.
  3. Keep holding both buttons until you see the TWRP Recovery screen.
  4. Immediately release both buttons when you are inside the TWRP screen.
    TWRP Recovery Page
  5. You can now, navigate using your Xiaomi Redmi K40S touch screen to access features like NANDroid backup, wiping data or partitions, installing ZIP files from SD card storage, forcing reboot into system and more.

Related: How to Install Custom ROM on Xiaomi Redmi K40S. (Custom ROM File May Or May Not Be available as per the development)


So, I have shown you the complete steps of installing TWRP Recovery. I hope this guide helps you to Install TWRP Recovery on the Xiaomi Redmi K40S, make sure to leave a comment if this method works for you.

Furthermore, share your valuable feedback and queries in the comments. I will try my best to solve all the queries of yours as soon as possible.

See you in the next guide.

Leave a Comment