diff --git a/audio/cheetah/config/audio_policy_configuration.xml b/audio/cheetah/config/audio_policy_configuration.xml index f9b419c..2e15f64 100644 --- a/audio/cheetah/config/audio_policy_configuration.xml +++ b/audio/cheetah/config/audio_policy_configuration.xml @@ -27,7 +27,8 @@ Speaker - + diff --git a/audio/cheetah/config/audio_policy_configuration_a2dp_offload_disabled.xml b/audio/cheetah/config/audio_policy_configuration_a2dp_offload_disabled.xml index f832eac..dc916ea 100644 --- a/audio/cheetah/config/audio_policy_configuration_a2dp_offload_disabled.xml +++ b/audio/cheetah/config/audio_policy_configuration_a2dp_offload_disabled.xml @@ -27,7 +27,8 @@ Speaker - + diff --git a/audio/cheetah/config/audio_policy_configuration_bluetooth_legacy_hal.xml b/audio/cheetah/config/audio_policy_configuration_bluetooth_legacy_hal.xml index c3c66c4..484048f 100644 --- a/audio/cheetah/config/audio_policy_configuration_bluetooth_legacy_hal.xml +++ b/audio/cheetah/config/audio_policy_configuration_bluetooth_legacy_hal.xml @@ -27,7 +27,8 @@ Speaker - + diff --git a/audio/cheetah/config/audio_policy_configuration_le_offload_disabled.xml b/audio/cheetah/config/audio_policy_configuration_le_offload_disabled.xml index b2abc72..612295c 100644 --- a/audio/cheetah/config/audio_policy_configuration_le_offload_disabled.xml +++ b/audio/cheetah/config/audio_policy_configuration_le_offload_disabled.xml @@ -27,7 +27,8 @@ Speaker - + diff --git a/audio/panther/config/audio_policy_configuration.xml b/audio/panther/config/audio_policy_configuration.xml index f9b419c..2e15f64 100644 --- a/audio/panther/config/audio_policy_configuration.xml +++ b/audio/panther/config/audio_policy_configuration.xml @@ -27,7 +27,8 @@ Speaker - + diff --git a/audio/panther/config/audio_policy_configuration_a2dp_offload_disabled.xml b/audio/panther/config/audio_policy_configuration_a2dp_offload_disabled.xml index f832eac..dc916ea 100644 --- a/audio/panther/config/audio_policy_configuration_a2dp_offload_disabled.xml +++ b/audio/panther/config/audio_policy_configuration_a2dp_offload_disabled.xml @@ -27,7 +27,8 @@ Speaker - + diff --git a/audio/panther/config/audio_policy_configuration_bluetooth_legacy_hal.xml b/audio/panther/config/audio_policy_configuration_bluetooth_legacy_hal.xml index c3c66c4..484048f 100644 --- a/audio/panther/config/audio_policy_configuration_bluetooth_legacy_hal.xml +++ b/audio/panther/config/audio_policy_configuration_bluetooth_legacy_hal.xml @@ -27,7 +27,8 @@ Speaker - + diff --git a/audio/panther/config/audio_policy_configuration_le_offload_disabled.xml b/audio/panther/config/audio_policy_configuration_le_offload_disabled.xml index b2abc72..612295c 100644 --- a/audio/panther/config/audio_policy_configuration_le_offload_disabled.xml +++ b/audio/panther/config/audio_policy_configuration_le_offload_disabled.xml @@ -27,7 +27,8 @@ Speaker - + diff --git a/cheetah/overlay/frameworks/base/core/res/res/values/config.xml b/cheetah/overlay/frameworks/base/core/res/res/values/config.xml index 9913b4c..6119f7a 100644 --- a/cheetah/overlay/frameworks/base/core/res/res/values/config.xml +++ b/cheetah/overlay/frameworks/base/core/res/res/values/config.xml @@ -95,6 +95,7 @@ 4 8 12 + 15 20 33 55 @@ -132,12 +133,13 @@ 18.34822964 21.55068128 24.0167788 - 30.62162162 - 35.09486396 - 41.2249643 - 47.6760716 - 55.73002427 - 66.24126116 + 32.5 + 46 + 53.26923077 + 54.61538462 + 58.11538462 + 62.1394 + 67.13133333 79.67614115 98.04727274 125.1221991 diff --git a/device-cheetah.mk b/device-cheetah.mk index 0e3a524..96aa861 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -86,7 +86,7 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.brightness.dimming.usage=1 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.primarydisplay.lhbm.frames_to_reach_peak_brightness=2 # Display RRS default Config -PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.primary.default_boot_config=1080x2340@120 +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += persist.vendor.display.primary.boot_config=1080x2340@120 # NFC PRODUCT_COPY_FILES += \ diff --git a/panther/overlay/frameworks/base/core/res/res/values/config.xml b/panther/overlay/frameworks/base/core/res/res/values/config.xml index 02bb86c..339c260 100644 --- a/panther/overlay/frameworks/base/core/res/res/values/config.xml +++ b/panther/overlay/frameworks/base/core/res/res/values/config.xml @@ -113,6 +113,7 @@ 4 8 12 + 15 20 33 55 @@ -150,12 +151,13 @@ 18.34822964 21.55068128 24.0167788 - 30.62162162 - 35.09486396 - 41.2249643 - 47.6760716 - 55.73002427 - 66.24126116 + 32.5 + 46 + 53.26923077 + 54.61538462 + 58.11538462 + 62.1394 + 67.13133333 79.67614115 98.04727274 125.1221991 diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index 4138867..8e963dd 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -385,16 +385,6 @@ "DefaultIndex": 0, "ResetOnInit": false }, - { - "Name": "IspControlTempSet", - "Path": "/dev/thermal/tz-by-name/ISP/trip_point_2_temp", - "Values": [ - "100000", - "80000" - ], - "DefaultIndex": 0, - "ResetOnInit": false - }, { "Name": "AurControlTempSet", "Path": "/dev/thermal/tz-by-name/AUR/trip_point_2_temp", @@ -455,16 +445,6 @@ "DefaultIndex": 0, "ResetOnInit": false }, - { - "Name": "IspSwitchOnTempSet", - "Path": "/dev/thermal/tz-by-name/ISP/trip_point_1_temp", - "Values": [ - "80000", - "60000" - ], - "DefaultIndex": 0, - "ResetOnInit": false - }, { "Name": "AurSwitchOnTempSet", "Path": "/dev/thermal/tz-by-name/AUR/trip_point_1_temp", @@ -1481,12 +1461,6 @@ "Duration": 0, "Value": "80000" }, - { - "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", - "Node": "IspControlTempSet", - "Duration": 0, - "Value": "80000" - }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "AurControlTempSet", @@ -1523,12 +1497,6 @@ "Duration": 0, "Value": "60000" }, - { - "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", - "Node": "IspSwitchOnTempSet", - "Duration": 0, - "Value": "60000" - }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "AurSwitchOnTempSet", @@ -1655,6 +1623,18 @@ "Duration": 0, "Value": "80000" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", + "Node": "TpuControlTempSet", + "Duration": 0, + "Value": "80000" + }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", + "Node": "AurControlTempSet", + "Duration": 0, + "Value": "80000" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "BigSwitchOnTempSet", @@ -1679,6 +1659,18 @@ "Duration": 0, "Value": "60000" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", + "Node": "TpuSwitchOnTempSet", + "Duration": 0, + "Value": "60000" + }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", + "Node": "AurSwitchOnTempSet", + "Duration": 0, + "Value": "60000" + }, { "PowerHint": "ML_ACC", "Node": "MLUclampBoost", diff --git a/powerhint-panther.json b/powerhint-panther.json index 4fe9966..964eb40 100644 --- a/powerhint-panther.json +++ b/powerhint-panther.json @@ -385,16 +385,6 @@ "DefaultIndex": 0, "ResetOnInit": false }, - { - "Name": "IspControlTempSet", - "Path": "/dev/thermal/tz-by-name/ISP/trip_point_2_temp", - "Values": [ - "100000", - "80000" - ], - "DefaultIndex": 0, - "ResetOnInit": false - }, { "Name": "AurControlTempSet", "Path": "/dev/thermal/tz-by-name/AUR/trip_point_2_temp", @@ -455,16 +445,6 @@ "DefaultIndex": 0, "ResetOnInit": false }, - { - "Name": "IspSwitchOnTempSet", - "Path": "/dev/thermal/tz-by-name/ISP/trip_point_1_temp", - "Values": [ - "80000", - "60000" - ], - "DefaultIndex": 0, - "ResetOnInit": false - }, { "Name": "AurSwitchOnTempSet", "Path": "/dev/thermal/tz-by-name/AUR/trip_point_1_temp", @@ -1465,12 +1445,6 @@ "Duration": 0, "Value": "80000" }, - { - "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", - "Node": "IspControlTempSet", - "Duration": 0, - "Value": "80000" - }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "AurControlTempSet", @@ -1507,12 +1481,6 @@ "Duration": 0, "Value": "60000" }, - { - "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", - "Node": "IspSwitchOnTempSet", - "Duration": 0, - "Value": "60000" - }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "AurSwitchOnTempSet", @@ -1639,6 +1607,18 @@ "Duration": 0, "Value": "80000" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", + "Node": "TpuControlTempSet", + "Duration": 0, + "Value": "80000" + }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", + "Node": "AurControlTempSet", + "Duration": 0, + "Value": "80000" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "BigSwitchOnTempSet", @@ -1663,6 +1643,18 @@ "Duration": 0, "Value": "60000" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", + "Node": "TpuSwitchOnTempSet", + "Duration": 0, + "Value": "60000" + }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", + "Node": "AurSwitchOnTempSet", + "Duration": 0, + "Value": "60000" + }, { "PowerHint": "ML_ACC", "Node": "MLUclampBoost",