Install TWRP Recovery on Samsung Galaxy M21 (SM-M215F)

If you have a Samsung Galaxy M21, the first thing you should do with the phone is to install a custom recovery and root it. In this article, you will learn how to properly download and install TWRP on the Galaxy M21. TWRP is an advanced custom recovery that you can use to flash custom ROMs and mods. In other words, you can completely change the software of your Galaxy M21 through this recovery. Below you will learn the benefits of TWRP and how to install it on the Samsung Galaxy M21.

What is TWRP (TouchWiz Recovery Project)

twrp galaxy m21

TWRP is one of the most popular custom recoveries for Android phones. A big reason for this popularity is that developers frequently add new devices to their already huge database of phones.

  • Install ZIP files (ROMs, kernels, mods, themes)
  • Wipe data and perform a full factory reset
  • Wipe cache and dalvik cache
  • Backup all data (Nandroid backup – System, Data, Cache, Boot, EFS)
  • Restore saved data through backup
  • Fix permissions
  • ADB sideload
  • Terminal Command

TWRP makes it possible to customize the firmware of your phone by installing custom ROMs, kernels and various mods. It also makes it possible to improve the speed of the phones and reduce battery usage, thanks to its ability to flash custom kernels and files that modify the way the CPU behaves.


This version of TWRP is compatible only with the Samsung Galaxy M21 with model number SM-M215F. Do not try flashing any of the files below on other Samsung Galaxy phones. If you use another model of the phone, you can damage and brick your phone. Installing a custom recovery on your phone might void the warranty. We are not held responsible for anything that might happen to your phone.

Please note that flashing a custom recovery will trip KNOX and will void your warranty in certain countries. As a result, some secure apps such as Secure Folder, S Health, and Samsung Pay will no longer work. Furthermore, Samsung’s OTA firmware updates will not work. We are not held responsible if you break or brick your device. Please proceed at your own risk.


Before you proceed with the flashing tutorial, it is important to be prepared. This will avoid any possible issues such as the phone turning off or getting bricked.

  • Make sure that your phone is charged to at least 60%. This ensures the phone will not accidentally turn off during the process.
  • Make a full backup of the data on your phone. The process below involves unlocking the bootloader, which will delete everything on your phone.
  • You need an external micro SD card, otherwise, you will not be able to flash the encryption disabler script.
  • Go to Settings > Developer Options and enable USB Debugging and OEM unlock. This is very important. galaxy m21 oem unlocking
  • Download and install the proper USB drivers for the Galaxy M21. If you don’t have the proper drivers, the computer will not recognize your phone.

Download Panel

How To Install TWRP Custom Recovery on Galaxy M21

  1. Download the .tar file and move it to the internal storage of your phone.
  2. Press and hold the power button and select Power off.
  3. Turn off the phone and go into recovery mode. To do so on the Galaxy M21, press and hold the Volume up + Power keys at the same time.
  4. Perform a factory reset while in recovery mode. galaxy m21 recovery factory reset
  5. Once the phone is off, press and hold the Volume Down + Power keys at the same time to go into Download Mode.
  6. Connect your Galaxy M21 to the computer using the provided cable.
  7. Launch Odin on your computer. The ID:COM box in Odin will turn blue. This means that the computer has recognized the device.install twrp galaxy m21 odin
  8. Click on AP and select the downloaded .tar file.
  9. Once you have selected the file, make sure Auto Reboot is disabled while F. Reset Time is enabled.
  10. Click on Install. This will flash TWRP on your phone.

That is it. Now your Samsung Galaxy M21 will have TWRP installed. Now you can also root your phone with Magisk. If you are having any issues or problems, let us know below



  1. Hi Ronaldo,

    thanks for your documentation.
    I was able to install the twrp 🙂
    But now – when trying to backup thru twrp – i run into this error:
    required key not available

    Any ideas or suggestions?
    Many thanx


Please enter your comment!
Please enter your name here