diff --git a/audio/caiman/aidl_config/audio_platform_configuration.xml b/audio/caiman/aidl_config/audio_platform_configuration.xml
index a662976d..93695ebe 100644
--- a/audio/caiman/aidl_config/audio_platform_configuration.xml
+++ b/audio/caiman/aidl_config/audio_platform_configuration.xml
@@ -20,6 +20,12 @@
+
+
+
+
+
+
diff --git a/audio/caiman/tuning/spatializer/base b/audio/caiman/tuning/spatializer/base
index 7d6a7bb0..85771ce2 100644
Binary files a/audio/caiman/tuning/spatializer/base and b/audio/caiman/tuning/spatializer/base differ
diff --git a/audio/komodo/aidl_config/audio_platform_configuration.xml b/audio/komodo/aidl_config/audio_platform_configuration.xml
index a662976d..93695ebe 100644
--- a/audio/komodo/aidl_config/audio_platform_configuration.xml
+++ b/audio/komodo/aidl_config/audio_platform_configuration.xml
@@ -20,6 +20,12 @@
+
+
+
+
+
+
diff --git a/audio/komodo/tuning/spatializer/base b/audio/komodo/tuning/spatializer/base
index 7d6a7bb0..85771ce2 100644
Binary files a/audio/komodo/tuning/spatializer/base and b/audio/komodo/tuning/spatializer/base differ
diff --git a/audio/tokay/aidl_config/audio_platform_configuration.xml b/audio/tokay/aidl_config/audio_platform_configuration.xml
index a662976d..93695ebe 100644
--- a/audio/tokay/aidl_config/audio_platform_configuration.xml
+++ b/audio/tokay/aidl_config/audio_platform_configuration.xml
@@ -20,6 +20,12 @@
+
+
+
+
+
+
diff --git a/audio/tokay/tuning/spatializer/base b/audio/tokay/tuning/spatializer/base
index 7d6a7bb0..85771ce2 100644
Binary files a/audio/tokay/tuning/spatializer/base and b/audio/tokay/tuning/spatializer/base differ
diff --git a/bluetooth/bt_vendor_overlay_caiman.conf b/bluetooth/bt_vendor_overlay_caiman.conf
index 9381aab1..34134e68 100644
--- a/bluetooth/bt_vendor_overlay_caiman.conf
+++ b/bluetooth/bt_vendor_overlay_caiman.conf
@@ -34,3 +34,7 @@ AccelBtDisable = false
BtHalRecoveryByRestart = true
BtHalBqrEnable = true
+
+# The hardware stage with old chip revision is no longer
+# supported by BT firmware.
+HwStageWithOldChipFwNoLongerSupport = EVT1.0-PROTO1.0-PROTO1.1
diff --git a/bluetooth/bt_vendor_overlay_komodo.conf b/bluetooth/bt_vendor_overlay_komodo.conf
index 9381aab1..34134e68 100644
--- a/bluetooth/bt_vendor_overlay_komodo.conf
+++ b/bluetooth/bt_vendor_overlay_komodo.conf
@@ -34,3 +34,7 @@ AccelBtDisable = false
BtHalRecoveryByRestart = true
BtHalBqrEnable = true
+
+# The hardware stage with old chip revision is no longer
+# supported by BT firmware.
+HwStageWithOldChipFwNoLongerSupport = EVT1.0-PROTO1.0-PROTO1.1
diff --git a/bluetooth/bt_vendor_overlay_tokay.conf b/bluetooth/bt_vendor_overlay_tokay.conf
index 9381aab1..34134e68 100644
--- a/bluetooth/bt_vendor_overlay_tokay.conf
+++ b/bluetooth/bt_vendor_overlay_tokay.conf
@@ -34,3 +34,7 @@ AccelBtDisable = false
BtHalRecoveryByRestart = true
BtHalBqrEnable = true
+
+# The hardware stage with old chip revision is no longer
+# supported by BT firmware.
+HwStageWithOldChipFwNoLongerSupport = EVT1.0-PROTO1.0-PROTO1.1
diff --git a/conf/init.komodo.rc b/conf/init.komodo.rc
index 4924ae0a..9a0c987f 100644
--- a/conf/init.komodo.rc
+++ b/conf/init.komodo.rc
@@ -14,10 +14,6 @@ on init
on late-init && property:ro.boot.hardware.revision=PROTO1.0
setprop persist.vendor.se.reset.chip_en false
- # Display permission for SSC mode
- chown system system /sys/class/backlight/panel0-backlight/ssc_mode
- chmod 664 /sys/class/backlight/panel0-backlight/ssc_mode
-
on early-boot
# Wait for insmod_sh to finish all common modules
wait_for_prop vendor.common.modules.ready 1
@@ -38,6 +34,10 @@ on property:vendor.mfgapi.touchpanel.permission=1
on fs
chown system system /sys/class/backlight/panel0-backlight/acl_mode
+ # Permission for SSC mode enable
+ chown system system /sys/class/backlight/panel0-backlight/ssc_en
+ chmod 664 /sys/class/backlight/panel0-backlight/ssc_en
+
# WiFi
on post-fs-data
setprop wifi.direct.interface p2p-dev-wlan0
diff --git a/conf/init.tokay.rc b/conf/init.tokay.rc
index 7ad036c5..cbab4af2 100644
--- a/conf/init.tokay.rc
+++ b/conf/init.tokay.rc
@@ -67,3 +67,9 @@ on property:sys.boot_completed=1
chown system input /dev/touch_offload
chmod 660 /dev/touch_offload
start twoshay
+
+# Permissions for display
+on fs
+ # Permission for SSC mode enable
+ chown system system /sys/class/backlight/panel0-backlight/ssc_en
+ chmod 664 /sys/class/backlight/panel0-backlight/ssc_en
diff --git a/thermal/thermal_info_config_caiman.json b/thermal/thermal_info_config_caiman.json
index 54949e4d..796114b3 100644
--- a/thermal/thermal_info_config_caiman.json
+++ b/thermal/thermal_info_config_caiman.json
@@ -171,10 +171,12 @@
"ModelPath": "vt_estimation_model.tflite",
"Formula": "USE_ML_MODEL",
"Combination": ["battery", "btmspkr_therm", "charging_therm", "disp_therm", "north_therm", "quiet_therm", "rfpa_therm", "soc_therm", "usb_pwr_therm"],
- "CombinationType":["SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR"],
- "Coefficient": [1.0],
"Multiplier": 0.001,
- "PreviousSampleCount": 5
+ "PreviousSampleCount": 3,
+ "BackupSensor" : "VIRTUAL-SKIN-LEGACY",
+ "OffsetThresholds" : [50000, 53000],
+ "OffsetValues" : [500, 1000],
+ "ValidateInput": true
},
{
"Name": "VIRTUAL-SKIN-MODEL-LEGACY-DIFF",
@@ -237,7 +239,8 @@
"Coefficient": [0.073, 0.001, 0.029, 0.08, 0.072, 0.034, 0.004, 0.036, 0.04,
0.055, 0.002, 0.029, 0.061, 0.072, 0.011, 0.04, 0.027, 0.072,
0.071, 0.003, 0.026, 0.03, 0.04, 0.015, 0.001, 0.035, 0.042],
- "Offset": -490.0,
+ "OffsetThresholds": [0.0],
+ "OffsetValues": [-490.0],
"Multiplier": 0.001
},
{
@@ -250,7 +253,8 @@
"Coefficient": [0.077, 0.089, 0.003, 0.077, 0.002, 0.021, 0.07, 0.035, 0.044,
0.094, 0.001, 0.001, 0.001, 0.084, 0.034, 0.022, 0.081, 0.026,
0.083, 0.022, 0.012, 0.051, 0.017, 0.021, 0.003, 0.024, 0.009],
- "Offset": -961.0,
+ "OffsetThresholds": [0.0],
+ "OffsetValues": [-961.0],
"Multiplier": 0.001
},
{
@@ -263,7 +267,8 @@
"Coefficient": [0.094, 0.007, 0.011, 0.032, 0.001, 0.091, 0.085, 0.045, 0.002,
0.054, 0.0, 0.019, 0.01, 0.065, 0.012, 0.03, 0.022, 0.076,
0.062, 0.019, 0.007, 0.025, 0.071, 0.005, 0.081, 0.015, 0.058],
- "Offset": -440.0,
+ "OffsetThresholds": [0.0],
+ "OffsetValues": [-440.0],
"Multiplier": 0.001
},
{
@@ -472,7 +477,7 @@
"CdevWeightForPID": [0.156, 0.156, 0.156, 0.156, 0.156, 0.156, 0.156],
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
- "CdevCeiling": [0, 10, 10, 10, 10, 10, 10]
+ "CdevCeiling": [0, 9, 9, 9, 9, 9, 9]
},
{
"CdevRequest": "thermal-cpufreq-1",
@@ -570,8 +575,8 @@
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
"BindedPowerRail": "S4M_VDD_CPUCL0",
- "CdevCeiling": [0, 10, 10, 10, 10, 11, 11],
- "LimitInfo": [0, 0, 0, 0, 0, 11, 11]
+ "CdevCeiling": [0, 9, 9, 9, 9, 9, 9],
+ "LimitInfo": [0, 0, 0, 0, 0, 9, 9]
},
{
"CdevRequest": "thermal-cpufreq-1",
diff --git a/thermal/thermal_info_config_caiman_proto.json b/thermal/thermal_info_config_caiman_proto.json
index 59ee53fe..f9ca1c9e 100644
--- a/thermal/thermal_info_config_caiman_proto.json
+++ b/thermal/thermal_info_config_caiman_proto.json
@@ -182,9 +182,12 @@
"Formula": "USE_ML_MODEL",
"Combination": ["battery", "btmspkr_therm", "charging_therm", "disp_therm", "north_therm", "quiet_therm", "rfpa_therm", "soc_therm", "usb_pwr_therm"],
"CombinationType":["SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR"],
- "Coefficient": [1.0],
"Multiplier": 0.001,
- "PreviousSampleCount": 5
+ "PreviousSampleCount": 3,
+ "BackupSensor" : "VIRTUAL-SKIN-LEGACY",
+ "OffsetThresholds" : [50000, 53000],
+ "OffsetValues" : [500, 1000],
+ "ValidateInput": true
},
{
"Name": "VIRTUAL-SKIN-MODEL-LEGACY-DIFF",
@@ -247,7 +250,8 @@
"Coefficient": [0.19, 0.04, 0.0, 0.06, 0.0, 0.0, 0.07, 0.03, 0.16,
0.01, 0.05, 0.07, 0.05, 0.0, 0.01, 0.0, 0.0, 0.02,
0.05, 0.01, 0.0, 0.01, 0.0, 0.0, 0.06, 0.0, 0.05],
- "Offset": 2390.0,
+ "OffsetThresholds" : [0.0],
+ "OffsetValues" : [2390.0],
"Multiplier": 0.001
},
{
@@ -260,7 +264,8 @@
"Coefficient": [0.17, 0.06, 0.0, 0.03, 0.0, 0.02, 0.05, 0.03, 0.28,
0.02, 0.04, 0.0, 0.0, 0.0, 0.0, 0.05, 0.03, 0.05,
0.06, 0.0, 0.0, 0.01, 0.0, 0.0, 0.04, 0.02, 0.03],
- "Offset": 840.0,
+ "OffsetThresholds" : [0.0],
+ "OffsetValues" : [840.0],
"Multiplier": 0.001
},
{
@@ -273,7 +278,8 @@
"Coefficient": [0.1, 0.04, 0.0, 0.0, 0.0, 0.0, 0.08, 0.03, 0.4,
0.02, 0.0, 0.0, 0.0, 0.0, 0.06, 0.04, 0.0, 0.06,
0.12, 0.0, 0.0, 0.0, 0.0, 0.01, 0.06, 0.0, 0.0],
- "Offset": 370.0,
+ "OffsetThresholds" : [0.0],
+ "OffsetValues" : [370.0],
"Multiplier": 0.001
},
{
@@ -286,7 +292,8 @@
"Coefficient": [0.23, 0.04, 0.0, 0.01, 0.0, 0.0, 0.12, 0.04, 0.41,
0.05, 0.02, 0.0, 0.0, 0.0, 0.0, 0.02, 0.05, 0.02,
0.01, 0.0, 0.0, 0.0, 0.0, 0.0, 0.05, 0.02, 0.06],
- "Offset": -5250.0,
+ "OffsetThresholds" : [0.0],
+ "OffsetValues" : [-5250.0],
"Multiplier": 0.001
},
{
@@ -299,7 +306,8 @@
"Coefficient": [0.0, 0.01, 0.0, 0.0, 0.0, 0.0, 0.07, 0.0, 0.26,
0.04, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01, 0.0, 0.06,
0.26, 0.1, 0.0, 0.0, 0.0, 0.0, 0.01, 0.03, 0.15],
- "Offset": 530.0,
+ "OffsetThresholds" : [0.0],
+ "OffsetValues" : [530.0],
"Multiplier": 0.001
},
{
@@ -312,7 +320,8 @@
"Coefficient": [0.19, 0.09, 0.03, 0.01, 0.0, 0.04, 0.08, 0.04, 0.02,
0.02, 0.02, 0.06, 0.07, 0.0, 0.01, 0.05, 0.01, 0.04,
0.03, 0.04, 0.01, 0.03, 0.0, 0.0, 0.04, 0.0, 0.08],
- "Offset": -1070.0,
+ "OffsetThresholds" : [0.0],
+ "OffsetValues" : [-1070.0],
"Multiplier": 0.001
},
{
diff --git a/thermal/thermal_info_config_komodo.json b/thermal/thermal_info_config_komodo.json
index 8c1a0cca..82c67bb3 100644
--- a/thermal/thermal_info_config_komodo.json
+++ b/thermal/thermal_info_config_komodo.json
@@ -193,11 +193,13 @@
"ModelPath": "vt_estimation_model.tflite",
"Formula": "USE_ML_MODEL",
"Combination": ["battery", "btmspkr_therm", "charging_therm", "disp_therm", "north_therm", "quiet_therm", "rfpa_therm", "soc_therm", "usb_pwr_therm"],
- "CombinationType":["SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR"],
- "Coefficient": [1.0],
"Multiplier": 0.001,
"Offset": 500,
- "PreviousSampleCount": 3
+ "PreviousSampleCount": 3,
+ "BackupSensor" : "VIRTUAL-SKIN-LEGACY",
+ "OffsetThresholds" : [50000, 53000],
+ "OffsetValues" : [500, 1000],
+ "ValidateInput": true
},
{
"Name": "VIRTUAL-SKIN-MODEL-LEGACY-DIFF",
@@ -260,7 +262,8 @@
"Coefficient": [0.1, 0.055, 0.004, 0.027, 0.062, 0.025, 0.04, 0.05, 0.037,
0.077, 0.001, 0.007, 0.015, 0.025, 0.016, 0.019, 0.09, 0.045,
0.072, 0.044, 0.015, 0.029, 0.043, 0.001, 0.002, 0.059, 0.039],
- "Offset": -168.0,
+ "OffsetThresholds": [0.0],
+ "OffsetValues": [-168.0],
"Multiplier": 0.001
},
{
@@ -273,7 +276,8 @@
"Coefficient": [0.046, 0.006, 0.012, 0.033, 0.068, 0.029, 0.033, 0.061, 0.047,
0.039, 0.042, 0.005, 0.031, 0.05, 0.008, 0.024, 0.014, 0.044,
0.054, 0.029, 0.003, 0.068, 0.067, 0.028, 0.066, 0.039, 0.055],
- "Offset": -76.0,
+ "OffsetThresholds": [0.0],
+ "OffsetValues": [-76.0],
"Multiplier": 0.001
},
{
@@ -482,7 +486,7 @@
"CdevWeightForPID": [0.156, 0.156, 0.156, 0.156, 0.156, 0.156, 0.156],
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
- "CdevCeiling": [0, 10, 10, 10, 10, 10, 10]
+ "CdevCeiling": [0, 9, 9, 9, 9, 9, 9]
},
{
"CdevRequest": "thermal-cpufreq-1",
@@ -580,8 +584,8 @@
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
"BindedPowerRail": "S4M_VDD_CPUCL0",
- "CdevCeiling": [0, 10, 10, 10, 10, 11, 11],
- "LimitInfo": [0, 0, 0, 0, 0, 11, 11]
+ "CdevCeiling": [0, 9, 9, 9, 9, 9, 9],
+ "LimitInfo": [0, 0, 0, 0, 0, 9, 9]
},
{
"CdevRequest": "thermal-cpufreq-1",
diff --git a/thermal/thermal_info_config_komodo_proto.json b/thermal/thermal_info_config_komodo_proto.json
index 41c1a739..fad2e07f 100644
--- a/thermal/thermal_info_config_komodo_proto.json
+++ b/thermal/thermal_info_config_komodo_proto.json
@@ -215,10 +215,12 @@
"Formula": "USE_ML_MODEL",
"Combination": ["battery", "btmspkr_therm", "charging_therm", "disp_therm", "north_therm", "quiet_therm", "rfpa_therm", "soc_therm", "usb_pwr_therm"],
"CombinationType":["SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR"],
- "Coefficient": [1.0],
"Multiplier": 0.001,
- "Offset": 500,
- "PreviousSampleCount": 3
+ "PreviousSampleCount": 3,
+ "BackupSensor" : "VIRTUAL-SKIN-LEGACY",
+ "OffsetThresholds" : [50000, 53000],
+ "OffsetValues" : [500, 1000],
+ "ValidateInput": true
},
{
"Name": "VIRTUAL-SKIN-MODEL-LEGACY-DIFF",
@@ -281,7 +283,8 @@
"Coefficient": [0.02, 0.0, 0.0, 0.05, 0.0, 0.0, 0.05, 0.01, 0.04,
0.0, 0.0, 0.01, 0.01, 0.0, 0.0, 0.01, 0.0, 0.0,
0.31, 0.03, 0.0, 0.05, 0.0, 0.0, 0.0, 0.25, 0.08],
- "Offset": 2660.0,
+ "OffsetThresholds" : [0.0],
+ "OffsetValues" : [2660.0],
"Multiplier": 0.001
},
{
@@ -294,7 +297,8 @@
"Coefficient": [0.19, 0.06, 0.0, 0.01, 0.0, 0.0, 0.07, 0.1, 0.09,
0.02, 0.03, 0.0, 0.0, 0.05, 0.0, 0.04, 0.03, 0.01,
0.05, 0.01, 0.0, 0.0, 0.01, 0.0, 0.03, 0.07, 0.04],
- "Offset": 2860.0,
+ "OffsetThresholds" : [0.0],
+ "OffsetValues" : [2860.0],
"Multiplier": 0.001
},
{
@@ -307,7 +311,8 @@
"Coefficient": [0.21, 0.02, 0.0, 0.44, 0.0, 0.0, 0.0, 0.12, 0.0,
0.04, 0.0, 0.0, 0.03, 0.0, 0.0, 0.0, 0.04, 0.0,
0.01, 0.0, 0.0, 0.01, 0.0, 0.0, 0.0, 0.05, 0.0],
- "Offset": 1330.0,
+ "OffsetThresholds" : [0.0],
+ "OffsetValues" : [1330.0],
"Multiplier": 0.001
},
{
@@ -320,7 +325,8 @@
"Coefficient": [0.07, 0.03, 0.0, 0.05, 0.0, 0.0, 0.07, 0.1, 0.03,
0.11, 0.0, 0.0, 0.06, 0.0, 0.02, 0.05, 0.07, 0.05,
0.07, 0.0, 0.0, 0.04, 0.0, 0.02, 0.05, 0.03, 0.03],
- "Offset": 2070.0,
+ "OffsetThresholds" : [0.0],
+ "OffsetValues" : [2070.0],
"Multiplier": 0.001
},
{
@@ -333,7 +339,8 @@
"Coefficient": [0.18, 0.0, 0.0, 0.03, 0.1, 0.04, 0.09, 0.13, 0.05,
0.07, 0.0, 0.0, 0.0, 0.06, 0.0, 0.02, 0.05, 0.07,
0.01, 0.0, 0.0, 0.0, 0.01, 0.0, 0.0, 0.02, 0.07],
- "Offset": 10.0,
+ "OffsetThresholds" : [0.0],
+ "OffsetValues" : [10.0],
"Multiplier": 0.001
},
{
diff --git a/thermal/thermal_info_config_tokay.json b/thermal/thermal_info_config_tokay.json
index 85304155..463ebd03 100644
--- a/thermal/thermal_info_config_tokay.json
+++ b/thermal/thermal_info_config_tokay.json
@@ -161,10 +161,12 @@
"ModelPath": "vt_estimation_model.tflite",
"Formula": "USE_ML_MODEL",
"Combination": ["battery", "btmspkr_therm", "charging_therm", "disp_therm", "north_therm", "quiet_therm", "rfpa_therm", "soc_therm", "usb_pwr_therm"],
- "CombinationType":["SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR"],
- "Coefficient": [1.0],
"Multiplier": 0.001,
- "PreviousSampleCount": 5
+ "PreviousSampleCount": 3,
+ "BackupSensor" : "VIRTUAL-SKIN-LEGACY",
+ "OffsetThresholds" : [50000, 53000],
+ "OffsetValues" : [500, 1000],
+ "ValidateInput": true
},
{
"Name": "VIRTUAL-SKIN-MODEL-LEGACY-DIFF",
@@ -228,6 +230,8 @@
0.061, 0.034, 0.034, 0.067, 0.046, 0.068, 0.033, 0.001, 0.079,
0.043, 0.006, 0.005, 0.026, 0.033, 0.015, 0.062, 0.009, 0.03],
"Offset": -1087.0,
+ "OffsetThresholds": [0.0],
+ "OffsetValues": [-1087.0],
"Multiplier": 0.001
},
{
@@ -241,6 +245,8 @@
0.023, 0.049, 0.018, 0.082, 0.008, 0.066, 0.065, 0.02, 0.006,
0.048, 0.033, 0.009, 0.085, 0.018, 0.019, 0.05, 0.005, 0.073],
"Offset": -127.0,
+ "OffsetThresholds": [0.0],
+ "OffsetValues": [-127.0],
"Multiplier": 0.001
},
{
@@ -253,7 +259,8 @@
"Coefficient": [0.067, 0.036, 0.02, 0.001, 0.02, 0.041, 0.011, 0.0, 0.08,
0.054, 0.041, 0.017, 0.019, 0.041, 0.074, 0.069, 0.004, 0.044,
0.077, 0.006, 0.012, 0.077, 0.043, 0.071, 0.055, 0.011, 0.009],
- "Offset": -333.0,
+ "OffsetThresholds": [0.0],
+ "OffsetValues": [-333.0],
"Multiplier": 0.001
},
{
@@ -462,7 +469,7 @@
"CdevWeightForPID": [0.156, 0.156, 0.156, 0.156, 0.156, 0.156, 0.156],
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
- "CdevCeiling": [0, 10, 10, 10, 10, 10, 10]
+ "CdevCeiling": [0, 9, 9, 9, 9, 9, 9]
},
{
"CdevRequest": "thermal-cpufreq-1",
@@ -560,8 +567,8 @@
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
"BindedPowerRail": "S4M_VDD_CPUCL0",
- "CdevCeiling": [0, 10, 10, 10, 10, 11, 11],
- "LimitInfo": [0, 0, 0, 0, 0, 11, 11]
+ "CdevCeiling": [0, 9, 9, 9, 9, 9, 9],
+ "LimitInfo": [0, 0, 0, 0, 0, 9, 9]
},
{
"CdevRequest": "thermal-cpufreq-1",
diff --git a/thermal/thermal_info_config_tokay_proto.json b/thermal/thermal_info_config_tokay_proto.json
index 47d95a46..62446c9d 100644
--- a/thermal/thermal_info_config_tokay_proto.json
+++ b/thermal/thermal_info_config_tokay_proto.json
@@ -161,9 +161,12 @@
"Formula": "USE_ML_MODEL",
"Combination": ["battery", "btmspkr_therm", "charging_therm", "disp_therm", "north_therm", "quiet_therm", "rfpa_therm", "soc_therm", "usb_pwr_therm"],
"CombinationType":["SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR", "SENSOR"],
- "Coefficient": [1.0],
"Multiplier": 0.001,
- "PreviousSampleCount": 5
+ "PreviousSampleCount": 3,
+ "BackupSensor" : "VIRTUAL-SKIN-LEGACY",
+ "OffsetThresholds" : [50000, 53000],
+ "OffsetValues" : [500, 1000],
+ "ValidateInput": true
},
{
"Name": "VIRTUAL-SKIN-MODEL-LEGACY-DIFF",
@@ -226,7 +229,8 @@
"Coefficient": [0.08, 0.0, 0.0, 0.01, 0.0, 0.16, 0.17, 0.0, 0.22,
0.0, 0.0, 0.0, 0.0, 0.0, 0.07, 0.04, 0.0, 0.13,
0.02, 0.0, 0.0, 0.01, 0.0, 0.0, 0.03, 0.0, 0.09],
- "Offset": 1020.0,
+ "OffsetThresholds" : [0.0],
+ "OffsetValues" : [1020.0],
"Multiplier": 0.001
},
{
@@ -239,7 +243,8 @@
"Coefficient": [0.03, 0.03, 0.0, 0.18, 0.02, 0.07, 0.08, 0.0, 0.12,
0.01, 0.05, 0.0, 0.09, 0.04, 0.04, 0.0, 0.0, 0.07,
0.01, 0.06, 0.0, 0.04, 0.01, 0.0, 0.05, 0.0, 0.04],
- "Offset": -80.0,
+ "OffsetThresholds" : [0.0],
+ "OffsetValues" : [-80.0],
"Multiplier": 0.001
},
{
@@ -252,7 +257,8 @@
"Coefficient": [0.01, 0.0, 0.0, 0.09, 0.0, 0.08, 0.02, 0.0, 0.04,
0.02, 0.0, 0.0, 0.06, 0.0, 0.06, 0.02, 0.0, 0.02,
0.1, 0.0, 0.0, 0.28, 0.0, 0.11, 0.03, 0.0, 0.04],
- "Offset": 2230.0,
+ "OffsetThresholds" : [0.0],
+ "OffsetValues" : [2230.0],
"Multiplier": 0.001
},
{
@@ -265,7 +271,8 @@
"Coefficient": [0.1, 0.0, 0.0, 0.06, 0.0, 0.03, 0.31, 0.0, 0.1,
0.05, 0.0, 0.0, 0.05, 0.0, 0.06, 0.0, 0.0, 0.01,
0.06, 0.01, 0.0, 0.02, 0.0, 0.07, 0.03, 0.0, 0.09],
- "Offset": -390.0,
+ "OffsetThresholds" : [0.0],
+ "OffsetValues" : [-390.0],
"Multiplier": 0.001
},
{
diff --git a/thermal/vt_estimation_model_caiman.tflite b/thermal/vt_estimation_model_caiman.tflite
index c7b2b293..fbeb3faa 100644
Binary files a/thermal/vt_estimation_model_caiman.tflite and b/thermal/vt_estimation_model_caiman.tflite differ
diff --git a/thermal/vt_estimation_model_komodo.tflite b/thermal/vt_estimation_model_komodo.tflite
index 0792305d..8dce026b 100644
Binary files a/thermal/vt_estimation_model_komodo.tflite and b/thermal/vt_estimation_model_komodo.tflite differ
diff --git a/thermal/vt_estimation_model_tokay.tflite b/thermal/vt_estimation_model_tokay.tflite
index 34995f5c..b9488fe9 100644
Binary files a/thermal/vt_estimation_model_tokay.tflite and b/thermal/vt_estimation_model_tokay.tflite differ