diff --git a/proprietary/vendor/etc/thermal-4k.conf b/proprietary/vendor/etc/thermal-4k.conf new file mode 100644 index 0000000..a6a9847 Binary files /dev/null and b/proprietary/vendor/etc/thermal-4k.conf differ diff --git a/proprietary/vendor/etc/thermal-8k.conf b/proprietary/vendor/etc/thermal-8k.conf new file mode 100644 index 0000000..1e70599 Binary files /dev/null and b/proprietary/vendor/etc/thermal-8k.conf differ diff --git a/proprietary/vendor/etc/thermal-camera.conf b/proprietary/vendor/etc/thermal-camera.conf new file mode 100644 index 0000000..fe2e07c Binary files /dev/null and b/proprietary/vendor/etc/thermal-camera.conf differ diff --git a/proprietary/vendor/etc/thermal-chg-only.conf b/proprietary/vendor/etc/thermal-chg-only.conf new file mode 100644 index 0000000..a3a68f8 --- /dev/null +++ b/proprietary/vendor/etc/thermal-chg-only.conf @@ -0,0 +1,25 @@ +[VIRTUAL-SENSOR] +algo_type virtual +sensors battery cam_therm1 conn_therm quiet_therm wireless_therm xo_therm +weight 223 150 440 -143 115 149 +polling 2000 +weight_sum 1000 +compensation 1541 + +[CHG-MONITOR-BAT] +algo_type monitor +sensor VIRTUAL-SENSOR +device battery +polling 2000 +trig 37000 40000 42000 43000 44000 45000 46000 47000 60000 +clr 35000 38000 40000 42000 43000 44000 45000 46000 48000 +target 1103 1206 1206 1306 1309 1310 1312 1414 1515 + +[CHG-MONITOR-WIRELESS] +algo_type monitor +sensor VIRTUAL-SENSOR +device wireless_charge +polling 2000 +trig 37000 38500 40000 40800 41600 42400 43200 44000 +clr 35000 37000 38500 40000 40800 41600 42400 43200 +target 400 600 802 804 806 1008 1010 1313 diff --git a/proprietary/vendor/etc/thermal-class0.conf b/proprietary/vendor/etc/thermal-class0.conf new file mode 100644 index 0000000..c9e323a Binary files /dev/null and b/proprietary/vendor/etc/thermal-class0.conf differ diff --git a/proprietary/vendor/etc/thermal-engine.conf b/proprietary/vendor/etc/thermal-engine.conf new file mode 100644 index 0000000..33fc821 --- /dev/null +++ b/proprietary/vendor/etc/thermal-engine.conf @@ -0,0 +1,2 @@ +# File empty by default. +# Replace contents of this file with custom configuration. diff --git a/proprietary/vendor/etc/thermal-india-camera.conf b/proprietary/vendor/etc/thermal-india-camera.conf new file mode 100644 index 0000000..0680b77 Binary files /dev/null and b/proprietary/vendor/etc/thermal-india-camera.conf differ diff --git a/proprietary/vendor/etc/thermal-india-normal.conf b/proprietary/vendor/etc/thermal-india-normal.conf new file mode 100644 index 0000000..a640029 Binary files /dev/null and b/proprietary/vendor/etc/thermal-india-normal.conf differ diff --git a/proprietary/vendor/etc/thermal-india-per-camera.conf b/proprietary/vendor/etc/thermal-india-per-camera.conf new file mode 100644 index 0000000..0680b77 Binary files /dev/null and b/proprietary/vendor/etc/thermal-india-per-camera.conf differ diff --git a/proprietary/vendor/etc/thermal-india-per-normal.conf b/proprietary/vendor/etc/thermal-india-per-normal.conf new file mode 100644 index 0000000..59d6a57 Binary files /dev/null and b/proprietary/vendor/etc/thermal-india-per-normal.conf differ diff --git a/proprietary/vendor/etc/thermal-map-india.conf b/proprietary/vendor/etc/thermal-map-india.conf new file mode 100644 index 0000000..ec273c5 Binary files /dev/null and b/proprietary/vendor/etc/thermal-map-india.conf differ diff --git a/proprietary/vendor/etc/thermal-map.conf b/proprietary/vendor/etc/thermal-map.conf new file mode 100644 index 0000000..700e5d3 Binary files /dev/null and b/proprietary/vendor/etc/thermal-map.conf differ diff --git a/proprietary/vendor/etc/thermal-navigation.conf b/proprietary/vendor/etc/thermal-navigation.conf new file mode 100644 index 0000000..f304422 Binary files /dev/null and b/proprietary/vendor/etc/thermal-navigation.conf differ diff --git a/proprietary/vendor/etc/thermal-nolimits.conf b/proprietary/vendor/etc/thermal-nolimits.conf new file mode 100644 index 0000000..a58974b Binary files /dev/null and b/proprietary/vendor/etc/thermal-nolimits.conf differ diff --git a/proprietary/vendor/etc/thermal-normal.conf b/proprietary/vendor/etc/thermal-normal.conf new file mode 100644 index 0000000..6f1c608 Binary files /dev/null and b/proprietary/vendor/etc/thermal-normal.conf differ diff --git a/proprietary/vendor/etc/thermal-per-camera.conf b/proprietary/vendor/etc/thermal-per-camera.conf new file mode 100644 index 0000000..fe2e07c Binary files /dev/null and b/proprietary/vendor/etc/thermal-per-camera.conf differ diff --git a/proprietary/vendor/etc/thermal-per-class0.conf b/proprietary/vendor/etc/thermal-per-class0.conf new file mode 100644 index 0000000..16cd3ed Binary files /dev/null and b/proprietary/vendor/etc/thermal-per-class0.conf differ diff --git a/proprietary/vendor/etc/thermal-per-navigation.conf b/proprietary/vendor/etc/thermal-per-navigation.conf new file mode 100644 index 0000000..6b3d52b Binary files /dev/null and b/proprietary/vendor/etc/thermal-per-navigation.conf differ diff --git a/proprietary/vendor/etc/thermal-per-normal.conf b/proprietary/vendor/etc/thermal-per-normal.conf new file mode 100644 index 0000000..f384d55 Binary files /dev/null and b/proprietary/vendor/etc/thermal-per-normal.conf differ diff --git a/proprietary/vendor/etc/thermal-phone.conf b/proprietary/vendor/etc/thermal-phone.conf new file mode 100644 index 0000000..b776055 Binary files /dev/null and b/proprietary/vendor/etc/thermal-phone.conf differ diff --git a/proprietary/vendor/etc/thermal-region-map.conf b/proprietary/vendor/etc/thermal-region-map.conf new file mode 100644 index 0000000..9653037 --- /dev/null +++ b/proprietary/vendor/etc/thermal-region-map.conf @@ -0,0 +1 @@ +hHW1u@k|Z?O,f*i2{n/쥁ߊ̟^suW \ No newline at end of file diff --git a/proprietary/vendor/etc/thermal-tgame.conf b/proprietary/vendor/etc/thermal-tgame.conf new file mode 100644 index 0000000..9b640a1 Binary files /dev/null and b/proprietary/vendor/etc/thermal-tgame.conf differ diff --git a/proprietary/vendor/etc/thermald-devices.conf b/proprietary/vendor/etc/thermald-devices.conf new file mode 100644 index 0000000..98c4731 --- /dev/null +++ b/proprietary/vendor/etc/thermald-devices.conf @@ -0,0 +1,90 @@ +#Device discribe config + + +#GPU +[ +name:gpu +cooling_name:thermal-devfreq-0 +def_target:0 +select_higher:1 +] + +#battery +[ +name:battery +cooling_name:battery +def_target:0 +select_higher:1 +] + +#backlight +[ +name:backlight +cooling_name:panel0-backlight +def_target:0 +select_higher:1 +] + +#backlight-clone +[ +name:backlight-clone +cooling_name:brightness0-clone +def_target:0 +select_higher:1 +] + +#temp_state +[ +name:temp_state +path:/sys/class/thermal/thermal_message/temp_state +def_target:0 +select_higher:1 +] + +#hbm +[ +name:thermal_hbm_disabled +path:/sys/class/drm/card0-DSI-1/thermal_hbm_disabled +def_target:0 +select_higher:1 +] + +#wireless charge +[ +name:wireless_charge +path:/sys/class/power_supply/battery/dc_thermal_levels +def_target:0 +select_higher:1 +] + +#modem uplink +[ +name:modem_ul +cooling_name:modem_pa +def_target:0 +select_higher:1 +] + +#modem downlink +[ +name:modem_dl +cooling_name:modem_tj +def_target:0 +select_higher:1 +] + +#market_download_limit +[ +name:market_download_limit +path:/sys/class/thermal/thermal_message/market_download_limit +def_target:0 +select_higher:1 +] + +#wifi limit +[ +name:wifi_limit +path:/sys/class/thermal/thermal_message/wifi_limit +def_target:0 +select_higher:1 +] diff --git a/umi-vendor.mk b/umi-vendor.mk index c8441e5..28774f4 100644 --- a/umi-vendor.mk +++ b/umi-vendor.mk @@ -230,6 +230,29 @@ PRODUCT_COPY_FILES += \ vendor/xiaomi/umi/proprietary/vendor/etc/sensors/proto/sns_wrist_tilt_gesture.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_wrist_tilt_gesture.proto \ vendor/xiaomi/umi/proprietary/vendor/etc/sensors/sensor_diag.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sensor_diag.cfg \ vendor/xiaomi/umi/proprietary/vendor/etc/sensors/sns_reg_config:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sns_reg_config \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-4k.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-4k.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-8k.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-8k.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-camera.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-camera.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-chg-only.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-chg-only.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-class0.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-class0.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-india-camera.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-india-camera.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-india-normal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-india-normal.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-india-per-camera.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-india-per-camera.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-india-per-normal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-india-per-normal.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-map-india.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-map-india.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-map.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-map.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-navigation.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-navigation.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-nolimits.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-nolimits.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-normal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-normal.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-per-camera.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-per-camera.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-per-class0.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-per-class0.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-per-navigation.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-per-navigation.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-per-normal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-per-normal.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-phone.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-phone.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-region-map.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-region-map.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermal-tgame.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-tgame.conf \ + vendor/xiaomi/umi/proprietary/vendor/etc/thermald-devices.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermald-devices.conf \ vendor/xiaomi/umi/proprietary/vendor/firmware/CAMERA_ICP.elf:$(TARGET_COPY_OUT_VENDOR)/firmware/CAMERA_ICP.elf \ vendor/xiaomi/umi/proprietary/vendor/firmware/aw8697_haptic.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/aw8697_haptic.bin \ vendor/xiaomi/umi/proprietary/vendor/firmware/aw8697_haptic_a.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/aw8697_haptic_a.bin \