Arducam IMX-219, not giving 4k video

Hi user82702,
I had similar issue with an IMX219 and i also had to rebuild the kernel.
Even if our goal are different, you can find some steps to rebuild the kernel in my topic.
I hope this can help you.