dd if=boot.emmc.win of=boot.raw bs=4096 skip=0
AIK does not care about the file extension. It reads the raw data, locates the kernel and ramdisk boundaries (even without a standard header by using heuristics), then rebuilds a proper Android boot image with correct headers.
Or you might need to use:
: If you modify the filename, TWRP's "Restore" function might fail because the MD5 checksum won't match the new name. Only rename copies of the file intended for external use. Installation | Magisk - GitHub Pages
dd if=boot.emmc.win of=boot.raw bs=4096 skip=0
AIK does not care about the file extension. It reads the raw data, locates the kernel and ramdisk boundaries (even without a standard header by using heuristics), then rebuilds a proper Android boot image with correct headers. boot.emmc.win to boot.img
Or you might need to use:
: If you modify the filename, TWRP's "Restore" function might fail because the MD5 checksum won't match the new name. Only rename copies of the file intended for external use. Installation | Magisk - GitHub Pages dd if=boot