diff --git a/Moto/G7Power/Android.mk b/Moto/G7Power/Android.mk new file mode 100644 index 0000000..45089be --- /dev/null +++ b/Moto/G7Power/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-moto-g7power +LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/Moto/G7Power/AndroidManifest.xml b/Moto/G7Power/AndroidManifest.xml new file mode 100644 index 0000000..4531538 --- /dev/null +++ b/Moto/G7Power/AndroidManifest.xml @@ -0,0 +1,11 @@ + + + + diff --git a/Moto/G7Power/res/values/config.xml b/Moto/G7Power/res/values/config.xml new file mode 100644 index 0000000..d503807 --- /dev/null +++ b/Moto/G7Power/res/values/config.xml @@ -0,0 +1,108 @@ + + + true + 30 + true + true + true + true + true + 180 + 60 + true + true + true + + + 0 + 20 + + + 0 + 26 + + + 0 + 20 + + true + 2 + 90 + 17 + 500 + 2 + + 10 + 20 + 40 + 70 + 110 + 160 + 200 + 255 + + + 2 + 10 + 50 + 90 + 100 + 150 + 200 + 300 + 400 + 500 + 800 + 1000 + 1300 + 2000 + 3000 + 4000 + 8000 + 10000 + + true + 3300 + true + true + + com.android.systemui/com.android.systemui.doze.DozeService + true + true + true + + 1410 + true + false + + XTRA_SERVER_1=https://xtrapath1.izatcloud.net/xtra2.bin + XTRA_SERVER_2=https://xtrapath2.izatcloud.net/xtra2.bin + XTRA_SERVER_3=https://xtrapath3.izatcloud.net/xtra2.bin + NTP_SERVER=north-america.pool.ntp.org + SUPL_MODE=0 + SUPL_HOST=NONE + SUPL_PORT=7275 + SUPL_VER=0x20000 + LPP_PROFILE=3 + NMEA_PROVIDER=0 + A_GLONASS_POS_PROTOCOL_SELECT=0 + ERR_ESTIMATE=0 + INTERMEDIATE_POS=0 + SUPL_ES=1 + GPS_LOCK=1 + + false + true + 65540 + com.motorola.sensor.camera_activate + + + + 4 + true + false + + /system/framework/oat/arm64/services.odex + /system/framework/boot-framework.vdex + + diff --git a/Moto/G7Power/res/xml/power_profile.xml b/Moto/G7Power/res/xml/power_profile.xml new file mode 100644 index 0000000..a39eb3d --- /dev/null +++ b/Moto/G7Power/res/xml/power_profile.xml @@ -0,0 +1,68 @@ + + + 0 + 101.431 + 275.550 + 0.606 + 74.462 + 25.088 + 374.399 + 265.769 + 21.412 + 208.332 + 46.310 + + 33.079 + 30 + 25 + 20 + 15 + 10 + 5 + 1.090 + + + 4 + 4 + + + 614400 + 883200 + 1036800 + 1363200 + 1536000 + 1670400 + 1804800 + + + 633600 + 902400 + 1094400 + 1401600 + 1555200 + 1804800 + + + 8.24 + 18.66 + 20.2 + 28.57 + 48.57 + 51.23 + 62.6 + + + 10.85 + 20.85 + 31.57 + 50.96 + 70.31 + 100.25 + + 4.27 + 7.22 + 3.993 + 2.969 + 3.5 + 5000 + \ No newline at end of file diff --git a/overlay.mk b/overlay.mk index 69e228a..a451e12 100644 --- a/overlay.mk +++ b/overlay.mk @@ -36,6 +36,7 @@ PRODUCT_PACKAGES += \ treble-overlay-lg-v40 \ treble-overlay-moto-g6 \ treble-overlay-moto-g6plus \ + treble-overlay-moto-g7power \ treble-overlay-nokia-b2n \ treble-overlay-nokia-drg \ treble-overlay-oneplus-op6 \