Android自制rom,为update.zip签名
确认已经安装好openssl
openssl genrsa -out key.pem 1024 openssl req -new -key key.pem -out request.pem openssl x509 -req -days 366000 -in request.pem -signkey key.pem -out certificate.pem openssl pkcs8 -topk8 -outform DER -in key.pem -inform PEM -out key.pk8 -nocrypt java -jar signapk.jar certificate.pem key.pk8 update.zip sign-update.zip
signapk.jar
链接: https://pan.baidu.com/s/1gfvPZe7 密码: x3uu