diff --git a/Xiaomi/MiMax3/Android.mk b/Xiaomi/MiMax3/Android.mk
new file mode 100644
index 0000000..e0972d5
--- /dev/null
+++ b/Xiaomi/MiMax3/Android.mk
@@ -0,0 +1,8 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+LOCAL_MODULE_TAGS := optional
+LOCAL_PACKAGE_NAME := treble-overlay-xiaomi-mimax3
+LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay
+LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
+LOCAL_PRIVATE_PLATFORM_APIS := true
+include $(BUILD_PACKAGE)
diff --git a/Xiaomi/MiMax3/AndroidManifest.xml b/Xiaomi/MiMax3/AndroidManifest.xml
new file mode 100644
index 0000000..f5e94a6
--- /dev/null
+++ b/Xiaomi/MiMax3/AndroidManifest.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/Xiaomi/MiMax3/res/values/config.xml b/Xiaomi/MiMax3/res/values/config.xml
new file mode 100644
index 0000000..2ccc934
--- /dev/null
+++ b/Xiaomi/MiMax3/res/values/config.xml
@@ -0,0 +1,93 @@
+
+
+
+ - 2
+ - 2
+ - 2
+ - 3
+ - 3
+ - 5
+ - 5
+ - 12
+ - 12
+ - 20
+ - 20
+ - 39
+ - 39
+ - 55
+ - 55
+ - 63
+ - 63
+ - 93
+ - 93
+ - 105
+ - 105
+ - 150
+ - 200
+ - 240
+ - 255
+
+
+ - 1
+ - 2
+ - 3
+ - 4
+ - 5
+ - 6
+ - 8
+ - 13
+ - 17
+ - 21
+ - 26
+ - 30
+ - 34
+ - 140
+ - 310
+ - 400
+ - 500
+ - 600
+ - 1000
+ - 1200
+ - 1500
+ - 3000
+ - 3500
+ - 4000
+
+ true
+ true
+ false
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ false
+ true
+ true
+ true
+ true
+ true
+ true
+ false
+ false
+ false
+ true
+ 200.0%
+ 29.999996%
+ 1000
+ 1000
+ 1
+ 1
+ 17
+ 128
+ 255
+ 1
+ 1
+ 3300
+ 2
+ 3
+ 600
+
diff --git a/Xiaomi/MiMax3/res/xml/power_profile.xml b/Xiaomi/MiMax3/res/xml/power_profile.xml
new file mode 100644
index 0000000..690949e
--- /dev/null
+++ b/Xiaomi/MiMax3/res/xml/power_profile.xml
@@ -0,0 +1,79 @@
+
+
+ - 0
+ - 45.4
+ - 274
+ - 3.08
+ - 0.53
+ - 0.19
+ - 154.13
+ - 26.66
+ - 14.86
+ - 58.17
+ - 150
+ - 550
+ - 111.63
+ - 247.25
+ - 56.28
+
+ 6.92
+ 6.92
+
+ - 0
+ - 0
+ - 0
+ - 0
+
+ 4
+ 4
+
+
+ 633600
+ 902400
+ 1113600
+ 1401600
+ 1536000
+ 1747200
+ 1843200
+
+
+ 31
+ 61.5
+ 68
+ 79
+ 98.6
+ 110.6
+ 117
+
+
+ 1113600
+ 1401600
+ 1747200
+ 1958400
+ 2150400
+ 2208000
+
+
+ 124.4
+ 156
+ 210
+ 260
+ 309
+ 362.5
+
+ - 13.7
+ - 4.5
+ - 5500
+ - 0
+ - 0
+ - 0
+
+ - 0
+
+ .0002
+ .002
+ .02
+ .2
+ 2
+
+
\ No newline at end of file
diff --git a/Xiaomi/RedmiNote5/Android.mk b/Xiaomi/RedmiNote5/Android.mk
new file mode 100644
index 0000000..bfd41d8
--- /dev/null
+++ b/Xiaomi/RedmiNote5/Android.mk
@@ -0,0 +1,8 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+LOCAL_MODULE_TAGS := optional
+LOCAL_PACKAGE_NAME := treble-overlay-xiaomi-redminote5
+LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay
+LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
+LOCAL_PRIVATE_PLATFORM_APIS := true
+include $(BUILD_PACKAGE)
diff --git a/Xiaomi/RedmiNote5/AndroidManifest.xml b/Xiaomi/RedmiNote5/AndroidManifest.xml
new file mode 100644
index 0000000..ae04390
--- /dev/null
+++ b/Xiaomi/RedmiNote5/AndroidManifest.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/Xiaomi/RedmiNote5/res/values/config.xml b/Xiaomi/RedmiNote5/res/values/config.xml
new file mode 100644
index 0000000..ecd33b6
--- /dev/null
+++ b/Xiaomi/RedmiNote5/res/values/config.xml
@@ -0,0 +1,93 @@
+
+
+
+ - 2
+ - 2
+ - 3
+ - 3
+ - 20
+ - 20
+ - 20
+ - 20
+ - 31
+ - 39
+ - 43
+ - 43
+ - 44
+ - 45
+ - 48
+ - 55
+ - 64
+ - 66
+ - 69
+ - 84
+ - 93
+ - 105
+ - 200
+ - 240
+ - 255
+
+
+ - 1
+ - 2
+ - 4
+ - 5
+ - 8
+ - 13
+ - 17
+ - 21
+ - 26
+ - 30
+ - 34
+ - 39
+ - 60
+ - 140
+ - 310
+ - 400
+ - 500
+ - 600
+ - 1000
+ - 1200
+ - 1500
+ - 3000
+ - 3500
+ - 4000
+
+ true
+ true
+ false
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ false
+ true
+ true
+ true
+ true
+ false
+ true
+ false
+ false
+ false
+ false
+ 200.0%
+ 29.999996%
+ 2000
+ 2000
+ 1
+ 1
+ 17
+ 128
+ 255
+ 1
+ 1
+ 3300
+ 2
+ 3
+ 610
+
diff --git a/Xiaomi/RedmiNote5/res/xml/power_profile.xml b/Xiaomi/RedmiNote5/res/xml/power_profile.xml
new file mode 100644
index 0000000..db1a98d
--- /dev/null
+++ b/Xiaomi/RedmiNote5/res/xml/power_profile.xml
@@ -0,0 +1,58 @@
+
+
+ - 0
+ - 88
+ - 300
+
+ 4
+ 4
+
+
+ 633600
+ 902400
+ 1113600
+ 1401600
+ 1536000
+ 1612800
+
+
+ 11
+ 18
+ 34
+ 45
+ 52
+ 56
+
+
+ 1113600
+ 1401600
+ 1747200
+ 1804800
+
+
+ 75
+ 108
+ 170
+ 193
+
+ - 4
+ - 3
+ - 4000
+ - 80
+ - 2
+ - 2
+ - 2
+ - 175
+ - 180
+ - 45
+ - 60
+ - 200
+ - 550
+ - 100
+ - 140
+ - 45
+
+ 8
+ 6
+
+
\ No newline at end of file