參考資料:
https://download.lineageos.org/pro1#!
https://gist.github.com/Kabouik/f77539b3eb6a77b032d2fa827271b81d
步驟如下:
1. 按住POWER和VOL-進入Fastboot模式
2. 解鎖Bootloader
$ sudo fastboot flashing unlock
3. 執行如下命令:
$ cd $ wget https://mirrorbits.lineageos.org/recovery/pro1/20210405/lineage-18.1-20210405-recovery-pro1.img $ wget https://mirrorbits.lineageos.org/full/pro1/20210405/lineage-18.1-20210405-nightly-pro1-signed.zip $ sudo fastboot flash boot lineage-18.1-20210405-recovery-pro1.img target reported max download size of 536870912 bytes sending 'boot_b' (65536 KB)... OKAY [ 2.570s] writing 'boot_b'... OKAY [ 0.311s] finished. total time: 2.881s
4. 接著進入Recovery模式並且刷入LineageOS