From 3e5687ef8261ffeb11d46eceaed85fc6be6fe110 Mon Sep 17 00:00:00 2001 From: racka98 <41214249+racka98@users.noreply.github.com> Date: Sat, 4 May 2019 01:39:11 +0300 Subject: [PATCH] Overlay for Tecno Camon 11 (#97) --- Tecno/Camon11/Android.mk | 8 ++ Tecno/Camon11/AndroidManifest.xml | 10 +++ Tecno/Camon11/res/values-land/notch.xml | 22 +++++ Tecno/Camon11/res/values/config.xml | 109 ++++++++++++++++++++++++ Tecno/Camon11/res/values/notch.xml | 27 ++++++ Tecno/Camon11/res/xml/power_profile.xml | 83 ++++++++++++++++++ overlay.mk | 1 + 7 files changed, 260 insertions(+) create mode 100644 Tecno/Camon11/Android.mk create mode 100644 Tecno/Camon11/AndroidManifest.xml create mode 100644 Tecno/Camon11/res/values-land/notch.xml create mode 100644 Tecno/Camon11/res/values/config.xml create mode 100644 Tecno/Camon11/res/values/notch.xml create mode 100644 Tecno/Camon11/res/xml/power_profile.xml diff --git a/Tecno/Camon11/Android.mk b/Tecno/Camon11/Android.mk new file mode 100644 index 0000000..93b7b39 --- /dev/null +++ b/Tecno/Camon11/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-tecno-camon11 +LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/Tecno/Camon11/AndroidManifest.xml b/Tecno/Camon11/AndroidManifest.xml new file mode 100644 index 0000000..d4f6afe --- /dev/null +++ b/Tecno/Camon11/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/Tecno/Camon11/res/values-land/notch.xml b/Tecno/Camon11/res/values-land/notch.xml new file mode 100644 index 0000000..7e9d1fc --- /dev/null +++ b/Tecno/Camon11/res/values-land/notch.xml @@ -0,0 +1,22 @@ + + + + + 24dp + \ No newline at end of file diff --git a/Tecno/Camon11/res/values/config.xml b/Tecno/Camon11/res/values/config.xml new file mode 100644 index 0000000..957899e --- /dev/null +++ b/Tecno/Camon11/res/values/config.xml @@ -0,0 +1,109 @@ + + + + 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,-1,-1,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 + mobile_dm,20,0,3,60000,true + mobile_wap,21,0,3,60000,true + mobile_net,22,0,3,60000,true + mobile_cmmail,23,0,3,60000,true + mobile_rcse,24,0,3,60000,true + mobile_xcap,25,0,3,60000,true + mobile_rcs,26,0,3,60000,true + mobile_bip,27,0,3,60000,true + mobile_vsim,28,0,-1,60000,true + mobile_preempt,29,0,9,60000,true + + + 128 + 256 + 384 + 512 + 640 + 768 + 896 + 1024 + 2048 + 4096 + 6144 + 8192 + 10240 + 12288 + 14336 + 16384 + 18432 + + + 8 + 64 + 98 + 104 + 110 + 116 + 122 + 128 + 134 + 182 + 255 + 255 + 255 + 255 + 255 + 255 + 255 + 255 + + + rndis\\d + + + ap\\d + + + bt-pan + bt-dun + + + /system/framework/arm/boot-mediatek-framework.vdex + /system/lib/libjavacrypto.so + /system/lib/libhidltransport.so + /system/framework/arm/boot-core-libart.oat + /system/framework/arm/boot-conscrypt.oat + /system/framework/arm/boot-core-libart.vdex + /system/framework/arm/boot-ext.vdex + /system/framework/arm/boot.vdex + /system/framework/arm/boot-framework.vdex + + + com.google.android.gms + + false + false + true + true + true + false + true + true + false + true + true + true + true + true + 2 + 3 + 2000 + 6000 + 4 + diff --git a/Tecno/Camon11/res/values/notch.xml b/Tecno/Camon11/res/values/notch.xml new file mode 100644 index 0000000..6222a7b --- /dev/null +++ b/Tecno/Camon11/res/values/notch.xml @@ -0,0 +1,27 @@ + + + + + 60px + + 60px + + 24dp + M -169,0 L -169,60 L 169,60 L 169,0 Z + diff --git a/Tecno/Camon11/res/xml/power_profile.xml b/Tecno/Camon11/res/xml/power_profile.xml new file mode 100644 index 0000000..863eb8c --- /dev/null +++ b/Tecno/Camon11/res/xml/power_profile.xml @@ -0,0 +1,83 @@ + + + 0 + 76.57 + 307.94 + 41.71 + 0.64 + 0.46 + 299.08 + 28.4 + 22.98 + 64.44 + 0.1 + 0.1 + 32.35 + 200 + 159 + + 5.29 + 5.29 + + 0 + 0 + 0 + 0 + + 4 + + + 299000 + 338000 + 416000 + 546000 + 624000 + 702000 + 845000 + 910000 + 962000 + 1001000 + 1053000 + 1105000 + 1170000 + 1274000 + 1378000 + 1495000 + + + 7.75 + 8.25 + 10.25 + 13.5 + 16 + 18.5 + 24.5 + 27.25 + 29.9 + 31.38 + 34.12 + 37.15 + 40.32 + 44.72 + 50.82 + 77.17 + + 3.89 + 10.35 + + 22.7 + + 3750 + 0 + 0 + 0 + + 0 + + .2 + 2 + 20 + 200 + 500 + + \ No newline at end of file diff --git a/overlay.mk b/overlay.mk index ce16e2c..69e228a 100644 --- a/overlay.mk +++ b/overlay.mk @@ -45,6 +45,7 @@ PRODUCT_PACKAGES += \ treble-overlay-samsung-s9-systemui \ treble-overlay-sharp-s2 \ treble-overlay-sony-XZ3 \ + treble-overlay-tecno-camon-11 \ treble-overlay-webview \ treble-overlay-wifi5g \ treble-overlay-xiaomi-mi6x \