diff --git a/audio/tegu/aidl_config/audio_policy_volumes.xml b/audio/tegu/aidl_config/audio_policy_volumes.xml
index 1451d0a..1f7ceda 100644
--- a/audio/tegu/aidl_config/audio_policy_volumes.xml
+++ b/audio/tegu/aidl_config/audio_policy_volumes.xml
@@ -69,7 +69,7 @@ sync from ag/26090783, need remove before submit.
- 1,-4000
+ 1,-4200
33,-2400
66,-1200
100,0
@@ -83,30 +83,30 @@ sync from ag/26090783, need remove before submit.
- 1,-6589
- 8,-5971
- 12,-5619
- 16,-5212
- 20,-4833
- 24,-4434
- 28,-4141
- 32,-3856
- 36,-3611
- 40,-3382
- 44,-3143
- 48,-2921
- 52,-2695
- 56,-2497
- 60,-2308
- 64,-2109
- 68,-1893
- 72,-1706
- 76,-1474
- 80,-1224
- 84,-1000
- 88,-786
- 92,-581
- 96,-275
+ 1,-6799
+ 8,-6157
+ 12,-5810
+ 16,-5386
+ 20,-5014
+ 24,-4563
+ 28,-4251
+ 32,-3946
+ 36,-3724
+ 40,-3463
+ 44,-3193
+ 48,-2976
+ 52,-2743
+ 56,-2518
+ 60,-2354
+ 64,-2112
+ 68,-1912
+ 72,-1697
+ 76,-1467
+ 80,-1222
+ 84,-1010
+ 88,-791
+ 92,-550
+ 96,-260
100,0
- 1,-4800
+ 1,-5200
33,-2400
66,-1200
100,0
@@ -190,10 +190,10 @@ sync from ag/26090783, need remove before submit.
100,-1800
- 1,-6000
- 33,-3000
- 66,-2200
- 100,-1600
+ 1,-6200
+ 33,-3200
+ 66,-2400
+ 100,-1800
diff --git a/audio/tegu/tuning/waves/waves_preset.mps b/audio/tegu/tuning/waves/waves_preset.mps
index 1ef5fd7..19aa4b8 100644
Binary files a/audio/tegu/tuning/waves/waves_preset.mps and b/audio/tegu/tuning/waves/waves_preset.mps differ
diff --git a/device-tegu.mk b/device-tegu.mk
index b4d214a..12d6d74 100644
--- a/device-tegu.mk
+++ b/device-tegu.mk
@@ -269,6 +269,8 @@ PRODUCT_SOONG_NAMESPACES += \
# Location
include device/google/tegu/location/device-gnss.mk
+# For GPS property
+PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true
PRODUCT_VENDOR_PROPERTIES += \
persist.device_config.configuration.disable_rescue_party=true
@@ -295,7 +297,6 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION)))
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
PRODUCT_VENDOR_PROPERTIES += \
- ro.vendor.vibrator.hal.supported_primitives=243 \
ro.vendor.vibrator.hal.f0.comp.enabled=1 \
ro.vendor.vibrator.hal.redc.comp.enabled=0 \
persist.vendor.vibrator.hal.context.enable=false \
diff --git a/location/gps.cfg b/location/gps.cfg
index 205dc74..e6187cd 100644
--- a/location/gps.cfg
+++ b/location/gps.cfg
@@ -24,6 +24,9 @@ gnss_device_type=K041
gnss_device_patch_address=0
gnss_device_patch_file=/vendor/firmware/kepler.bin
+# Enable/Disable 1PPS Time Sync policy
+Is1PPSTimeSyncEnable=1
+
# send debug req on MCW oddity
#Chip_Configuration_Io_Options=0x85
@@ -113,6 +116,8 @@ navicUsedInUSPolicy=2
# DFS: 0 = Disabled (default), 1 = Enabled
Chip_Configuration_FeatureCfg_DVS = 1
Chip_Configuration_FeatureCfg_DFS = 1
+# MTPL: 0 = Disabled, 1 = Enabled (default)
+Chip_Configuration_FeatureCfg_MTPL=0
# This is a bitfield that will disable incoming interrupts for mailboxes
# AP = 0x1
@@ -121,7 +126,7 @@ Chip_Configuration_FeatureCfg_DFS = 1
# CHUB = 0x8
# The CHUB on the neus continually triggers a bit so this is to prevent
# it from continually waking the gnss.
-mailboxDisabled=0x8
+mailboxDisabled=0x0
### Specify RFIC ID for K40 ###
# 55200001 = S5520 EVT1
diff --git a/location/gps_user.cfg b/location/gps_user.cfg
index 67c00bb..c3ced93 100644
--- a/location/gps_user.cfg
+++ b/location/gps_user.cfg
@@ -10,6 +10,7 @@ caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
gnss_device_type=K041
gnss_device_patch_address=0
gnss_device_patch_file=/vendor/firmware/kepler.bin
+Is1PPSTimeSyncEnable=1
Chip_Configuration_Dynamic_HSI=0
Chip_Configuration_ubsan_opt=1
GlueLayer_IsPlatformRefTimeEnable=1
@@ -36,7 +37,8 @@ qzssUsedInUSPolicy=2
navicUsedInUSPolicy=2
Chip_Configuration_FeatureCfg_DVS = 1
Chip_Configuration_FeatureCfg_DFS = 1
-mailboxDisabled=0x8
+Chip_Configuration_FeatureCfg_MTPL=0
+mailboxDisabled=0x0
gnss_rfic_chip_id=55200001
UseRtcForAiding=1
rtc_min_num_of_fixes=10
diff --git a/thermal/thermal_info_config_tegu.json b/thermal/thermal_info_config_tegu.json
index 16b2d91..aa6f5c0 100644
--- a/thermal/thermal_info_config_tegu.json
+++ b/thermal/thermal_info_config_tegu.json
@@ -180,7 +180,6 @@
"Version":"2.0",
"VirtualSensor":true,
"Formula":"MAXIMUM",
- "TriggerSensor": ["rfpa_therm", "quiet_therm", "charging_therm", "usb_pwr_therm", "btmspkr_therm", "disp_therm", "north_therm", "soc_therm", "battery"],
"Combination": ["VIRTUAL-SKIN-SUB-0", "VIRTUAL-SKIN-SUB-1", "VIRTUAL-SKIN-SUB-2", "VIRTUAL-SKIN-SUB-3", "VIRTUAL-SKIN-SUB-4"],
"Coefficient": [1.0, 1.0, 1.0, 1.0, 1.0],
"Multiplier": 0.001
@@ -680,50 +679,6 @@
"Multiplier":0.001,
"SendCallback":true
},
- {
- "Name":"VIRTUAL-SKIN-FRONT-SUB-0",
- "Type":"UNKNOWN",
- "Hidden":true,
- "VirtualSensor":true,
- "Formula":"WEIGHTED_AVG",
- "Combination":["north_therm", "rfpa_therm", "soc_therm", "charging_therm", "disp_therm", "battery", "btmspkr_therm", "quiet_therm", "usb_pwr_therm"],
- "Coefficient":[0.04, 0.03, 0.1, 0.05, 0.35, 0.3, 0, 0, 0.04],
- "Offset":1850,
- "Multiplier":0.001
- },
- {
- "Name":"VIRTUAL-SKIN-FRONT-SUB-1",
- "Type":"UNKNOWN",
- "Hidden":true,
- "VirtualSensor":true,
- "Formula":"WEIGHTED_AVG",
- "Combination":["north_therm", "rfpa_therm", "soc_therm", "charging_therm", "disp_therm", "battery", "btmspkr_therm", "quiet_therm", "usb_pwr_therm"],
- "Coefficient":[0, 0, 0.35, 0.22, 0.22, 0.07, 0.03, 0, 0],
- "Offset":-560,
- "Multiplier":0.001
- },
- {
- "Name":"VIRTUAL-SKIN-FRONT-SUB-2",
- "Type":"UNKNOWN",
- "Hidden":true,
- "VirtualSensor":true,
- "Formula":"WEIGHTED_AVG",
- "Combination":["north_therm", "rfpa_therm", "soc_therm", "charging_therm", "disp_therm", "battery", "btmspkr_therm", "quiet_therm", "usb_pwr_therm"],
- "Coefficient":[0.05, 0.13, 0.12, 0.07, 0.37, 0.06, 0.01, 0.01, 0],
- "Offset":5070,
- "Multiplier":0.001
- },
- {
- "Name":"VIRTUAL-SKIN-FRONT",
- "Type":"UNKNOWN",
- "Version":"1.0",
- "VirtualSensor":true,
- "TriggerSensor":["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
- "Formula":"MAXIMUM",
- "Combination":["VIRTUAL-SKIN-FRONT-SUB-0", "VIRTUAL-SKIN-FRONT-SUB-1", "VIRTUAL-SKIN-FRONT-SUB-2"],
- "Coefficient":[1, 1, 1],
- "Multiplier":0.001
- },
{
"Name": "VIRTUAL-SKIN-CHARGE-SUB-0",
"Type": "UNKNOWN",
@@ -867,10 +822,9 @@
"PassiveDelay":7000
},
{
- "Name":"VSKIN-SKIN-OVER-52",
+ "Name":"VSKIN-SKIN-UNDER-52",
"Type":"UNKNOWN",
"VirtualSensor":true,
- "TriggerSensor": ["north_therm", "rfpa_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm"],
"Formula":"COUNT_THRESHOLD",
"Combination":["VIRTUAL-SKIN"],
"Coefficient":[-52000],
@@ -883,10 +837,24 @@
"Formula":"WEIGHTED_AVG",
"Combination":["quiet_therm", "VIRTUAL-SKIN", -1000000],
"CombinationType":["SENSOR", "SENSOR", "CONSTANT"],
- "Coefficient":[1, -1, "VSKIN-SKIN-OVER-52"],
+ "Coefficient":[1, -1, "VSKIN-SKIN-UNDER-52"],
"CoefficientType":["CONSTANT", "CONSTANT", "SENSOR"],
"Multiplier":0.001
},
+ {
+ "Name": "STATS-UPDATOR",
+ "Type": "UNKNOWN",
+ "VirtualSensor": true,
+ "Hidden": true,
+ "TriggerSensor": ["north_therm", "soc_therm", "charging_therm", "disp_therm", "quiet_therm", "usb_pwr_therm", "rfpa_therm", "btmspkr_therm"],
+ "Formula": "WEIGHTED_AVG",
+ "Combination": ["VIRTUAL-SKIN-MODEL", "VIRTUAL-SKIN-LEGACY", "VIRTUAL-SKIN-MODEL-LEGACY-DIFF", "QUIET_THERM-MODEL-DIFF-DURING-MODEL-OVER-52", "VSKIN-SKIN-UNDER-52"],
+ "Coefficient": [0.0, 0.0, 0.0, 0.0, 0.0],
+ "Multiplier": 1,
+ "SendPowerHint": true,
+ "PollingDelay": 300000,
+ "PassiveDelay": 7000
+ },
{
"Name":"LITTLE",
"Type":"CPU",