步驟
0)
request unlock
https://en.miui.com/unlock/
1)
# download TWRP
https://dl.twrp.me/ferrari/twrp-3.0.2-0-ferrari.img.html
# supersu - Recovery Flashable.zip
http://www.supersu.com/download
2)
Install fastboot and adb drivers on PC
3)
adb devices
adb reboot bootloader
4)
fastboot boot twrp-3.0.2-0-ferrari.img
Install Lineageos
Required:
Twrp 3.2.x or newer, FW 8.1.5, Gapps 8.1 arm64 (pico recommended).
Install:
Boot recovery > Wipe Dalvik, Cache, System, Data > Install FW > Gappps > Su-Root (if needed) > Reboot