Default Need [GUIDE] for rooting kernel

Hi All,

I'm looking for a guide on how to root kernels.
My bootloader is unlocked and I would like to decompile boot.img and root it. Any help much appreciated.