How to Flash TWRP(LR.TEAM) and root Miui in RN8pro
@santoshhh0001. Download recovery file from #recovery
(For Miui A9 -Lrtwrp pie
For Miui A10 -Lrtwrp Q)
Also install adb drivers in PC from #drivers
2. Open CMD from the directory where you store twrp.img in adb platform tool folder .
(It's important because you don't need to type whole path of the twrp.img)
3. Hold Power button & Vol- to enter fastboot mode and connect device to USB.
4. In CMD type first
fastboot devices
To ensure that device is in fastboot, this is not important but recommended. Output should be something like this 4l6lsctgskpj4swc fastboot
5. To flash recovery file. Type
fastboot flash recovery twrp.img
Here twrp.img is the name of recovery file .It could be another name ,you have to use same twrp recovery img name.
6. This is the most important step now, on the device screen it should write USB Transmission ok if that is there you are ready to go.
Remove device from the USB and hold Power button & Vol+, When the device turn off the screen keep holding Vol+ it'll keep screen off for about 5-10 seconds, then it'll show a recovery, still holding vol+ because it will get restarted again, and again still holding vol+ and recovery will show up.
Simple words (Keep holding vol+ till recovery not appear for second time)
7. If it asks for a password, it's a password you use on the device it self(one for unlocking the screen or unlock the device after reboot), enter password and wait for Data decrypt.
At the moment there is no root and recovery will be replaced after you try to boot next time. To prevent it from replacing recovery do next (my opinion is skipping step 8. and 9. and having stock recovery because of MIUI updates):
8. Go to mount and tick the /system
9. Go back, tap on advanced, then to File Manager search for system_root dir open it, then find system and on the bottom is file called recovery-from-boot.p Remove or rename that file to something like recovery-from-boot.bak and recovery wont be replaced
For Rooting :
10. Go to advanced and tap on Close AVB2.0 and swipe to confirm
11. Go back and tap to Install ROOT or you can also use latest stable magisk zip , swipe to install and Reboot system.
Guide by: @Paget96
Edited by: @santoshhh000
This guide work in all miui versions. Just use the respective LRTwrp of android version.