Huawei’s bootloader uses a proprietary digital signature (RSA-2048 or HMAC) appended to the image header. When you repack a modified image without updating the signature, the verification algorithm fails.