I don't think you can flash the stock image with a locked bootloader. Reverse the first two and you're good to go. Know that unlocking the bootloader will wipe the entire device internal included. Backup everything to your computer first.
---------- Post added at 10:56 AM ---------- Previous post was at 10:51 AM ----------
Flash your rom first then this kernel. If you're on stock then the way I do it is to fastboot system.img, boot.img then boot into system just to make sure everything is working. Reboot into bootloader, flash twrp.img and then go into recovery from bootloader without a reboot. Flash kernel, superSU reboot and done. Sounds complicated but it only takes a few minutes. If you have a rom with system root then that's another story. You'd have to unsu first from what I understand but I don't have that so I don't really know the exact process.
My twrp recovery sometimes doesn't stick. I figure as long as you're in bootloader it wouldn't take much time and wouldn't hurt. I've gotten burned by stock recovery a couple of times with a force reboot. And it looks like you can skip the system.img flash according to the OP. I thought some of these kernels make modifications to the system at some level and always thought it was best practice to flash the rom (system.img in this case), boot.img, then new kernel and superSU. Maybe that's old school though.
|Thread Tools||Search this Thread|