you can extract kdz file, extract kz, merge the system.img and save whatever u want using ext2read tool(you can find the tutorial here>> https://forum.xda-developers.com/showthread.php?t=2600575) move that saved file to the right place afterward u just have to simply set permissions and reboot :)