Ok so I answer to myself, the successful way I found is to add this line in BoardConfig.mk (in device tree)Hi everyone, I would like to know what is the best way to sign a build with our own keys ?
I already generated my own keys with :
Now I want to use it directly in my build. I tried different things but nothing worked...Code:
subject='/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/[email protected]' mkdir ~/.android-certs for x in releasekey platform shared media; do \ ./development/tools/make_key ~/.android-certs/$x "$subject"; \ done
PRODUCT_DEFAULT_DEV_CERTIFICATE := /<your_path>/.android-certs/releasekey
make clobber && make clean brunch ...