how can I build a kernel using the stock kernel + twrp recovery?

freaky2xd

Senior Member
Jan 9, 2015
630
239
63
Hey!
I got a rooted+unlocked Z2 D6503 with Android MM build .575...
at the moment i am using pec0ra`s custom abricot kernel v8.1 which is quite exciting but i only use it for the recovery and the fast_hotplug is a wonderful feature...
can i add the same recovery to the .575 stock kernel and flash it as a flashable zip? i really need a recovery and at the moment the [NUT]DualRecovery doesn`t support android mm pls tell me how I can create a flashable kernel using the stoock one + twrp 3.0.X