Take a complete backup
Before rooting, one of the most important things that you need to do on your phone is to take a complete backup of your phone. For that, you can follow the guide by clicking the link below:
Activate Developer Options
To Enable the Developer Option on your device, follow the below steps:
- Go to the Settings menu of your Android device.
- Then scroll down and go to About.
- Now you need to head to Software Information>> More.
- Here tap on Build Number 7-8 times until you see a message “You are now a developer”.

You also need to enable USB Debugging and OEM unlock option under the Developer Options menu. And to do that:
- Head over to Developer Options and toggle ON the USB Debugging option as well as the OEM unlock option.


You need to install the latest Odin tool on your PC. For that, you can follow the link mentioned below:
Unlock the bootloader
In order to install the TWRP Recovery, you have to first unlock the bootloader on Samsung Galaxy M12.
Warning!
Before we begin with the unlocking of the bootloader, I would strongly recommend you to create a backup of your device storage and all your files stored on your device. Unlocking of bootloader will wipe off the entire data on your device. Moreover, it is advised to follow the steps mentioned in this post very carefully to avoid permanent damage or brick your device. If anything goes wrong, the author or GetDroidTips is not responsible for it.
Download Samsung USB Drivers
You can follow the link in order to download the correct Samsung USB drivers for Windows and Mac.
Download TWRP Recovery
Here you will find the latest and TWRP recovery for the Samsung Galaxy M12.
| File Name |
TWRP Recovery |
| Version |
Latest |
| Developer |
Unknown |
Download TWRP Recovery
Instructions to Install TWRP
Follow the step by step instructions mentioned below to simply install the TWRP Recovery on your Samsung Galaxy M12:
Follow Our Tutorial
You can check out our full-depth tutorial video as well:
Watch Our Tutorial Video
- Once the device booted into TWRP Recovery mode, you need to decrypt the data partition. In order to do it: Go to Wipe > Format Data and follow the on-screen instructions.
- Then reboot to recovery mode again.
- Now, flash the Samsung multidisabler zip and then flash the DM Verity Force Disabler (To avoid some issues, like the Reboot thing)
- That’s it. Reboot to the system finally. Enjoy!
Root Samsung Galaxy M12 Using Magisk
- Now you need to install the Magisk Manager APK on your phone.
- Place it in the internal memory on your device.
- Then head over to recovery by pressing the Volume up + Power button together.
- Make sure you have created a backup of your Samsung Galaxy M12.
- In TWRP, select Install and locate Magisk.zip and select the file.
- Swipe to Install and flash it.
- Restart your device.
- Voila!
So, there you have it from my side in this post. I hope you guys liked this post and were able to install the TWRP Recovery and root your Samsung Galaxy M12 smartphone. Let us know in the comments below if you faced any issues while installing the TWRP recovery on your phone and then rooting it using Magisk. Until the next post…Cheers!
Now, flash the Samsung multidisabler zip and then flash the DM Verity Force Disabler (To avoid some issues, like Reboot thing)
The files above are missing