which twrp version you use?
3.1.1-0 with Nougat bootloader?
By flash...do you mean simple flash(dirty flash) should work to restore kernel?
Or should a clean install be done..
Sent from my SM-N900 using XDA Free mobile app
Yes, just dirty flash and wipe cache would be fine....