[GUIDE] Mi Mix 2 stock MIUI - Unroot, upgrade to Android Oreo OTA, re-root

colorado_al

Senior Member
Aug 4, 2008
606
125
0
Disclaimer: I take no responsibility for your device. Use at your own risk!

If you have a rooted stock MIUI Mi Mix 2 running 7.x Nougat with encrypted data and wish to upgrade to 8.x Oreo via OTA:
Make sure you have fastboot on your PC. I'm not going to go into that here. Search and you will find it. If not, then flashing is not for you.

On your device: Open Magisk Manager and click Uninstall. This will remove root.

On your PC, download and install XiaoMi Flash Tool to install device drivers:
https://xiaomiflashtool.com/download/xiaomi-flash-tool-20170425

Download recovery.img to your PC from:
https://www.dropbox.com/s/bmz1xsqhb3v95mz/recovery.img?dl=0

Download this version of TWRP to your PC:
http://www.mediafire.com/file/nvrh79gbgrgio6d/Twrp+supersu_oreo.zip

Download no-verity-opt-encrypt 1.6 to your Mi Mix 2 from here:
https://www.nextgen-networks.de/de/...evices-recovery/29-no-verity-opt-encrypt.html

Download Magisk to your Mi Mix 2 from here:
https://forum.xda-developers.com/attachment.php?attachmentid=4450387&d=1521348853

Power off your Mi Mix 2 and boot into Fastboot mode by holding volume down and power.
Connect your device to PC with USB cable.
Open a command prompt and run
Code:
fastboot devices
to make sure your device is recognized.
Then run
Code:
fastboot flash recovery C:\recovery.img
making sure to put in the correct path to the recovery img that you downloaded from above.

Now reboot your device and go to Settings, About Phone, System Update, Check for Updates and install the OTA.
Your device should reboot and install the OTA and apply it.
Once you verify the OTA is installed, power off your device and return it to fastboot mode.

Open a command prompt and verify your device appears in fastboot
Then run
Code:
fastboot flash recovery C:\Twrp__chinese_Android8.img
making sure to put in the correct path to the TWRP img that you downloaded from above

After the TWRP recovery is installed, immediately boot into recovery (not system) by holding volume up and power.
Once in TWRP Enter your device passcode to allow access to device memory.
Flash no-verity-opt-encrypt 1.6 to prevent overwrite of TWRP by stock recovery.
Flash Magisk-v16.2(1620).zip to re-enable root.

Reboot to system
 
Last edited:

goxthak0

Senior Member
Nov 20, 2011
68
3
0
Mumbai
Im on miui pro rom, and i want to go back to miui because its more fluid. Since dowmload page is not working i cant download fastboot rom. Is there alternate way for this