Follow this guide and all things would be just fine.
####Brerquested
- Unlock Bootloader
- USB DATA cable (the one that came with your device)
- Enable USB Debugging - Goto Settings > Additional settings > Developer options > USB Debugging - Enable (If you have not activated Developer options, then Goto Settings > About phone > tap MIUI version 7 times > You are now a developer)
- Battery is charged at least 50%.
####Download all of these files
####1-Using Flasher
- install
minimal_adb_fastboot_v1.4.2_setup.exeon your windows PC which you have already downloaded. - Copy both
SuperSuandno-verity-opt-encrypt-5.1.zipto your phone internal storage. - Plug your device in an ON-STATE via USB cable to your PC/Laptop.
- Download and extract,
Run as administratorand executeFLASHER TOOLKIT MidoV2.bat. - Next, you see the menu for what you want to do, as mentioned on the highlight, choose Menu #1 to flash Official TWRP 3.1.1-0 and follow the on-screen instructions.
####2-
Once the flashing is done successfully, you will reach the TWRP screen asking you if you want to allow system modifications. By swiping right, you will trigger dm-verity, and if you don't follow the next step you will be unable to boot! Hence, to root your device you need to follow the rest of these steps, then it is safe to swipe right and enable modifications.
####3-
Now you will need to install
SuperSuandno-verity-opt-encrypt-5.1.zip####4- Check Root Use Root Checker to check whether you have Rooted your device properly.
Congrats Now You have successfully rooted your phone.
###FAQ will be added soon
####Resources