美文网首页
[Mtk][N0]客制化签名文件

[Mtk][N0]客制化签名文件

作者: 灰灰手记 | 来源:发表于2017-06-20 18:30 被阅读130次
1、make key

按 alps\build\target\product\security\README 文件内容指示

The following commands were used to generate the test key pairs:

  development/tools/make_key testkey  '/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/emailAddress=android@android.com'
  development/tools/make_key platform '/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/emailAddress=android@android.com'
  development/tools/make_key shared   '/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/emailAddress=android@android.com'
  development/tools/make_key media    '/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/emailAddress=android@android.com'

各参数说明如下:

Attrs Description Example
C Country Name US
ST State or Province Name California
L Locality Name Mountain View
O Organization Google
OU Organizational Unit Name Android
CN Common Name Android
emailAddress Contact email address android@android.com
2、替换旧 key

然后将生成的签名文件


拷贝到 alps\device\mediatek\common\security\project\ 替换原文件。

3、开宏开关

到 ProjectConfig.mk 里面开启 MTK_SIGNATURE_CUSTOMIZATION = yes。
若宏开关为关闭状态,则使用的时 alps\build\target\product\security\ 下的签名文件。

相关文章

网友评论

      本文标题:[Mtk][N0]客制化签名文件

      本文链接:https://www.haomeiwen.com/subject/hydaqxtx.html