From 6fcd56995da50b23dbe099b37a11e7a834e03f1a Mon Sep 17 00:00:00 2001 From: KatoTempest Date: Fri, 17 Dec 2021 23:15:15 -0600 Subject: [PATCH 1/3] moto e6plus overlay added --- Moto/E6Plus/Android.mk | 8 ++++ Moto/E6Plus/AndroidManifest.xml | 14 ++++++ Moto/E6Plus/res/values/config.xml | 56 +++++++++++++++++++++++ Moto/E6Plus/res/xml/power_profile.xml | 64 +++++++++++++++++++++++++++ overlay.mk | 1 + 5 files changed, 143 insertions(+) create mode 100644 Moto/E6Plus/Android.mk create mode 100644 Moto/E6Plus/AndroidManifest.xml create mode 100644 Moto/E6Plus/res/values/config.xml create mode 100644 Moto/E6Plus/res/xml/power_profile.xml diff --git a/Moto/E6Plus/Android.mk b/Moto/E6Plus/Android.mk new file mode 100644 index 0000000..61a10e7 --- /dev/null +++ b/Moto/E6Plus/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-moto-e6plus +LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/Moto/E6Plus/AndroidManifest.xml b/Moto/E6Plus/AndroidManifest.xml new file mode 100644 index 0000000..6239371 --- /dev/null +++ b/Moto/E6Plus/AndroidManifest.xml @@ -0,0 +1,14 @@ + + + + diff --git a/Moto/E6Plus/res/values/config.xml b/Moto/E6Plus/res/values/config.xml new file mode 100644 index 0000000..fd7005e --- /dev/null +++ b/Moto/E6Plus/res/values/config.xml @@ -0,0 +1,56 @@ + + + + 0.0 + 50.0 + 90.0 + + + wifi,1,1,1,-1,true + mobile,0,0,0,-1,true + mobile_mms,2,0,2,60000,true + mobile_supl,3,0,2,60000,true + mobile_dun,4,0,2,60000,true + mobile_hipri,5,0,3,60000,true + mobile_fota,10,0,2,60000,true + mobile_ims,11,0,2,60000,true + mobile_cbs,12,0,2,60000,true + wifi_p2p,13,1,0,-1,true + mobile_ia,14,0,2,-1,true + mobile_emergency,15,0,2,-1,true + + 24.0dip + 300.0% + 20.000004% + 100.0% + 1 + 10 + 17 + 86 + 255 + 79 + 102 + 255 + 10 + + 0 + 10 + 50 + 80 + + + 70 + + + 0 + 30 + 80 + 94 + + + 0 + 350 + 250 + 350 + + diff --git a/Moto/E6Plus/res/xml/power_profile.xml b/Moto/E6Plus/res/xml/power_profile.xml new file mode 100644 index 0000000..22b9382 --- /dev/null +++ b/Moto/E6Plus/res/xml/power_profile.xml @@ -0,0 +1,64 @@ + + + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1 + + 0.2 + 0.1 + + + 1 + + + 400000 + + + 0.1 + + 0.1 + + 22.7 + + 1000 + 0 + 0 + 0 + + 0 + + .0002 + .002 + .02 + .2 + 2 + + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + + 0 + + 0 + 0 + + 0 + \ No newline at end of file diff --git a/overlay.mk b/overlay.mk index 619824f..1890558 100755 --- a/overlay.mk +++ b/overlay.mk @@ -71,6 +71,7 @@ PRODUCT_PACKAGES += \ treble-overlay-misc-minimal-brightness \ treble-overlay-moto-e5 \ treble-overlay-moto-e5plus \ + treble-overlay-moto-e6plus \ treble-overlay-moto-g6 \ treble-overlay-moto-g6play \ treble-overlay-moto-g6plus \ From cc42fa2dccb3001fc66304992a206b81f819bebd Mon Sep 17 00:00:00 2001 From: Pacotony Date: Sat, 18 Dec 2021 08:27:25 -0600 Subject: [PATCH 2/3] Update AndroidManifest.xml --- Moto/E6Plus/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Moto/E6Plus/AndroidManifest.xml b/Moto/E6Plus/AndroidManifest.xml index 6239371..b675f61 100644 --- a/Moto/E6Plus/AndroidManifest.xml +++ b/Moto/E6Plus/AndroidManifest.xml @@ -9,6 +9,6 @@ From 363b19a3cb5c15c836b719dbce3070332c855c1a Mon Sep 17 00:00:00 2001 From: Arthur Date: Sat, 1 Jan 2022 12:41:10 -0600 Subject: [PATCH 3/3] Update config.xml --- Moto/E6Plus/res/values/config.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Moto/E6Plus/res/values/config.xml b/Moto/E6Plus/res/values/config.xml index fd7005e..0218aec 100644 --- a/Moto/E6Plus/res/values/config.xml +++ b/Moto/E6Plus/res/values/config.xml @@ -20,7 +20,9 @@ mobile_emergency,15,0,2,-1,true 24.0dip - 300.0% + 1000 + 1500 + 300.0% 20.000004% 100.0% 1 @@ -53,4 +55,5 @@ 250 350 + M 0,0 L 88,0 L 88,58 L 0,58 L 0,0 Z