diff --git a/audio/comet/audio-tables.mk b/audio/comet/audio-tables.mk
index 3b4bd07..7790a29 100644
--- a/audio/comet/audio-tables.mk
+++ b/audio/comet/audio-tables.mk
@@ -95,7 +95,8 @@ PRODUCT_PACKAGES_DEBUG += \
template.xml \
tuning_constraints_combination.xml \
test_config.ini \
- test_preset.mps
+ test_preset.mps \
+ speaker_post_processing_volume_spec.xml
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
# Mixer Path Configuration for Audio Speaker Calibration Tool crus_sp_cal
diff --git a/audio/comet/tuning/Android.bp b/audio/comet/tuning/Android.bp
index 1ba2220..ca79839 100644
--- a/audio/comet/tuning/Android.bp
+++ b/audio/comet/tuning/Android.bp
@@ -252,6 +252,12 @@ prebuilt_etc {
soc_specific: true,
}
+prebuilt_etc {
+ name: "speaker_post_processing_volume_spec.xml",
+ src: "pts/speaker_post_processing_volume_spec.xml",
+ defaults: ["aoc_defaults"],
+}
+
prebuilt_etc {
name: "waves_config_nx.ini",
src: "waves/waves_config_nx.ini",
diff --git a/audio/comet/tuning/apmg3/downlink_handset_config.pb b/audio/comet/tuning/apmg3/downlink_handset_config.pb
index a5c2545..0b622ac 100644
Binary files a/audio/comet/tuning/apmg3/downlink_handset_config.pb and b/audio/comet/tuning/apmg3/downlink_handset_config.pb differ
diff --git a/audio/comet/tuning/apmg3/downlink_speaker_config.pb b/audio/comet/tuning/apmg3/downlink_speaker_config.pb
index 53b94d0..522c721 100644
Binary files a/audio/comet/tuning/apmg3/downlink_speaker_config.pb and b/audio/comet/tuning/apmg3/downlink_speaker_config.pb differ
diff --git a/audio/comet/tuning/apmg3/uplink_bluetooth_headset_aec_off_config.pb b/audio/comet/tuning/apmg3/uplink_bluetooth_headset_aec_off_config.pb
index 40dd10b..a6dfdce 100644
Binary files a/audio/comet/tuning/apmg3/uplink_bluetooth_headset_aec_off_config.pb and b/audio/comet/tuning/apmg3/uplink_bluetooth_headset_aec_off_config.pb differ
diff --git a/audio/comet/tuning/apmg3/uplink_bluetooth_headset_aec_on_config.pb b/audio/comet/tuning/apmg3/uplink_bluetooth_headset_aec_on_config.pb
index 2cf3692..58ac211 100644
Binary files a/audio/comet/tuning/apmg3/uplink_bluetooth_headset_aec_on_config.pb and b/audio/comet/tuning/apmg3/uplink_bluetooth_headset_aec_on_config.pb differ
diff --git a/audio/comet/tuning/apmg3/uplink_dock_aec_off_config.pb b/audio/comet/tuning/apmg3/uplink_dock_aec_off_config.pb
index 7a9e57d..fb82a78 100644
Binary files a/audio/comet/tuning/apmg3/uplink_dock_aec_off_config.pb and b/audio/comet/tuning/apmg3/uplink_dock_aec_off_config.pb differ
diff --git a/audio/comet/tuning/apmg3/uplink_external_speaker_aec_off_config.pb b/audio/comet/tuning/apmg3/uplink_external_speaker_aec_off_config.pb
index 38141ba..7103879 100644
Binary files a/audio/comet/tuning/apmg3/uplink_external_speaker_aec_off_config.pb and b/audio/comet/tuning/apmg3/uplink_external_speaker_aec_off_config.pb differ
diff --git a/audio/comet/tuning/apmg3/uplink_external_speaker_aec_on_config.pb b/audio/comet/tuning/apmg3/uplink_external_speaker_aec_on_config.pb
index 6ee72a1..d747bc2 100644
Binary files a/audio/comet/tuning/apmg3/uplink_external_speaker_aec_on_config.pb and b/audio/comet/tuning/apmg3/uplink_external_speaker_aec_on_config.pb differ
diff --git a/audio/comet/tuning/apmg3/uplink_handset_aec_off_config.pb b/audio/comet/tuning/apmg3/uplink_handset_aec_off_config.pb
index 3cdf914..9351945 100644
Binary files a/audio/comet/tuning/apmg3/uplink_handset_aec_off_config.pb and b/audio/comet/tuning/apmg3/uplink_handset_aec_off_config.pb differ
diff --git a/audio/comet/tuning/apmg3/uplink_handset_aec_on_config.pb b/audio/comet/tuning/apmg3/uplink_handset_aec_on_config.pb
index f02b8a2..58dc380 100644
Binary files a/audio/comet/tuning/apmg3/uplink_handset_aec_on_config.pb and b/audio/comet/tuning/apmg3/uplink_handset_aec_on_config.pb differ
diff --git a/audio/comet/tuning/apmg3/uplink_speaker_aec_off_config.pb b/audio/comet/tuning/apmg3/uplink_speaker_aec_off_config.pb
index 0ee7764..02348b9 100644
Binary files a/audio/comet/tuning/apmg3/uplink_speaker_aec_off_config.pb and b/audio/comet/tuning/apmg3/uplink_speaker_aec_off_config.pb differ
diff --git a/audio/comet/tuning/apmg3/uplink_speaker_aec_on_config.pb b/audio/comet/tuning/apmg3/uplink_speaker_aec_on_config.pb
index 182628f..a844b03 100644
Binary files a/audio/comet/tuning/apmg3/uplink_speaker_aec_on_config.pb and b/audio/comet/tuning/apmg3/uplink_speaker_aec_on_config.pb differ
diff --git a/audio/comet/tuning/apmg3/uplink_wired_headset_aec_off_config.pb b/audio/comet/tuning/apmg3/uplink_wired_headset_aec_off_config.pb
index 3578e0e..679aa66 100644
Binary files a/audio/comet/tuning/apmg3/uplink_wired_headset_aec_off_config.pb and b/audio/comet/tuning/apmg3/uplink_wired_headset_aec_off_config.pb differ
diff --git a/audio/comet/tuning/apmg3/uplink_wired_headset_aec_on_config.pb b/audio/comet/tuning/apmg3/uplink_wired_headset_aec_on_config.pb
index 791ff9e..fec3962 100644
Binary files a/audio/comet/tuning/apmg3/uplink_wired_headset_aec_on_config.pb and b/audio/comet/tuning/apmg3/uplink_wired_headset_aec_on_config.pb differ
diff --git a/audio/comet/tuning/pts/speaker_post_processing_volume_spec.xml b/audio/comet/tuning/pts/speaker_post_processing_volume_spec.xml
new file mode 100644
index 0000000..5bda1b0
--- /dev/null
+++ b/audio/comet/tuning/pts/speaker_post_processing_volume_spec.xml
@@ -0,0 +1,114 @@
+
+
+
+ -55.3429,-56.462852
+ -51.476486,-52.629974
+ -47.429344,-48.577915
+ -44.404938,-45.54104
+ -41.34484,-42.47274
+ -38.26381,-39.386524
+ -35.17891,-36.297333
+ -32.07109,-33.184692
+ -30.30139,-31.407984
+ -28.531578,-29.626408
+ -26.762623,-27.840538
+ -24.994268,-26.05007
+ -23.22528,-24.253963
+ -21.460478,-22.458183
+ -19.69938,-20.66309
+ -17.927505,-18.85597
+ -16.149855,-17.04668
+ -14.375043,-15.242476
+ -12.619692,-13.460893
+ -10.988443,-11.807947
+ -10.229917,-11.031332
+ -10.067055,-10.8566475
+ -10.010124,-10.794648
+ -9.965792,-10.748672
+ -9.924187,-10.708454
+
+
+
+ -56.824966,-56.22085
+ -53.00812,-52.39601
+ -48.99447,-48.376297
+ -45.98986,-45.365585
+ -42.94967,-42.31531
+ -39.888924,-39.239597
+ -36.825584,-36.154556
+ -33.740566,-33.03967
+ -31.983803,-31.262745
+ -30.226,-29.482727
+ -28.46655,-27.69943
+ -26.707556,-25.915329
+ -24.945498,-24.127829
+ -23.18879,-22.34605
+ -21.434853,-20.568602
+ -19.676136,-18.789795
+ -17.923016,-17.019646
+ -16.179115,-15.263374
+ -14.411232,-13.477808
+ -12.608496,-11.657543
+ -11.418643,-10.450487
+ -11.115015,-10.132849
+ -11.049253,-10.054632
+ -11.009314,-10.004243
+ -10.979197,-9.964965
+
+
+
+ -48.656296,-50.673286
+ -44.69299,-46.81315
+ -40.618153,-42.763763
+ -37.65023,-39.806267
+ -34.71226,-36.89866
+ -31.792694,-34.008415
+ -28.87659,-31.105488
+ -25.919016,-28.141272
+ -24.223642,-26.43234
+ -22.520838,-24.709074
+ -20.81106,-22.973286
+ -19.082249,-21.21807
+ -17.333406,-19.4436
+ -15.581524,-17.667053
+ -13.825251,-15.887933
+ -12.092208,-14.131317
+ -10.732493,-12.741249
+ -10.100718,-12.073996
+ -9.911014,-11.864244
+ -9.836917,-11.782432
+ -9.779734,-11.722244
+ -9.734992,-11.677365
+ -9.6985,-11.645135
+ -9.66777,-11.623802
+ -9.63527,-11.600014
+
+
+
+ -51.52192,-50.394104
+ -47.673805,-46.551804
+ -43.651005,-42.548542
+ -40.702824,-39.619167
+ -37.78776,-36.72528
+ -34.883675,-33.843998
+ -31.96994,-30.95195
+ -29.008202,-28.005291
+ -27.310637,-26.311722
+ -25.606598,-24.60886
+ -23.898502,-22.899467
+ -22.189236,-21.187288
+ -20.478073,-19.472952
+ -18.775997,-17.768572
+ -17.08199,-16.07426
+ -15.326209,-14.307854
+ -13.593147,-12.561827
+ -12.172909,-11.130552
+ -11.557884,-10.508577
+ -11.353183,-10.2964
+ -11.280718,-10.217085
+ -11.227874,-10.15811
+ -11.186886,-10.110628
+ -11.15273,-10.070196
+ -11.126692,-10.037739
+
+
\ No newline at end of file
diff --git a/audio/comet/tuning/spatializer/base b/audio/comet/tuning/spatializer/base
index 38cc646..42b4329 100644
Binary files a/audio/comet/tuning/spatializer/base and b/audio/comet/tuning/spatializer/base differ
diff --git a/audio/comet/tuning/spatializer/mode_2_ch b/audio/comet/tuning/spatializer/mode_2_ch
index 470c56c..2610b2d 100644
Binary files a/audio/comet/tuning/spatializer/mode_2_ch and b/audio/comet/tuning/spatializer/mode_2_ch differ
diff --git a/audio/comet/tuning/spatializer/mode_6_ch b/audio/comet/tuning/spatializer/mode_6_ch
index 94ec635..0f432fa 100644
Binary files a/audio/comet/tuning/spatializer/mode_6_ch and b/audio/comet/tuning/spatializer/mode_6_ch differ
diff --git a/audio/comet/tuning/spatializer/mode_xaural b/audio/comet/tuning/spatializer/mode_xaural
index 551959c..2d1e1da 100644
Binary files a/audio/comet/tuning/spatializer/mode_xaural and b/audio/comet/tuning/spatializer/mode_xaural differ
diff --git a/bluetooth/bt_vendor_overlay.conf b/bluetooth/bt_vendor_overlay.conf
index e593d7e..9343381 100644
--- a/bluetooth/bt_vendor_overlay.conf
+++ b/bluetooth/bt_vendor_overlay.conf
@@ -14,7 +14,7 @@ UserialTypePriority = 2-1
BtOffloadCap = AOC
# The BT Offload Trunk Flag Group Name
-BtOffloadTrunkGroup = 24P_AOC
+BtOffloadTrunkGroup = 24F_AOC
# Enable check whether let aoc controls power pin
AocPowerPinCtrlCheckEnable = true
diff --git a/comet/BoardConfig.mk b/comet/BoardConfig.mk
index c79c97e..5a65e1b 100644
--- a/comet/BoardConfig.mk
+++ b/comet/BoardConfig.mk
@@ -30,6 +30,7 @@ USES_IDISPLAY_INTF_SEC := true
include device/google/zumapro/BoardConfig-common.mk
-include vendor/google_devices/zumapro/prebuilts/BoardConfigVendor.mk
+include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
-include vendor/google_devices/comet/proprietary/BoardConfigVendor.mk
include device/google/comet-sepolicy/comet-sepolicy.mk
include device/google/comet/wifi/BoardConfig-wifi.mk
diff --git a/device-comet.mk b/device-comet.mk
index 6e9e04e..5fc689f 100644
--- a/device-comet.mk
+++ b/device-comet.mk
@@ -67,6 +67,7 @@ include hardware/google/pixel/vibrator/cs40l26/device.mk
include device/google/gs-common/bcmbt/bluetooth.mk
include device/google/gs-common/touch/gti/predump_gti_dual.mk
include device/google/gs-common/display/dump_second_display.mk
+include device/google/gs-common/gril/hidl/1.7/gril_hidl.mk
# Increment the SVN for any official public releases
ifdef RELEASE_SVN_COMET
@@ -529,8 +530,9 @@ PRODUCT_PACKAGES += \
concurrent_foldable_dual_front_xml
# Bluetooth device id
+# Comet: 0x4113
PRODUCT_PRODUCT_PROPERTIES += \
- bluetooth.device_id.product_id=20499
+ bluetooth.device_id.product_id=16659
# Set support for LEA multicodec
PRODUCT_PRODUCT_PROPERTIES +=\
diff --git a/location/user/gps.cfg b/location/user/gps.cfg
index 02a8a82..63f8273 100644
--- a/location/user/gps.cfg
+++ b/location/user/gps.cfg
@@ -114,8 +114,11 @@ ENABLE_NLP_IN_LPPE=1
ENABLE_NLP_IN_AGNSS=0
ENABLE_LPP_HA_GAD_SHAPE=0
USE_EMER_PDN_FOR_EMER_SUPL=1
+CP_LOCTECH_CONSTRAINTS=1
+UP_LOCTECH_CONSTRAINTS=1
GNSS_CARRIER_ID=1
+CP_LOCTECH_CONSTRAINTS=5
GNSS_CARRIER_ID=2
ENABLE_3G_CP_CAPS_MSA=0
diff --git a/location/userdebug/gps.cfg b/location/userdebug/gps.cfg
index 9a6e6c6..b5485f0 100644
--- a/location/userdebug/gps.cfg
+++ b/location/userdebug/gps.cfg
@@ -270,8 +270,11 @@ ENABLE_NLP_IN_LPPE=1
ENABLE_NLP_IN_AGNSS=0
ENABLE_LPP_HA_GAD_SHAPE=0
USE_EMER_PDN_FOR_EMER_SUPL=1
+CP_LOCTECH_CONSTRAINTS=1
+UP_LOCTECH_CONSTRAINTS=1
# ATT
GNSS_CARRIER_ID=1
+CP_LOCTECH_CONSTRAINTS=5
# TMO
GNSS_CARRIER_ID=2
ENABLE_3G_CP_CAPS_MSA=0
diff --git a/manifest.xml b/manifest.xml
index 9f8994b..cf97ba9 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -48,15 +48,6 @@
default
-
- android.hardware.graphics.mapper
- passthrough
- 4.0
-
- IMapper
- default
-
-
android.hardware.graphics.composer
hwbinder
diff --git a/powerhint-comet.json b/powerhint-comet.json
index 2fcc7f4..13c68ae 100644
--- a/powerhint-comet.json
+++ b/powerhint-comet.json
@@ -170,7 +170,6 @@
"0",
"1"
],
- "DefaultIndex": 0,
"ResetOnInit": true
},
{
@@ -297,7 +296,6 @@
"0x0",
"0x80"
],
- "DefaultIndex": 0,
"ResetOnInit": true
},
{
@@ -484,7 +482,6 @@
"1",
"0"
],
- "DefaultIndex": 0,
"ResetOnInit": true
},
{
@@ -524,7 +521,6 @@
"1",
"0"
],
- "DefaultIndex": 0,
"ResetOnInit": true
},
{
@@ -1413,12 +1409,6 @@
"Duration": 0,
"Value": "0"
},
- {
- "PowerHint": "DISPLAY_INACTIVE",
- "Node": "SysGroupCfsSkipMask",
- "Duration": 0,
- "Value": "0x80"
- },
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "PerTaskMaxIowaitBoost",