Git Product home page Git Product logo

aosp_build_leaos's Introduction

Building PHH-based LineageOS GSIs

To get started with building PHH AOSP, you'll need to get familiar with Git and Repo, and set up your environment by referring to LineageOS Wiki (mainly "Install the build packages") and How to build a GSI.

First, open a new Terminal window, create a new working directory for your Aosp build (leaos-aosp for example) and navigate to it:

mkdir leaos-aosp; cd leaos-aosp

Clone the modified treble_experimentations repo there:

git clone https://github.com/iceows/treble_experimentations

Initialize your LineageOS workspace:

repo init -u https://android.googlesource.com/platform/manifest -b android-11.0.0_r48

Clone both this and the patches repos for A11:

git clone https://github.com/iceows/aosp_build_leaos aosp_build_leaos -b android-11
git clone https://github.com/iceows/aosp_patches_leaos aosp_patches_leaos -b android-11

Finally, start the build script (Dynamic root):

bash aosp_build_leaos/build.sh treble 64BVZ 

Be sure to update the cloned repos from time to time!


A-only targets for Huawei hi6250 re generated from AB images instead of source-built - refer to huawei-creator.

sudo ./run-huawei-aonly.sh "myimage.img"  "LeaOS-PHH" "PRA-LX1" "Y" "N"

This script is also used to make builds without sync repo. To do so add nosync in the command build line.

bash aosp_build_leaos/build.sh treble nosync 64BVZ

aosp_build_leaos's People

Contributors

iceows avatar nnhra 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.