Replymessage unavailable
Steps to root your current rom.
Bootloader must be unlocked
1. Identify your Miui exact version. Check about phone
for example if you have Miui 14.0.2.0 SMOINXM.
Remember this whole version name.
2. Download Fastboot rom (recommend) or recovery rom of exact same version and extract boot.img from it. Use /fastboot ruby
3. Install Magisk apk file
4. Open magisk app and click on Install -> Select and patch file
5. Select stock boot.img you extracted and click on lets go.
6. Go to file manager and check magisk patched boot.img is there with name starting with magisk_patchted
7. Copy this file to PC
8. Put phone in fastboot and connect
9. In PC setup adb and fastboot drivers.
10 open cmd and pass the following command
fastboot flash boot PathOfMagiskPatchedBoot.img
here, PathOfMagiskPatchedBoot.img is the location of magisk patched boot.img you put in pc
you can drag file there too.
11. After successfully flashing boot your phone.
Warning: *You are responsible for your actions.
Credit for note:- santoshhh000