Installation and use of the root android is entirely at your own risk and we do not take any responsibility for device failure.
In older versions of the Android system such as Jelly Bean and KitKat was using apps (kingroot / kingo root / framaroot / iroot / root king / towelroot) To get root permissions either in new versions such as Lollipop, Marshmallow, Nougat, Pie and future versions of the Android system, these applications do not work.
Notes before root process
Charge the battery well before use.
Use the original USB cable that came with the device.
Use the laptop at work to avoid electricity problems.
How To Root Xiaomi 12 Pro
1.Don’t forget to read the supported models before starting below.
2.Go to the device settings/About phone, Press 7 times in succession on MIUI version.
3.Go back to the main interface of settings and then open the additional settings, you will find developer options open it and then enable OEM Unlocking and USB debugging.
4.Now you need to unlock the bootloader.
5.Turn on your mobile data. You have to turn on mobile data from the same SIM card with which you created your Mi account.
Now from the developer options open Mi Unlock status and then agree to the terms.
6.Click Add Account and Device.
7.Now go to the PC, Download and install the drivers for Xiaomi USB.
8.Now, download the Mi Unlock tool, then extract the file.
9.Open the tool, then click on Sign in and add a Xiaomi account.
10.They will send a confirmation message. Enter the code with the tool.
11.Turn off your Xiaomi Mi/Redmi.
12.Boot the device into Fastboot mode (Volume Down and Power).
13.Connect the device to the USB, the device name will appear on the tool and the phrase “locked”.
14.Click on Unlock, it will start processing, then a message will appear saying that you must wait 168 hours to try again.
15.During this waiting period, you should continue to use the device, Do not enter the Mi Unlock Status section again, do not reset the phone and do not sign out of the Mi account.
16.After the period has elapsed, boot the device again to Fastboot mode, then open the Mi Unlock tool, then connect the device to the USB and press Unlock.
17.It will start processing, then the machine will restart automatically. Note that everything will be erased from the device.
Wait for the boot process to complete and congratulations, your bootloader has been unlocked.
18.Download Minimal adb fastboot then install it on your desktop.
19.This step is very important. Please focus now. We need to download a firmware compatible with the device model and version of the device. It is preferable to download the same version on the device to avoid problems.
20.download xiaome the firmware
21.After downloading the firmware, extract the files and several files will appear inside the extracted folder. Open the images folder.
22.Copy the file vbmeta.img to the folder Minimal adb fastboot you installed earlier.
23.Then copy the Boot.img file to your Xiaomi device.
24.Install and open the Magisk Manager app.
25.Press the Install button in the Magisk card.
26.A new window will appear, choose Select and Patch a File.
27.Choose the file you copied before and press Let’s Go button.
28.Magisk will start patching the boot file.
29.After the processing is finished, you will go to the Downloads folder, there is a file magisk_patched, copy it to folder Minimal adb fastboot in your PC.
30.Now inside the Fastboot folder we have the files magisk_patched and vbmeta.
31.From the Minimal adb fastboot folder bar we type CMD to open the command prompt.
32.From the device open developer options then enable USB Debugging.
33.Boot the device into Fastboot mode.
34.Type: “fastboot flash boot magisk_patched.img” then enter the file will start flashing make sure that magisk_patched.img is the name of the file and there is no symbol or extra character.
35.Then write: “fastboot –disable-verity –disable-verification flash vbmeta vbmeta.img“.
36.Then write: “fastboot reboot“.
37.Congratulations, you got root permissions.