I was wondering if there's a way for me to port kernel 5.10 to my device Google Pixel 3 (blueline) as the official Google support ended with kernel 4.9, but there's features that I need of kernel 5.10 that are not present in the kernel 4.9, so can you tell me how can I build kernel 5.10 for blueline? As far as I know, it is completely possible. By the way, I'm using Ubuntu 22.04 for all of this.
I tried using a GKI (Generic Kernel Image) of the kernel 5.10 with an Android 13 ROM but it didn't boot (i used both the boot.img and the uncompressed kernel image, none of them boots). I used fastboot to flash them:
fastboot flash boot boot.img
fastboot boot boot.img