From a12588efb5aeb405dd853445b32b479f375e56cc Mon Sep 17 00:00:00 2001 From: "Christopher A. Williamson" Date: Tue, 6 Feb 2024 23:06:58 +0000 Subject: [PATCH] Add conquest s23 overlay --- .../0002-Add-Conquest-S32-overlay.patch | 192 ++++++++++++++++++ 1 file changed, 192 insertions(+) create mode 100644 patches/personal/platform_vendor_hardware_overlay/0002-Add-Conquest-S32-overlay.patch diff --git a/patches/personal/platform_vendor_hardware_overlay/0002-Add-Conquest-S32-overlay.patch b/patches/personal/platform_vendor_hardware_overlay/0002-Add-Conquest-S32-overlay.patch new file mode 100644 index 0000000..2b8c347 --- /dev/null +++ b/patches/personal/platform_vendor_hardware_overlay/0002-Add-Conquest-S32-overlay.patch @@ -0,0 +1,192 @@ +From 6dbe0d16c6926a781557ab9586a86f041c0b82d1 Mon Sep 17 00:00:00 2001 +From: "Christopher A. Williamson" +Date: Tue, 6 Feb 2024 23:05:11 +0000 +Subject: [PATCH] Add Conquest S32 overlay + +--- + CONQUEST/S23/Android.mk | 8 ++ + CONQUEST/S23/AndroidManifest.xml | 3 + + CONQUEST/S23/res/values/integers.xml | 4 + + CONQUEST/S23/res/xml/power_profile.xml | 107 +++++++++++++++++++++++++ + overlay.mk | 9 ++- + 5 files changed, 127 insertions(+), 4 deletions(-) + create mode 100644 CONQUEST/S23/Android.mk + create mode 100644 CONQUEST/S23/AndroidManifest.xml + create mode 100644 CONQUEST/S23/res/values/integers.xml + create mode 100644 CONQUEST/S23/res/xml/power_profile.xml + +diff --git a/CONQUEST/S23/Android.mk b/CONQUEST/S23/Android.mk +new file mode 100644 +index 0000000..fd11056 +--- /dev/null ++++ b/CONQUEST/S23/Android.mk +@@ -0,0 +1,8 @@ ++LOCAL_PATH := $(call my-dir) ++include $(CLEAR_VARS) ++LOCAL_MODULE_TAGS := optional ++LOCAL_PACKAGE_NAME := treble-overlay-conquest-s23 ++LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay ++LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true ++LOCAL_PRIVATE_PLATFORM_APIS := true ++include $(BUILD_PACKAGE) +diff --git a/CONQUEST/S23/AndroidManifest.xml b/CONQUEST/S23/AndroidManifest.xml +new file mode 100644 +index 0000000..d76b691 +--- /dev/null ++++ b/CONQUEST/S23/AndroidManifest.xml +@@ -0,0 +1,3 @@ ++ ++ ++ +diff --git a/CONQUEST/S23/res/values/integers.xml b/CONQUEST/S23/res/values/integers.xml +new file mode 100644 +index 0000000..5c8d77d +--- /dev/null ++++ b/CONQUEST/S23/res/values/integers.xml +@@ -0,0 +1,4 @@ ++ ++ ++ 120 ++ +diff --git a/CONQUEST/S23/res/xml/power_profile.xml b/CONQUEST/S23/res/xml/power_profile.xml +new file mode 100644 +index 0000000..9df206d +--- /dev/null ++++ b/CONQUEST/S23/res/xml/power_profile.xml +@@ -0,0 +1,107 @@ ++ ++ ++ 0 ++ 108 ++ 430 ++ 93 ++ 0.65 ++ 0.1 ++ 156 ++ 1 ++ 26 ++ 66 ++ 620 ++ 410 ++ 5 ++ 171 ++ 6 ++ ++ 88 ++ 8 ++ ++ ++ 6 ++ 2 ++ ++ ++ 614400 ++ 864000 ++ 1075200 ++ 1363200 ++ 1516800 ++ 1651200 ++ 1804800 ++ ++ ++ 8 ++ 13 ++ 17 ++ 22 ++ 28 ++ 33 ++ 37 ++ ++ ++ 652800 ++ 806400 ++ 940800 ++ 1094400 ++ 1152000 ++ 1401600 ++ 1478400 ++ 1728000 ++ 1766400 ++ 1900800 ++ 1996800 ++ 2092800 ++ 2188800 ++ 2208000 ++ 2342400 ++ 2400000 ++ 2611200 ++ 2707200 ++ ++ ++ 18 ++ 32 ++ 33 ++ 48 ++ 48 ++ 76 ++ 78 ++ 110 ++ 120 ++ 153 ++ 169 ++ 189 ++ 219 ++ 210 ++ 254 ++ 265 ++ 335 ++ 369 ++ ++ 8.5 ++ 0.1 ++ 0 ++ ++ 22.7 ++ ++ 10000 ++ 1 ++ 127 ++ 168 ++ 1 ++ 3700 ++ ++ .0001 ++ .001 ++ .01 ++ .1 ++ 1 ++ ++ 6 ++ 221 ++ 203 ++ 3700 ++ +\ No newline at end of file +diff --git a/overlay.mk b/overlay.mk +index 84d3e46..78ef9c6 100644 +--- a/overlay.mk ++++ b/overlay.mk +@@ -303,10 +303,6 @@ PRODUCT_PACKAGES += \ + treble-overlay-tecno-pova4-systemui \ + treble-overlay-tecno-pova4pro \ + treble-overlay-tecno-pova4pro-systemui \ +- treble-overlay-tecno-pova5 \ +- treble-overlay-tecno-pova5-systemui \ +- treble-overlay-tecno-pova5pro \ +- treble-overlay-tecno-pova5pro-systemui \ + treble-overlay-tecno-spark5 \ + treble-overlay-tecno-spark6 \ + treble-overlay-telephony-caf-ims \ +@@ -409,4 +405,9 @@ PRODUCT_PACKAGES += \ + treble-overlay-xiaomi-redminote9s \ + treble-overlay-xiaomi-redminote9t \ + treble-overlay-xiaomi-redmis2 \ ++ treble-overlay-conquest-s23 \ ++ treble-overlay-tecno-pova5 \ ++ treble-overlay-tecno-pova5-systemui \ ++ treble-overlay-tecno-pova5pro \ ++ treble-overlay-tecno-pova5pro-systemui \ + +-- +2.42.0 +