參考資料:
https://github.com/droidian-images/droidian/releases
步驟如下:
1. 進入Fastboot模式並且解鎖
$ sudo fastboot flashing unlock
2. 命令如下:
$ cd $ wget https://github.com/steward-fu/pixel3axl/releases/download/v1.0/platform-tools_r33.0.3-linux.zip $ unzip platform-tools_r33.0.3-linux.zip $ mv platform-tools /tmp $ export PATH=/tmp/platform-tools:$PATH $ wget https://github.com/droidian-images/droidian/releases/download/nightly/droidian-OFFICIAL-phosh-phone-fxtec_pro1x-api30-arm64-nightly_20221101.zip $ unzip droidian-OFFICIAL-phosh-phone-fxtec_pro1x-api30-arm64-nightly_20221101.zip -d dd $ cd dd $ ./flash_all.sh I: Flashing data/boot.img Sending 'boot_a' (34408 KB) OKAY [ 0.860s] Writing 'boot_a' OKAY [ 0.149s] Finished. Total time: 1.032s Sending 'boot_b' (34408 KB) OKAY [ 0.866s] Writing 'boot_b' OKAY [ 0.137s] Finished. Total time: 1.025s I: Flashing data/dtbo.img Sending 'dtbo_a' (119 KB) OKAY [ 0.005s] Writing 'dtbo_a' OKAY [ 0.002s] Finished. Total time: 0.012s Sending 'dtbo_b' (119 KB) OKAY [ 0.010s] Writing 'dtbo_b' OKAY [ 0.002s] Finished. Total time: 0.019s I: Flashing data/vbmeta.img Sending 'vbmeta_a' (4 KB) OKAY [ 0.009s] Writing 'vbmeta_a' OKAY [ 0.001s] Finished. Total time: 0.016s Sending 'vbmeta_b' (4 KB) OKAY [ 0.011s] Writing 'vbmeta_b' OKAY [ 0.001s] Finished. Total time: 0.018s I: Flashing data/userdata.img Sending sparse 'userdata' 1/5 (786300 KB) OKAY [ 19.948s] Writing 'userdata' OKAY [ 0.000s] Sending sparse 'userdata' 2/5 (782859 KB) OKAY [ 20.584s] Writing 'userdata' OKAY [ 0.000s] Sending sparse 'userdata' 3/5 (786428 KB) OKAY [ 20.234s] Writing 'userdata' OKAY [ 0.000s] Sending sparse 'userdata' 4/5 (785831 KB) OKAY [ 20.144s] Writing 'userdata' OKAY [ 0.000s] Sending sparse 'userdata' 5/5 (238111 KB) OKAY [ 11.832s] Writing 'userdata' OKAY [ 0.000s] Finished. Total time: 93.438s Rebooting OKAY [ 2.427s] Finished. Total time: 2.477s I: Flashing completed
完成
P.S. droidian:1234