Comment on [Porting] Google Pixel Fold (felix) – Halium 14 on an Android 14 QPR3 vendor without VNDK?
@Keneda thanks!
On Tensor Pixels it's different: the anti-rollback counter lives in hardware and the bootloader itself enforces it, locked or unlocked. An older bootloader is refused (or the phone can end up bricked if you force it). That's what happened to Pixel 6 owners after the Android 13 update. On this device the counters (ap-ar-ns / ap-ar-s / gsa-fw-ar) are already at 2, so I never flash the bootloader or radio images from older factory zips.
For users it should still be simple: the installer just has to skip the bootloader/radio images and flash the partitions it needs, with the newer bootloader left in place. That's how I'm doing it by hand now.
And a bigger update: Ubuntu Touch 24.04 now boots on the Pixel Fold 🎉
I moved to Halium 16 on the Android 16 vendor (CP1A.260505.005), following the Pixel 9 (google-zumapro) port.
Working:
- 6.1 kernel (kernel-android-common android14-6.1-halium + UBports' gs-6.1 trees, which already contain gs201/felix)
- Lomiri with the setup wizard, app drawer and on-screen keyboard
- touch on both panels, SSH over USB
- fold state from the Hall sensor
Open problem: Lomiri only looks at Screens.count, so the cover panel is treated as an external monitor. The cover gets the desktop shell and the inner panel becomes a virtual touchpad. Is there an existing approach for devices with two built-in panels, or is patching ShellScreen.qml / OrientedShell.qml the way to go?
Device repo: https://github.com/sandrrei/google-felix
Notes: https://github.com/sandrrei/ubuntu-touch-pixel-fold (docs/08-first-boot.md)