From 6f1512b63ac6e03b87ab1912747259b8304cd745 Mon Sep 17 00:00:00 2001 From: Tad Date: Wed, 4 Aug 2021 14:22:16 -0400 Subject: [PATCH] crackling for 17.1 - try 2 Signed-off-by: Tad --- Manifests/Manifest_LAOS-17.1.xml | 4 ++-- Scripts/LineageOS-17.1/Functions.sh | 2 +- Scripts/LineageOS-17.1/Patch.sh | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Manifests/Manifest_LAOS-17.1.xml b/Manifests/Manifest_LAOS-17.1.xml index 4a11f59b..598831c5 100644 --- a/Manifests/Manifest_LAOS-17.1.xml +++ b/Manifests/Manifest_LAOS-17.1.xml @@ -96,10 +96,10 @@ - - --> + diff --git a/Scripts/LineageOS-17.1/Functions.sh b/Scripts/LineageOS-17.1/Functions.sh index 0a7388a1..d07a723f 100644 --- a/Scripts/LineageOS-17.1/Functions.sh +++ b/Scripts/LineageOS-17.1/Functions.sh @@ -56,7 +56,7 @@ buildAll() { if [ "$DOS_OPTIMIZE_IMAGES" = true ]; then optimizeImagesRecursive "$DOS_BUILD_BASE"; fi; #SD410 buildDevice crackling; - #buildDevice osprey; #needs manual patching + more - mkdir proprietary/priv-app && cp -r proprietary/system/priv-app/qcrilmsgtunnel proprietary/priv-app/ + buildDevice osprey; #needs manual patching + more - mkdir proprietary/priv-app && cp -r proprietary/system/priv-app/qcrilmsgtunnel proprietary/priv-app/ #SD801 buildDevice m8; #18.1 has issues #SD808 diff --git a/Scripts/LineageOS-17.1/Patch.sh b/Scripts/LineageOS-17.1/Patch.sh index 18dfabe4..52a55f83 100644 --- a/Scripts/LineageOS-17.1/Patch.sh +++ b/Scripts/LineageOS-17.1/Patch.sh @@ -359,6 +359,9 @@ cd "$DOS_BUILD_BASE"; deblobAudio; removeBuildFingerprints; +#Tweaks for <2GB RAM devices +#enableLowRam "device/motorola/osprey"; + #Fix broken options enabled by hardenDefconfig() sed -i "s/CONFIG_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/google/yellowstone/arch/arm*/configs/*_defconfig; #Breaks on compile sed -i "s/CONFIG_STRICT_MEMORY_RWX=y/# CONFIG_STRICT_MEMORY_RWX is not set/" kernel/motorola/msm8996/arch/arm64/configs/*_defconfig; #Breaks on compile