Cause: The repacked image is missing device tree information.
Solution: Some devices (especially Qualcomm) embed DTB in the boot image. Use mkbootimg with --dtb argument. Obtain the DTB from a stock firmware.
Before converting boot.emmc.win to boot.img, ensure you have: boot.emmc.win to boot.img
page size (usually 2048 or 4096 bytes) and kernel command line arguments. This is not always required, but it helps for verification.Given the complexity, using AIK or unpackbootimg is far more practical. Cause : The repacked image is missing device