diff --git a/Xiaomi/Redmik50-SystemUI/Android.mk b/Xiaomi/Redmik50-SystemUI/Android.mk new file mode 100644 index 000000000..729b05f62 --- /dev/null +++ b/Xiaomi/Redmik50-SystemUI/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-redmi-k50-systemui +LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) \ No newline at end of file diff --git a/Xiaomi/Redmik50-SystemUI/AndroidManifest.xml b/Xiaomi/Redmik50-SystemUI/AndroidManifest.xml new file mode 100644 index 000000000..b9bf0a6a8 --- /dev/null +++ b/Xiaomi/Redmik50-SystemUI/AndroidManifest.xml @@ -0,0 +1,13 @@ + + + + diff --git a/Xiaomi/Redmik50-SystemUI/res/values-port/dimens.xml b/Xiaomi/Redmik50-SystemUI/res/values-port/dimens.xml new file mode 100644 index 000000000..c57a3d787 --- /dev/null +++ b/Xiaomi/Redmik50-SystemUI/res/values-port/dimens.xml @@ -0,0 +1,21 @@ + + + + + + 28.0px + diff --git a/Xiaomi/Redmik50-SystemUI/res/values/dimens.xml b/Xiaomi/Redmik50-SystemUI/res/values/dimens.xml new file mode 100644 index 000000000..2795cf8c5 --- /dev/null +++ b/Xiaomi/Redmik50-SystemUI/res/values/dimens.xml @@ -0,0 +1,26 @@ + + + + + + + 0dp + + + 68.0px + + diff --git a/Xiaomi/Redmik50/Android.mk b/Xiaomi/Redmik50/Android.mk new file mode 100644 index 000000000..a808f47e3 --- /dev/null +++ b/Xiaomi/Redmik50/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-redmi-k50 +LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) \ No newline at end of file diff --git a/Xiaomi/Redmik50/AndroidManifest.xml b/Xiaomi/Redmik50/AndroidManifest.xml new file mode 100644 index 000000000..c7a6027da --- /dev/null +++ b/Xiaomi/Redmik50/AndroidManifest.xml @@ -0,0 +1,11 @@ + + + diff --git a/Xiaomi/Redmik50/res/values/config.xml b/Xiaomi/Redmik50/res/values/config.xml new file mode 100644 index 000000000..d2cddd824 --- /dev/null +++ b/Xiaomi/Redmik50/res/values/config.xml @@ -0,0 +1,48 @@ + + + true + 121 + 121 + 5 + + + 8 + 64 + 98 + 104 + 110 + 116 + 122 + 128 + 134 + 182 + 255 + 255 + 255 + 255 + 255 + 255 + 255 + 255 + + + 128 + 256 + 384 + 512 + 640 + 768 + 896 + 1024 + 2048 + 4096 + 6144 + 8192 + 10240 + 12288 + 14336 + 16384 + 18432 + + + \ No newline at end of file diff --git a/Xiaomi/Redmik50/res/values/dimens.xml b/Xiaomi/Redmik50/res/values/dimens.xml new file mode 100644 index 000000000..a1992264b --- /dev/null +++ b/Xiaomi/Redmik50/res/values/dimens.xml @@ -0,0 +1,29 @@ + + + + + + 104.0px + 104.0px + 104.0px + + + 132.0px + + \ No newline at end of file diff --git a/Xiaomi/Redmik50/res/xml/power_profile.xml b/Xiaomi/Redmik50/res/xml/power_profile.xml new file mode 100644 index 000000000..18c2f65a4 --- /dev/null +++ b/Xiaomi/Redmik50/res/xml/power_profile.xml @@ -0,0 +1,255 @@ + + + 0.1 + 81.94 + 503.04 + 9.66 + 0.39 + 0.21 + 221.4525 + 36.63 + 21.57 + 70.57 + 197.64 + 658.04 + 36.81 + 218.715 + 92.41 + + 1.21 + 1.21 + + + 4 + 3 + 1 + + + 400000 + + + 0.1 + + 5.97 + 5 + 20.20. 2.11 + 2.22 + + 450000 + 500000 + 550000 + 600000 + 650000 + 700000 + 750000 + 800000 + 850000 + 900000 + 950000 + 1000000 + 1050000 + 1100000 + 1150000 + 1200000 + 1250000 + 1300000 + 1400000 + 1500000 + 1600000 + 1700000 + 1800000 + 1900000 + 2000000 + + + 43.37 + 43.00 + 44.34 + 44.54 + 45.21 + 45.52 + 45.83 + 45.38 + 47.21 + 47.19 + 46.79 + 46.88 + 48.57 + 48.96 + 49.05 + 49.82 + 50.20 + 53.13 + 54.28 + 55.11 + 61.78 + 59.83 + 62.53 + 67.59 + 69.93 + + + 200000 + 300000 + 400000 + 500000 + 600000 + 700000 + 800000 + 900000 + 1000000 + 1100000 + 1200000 + 1300000 + 1400000 + 1500000 + 1600000 + 1700000 + 1800000 + 1900000 + 2000000 + 2050000 + 2100000 + 2150000 + 2200000 + 2250000 + 2300000 + 2350000 + 2400000 + 2450000 + 2550000 + 2650000 + 2750000 + 2850000 + + + 53.34 + 53.93 + 53.63 + 59.79 + 59.89 + 67.94 + 71.26 + 71.87 + 81.18 + 86.98 + 97.09 + 98.94 + 103.97 + 111.89 + 118.10 + 124.60 + 138.00 + 141.90 + 154.01 + 159.54 + 163.59 + 170.75 + 182.87 + 197.01 + 201.18 + 213.13 + 219.85 + 234.62 + 245.16 + 261.66 + 281.29 + 313.09 + + + 500000 + 600000 + 700000 + 800000 + 900000 + 1000000 + 1100000 + 1200000 + 1300000 + 1400000 + 1500000 + 1600000 + 1700000 + 1800000 + 1900000 + 2000000 + 2050000 + 2100000 + 2150000 + 2200000 + 2250000 + 2300000 + 2350000 + 2400000 + 2450000 + 2550000 + 2650000 + 2750000 + 2850000 + + + 59.00 + 66.86 + 71.00 + 72.40 + 84.66 + 86.68 + 89.70 + 95.32 + 103.82 + 109.34 + 121.45 + 127.41 + 135.91 + 147.98 + 158.88 + 175.49 + 182.79 + 190.78 + 195.70 + 211.17 + 230.30 + 233.42 + 237.87 + 252.53 + 265.34 + 297.77 + 318.05 + 360.96 + 369.02 + + + 22.7 + + 5500 + 1 + 122 + 206 + + 1 + + 4000 + + .0002 + .002 + .02 + .2 + 2 + + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + + 0 + + 0 + 0 + + 0 + \ No newline at end of file diff --git a/overlay.mk b/overlay.mk index 2a5824e25..fabbe1bf0 100644 --- a/overlay.mk +++ b/overlay.mk @@ -170,6 +170,8 @@ PRODUCT_PACKAGES += \ treble-overlay-realme-q2-systemui \ treble-overlay-realme-q3 \ treble-overlay-realme-x2pro \ + treble-overlay-redmi-k50 \ + treble-overlay-redmi-k50-systemui \ treble-overlay-samsung-S10pq \ treble-overlay-samsung-S10q \ treble-overlay-samsung-S20fe \