Default How to create stock kernel ftf?

I managed to create a stock firmware ftf with flashtool using the files that pc companion downloaded. But my last attempt at creating one for the kernel wasn't successful. Just thought it may be useful to me later.

Does anyone know how to do it?

Sent from my D6503 using XDA Premium 4 mobile app