Tiny tweak

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2022-02-13 23:57:59 -05:00
parent a38d544f8b
commit 2eda5086fc
3 changed files with 6 additions and 4 deletions

View File

@ -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 <bgcngm@gmail.com>
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

View File

@ -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";

View File

@ -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