Skip to content

Unified script for building PHH-Treble and device-specific LineageOS

Notifications You must be signed in to change notification settings

Vgdn1942/lineage_build_unified

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building PHH-based LineageOS GSIs

To get started with building LineageOS GSI, 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, which defaults to your home directory. Create a new working directory for your LineageOS build and navigate to it:

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

Clone both this and the patches repos:

git clone https://github.com/Vgdn1942/lineage_build_unified.git -b lineage-19.1
cp lineage_build_unified/mk-treble .

Finally, start the build script - for example, to build for all supported archs:

./mk-treble -s

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


Note: VNDKLite and Secure targets are generated from built images instead of source-built - refer to sas-creator.


This script is also used to make device-specific and/or personal builds. To do so, understand the script, and try the device and personal keywords.

About

Unified script for building PHH-Treble and device-specific LineageOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 50.6%
  • Roff 49.4%