Giter VIP home page Giter VIP logo

lineage-build-fajita's Introduction

LineageOS Build Scripts for fajita

This is a suite of scripts for building LineageOS for the OnePlus 6T (fajita) with a signed AVB. This is tailored to my specific use case and as such is not designed for general use, but I'm publishing it in the hope that it will maybe help somebody.

This suite does the following:

  • Fetches the repo utility
  • Fetches/syncs the LineageOS repository
  • Generates signing keys
  • Fetches MindTheGapps
  • Downloads OxygenOS and LineageOS ROMs and extracts blobs from them
  • Applies required build configuration patches
  • Compiles LineageOS
  • Signs the generated APKs
  • Builds an OTA package
  • Generates a pkmd.bin file to flash to the bootloader

These steps are each performed in their own respective script. The master build_lineage.sh script will execute each build step in order. The master script checks the environment variables NO_REPO_SYNC and NO_EXTRACT_BLOBS to determine if the respective steps should be skipped (useful for testing). All scripts (including the master script) accept an optional positional argument specifying the path to use as a workspace, defaulting to $PWD/lineage_workspace if it is not provided.

Dependencies

  • Standard Android/LineageOS build requirements (including android-tools and libncurses5)
  • Python 2 (for the Android toolchain)
  • Python 3 (for a utility script provided by this repo)

Disclaimer

I am not responsible for any particular outcome of running this suite or anything generated by it including voided warranties, bricked devices, and/or zombie apocolypse. Proceed with caution.

License

The scripts in this repository are published under the MIT License.

lineage-build-fajita's People

Contributors

caseif avatar

Stargazers

Sn avatar

Watchers

 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.