diff --git a/Moto/G8Power/Android.mk b/Moto/G8Power/Android.mk new file mode 100644 index 0000000..a3c0ff4 --- /dev/null +++ b/Moto/G8Power/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-moto-g8power +LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/Moto/G8Power/AndroidManifest.xml b/Moto/G8Power/AndroidManifest.xml new file mode 100644 index 0000000..26e03b1 --- /dev/null +++ b/Moto/G8Power/AndroidManifest.xml @@ -0,0 +1,14 @@ + + + + diff --git a/Moto/G8Power/res/values/config.xml b/Moto/G8Power/res/values/config.xml new file mode 100644 index 0000000..b308563 --- /dev/null +++ b/Moto/G8Power/res/values/config.xml @@ -0,0 +1,243 @@ + + + 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 + 122px + 24dp + 122px + 24dp + 122px + M -483,0 L -416,0 L -416,116 L -483,116 Z + + 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 + + motog8power + http://uaprof.motorola.com/phoneconfig/motov1/Profile/motov1.rdf + 524288,2097152,4194304,262144,524288,1048576 + moto g(8) power + 255 + false + + 3 + 18 + 63 + 100 + 120 + 150 + 180 + 180 + 180 + 180 + 225 + 270 + 300 + 320 + 360 + 450 + 450 + 450 + 450 + + + 2 + 10 + 50 + 90 + 100 + 150 + 200 + 300 + 400 + 500 + 800 + 1000 + 1300 + 1500 + 2000 + 3000 + 4000 + 8000 + + + 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 + 10 + 36 + 57 + 68 + 85 + 102 + 128 + 153 + 170 + 181 + 204 + 255 + + + 3 + 18 + 63 + 100 + 120 + 150 + 180 + 225 + 270 + 300 + 320 + 360 + 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,9,-1,true + + + 1,1 + 0,1 + 7,1 + 9,1 + + + diff --git a/Moto/G8Power/res/xml/power_profile.xml b/Moto/G8Power/res/xml/power_profile.xml new file mode 100644 index 0000000..94835ea --- /dev/null +++ b/Moto/G8Power/res/xml/power_profile.xml @@ -0,0 +1,74 @@ + + + 0 + 80.461 + 386.775 + 0.597 + 41.623 + 65.088 + 445.836 + 108.367 + 57.904 + 208.332 + 46.310 + + 33.079 + 30 + 25 + 20 + 15 + 10 + 5 + 1.090 + + + 4 + 4 + + + 300000 + 614400 + 864000 + 1017600 + 1305600 + 1420800 + 1612800 + 1804800 + + + 300000 + 652800 + 902400 + 1056000 + 1401600 + 1536000 + 1804800 + 2016000 + + + 0.8 + 3.7 + 6.9 + 9.8 + 17.8 + 22.8 + 39.9 + 52.6 + + + 1.1 + 11.4 + 53.8 + 66.4 + 99.5 + 111.6 + 121.0 + 157.5 + + 17.8 + 26.6 + 5.859 + 6.505 + 3 + 5000 +