diff --git a/Lenovo/S5/Android.mk b/Lenovo/S5/Android.mk new file mode 100644 index 0000000..06e97ac --- /dev/null +++ b/Lenovo/S5/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-lenovo-s5 +LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/Lenovo/S5/AndroidManifest.xml b/Lenovo/S5/AndroidManifest.xml new file mode 100644 index 0000000..c7ac469 --- /dev/null +++ b/Lenovo/S5/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/Lenovo/S5/res/values/config.xml b/Lenovo/S5/res/values/config.xml new file mode 100644 index 0000000..5a8ed12 --- /dev/null +++ b/Lenovo/S5/res/values/config.xml @@ -0,0 +1,71 @@ + + + + 1 + 56 + 90 + 101 + 101 + 101 + 118 + 133 + 151 + 163 + 178 + 189 + 202 + 208 + 220 + 255 + + + 5 + 30 + 60 + 90 + 150 + 200 + 350 + 450 + 550 + 720 + 950 + 1100 + 1500 + 2000 + 3500 + + + true + true + true + true + true + true + true + false + true + true + true + true + true + true + true + + 300.0% + 20.000004% + + 2000 + 5000 + 1 + 10 + 17 + 102 + 255 + 1 + 1 + 3800 + 2 + 3 + 590 + diff --git a/Lenovo/S5/res/xml/power_profile.xml b/Lenovo/S5/res/xml/power_profile.xml new file mode 100644 index 0000000..188f8b8 --- /dev/null +++ b/Lenovo/S5/res/xml/power_profile.xml @@ -0,0 +1,79 @@ + + + 0 + 180 + 360 + .325 + 78.3 + 127.5 + 20 + 1 + 811 + 128 + 95.2 + 344.3 + 38.7 + + 44 + 40 + 35 + 30 + 25 + 20 + 15 + 10 + 5 + 2 + + + 4 + 4 + + + 652800 + 1036800 + 1401600 + 1689600 + 1843200 + 1958400 + 2016000 + 2150400 + 2208000 + + + 39 + 48.2 + 61 + 80.4 + 90.6 + 104.5 + 105.5 + 122 + 126.7 + + + 652800 + 1036800 + 1401600 + 1689600 + 1843200 + 1958400 + 2016000 + 2150400 + 2208000 + + + 39 + 48.2 + 61 + 80.4 + 90.6 + 104.5 + 105.5 + 122 + 126.7 + + 5.1 + 3.9 + 3000 + \ No newline at end of file diff --git a/overlay.mk b/overlay.mk index cf3833f..f84c7d4 100644 --- a/overlay.mk +++ b/overlay.mk @@ -26,6 +26,7 @@ PRODUCT_PACKAGES += \ treble-overlay-huawei-VTR \ treble-overlay-huawei-WAS \ treble-overlay-huawei-telephony \ + treble-overlay-lenovo-s5 \ treble-overlay-lenovo-z5 \ treble-overlay-lg-g7 \ treble-overlay-lg-v40 \