Signing the final aml_upgrade_package

As you know the build process in AOSP uses test-keys. There is a tool named “sign-target-apk-files” which gets some keys and a target files zip as input and signs it.

Then we may use aml_image_v2_packer to build a flashable img file which is signed with our keys…

But that image does not work… (after booting up , the system UI app stops!)

Would you please provide a doc for “How to sign final image with release keys?”

Any help would be appreciated