diff --git a/proprietary/vendor/bin/energy-awareness b/proprietary/vendor/bin/energy-awareness
new file mode 100755
index 0000000..9cb8d1e
Binary files /dev/null and b/proprietary/vendor/bin/energy-awareness differ
diff --git a/proprietary/vendor/bin/hw/vendor.qti.hardware.perf@2.0-service b/proprietary/vendor/bin/hw/vendor.qti.hardware.perf@2.0-service
new file mode 100644
index 0000000..c476860
Binary files /dev/null and b/proprietary/vendor/bin/hw/vendor.qti.hardware.perf@2.0-service differ
diff --git a/proprietary/vendor/bin/msm_irqbalance b/proprietary/vendor/bin/msm_irqbalance
new file mode 100755
index 0000000..595a99c
Binary files /dev/null and b/proprietary/vendor/bin/msm_irqbalance differ
diff --git a/proprietary/vendor/etc/init/vendor.qti.hardware.perf@2.0-service.rc b/proprietary/vendor/etc/init/vendor.qti.hardware.perf@2.0-service.rc
new file mode 100644
index 0000000..618011b
--- /dev/null
+++ b/proprietary/vendor/etc/init/vendor.qti.hardware.perf@2.0-service.rc
@@ -0,0 +1,4 @@
+service perf-hal-2-0 /vendor/bin/hw/vendor.qti.hardware.perf@2.0-service
+ class hal
+ user root
+ group root readproc oem_2907
diff --git a/proprietary/vendor/etc/perf/commonresourceconfigs.xml b/proprietary/vendor/etc/perf/commonresourceconfigs.xml
new file mode 100644
index 0000000..78b4480
--- /dev/null
+++ b/proprietary/vendor/etc/perf/commonresourceconfigs.xml
@@ -0,0 +1,234 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/proprietary/vendor/etc/perf/perfboostsconfig.xml b/proprietary/vendor/etc/perf/perfboostsconfig.xml
new file mode 100644
index 0000000..d7e7613
--- /dev/null
+++ b/proprietary/vendor/etc/perf/perfboostsconfig.xml
@@ -0,0 +1,368 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/proprietary/vendor/etc/perf/targetconfig.xml b/proprietary/vendor/etc/perf/targetconfig.xml
new file mode 100644
index 0000000..46efa03
--- /dev/null
+++ b/proprietary/vendor/etc/perf/targetconfig.xml
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/proprietary/vendor/etc/perf/targetresourceconfigs.xml b/proprietary/vendor/etc/perf/targetresourceconfigs.xml
new file mode 100644
index 0000000..a44dd5b
--- /dev/null
+++ b/proprietary/vendor/etc/perf/targetresourceconfigs.xml
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/proprietary/vendor/lib/libperfconfig.so b/proprietary/vendor/lib/libperfconfig.so
new file mode 100644
index 0000000..6cec89c
Binary files /dev/null and b/proprietary/vendor/lib/libperfconfig.so differ
diff --git a/proprietary/vendor/lib/libqti-perfd.so b/proprietary/vendor/lib/libqti-perfd.so
new file mode 100644
index 0000000..e7ef2ba
Binary files /dev/null and b/proprietary/vendor/lib/libqti-perfd.so differ
diff --git a/proprietary/vendor/lib/libqti-util.so b/proprietary/vendor/lib/libqti-util.so
new file mode 100644
index 0000000..b4efa8b
Binary files /dev/null and b/proprietary/vendor/lib/libqti-util.so differ
diff --git a/proprietary/vendor/lib/vendor.qti.hardware.perf@2.0.so b/proprietary/vendor/lib/vendor.qti.hardware.perf@2.0.so
new file mode 100644
index 0000000..faa93e3
Binary files /dev/null and b/proprietary/vendor/lib/vendor.qti.hardware.perf@2.0.so differ
diff --git a/proprietary/vendor/lib64/libperfconfig.so b/proprietary/vendor/lib64/libperfconfig.so
new file mode 100644
index 0000000..cf90e28
Binary files /dev/null and b/proprietary/vendor/lib64/libperfconfig.so differ
diff --git a/proprietary/vendor/lib64/libqti-perfd.so b/proprietary/vendor/lib64/libqti-perfd.so
new file mode 100644
index 0000000..d363053
Binary files /dev/null and b/proprietary/vendor/lib64/libqti-perfd.so differ
diff --git a/proprietary/vendor/lib64/libqti-util.so b/proprietary/vendor/lib64/libqti-util.so
new file mode 100644
index 0000000..c9cf17b
Binary files /dev/null and b/proprietary/vendor/lib64/libqti-util.so differ
diff --git a/proprietary/vendor/lib64/vendor.qti.hardware.perf@2.0.so b/proprietary/vendor/lib64/vendor.qti.hardware.perf@2.0.so
new file mode 100644
index 0000000..45f32ed
Binary files /dev/null and b/proprietary/vendor/lib64/vendor.qti.hardware.perf@2.0.so differ
diff --git a/sdm660-common-vendor.mk b/sdm660-common-vendor.mk
index 4a3ebb6..a83c3ab 100644
--- a/sdm660-common-vendor.mk
+++ b/sdm660-common-vendor.mk
@@ -115,6 +115,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sdm660-common/proprietary/vendor/bin/cnd:$(TARGET_COPY_OUT_VENDOR)/bin/cnd \
vendor/xiaomi/sdm660-common/proprietary/vendor/bin/cnss-daemon:$(TARGET_COPY_OUT_VENDOR)/bin/cnss-daemon \
vendor/xiaomi/sdm660-common/proprietary/vendor/bin/dpmQmiMgr:$(TARGET_COPY_OUT_VENDOR)/bin/dpmQmiMgr \
+ vendor/xiaomi/sdm660-common/proprietary/vendor/bin/energy-awareness:$(TARGET_COPY_OUT_VENDOR)/bin/energy-awareness \
vendor/xiaomi/sdm660-common/proprietary/vendor/bin/fm_qsoc_patches:$(TARGET_COPY_OUT_VENDOR)/bin/fm_qsoc_patches \
vendor/xiaomi/sdm660-common/proprietary/vendor/bin/hvdcp_opti:$(TARGET_COPY_OUT_VENDOR)/bin/hvdcp_opti \
vendor/xiaomi/sdm660-common/proprietary/vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti:$(TARGET_COPY_OUT_VENDOR)/bin/hw/android.hardware.bluetooth@1.0-service-qti \