From a09271c835891db53f5ae8220ad3c91e78ae0883 Mon Sep 17 00:00:00 2001 From: Vachounet Date: Sun, 8 Mar 2020 11:33:53 +0100 Subject: [PATCH] Add moto one hyper overlay --- Moto/OneHyper/Android.mk | 8 + Moto/OneHyper/AndroidManifest.xml | 14 ++ Moto/OneHyper/res/values/config.xml | 241 ++++++++++++++++++++++++ Moto/OneHyper/res/xml/power_profile.xml | 82 ++++++++ 4 files changed, 345 insertions(+) create mode 100644 Moto/OneHyper/Android.mk create mode 100644 Moto/OneHyper/AndroidManifest.xml create mode 100644 Moto/OneHyper/res/values/config.xml create mode 100644 Moto/OneHyper/res/xml/power_profile.xml diff --git a/Moto/OneHyper/Android.mk b/Moto/OneHyper/Android.mk new file mode 100644 index 0000000..c75b684 --- /dev/null +++ b/Moto/OneHyper/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-moto-onehyper +LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/Moto/OneHyper/AndroidManifest.xml b/Moto/OneHyper/AndroidManifest.xml new file mode 100644 index 0000000..895cdf4 --- /dev/null +++ b/Moto/OneHyper/AndroidManifest.xml @@ -0,0 +1,14 @@ + + + + diff --git a/Moto/OneHyper/res/values/config.xml b/Moto/OneHyper/res/values/config.xml new file mode 100644 index 0000000..d7835a6 --- /dev/null +++ b/Moto/OneHyper/res/values/config.xml @@ -0,0 +1,241 @@ + + + false + true + org.codeaurora.ims + true + true + true + true + true + 3300 + #ffff0000 + true + true + false + false + 6dp + 17 + true + true + true + true + com.android.systemui/com.android.systemui.doze.DozeService + false + true + false + false + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + false + true + true + true + false + true + true + true + true + true + true + false + true + 16dp + 80px + 24dp + 80px + + 4 + + 55 + 2 + + + true + true + + + + SUPL_HOST=supl.google.com + SUPL_PORT=7275 + SUPL_VER=0x20000 + SUPL_MODE=1 + SUPL_ES=1 + LPP_PROFILE=2 + USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1 + A_GLONASS_POS_PROTOCOL_SELECT=0 + GPS_LOCK=0 + + + motorolaonehyper + http://uaprof.motorola.com/phoneconfig/motov1/Profile/motov1.rdf + 524288,2097152,4194304,262144,524288,1048576 + motorola one hyper + 255 + false + + 3 + 32 + 70 + 110 + 130 + 150 + 180 + 180 + 180 + 180 + 225 + 270 + 300 + 315 + 420 + 450 + 450 + 450 + + + 5 + 10 + 50 + 90 + 100 + 150 + 200 + 300 + 400 + 500 + 800 + 1000 + 1300 + 2000 + 3000 + 4000 + 8000 + + + @null + 1 + 2 + + + + @null + 30 + + + + @null + 30 + + + + 5gnr:2097152,6291456,16777216,512000,2097152,8388608 + lte:524288,1048576,8388608,262144,524288,4194304 + lte_ca:1048576,2097152,16777216,524288,1048576,8388608 + umts:131072,262144,1452032,4096,16384,399360 + hspa:131072,262144,1452032,4096,16384,399360 + hsupa:131072,262144,1452032,4096,16384,399360 + hsdpa:131072,262144,1452032,4096,16384,399360 + hspap:131072,262144,1452032,4096,16384,399360 + edge:16384,32768,131072,4096,16384,65536 + gprs:4096,8192,24576,4096,8192,24576 + evdo:131072,262144,1048576,4096,16384,524288 + ehrpd:4094,87380,1048576,4096,16384,262144 + + + + 2 + 18 + 39 + 61 + 72 + 83 + 100 + 125 + 150 + 166 + 175 + 233 + 255 + + + 3 + 32 + 70 + 110 + 130 + 150 + 180 + 225 + 270 + 300 + 315 + 420 + 450 + + + @null + 15 + 30 + 15 + + + bnep\\d + bt-pan + + + + 1 + 5 + 7 + + + rndis\\d + + + wigig0 + wlan0 + softap0 + + + @null + 28 + + + wifi,1,1,1,-1,true + mobile,0,0,0,-1,true + mobile_mms,2,0,4,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 + bluetooth,7,7,2,-1,true + mobile_emergency,15,0,5,-1,true + ethernet,9,9,3,-1,true + + + 1,1 + 0,1 + 7,1 + 9,1 + + + 1410 + + diff --git a/Moto/OneHyper/res/xml/power_profile.xml b/Moto/OneHyper/res/xml/power_profile.xml new file mode 100644 index 0000000..8ab0f28 --- /dev/null +++ b/Moto/OneHyper/res/xml/power_profile.xml @@ -0,0 +1,82 @@ + + + 0 + 78.97 + 219.02 + 3.01 + 78.83 + 78.45 + 374.399 + 265.769 + 50.69 + 208.332 + 46.310 + + 33.079 + 30 + 25 + 20 + 15 + 10 + 5 + 1.090 + + + 6 + 2 + + + 300000 + 576000 + 748800 + 1017600 + 1209600 + 1363200 + 1516800 + 1593600 + 1708800 + + + 300000 + 652800 + 768000 + 979200 + 1017600 + 1209600 + 1363200 + 1516800 + 1708800 + 1900800 + 2016000 + + + 7.9 + 10.1 + 14.1 + 24.5 + 31.2 + 40.4 + 45.4 + 60.4 + 77.9 + + + 18.3 + 28.6 + 32.5 + 48.1 + 54.3 + 77.3 + 101.9 + 119 + 162.8 + 236.3 + 277.1 + + 0.7 + 6.7 + 3.993 + 2.969 + 3 + 4000 +