Skip to content

Instantly share code, notes, and snippets.

@aitorCalderon
Forked from ArianK16a/picks.sh
Created May 29, 2020 21:36
Show Gist options
  • Save aitorCalderon/87dc99b984303bed0a070414c70cd6ef to your computer and use it in GitHub Desktop.
Save aitorCalderon/87dc99b984303bed0a070414c70cd6ef to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
source "build/envsetup.sh";
repopick -t ten-black-theme
# packages/apps/Settings
changes=(
275104 # Settings: Make device-specific doze settings overwrite AOSP AOD
275785 # hardwareinfo: Hide hardware revision if empty
)
repopick -P packages/apps/Settings ${changes[@]}&
# packages/apps/ThemePicker
changes=(
275349 # ThemePicker: Show items name under the title
)
repopick -P packages/apps/ThemePicker ${changes[@]}&
# frameworks/base
changes=(
270930 # PackageManagerService: Drop caches according to incremental version
266938 # SystemUI: get rid of build text in qs
274433 # SystemUI: use DOUBLE_TAP_TO_WAKE setting also for wake from aod
271017 # base: Redo expanded volume panel for 10.x
267249 # DozeSensors: do not use binned brightness sensor for proximity if not supported
268939 # [DNM] Always use release-keys
)
repopick -f -P frameworks/base ${changes[@]}&
wait
cd build/make
git am ../../picks/0001-Allow-overriding-platform-SPL.patch
cd ../../
cd device/lineage/sepolicy
git am ../../../picks/0001-Label-lineage-platform-SPL-prop.patch
cd ../../../
cd frameworks/base
git am ../../picks/0001-DeviceInfoUtils-Prefer-lineage-platform-SPL.patch
cd ../../
cd lineage-sdk
git am ../picks/0001-TrustInterfaceService-Prefer-lineage-platform-SPL.patch
cd ../
cd frameworks/av
git am ../../picks/0001-CameraDeviceClient-fix-recognition-of-Y16-format-due.patch
cd ../../
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment