2021-08-28 21:42:24 +00:00
2021-08-28 21:42:24 +00:00
2021-08-28 21:42:24 +00:00
2020-04-13 11:48:05 +00:00
2021-08-28 21:42:24 +00:00

Building PHH-based LineageOS GSIs

To get started with building LineageOS GSI, you'll need to get familiar with Git and Repo as well as How to build a GSI.

First, open a new Terminal window, which defaults to your home directory. Clone the modified treble_experimentations repo there:

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

Create a new working directory for your LineageOS build and navigate to it:

mkdir lineage-16.x-build-gsi; cd lineage-16.x-build-gsi

Initialize your LineageOS workspace:

repo init -u https://github.com/LineageOS/android.git -b lineage-16.0

Clone the modified treble patches and this repo:

git clone https://github.com/AndyCGYan/treble_patches treble_patches -b lineage-16.0
git clone https://github.com/AndyCGYan/treble_build_los treble_build_los -b lineage-16.0

Finally, start the build script:

bash treble_build_los/buildbot_treble.sh

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

Description
Unified script for building GSI and device-specific LineageOS
Readme 806 KiB
Languages
Shell 100%