Did anyone have success in making a working rebuild of the Stock kernel? I’m trying to establish a baseline what camera issues on custom ROM are due to kernel or system. Was thinking that I can just use a custom built kernel with stock rom for a start.
I’m following the official guide at Fairphone 4 Kernel Source Code — FAIRPHONE open source documentation
I’m on Stock FP3V version with unlocked bootloader. I’m making a vendor/fp4-perf_defconfig build without apparent issues.
I downloaded stock A.116 boot.img and unpacked that into Image, dtb, and ramdisk. Then rebuilding the image with mkbootimg, keeping dtb and ramdisk but using the new kernel image. Then booting that via
fastboot boot boot-custom.img
The kernel boots up, but camera is not working at all. If I just repack the original kernel build everything is working, so somehow the self-built Kernel image must differ.
Can you maybe provide advice? Are the published kernel sources up date?
Also another question I have is where one would obtain the device tree for FP4? I see that /e/OS pulled it in to their kernel from somewhere, but what is the source of that? Why is it not open source at the moment?