Depending on whether you want to completely revert to factory settings or successfully bypass the verification check with your repacked image, select one of the following technical pathways.
Mount it (or use unsquashfs ):
If the bootloader strictly enforces RSA signatures, you have two choices: