从来如此,便对吗?
—鲁迅
1.首先解BL锁
详见解BL锁
2.下载资源
下载LineageOS 17.1直接下载最新版就行了
下载MIUI Q based firmware(推荐) 谷歌云盘(不推荐)
下载OPEN GAPPS(推荐nano版) GAPPS官网
GAPPS版本的区别
下载Magisk20.04(推荐) Magisk官网
3.输入TWRP
fastboot刷入TWRP包
USB3.0导致fastboot无法识别手机的解决办法解决方法下载
4.正式刷入
1)重启进入recovery(TWRP recovery for Mi 8)
2)Format /system, /data and /cache
3)Install MIUI Q based firmware
4)Install LineageOS zip package
5)Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)
Important notes:
- Required * firmware version must be based on MIUI Q-based builds.
Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.
LineageOS介绍:
LineageOS is a free, community built, aftermarket firmware distribution of Android 10, which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
大概意思:
LineageOS是Android 10的免费,社区构建的售后固件发行版,旨在提高设备的现有Android的性能和可靠性。
LineageOS基于Android开源项目,并且来自Android社区中许多人的额外贡献。 无需安装任何Google应用程序即可使用它。 您将需要提供自己的Google应用程序包(gapps)。 LineageOS仍然包含各种特定于硬件的代码,无论如何它们也正在缓慢地开源。