From 2eda5086fcdf0ad2e3ab998c6d26f4e3c3df4b2e Mon Sep 17 00:00:00 2001 From: Tad Date: Sun, 13 Feb 2022 23:57:59 -0500 Subject: [PATCH] Tiny tweak Signed-off-by: Tad --- .../android_device_htc_msm8974-common/295147.patch | 6 +++--- Scripts/LineageOS-16.0/Functions.sh | 3 ++- Scripts/LineageOS-16.0/Patch.sh | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Patches/LineageOS-18.1/android_device_htc_msm8974-common/295147.patch b/Patches/LineageOS-18.1/android_device_htc_msm8974-common/295147.patch index d99081ba..61b30abb 100644 --- a/Patches/LineageOS-18.1/android_device_htc_msm8974-common/295147.patch +++ b/Patches/LineageOS-18.1/android_device_htc_msm8974-common/295147.patch @@ -1,4 +1,4 @@ -From 9eafc9bac81580be0a391981ea28d8b2fc51b4f7 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Thu, 3 Dec 2020 20:52:39 +0000 Subject: [PATCH] msm8974-common: Re-enable ZRAM @@ -13,7 +13,7 @@ Change-Id: I8f8362ccb5110fba6c5ed50b5d87a0b94a48e01c 2 files changed, 6 insertions(+) diff --git a/rootdir/etc/fstab.qcom b/rootdir/etc/fstab.qcom -index 26986943..28965315 100644 +index 2698694..2896531 100644 --- a/rootdir/etc/fstab.qcom +++ b/rootdir/etc/fstab.qcom @@ -18,5 +18,7 @@ @@ -25,7 +25,7 @@ index 26986943..28965315 100644 /devices/msm_sdcc.2/mmc_host* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata /devices/platform/xhci-hcd/usb* auto auto defaults voldmanaged=usb:auto diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc -index c978a74f..470ce27f 100644 +index c978a74..470ce27 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -289,6 +289,10 @@ service wcnss-service /vendor/bin/wcnss_service diff --git a/Scripts/LineageOS-16.0/Functions.sh b/Scripts/LineageOS-16.0/Functions.sh index 997d4415..ab68b9d5 100644 --- a/Scripts/LineageOS-16.0/Functions.sh +++ b/Scripts/LineageOS-16.0/Functions.sh @@ -83,8 +83,9 @@ patchWorkspace() { touch DOS_PATCHED_FLAG; if [ "$DOS_MALWARE_SCAN_ENABLED" = true ]; then scanForMalware false "$DOS_PREBUILT_APPS $DOS_BUILD_BASE/build $DOS_BUILD_BASE/device $DOS_BUILD_BASE/vendor/lineage"; fi; - #source build/envsetup.sh; + source build/envsetup.sh; #repopick -it pie-firewall; + repopick -it P_asb_2022-02; sh "$DOS_SCRIPTS/Patch.sh"; sh "$DOS_SCRIPTS_COMMON/Enable_Verity.sh"; diff --git a/Scripts/LineageOS-16.0/Patch.sh b/Scripts/LineageOS-16.0/Patch.sh index 6048b6b0..68594c18 100644 --- a/Scripts/LineageOS-16.0/Patch.sh +++ b/Scripts/LineageOS-16.0/Patch.sh @@ -77,6 +77,7 @@ sed -i '74i$(my_res_package): PRIVATE_AAPT_FLAGS += --auto-add-overlay' core/aap if [ "$DOS_SILENCE_INCLUDED" = true ]; then sed -i 's/messaging/Silence/' target/product/aosp_base_telephony.mk target/product/treble_common.mk; fi; #Replace the Messaging app with Silence sed -i 's/PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION := 17/PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION := 28/' core/version_defaults.mk; #Set the minimum supported target SDK to Pie (GrapheneOS) awk -i inplace '!/Email/' target/product/core.mk; #Remove Email +sed -i 's/2022-01-05/2022-02-05/' core/version_defaults.mk; #Bump Security String #P_asb_2022-02 #XXX fi; if enterAndClear "build/soong"; then