This repository contains the device adaptation for the BlackBerry Passport (wseries), utilizing Halium 11.
This port uses halium-generic-adaptation-build-tools with a patch for old Qualcomm DT boot.img format support.
The build process consists of three steps: building the device tarball, preparing the OTA files, and generating the final system image.
-
Build Device Tarball
./build.sh -b workdir
This compiles the kernel, generates
dt.img, and creates the device adaptation tarball (out/device_wseries.tar.xz). -
Prepare OTA Files
build/prepare-fake-ota.sh out/device_wseries.tar.xz workdir/fake-ota
This downloads the Ubuntu Touch rootfs and prepares the OTA package format artifacts in
workdir/fake-ota. -
Generate System Image
fakeroot build/system-image-from-ota.sh workdir/fake-ota/ubuntu_command out
This generates the final
rootfs.imgandboot.imginout.
The output files will be:
out/boot.img(boot image)out/rootfs.img(rootfs image, rename toubuntu.imgif booting from /userdata)out/system.img(same as rootfs.img, but in Android sparse format, can be ignored)
First, you must convert your BlackBerry Passport to Android. This process requires replacing and resoldering the eMMC chip. Follow the guide here: BlackBerry Passport Conversion Guide
Flash the latest LineageOS build and ensure the device is functional.
Once the device is running LineageOS, follow these steps to install Ubuntu Touch:
-
Push the Rootfs:
adb root adb push out/rootfs.img /data/ubuntu.img
-
Flash the Boot Image:
adb reboot bootloader fastboot flash boot out/boot.img
-
Reboot:
fastboot reboot