From 1b8df47bd52c05e315791e01a5660a4a216cbdd0 Mon Sep 17 00:00:00 2001 From: Tad Date: Tue, 9 Nov 2021 11:27:01 -0500 Subject: [PATCH] 14.1: add jellypro Tis a broken device Signed-off-by: Tad --- Manifests/Manifest_LAOS-14.1.xml | 4 ++++ Scripts/LineageOS-14.1/Functions.sh | 2 ++ Scripts/LineageOS-14.1/Patch.sh | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/Manifests/Manifest_LAOS-14.1.xml b/Manifests/Manifest_LAOS-14.1.xml index 43527815..74b0da41 100644 --- a/Manifests/Manifest_LAOS-14.1.xml +++ b/Manifests/Manifest_LAOS-14.1.xml @@ -162,6 +162,10 @@ + + + + diff --git a/Scripts/LineageOS-14.1/Functions.sh b/Scripts/LineageOS-14.1/Functions.sh index 016eb7d8..b3167647 100644 --- a/Scripts/LineageOS-14.1/Functions.sh +++ b/Scripts/LineageOS-14.1/Functions.sh @@ -90,6 +90,8 @@ buildAll() { buildDevice toroplus; #Tegra buildDevice grouper; #needs manual patching - one-repo vendor blob patch + #MediaTek + buildDeviceUserDebug jellypro; #XXX: blob kernel and permissive selinux } export -f buildAll; diff --git a/Scripts/LineageOS-14.1/Patch.sh b/Scripts/LineageOS-14.1/Patch.sh index 75a3288a..7a6974f2 100644 --- a/Scripts/LineageOS-14.1/Patch.sh +++ b/Scripts/LineageOS-14.1/Patch.sh @@ -386,6 +386,10 @@ echo "allow system_server system_file:file execmod;" >> sepolicy/system_server.t echo "PRODUCT_PROPERTY_OVERRIDES += persist.sys.force_highendgfx=true" >> device.mk; #override low_ram to fix artifacting fi; +if enterAndClear "device/unihertz/jellypro"; then +sed -i 's/androidboot.selinux=disabled//' BoardConfig.mk; +fi; + if enter "vendor/google"; then echo "" > atv/atv-common.mk; fi;