Skip to content
@OnePlus12R-development

OnePlus12R-development

Build LineageOS for OnePlus12R

Prerequisites

Build

  1. Initialise repo with LineageOS source code.

    repo init -u https://github.com/LineageOS/android.git -b lineage-22.1 --git-lfs --depth=1
    
  2. Clone local_manifests

    git clone https://github.com/OnePlus12R-development/local_manifests -b lineage-22.1 .repo/local_manifests
    
  3. Sync

    repo sync -j$(nproc --all) --force-sync --no-clone-bundle --no-tags
    
  4. Apply patches required for build

    cd vendor/lineage
    curl https://github.com/OnePlus12R-development/android_vendor_lineage/commit/4085774f384fea04b2e4e5248ce08e87abbed125.patch | git am
    cd -
    
  5. Build

    . build/envsetup.sh
    lunch lineage_aston-ap4a-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/

Pinned Loading

  1. android_device_oneplus_aston android_device_oneplus_aston Public

    Device tree dependencies for OnePlus 12R (aston)

    C 10 14

  2. android_kernel_oneplus_sm8550 android_kernel_oneplus_sm8550 Public

    Forked from LineageOS/android_kernel_oneplus_sm8550

    C 8 5

  3. android_device_oneplus_sm8550-common android_device_oneplus_sm8550-common Public

    Shell 2 7

Repositories

Showing 10 of 22 repositories

Top languages

Loading…

Most used topics

Loading…