小米5 刷机LineageOS 14.1的详细教程
1,准备
platform-tools
Mac/Linux/windows
会简单的命令行命令
2,解锁你的小米设备
3,Installing a custom recovery using fastboot
注意,下面的步骤请在你解锁你的小米设备后才能进行。
Download a custom recovery - you can download TWRP. Simply download the latest recovery file, named something like twrp-x.x.x-x-gemini.img.
Connect your device to your PC via USB.
On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
gaoshiweideMacBook-Pro:~ gaoshiwei$ adb devices
List of devices attached
289dedcc device
// 如果成功的话会列出你的设备
// 继续进行下面的步骤
gaoshiweideMacBook-Pro:~ gaoshiwei$ adb reboot bootloader
gaoshiweideMacBook-Pro:~ gaoshiwei$ fastboot devices
289dedcc fastboot
// 注意下面的命令,/Users/gaoshiwei/Downloads/是我Mac上存放img的路径。(用过命令行的都懂哈)
gaosh