Android/Sign

From OLPC
< Android
Revision as of 04:31, 22 September 2014 by YouxinSu (talk | contribs)
Jump to navigation Jump to search

By default, Android build script use testkeys to sign all the files which is in build/target/product/security/.

For a decent release, build has to be resigned with release keys created by private builder. OLPC official build is signed by release keys generated by OLPC. The build has to be resigned if you plan to release a customized release.

Here is the instructions to generate all the keys resign needed. generatingKeys

  • Put the keys generated in vendor/olpc/security/xo4

If you can successful build Android for XO-4, there is a script build_release.sh which can help to resign build using specific keys.

 cd vendor/olpc/xo4/sugar-combiner 
 . build_release.sh vendor/olpc/security/xo4