Skip to content

Instantly share code, notes, and snippets.

@daedroza
Last active January 7, 2023 03:22
Show Gist options
  • Save daedroza/fb5739a2297bfa5d91189f5b6d2749ee to your computer and use it in GitHub Desktop.
Save daedroza/fb5739a2297bfa5d91189f5b6d2749ee to your computer and use it in GitHub Desktop.
LineageOS-19.1
#!/bin/bash
# branch:^lineage-19.1.* -project:^LineageOS/android_packages_apps_Aperture.* -project:^LineageOS/android_device.* -project:^LineageOS/android_kernel.* -project:^LineageOS/android_hardware.* -status:merged
# Script Environment Initialise
set -e;
source build/envsetup.sh;
# android_bootable_recovery
cdp recovery;
gitcp 892b97f7; # recovery: Ask for downgrade or unverified zips regardless of build type
gitcp ab6de76f; # recovery: allow formatting & mounting system on user builds
croot;
# android_bionic
cdp bionic;
gitcpup https://github.com/ProtonAOSP/android_bionic/commit/e26179e2bdda047bba2281359ee5aee1d3bc07cb; # bionic: Sort and cache hosts file data for fast lookup
gitcp c60166af0; # bionic: Switch to jemalloc
croot;
# android_art
cd art;
gitcpup https://github.com/ProtonAOSP/android_art/commit/b49effd54f; # optimization of gc load, reduce gc in some scenarios
gitcpup https://github.com/ProtonAOSP/android_art/commit/cac15bc3e3; # Reland "Trigger fewer GCs during startup""
gitcpup https://github.com/ProtonAOSP/android_art/commit/d7ce58b655; # art: Disable debug tracing on production builds
croot;
# android_frameworks_base
cd frameworks/base;
gitcpup https://github.com/ProtonAOSP/android_frameworks_base/commit/1fa2663ab065; # SystemServiceRegistry: Replace ArrayMap with HashMap for performance
gitcpup https://github.com/ProtonAOSP/android_frameworks_base/commit/0d61dca61d45; # InsetsStateController: Replace ArrayMap with HashMap for performance
gitcpup https://github.com/ProtonAOSP/android_frameworks_base/commit/5474e805e51f; # LocalServices: Replace ArrayMap with HashMap for performance
gitcpup https://github.com/ProtonAOSP/android_frameworks_base/commit/a5e881cab16e; # ThemedResourceCache: Replace ArrayMap with HashMap for performancebuilds
gitcpup https://github.com/ProtonAOSP/android_frameworks_base/commit/30c7314d9af5; # Revert "Pre-emptively take a snapshot when finishing an activity before changing visibility"
gitcpup https://github.com/ProtonAOSP/android_frameworks_base/commit/c39010f4dc933459ab3cc296ff8b3e208161a3a3; # LayoutInflater: Opportunistically create views directly for performance
croot;
repopick 320714; # SystemUI: add burnIn protection
repopick -f 327687; # biometrics: Allow to disable haptic feedback on success authentication
# android_frameworks_av
repopick 320337; # Request to reset effect buffer in clearInputBuffer
# android_lineage-sdk
repopick -f 327684; # lineage: res: Introduce config to disable biometrics success haptic feedback
repopick -f 327685; # Settings: Add biometrics success haptic feedback preference
# android_packages_apps_Gallery2
cdp Gallery;
gitcpup https://github.com/daedroza/android_packages_apps_Gallery2/commit/3eb2d883bc6db624b08eba76066bf6814064d073; # Gallery2: Make albums default on activity start
croot;
# android_packages_apps_Settings
cd packages/apps/Settings;
gitcp 623c358310; # Settings: Add biometrics success haptic feedback preference
croot;
# android_packages_apps_Updater
repopick -f 332089; # Updater: add support for local updates
# android_system_netd
cdp netd;
gitcpup https://github.com/CalyxOS/platform_system_netd/commit/01cf01a7117d624ef0ad8876d7ff90a24a692a0f; # bw: Always apply penalty box
croot;
# android_system_sepolicy
cd system/sepolicy;
gitcp 62fbe785a; # sepolicy: Allow permissive recovery rules on user builds
croot;
# android_vendor_lineage
cd vendor/lineage;
gitcp 83346c65; # prebuilt: Add prebuilt audio files from ProtonAOSP
croot;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment