Git Product home page Git Product logo

android_vendor_lineage-priv_keys's Introduction

android_vendor_lineage-priv_keys

A cool template for signing LineageOS 20.0 > builds with dev-keys.

Usage

  1. Make sure you have android-tools installed on your machine.
  2. Clone this repo to vendor/lineage-priv/keys (on your synced ROM rootdir) and cd to it.
  3. Edit both subject vars on gen_keys script to reflect your data [ref].
  4. Run it:
$ ./gen_keys

It will generate the certificates (defined in the .data/ folder) in vendor/lineage-priv/keys, the actual keys used to generate the certificates in ~/.android-certs/, and regenerate the makefiles as new entries are added.

Backup AT ALL COSTS your ~/.android-certs/ and vendor/lineage-priv/keys folders AND NEVER LEAK THOSE. Losing these keys could prevent you from updating your LineageOS builds with the same keys, so formatting data would be required. Leakage of these keys can compromise the security and authenticity of your builds, requiring a new pair of keys to be generated.

Bonus step

You can generate a public key which can be used to verify the authenticity of your builds:

  1. Fork and clone LineageOS/update_verifier
  2. Run this command:
$ openssl rsa -in ~/.android-certs/releasekey.pem -pubout -out lineageos_pubkey
  1. Push the changes to your fork.

android_vendor_lineage-priv_keys's People

Contributors

itsvixano avatar asaldele1 avatar rpius avatar zifnab06 avatar

Stargazers

S A K I L avatar pjgowtham avatar Igor avatar Liu Wenyuan avatar Chris avatar Fellipe Lima avatar  avatar  avatar  avatar Sajid Shahriar avatar Aryan Sinha avatar AntarcticShaurant avatar Ben avatar R U S H I avatar  avatar Re:Shion avatar someone5678 avatar Roker2 (Dmitry Minko) avatar Dmitrii avatar ֆຖ❆ຟ avatar Beni Fachrudin avatar

Watchers

S A K I L avatar Júnior Almeida 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.