Porting Droidian to Fairphone

Hi

TLDR: I need help porting Droidian to FP4 (or FP6)

I want to run a Linux dist on my phone, so I recently bought a FP4 so I could try port Droidian to it.

In my opinion Ubuntu Touch has done a lot of great work bringing Linux to Android phones - but to me it doesn’t really feel that close to being “normal “ distro.

Since neither PostmarketOS or Mobian has all the hardware working on just about any phone, Droidian seems like the best opportunity. Like Mobian it is a Debian derivative for mobile devices.

It runs on an Android kernel with Halium (same as Ubuntu Touch), and since UT has all the hardware working, it seems very possible that the same could be achieved with Droidian without too much hassle.

I have tried compiling a kernel for Droidian for 3 weeks following the porting guide on their website (porting-guide/kernel-compilation.md at master · droidian/porting-guide · GitHub) but I have to admit that my skills are not (yet) up for the task.

So - is there anybody here with better skills than me, who would like to help bringing Droidian to Fairphones?

The latest branch of Halium on their github is based on Android 14, so probably won’t be seeing a FP6 port for a while.
It also makes life a lot easier to build Halium for device if its supported by LineageOS.
So for the time being its a waiting game, both for Halium 15 and a FP6 port of Lineage 22, the latter being nearly complete.

I’ve played around with H13 but never got a successful build, happy to help if you have any surface level questions though as my knowledge about all this isn’t deep.

1 Like

For now, I’m trying to build for FP4 since that’s what I got.

I’m using UBports kernel source (Android 11), since that is working with Ubuntu Touch, but I’m getting “ValueError: DTB image must not be empty.” after a few minutes of compiling.

I’m not quite sure where to find the DTS files or where to put them. My best guess is arch/arm64/boot/dts/qcom/ ..

Any help you can give me would be awesome, thanks !