Code Monkey home page Code Monkey logo

evolution_security's Introduction

This repository belongs to vendor/evolution/build/target/product/security

After cloning to the specific path, please run generate-keys.sh

Please note, that mka evolution may not work properly if you have this repository cloned.

Please refer to this AOSP documentation on how to assign custom AVB keys

Please check out the followings BOARD_AVB_ENABLE, BOARD_AVB_ALGORITHM, BOARD_AVB_KEY_PATH, BOARD_AVB_RECOVERY_KEY_PATH and BOARD_AVB_RECOVERY_ALGORITHM for device with vbmeta_system BOARD_AVB_VBMETA_SYSTEM_KEY_PATH, and BOARD_AVB_VBMETA_SYSTEM_ALGORITHM

After putting it together, it should look like this

BOARD_AVB_ENABLE := true
BOARD_AVB_KEY_PATH := $(PROD_CERTS)/evolution_rsa4096.pem
BOARD_AVB_ALGORITHM := SHA256_RSA4096
BOARD_AVB_RECOVERY_KEY_PATH := $(PROD_CERTS)/evolution_rsa2048.pem
BOARD_AVB_RECOVERY_ALGORITHM := SHA256_RSA2048
# For devices with VBMETA_SYSTEM
BOARD_AVB_VBMETA_SYSTEM_KEY_PATH := $(PROD_CERTS)/evolution_rsa2048.pem
BOARD_AVB_VBMETA_SYSTEM_ALGORITHM := SHA256_RSA2048

Please refer to AOSP documentation on AVB implementation for your device.

Please make sure your current AVB configuration does not conflict with what you are trying to achieve

Please note that a clean flash is required when build signing keys get changed.

Please save your private keys to use in future builds, otherwise you would have to generate new keys, which would require further clean flashes.

To build a production build, run mka evolution-prod

If your device does not boot, please look out for any proprietary applications that may be using a presigned key instead of a platform key.

PRESIGNED -> platform as shown here Applications signed by Google can be kept as presigned.

evolution_security's People

Contributors

realakito avatar argraur avatar luke-apk avatar

Stargazers

Abhishek Shukla avatar

Watchers

Joey avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.