From ba496e440e8e9eccc4b5b92e7c1649eb4a9a1bc6 Mon Sep 17 00:00:00 2001 From: vodkagirl <91933099+vodkagirl@users.noreply.github.com> Date: Thu, 8 Jun 2023 15:35:32 +0700 Subject: [PATCH 1/7] Add files via upload Overlay Tecno Pova 4 --- Tecno/Pova4/Android.mk | 8 + Tecno/Pova4/AndroidManifest.xml | 10 + Tecno/Pova4/res/values/arrays.xml | 217 ++++++++++++++++++++++ Tecno/Pova4/res/values/bools.xml | 7 + Tecno/Pova4/res/values/dimens.xml | 6 + Tecno/Pova4/res/values/fractions.xml | 4 + Tecno/Pova4/res/values/integers.xml | 11 ++ Tecno/Pova4/res/values/strings.xml | 4 + Tecno/Pova4/res/xml/power_profile.xml | 253 ++++++++++++++++++++++++++ 9 files changed, 520 insertions(+) create mode 100644 Tecno/Pova4/Android.mk create mode 100644 Tecno/Pova4/AndroidManifest.xml create mode 100644 Tecno/Pova4/res/values/arrays.xml create mode 100644 Tecno/Pova4/res/values/bools.xml create mode 100644 Tecno/Pova4/res/values/dimens.xml create mode 100644 Tecno/Pova4/res/values/fractions.xml create mode 100644 Tecno/Pova4/res/values/integers.xml create mode 100644 Tecno/Pova4/res/values/strings.xml create mode 100644 Tecno/Pova4/res/xml/power_profile.xml diff --git a/Tecno/Pova4/Android.mk b/Tecno/Pova4/Android.mk new file mode 100644 index 000000000..bb051704f --- /dev/null +++ b/Tecno/Pova4/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-tecno-pova4 +LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/Tecno/Pova4/AndroidManifest.xml b/Tecno/Pova4/AndroidManifest.xml new file mode 100644 index 000000000..95235e667 --- /dev/null +++ b/Tecno/Pova4/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + \ No newline at end of file diff --git a/Tecno/Pova4/res/values/arrays.xml b/Tecno/Pova4/res/values/arrays.xml new file mode 100644 index 000000000..e9135a06e --- /dev/null +++ b/Tecno/Pova4/res/values/arrays.xml @@ -0,0 +1,217 @@ + + + + 4 + 5 + 10 + 30 + 100 + 400 + 600 + 1000 + + + 800 + 800 + 500 + 500 + 500 + 500 + 500 + 500 + + + 2 + 10 + 30 + 100 + 800 + 2000 + 4000 + + + 7 + 7 + 7 + 15 + 21 + 27 + 36 + 52 + 71 + 87 + 97 + 98 + 98 + 98 + 99 + 99 + 100 + 100 + 100 + 101 + 101 + 102 + 103 + 103 + 103 + 106 + 108 + 110 + 112 + 114 + 116 + 118 + 119 + 122 + 123 + 125 + 128 + 130 + 131 + 134 + 136 + 137 + 140 + 142 + 144 + 169 + 196 + 222 + 248 + 270 + 300 + 320 + 335 + 407 + 472 + 500 + 530 + 530 + + + 32 + 65 + 125 + 190 + 250 + 270 + 380 + 485 + 655 + 680 + 680 + 680 + 690 + 690 + 690 + 700 + 700 + 700 + 710 + 710 + 720 + 720 + 720 + 730 + 730 + 730 + 750 + 760 + 780 + 780 + 790 + 800 + 810 + 830 + 840 + 850 + 855 + 860 + 870 + 890 + 900 + 910 + 920 + 940 + 950 + 1120 + 1300 + 1520 + 1730 + 1950 + 2200 + 2450 + 2530 + 3140 + 3520 + 3550 + 3640 + 4095 + + + 1 + 2 + 4 + 6 + 8 + 10 + 15 + 20 + 25 + 30 + 35 + 40 + 45 + 50 + 55 + 60 + 65 + 70 + 75 + 80 + 85 + 90 + 95 + 100 + 120 + 140 + 160 + 180 + 200 + 220 + 240 + 260 + 280 + 300 + 320 + 340 + 360 + 380 + 400 + 420 + 440 + 460 + 480 + 500 + 700 + 900 + 1100 + 1300 + 1500 + 1700 + 1900 + 2200 + 2500 + 3000 + 3500 + 4000 + 4500 + + + 0 + + + 0 + + diff --git a/Tecno/Pova4/res/values/bools.xml b/Tecno/Pova4/res/values/bools.xml new file mode 100644 index 000000000..93fb0d8fc --- /dev/null +++ b/Tecno/Pova4/res/values/bools.xml @@ -0,0 +1,7 @@ + + + true + true + true + true + diff --git a/Tecno/Pova4/res/values/dimens.xml b/Tecno/Pova4/res/values/dimens.xml new file mode 100644 index 000000000..e7b1b524f --- /dev/null +++ b/Tecno/Pova4/res/values/dimens.xml @@ -0,0 +1,6 @@ + + + 32.0dip + 28.0dip + 36.0dip + diff --git a/Tecno/Pova4/res/values/fractions.xml b/Tecno/Pova4/res/values/fractions.xml new file mode 100644 index 000000000..fbc1b68cd --- /dev/null +++ b/Tecno/Pova4/res/values/fractions.xml @@ -0,0 +1,4 @@ + + + 300.0% + diff --git a/Tecno/Pova4/res/values/integers.xml b/Tecno/Pova4/res/values/integers.xml new file mode 100644 index 000000000..945abad73 --- /dev/null +++ b/Tecno/Pova4/res/values/integers.xml @@ -0,0 +1,11 @@ + + + 2000 + 3000 + 180 + 60 + 10 + 102 + 255 + 10 + diff --git a/Tecno/Pova4/res/values/strings.xml b/Tecno/Pova4/res/values/strings.xml new file mode 100644 index 000000000..f0dbd60b4 --- /dev/null +++ b/Tecno/Pova4/res/values/strings.xml @@ -0,0 +1,4 @@ + + + M -24,0 L -24,36 L 24,36 L 24,0 Z @dp + \ No newline at end of file diff --git a/Tecno/Pova4/res/xml/power_profile.xml b/Tecno/Pova4/res/xml/power_profile.xml new file mode 100644 index 000000000..b4ede41a8 --- /dev/null +++ b/Tecno/Pova4/res/xml/power_profile.xml @@ -0,0 +1,253 @@ + + + 0.1 + 59.80 + 338.00 + 11.2 + 0.5 + 0.1 + 174.5 + 35.7 + 34.2 + 73.3 + 238.1 + 762.90 + 28.00 + 15 + 55.1 + + 1.1 + 1.1 + + + 6 + 2 + + + 500000 + 774000 + 875000 + 975000 + 1075000 + 1175000 + 1275000 + 1375000 + 1500000 + 1618000 + 1666000 + 1733000 + 1800000 + 1866000 + 1933000 + 2000000 + + + 774000 + 835000 + 919000 + 1002000 + 1085000 + 1169000 + 1308000 + 1419000 + 1530000 + 1670000 + 1733000 + 1796000 + 1860000 + 1923000 + 1986000 + 2050000 + + + 6.76 + 9.47 + 11.18 + 12.95 + 15.27 + 18.73 + 22.00 + 25.15 + 30.29 + 35.78 + 38.37 + 41.35 + 45.00 + 49.04 + 53.58 + 55.65 + + + 34.42 + 36.76 + 42.69 + 49.41 + 56.50 + 69.44 + 80.24 + 107.99 + 129.97 + 156.56 + 168.90 + 176.07 + 178.23 + 200.59 + 203.88 + 210.66 + + 5.1 + 5.1 + 9.89 + 2.11 + 2.22 + + 500000 + 774000 + 875000 + 975000 + 1075000 + 1175000 + 1275000 + 1375000 + 1500000 + 1618000 + 1666000 + 1733000 + 1800000 + 1866000 + 1933000 + 2000000 + + + 774000 + 835000 + 919000 + 1002000 + 1085000 + 1169000 + 1308000 + 1419000 + 1530000 + 1670000 + 1733000 + 1796000 + 1860000 + 1923000 + 1986000 + 2050000 + + + 6.76 + 9.47 + 11.18 + 12.95 + 15.27 + 18.73 + 22.00 + 25.15 + 30.29 + 35.78 + 38.37 + 41.35 + 45.00 + 49.04 + 53.58 + 55.65 + + + 34.42 + 36.76 + 42.69 + 49.41 + 56.50 + 69.44 + 80.24 + 107.99 + 129.97 + 156.56 + 168.90 + 176.07 + 178.23 + 200.59 + 203.88 + 210.66 + + + 22.7 + + 6000 + 15.2 + 296.22 + 426.91 + + 4.0 + + 30.7 + 30.7 + 30.7 + 30.7 + 30.7 + + 0 + 96.36 + 676.3 + + 676.3 + 430.7 + 157.3 + 111.2 + 106.4 + + 0 + + 0 + 0 + + 0 + \ No newline at end of file From 1b11ea578b6df49d4b8a9d90593b5b1925dea2ce Mon Sep 17 00:00:00 2001 From: vodkagirl <91933099+vodkagirl@users.noreply.github.com> Date: Thu, 8 Jun 2023 15:39:30 +0700 Subject: [PATCH 2/7] Update overlay.mk --- overlay.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/overlay.mk b/overlay.mk index 72a61ad7b..31905d452 100644 --- a/overlay.mk +++ b/overlay.mk @@ -260,6 +260,7 @@ PRODUCT_PACKAGES += \ treble-overlay-teclast-p20hd \ treble-overlay-teclast-t30 \ treble-overlay-tecno-camon11 \ + treble-overlay-tecno-pova4 \ treble-overlay-tecno-spark5 \ treble-overlay-tecno-spark6 \ treble-overlay-telephony-caf-ims \ From 75e993cdc6ea7e4f99b3bb10cfc86927a5fe82b1 Mon Sep 17 00:00:00 2001 From: vodkagirl <91933099+vodkagirl@users.noreply.github.com> Date: Thu, 8 Jun 2023 15:41:34 +0700 Subject: [PATCH 3/7] Update AndroidManifest.xml --- Tecno/Pova4/AndroidManifest.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tecno/Pova4/AndroidManifest.xml b/Tecno/Pova4/AndroidManifest.xml index 95235e667..6164d8706 100644 --- a/Tecno/Pova4/AndroidManifest.xml +++ b/Tecno/Pova4/AndroidManifest.xml @@ -5,6 +5,6 @@ - \ No newline at end of file + From 91b07799fdc27529adf8073a9738cd1b472df37a Mon Sep 17 00:00:00 2001 From: vodkagirl <91933099+vodkagirl@users.noreply.github.com> Date: Thu, 8 Jun 2023 19:37:13 +0700 Subject: [PATCH 4/7] Update AndroidManifest.xml --- Tecno/Pova4/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tecno/Pova4/AndroidManifest.xml b/Tecno/Pova4/AndroidManifest.xml index 6164d8706..cb0905fcc 100644 --- a/Tecno/Pova4/AndroidManifest.xml +++ b/Tecno/Pova4/AndroidManifest.xml @@ -4,7 +4,7 @@ android:versionName="1.0"> From ad7ff8763fa8ca7fa2ec4ab5b788e180c2f3a6c9 Mon Sep 17 00:00:00 2001 From: vodkagirl <91933099+vodkagirl@users.noreply.github.com> Date: Fri, 18 Aug 2023 23:08:34 +0700 Subject: [PATCH 5/7] Update AndroidManifest.xml --- Tecno/Pova4/AndroidManifest.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tecno/Pova4/AndroidManifest.xml b/Tecno/Pova4/AndroidManifest.xml index cb0905fcc..875fda7a8 100644 --- a/Tecno/Pova4/AndroidManifest.xml +++ b/Tecno/Pova4/AndroidManifest.xml @@ -3,8 +3,8 @@ android:versionCode="1" android:versionName="1.0"> From 21a4df81c54288cda6de732c46dc719f28987298 Mon Sep 17 00:00:00 2001 From: vodkagirl <91933099+vodkagirl@users.noreply.github.com> Date: Thu, 7 Sep 2023 23:01:47 +0700 Subject: [PATCH 6/7] Update power_profile.xml --- Tecno/Pova4/res/xml/power_profile.xml | 158 ++++---------------------- 1 file changed, 20 insertions(+), 138 deletions(-) diff --git a/Tecno/Pova4/res/xml/power_profile.xml b/Tecno/Pova4/res/xml/power_profile.xml index b4ede41a8..a937758c0 100644 --- a/Tecno/Pova4/res/xml/power_profile.xml +++ b/Tecno/Pova4/res/xml/power_profile.xml @@ -37,171 +37,53 @@ 1.1 6 2 - 500000 - 774000 - 875000 - 975000 - 1075000 - 1175000 - 1275000 - 1375000 - 1500000 - 1618000 - 1666000 - 1733000 - 1800000 - 1866000 - 1933000 - 2000000 - - - 774000 - 835000 - 919000 - 1002000 - 1085000 - 1169000 - 1308000 - 1419000 - 1530000 - 1670000 - 1733000 - 1796000 - 1860000 - 1923000 - 1986000 - 2050000 + 400000 - 6.76 - 9.47 - 11.18 - 12.95 - 15.27 - 18.73 - 22.00 - 25.15 - 30.29 - 35.78 - 38.37 - 41.35 - 45.00 - 49.04 - 53.58 - 55.65 + 0.1 - - 34.42 - 36.76 - 42.69 - 49.41 - 56.50 - 69.44 - 80.24 - 107.99 - 129.97 - 156.56 - 168.90 - 176.07 - 178.23 - 200.59 - 203.88 - 210.66 - - 5.1 5.1 + name="cpu.idle">1.11 9.89 + name="cpu.suspend">5 2.55. 2.11 2.22 - 500000 - 774000 - 875000 - 975000 - 1075000 - 1175000 - 1275000 - 1375000 - 1500000 - 1618000 - 1666000 - 1733000 - 1800000 - 1866000 - 1933000 + 300000 + 1000000 2000000 - 774000 - 835000 - 919000 - 1002000 - 1085000 - 1169000 - 1308000 - 1419000 - 1530000 - 1670000 - 1733000 - 1796000 - 1860000 - 1923000 - 1986000 - 2050000 + 300000 + 1000000 + 2500000 + 3000000 - 6.76 - 9.47 - 11.18 - 12.95 - 15.27 - 18.73 - 22.00 - 25.15 - 30.29 - 35.78 - 38.37 - 41.35 - 45.00 - 49.04 - 53.58 - 55.65 + 10 + 20 + 30 - 34.42 - 36.76 - 42.69 - 49.41 - 56.50 - 69.44 - 80.24 - 107.99 - 129.97 - 156.56 - 168.90 - 176.07 - 178.23 - 200.59 - 203.88 - 210.66 + 25 + 35 + 50 + 60 @@ -250,4 +132,4 @@ 0 - \ No newline at end of file + From 087a985d7f66c734b78e19fc130226f2dd46b46c Mon Sep 17 00:00:00 2001 From: vodkagirl <91933099+vodkagirl@users.noreply.github.com> Date: Thu, 7 Sep 2023 23:16:05 +0700 Subject: [PATCH 7/7] Update power_profile.xml --- Tecno/Pova4/res/xml/power_profile.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/Tecno/Pova4/res/xml/power_profile.xml b/Tecno/Pova4/res/xml/power_profile.xml index a937758c0..33d2f1e86 100644 --- a/Tecno/Pova4/res/xml/power_profile.xml +++ b/Tecno/Pova4/res/xml/power_profile.xml @@ -37,7 +37,6 @@ 1.1 6 2