How To Root Xiaomi

How To Root Xiaomi:
Don't forget to read the supported models before starting below.
Go to the device settings/About phone, Press 7 times in succession on MIUI version.
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.
Now you need to unlock the bootloader.
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.
Click Add Account and Device.
Now go to the PC, Download and install the drivers for Xiaomi USB.
Now, download the Mi Unlock tool, then extract the file.
Open the tool, then click on Sign in and add a Xiaomi account.
They will send a confirmation message. Enter the code with the tool.
Turn off your Xiaomi Mi/Redmi.
Boot the device into Fastboot mode (Volume Down and Power).
Connect the device to the USB, the device name will appear on the tool and the phrase “locked”.
Click on Unlock, it will start processing, then a message will appear saying that you must wait 168 hours to try again.
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.
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.
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.
Download Minimal adb fastboot then install it on your desktop.
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.
From where we download the firmware, of course, from our website, by searching for your device model, and it will appear to you. If the same version of your device is not found, you can contact us to provide it to you.
After downloading the firmware, extract the files and several files will appear inside the extracted folder. Open the images folder.
Copy the file vbmeta.img to the folder Minimal adb fastboot you installed earlier.
Then copy the Boot.img file to your Xiaomi device.
Install and open the Magisk Manager app.
Press the Install button in the Magisk card.
A new window will appear, choose Select and Patch a File.
Choose the file you copied before and press Let's Go button.
Magisk will start patching the boot file.
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.
Now inside the Fastboot folder we have the files magisk_patched and vbmeta.
From the Minimal adb fastboot folder bar we type CMD to open the command prompt.
From the device open developer options then enable USB Debugging.
Boot the device into Fastboot mode.
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.
Then write: "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img".
Then write: "fastboot reboot".
Congratulations, you got root permissions.
In case of problems with saftynet read this article How to fix SafetyNet in easy steps.
Congratulations to you, the mobile is now rooted. If there are any problems, do not hesitate to contact us.
Comments