參考資訊:
https://guidelinuxphone.wordpress.com/droid4-ubuntu-bring-up-rootfs/
步驟如下:
1. 下載檔案
$ sudo apt-get install fastboot $ cd $ wget https://maedevu.maemo.org/images/droid4/VRZ_XT894_9.8.2O-72_VZW-18-8_CFC.xml.zip $ wget https://maedevu.maemo.org/images/droid4/flash-droid-4-fw.sh $ wget https://github.com/steward-fu/website/releases/download/xt894/droid4-kexecboot.img $ wget https://github.com/steward-fu/website/releases/download/xt894/utags-mmcblk1p13.bin $ unzip VRZ_XT894_9.8.2O-72_VZW-18-8_CFC.xml.zip
2. 按住電源 + 音量上 + 音量下,選擇進入Fastboot模式
3. 安裝Kexecboot
$ pushd VRZ_XT894_9.8.2O-72_VZW-18-8_CFC.xml $ sudo bash ../flash-droid-4-fw.sh $ popd $ sudo fastboot flash mbm VRZ_XT894_9.8.2O-72_VZW-18-8_CFC.xml/allow-mbmloader-flashing-mbm.bin $ sudo fastboot reboot-bootloader $ sudo fastboot flash bpsw droid4-kexecboot.img $ sudo fastboot flash utags utags-mmcblk1p13.bin $ sudo fastboot reboot
4. 燒錄到記憶卡
$ cd $ wget https://maedevu.maemo.org/images/droid4/20200323/maemo-leste-1.0-armhf-droid4-20200323.img.xz $ xzcat maemo-leste-1.0-armhf-droid4-20200323.img.xz | sudo dd status=progress bs=1M of=/dev/xxx $ sync