- refer to AOSP
-
Initialise repo with LineageOS source code.
repo init -u https://github.com/LineageOS/android.git -b lineage-21.0 --git-lfs
-
Clone local_manifests
git clone https://github.com/OnePlus12R-development/local_manifests -b lineage-21 .repo/local_manifests
-
Sync
repo sync -j$(nproc --all) --force-sync --no-clone-bundle --no-tags
-
Build
. build/envsetup.sh lunch lineage_aston-ap2a-userdebug mka bacon
Compiling source can take anywhere from 30 mins - 4hrs depending on how powerful your hardware is, After successful build, you can find your flashable rom zip at
out/target/product/aston/