From 3ac41a1918dffbe81097b58e8eec26d960e31627 Mon Sep 17 00:00:00 2001 From: Tad Date: Thu, 5 Jan 2023 10:09:04 -0500 Subject: [PATCH] Tweaks Signed-off-by: Tad --- Scripts/LineageOS-20.0/Patch.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Scripts/LineageOS-20.0/Patch.sh b/Scripts/LineageOS-20.0/Patch.sh index 220feee5..c6d851eb 100644 --- a/Scripts/LineageOS-20.0/Patch.sh +++ b/Scripts/LineageOS-20.0/Patch.sh @@ -400,7 +400,8 @@ fi; if enter "vendor/divested"; then awk -i inplace '!/_lookup/' overlay/common/lineage-sdk/packages/LineageSettingsProvider/res/values/defaults.xml; #Remove all lookup provider overrides echo "PRODUCT_PACKAGES += eSpeakNG" >> packages.mk; #PicoTTS needs work to compile on 18.1, use eSpeak-NG instead -sed -i 's/OpenCamera/SecureCamera/' packages.mk #Use the GrapheneOS camera app +#sed -i 's/OpenCamera/SecureCamera/' packages.mk; #Use the GrapheneOS camera app +sed -i 's/OpenCamera/Aperture/' packages.mk; #Use the LineageOS camera app awk -i inplace '!/speed-profile/' build/target/product/lowram.mk; #breaks compile on some dexpreopt devices sed -i 's/wifi,cell/internet/' overlay/common/frameworks/base/packages/SystemUI/res/values/config.xml; #Use the modern quick tile sed -i 's|system/etc|$(TARGET_COPY_OUT_PRODUCT)/etc|' divestos.mk; @@ -468,6 +469,7 @@ echo -e "\nCONFIG_DEBUG_FS=n" >> kernel/oneplus/sm8250/arch/arm64/configs/vendor sed -i 's/^YYLTYPE yylloc;/extern YYLTYPE yylloc;/' kernel/*/*/scripts/dtc/dtc-lexer.l* || true; #Fix builds with GCC 10 rm -v kernel/*/*/drivers/staging/greybus/tools/Android.mk || true; rm -v device/*/*/overlay/frameworks/base/packages/overlays/NoCutoutOverlay/res/values/config.xml || true; +awk -i inplace '!/BOARD_AVB_ENABLE := false/' device/*/*/*.mk; #revert Lineage's signing hack # #END OF DEVICE CHANGES #