From a5c26d5320a2c6a6fa5fb09cd1f095c00d2168f0 Mon Sep 17 00:00:00 2001 From: James Huang Date: Tue, 20 Aug 2024 16:21:05 +0800 Subject: [PATCH 1/7] gps: Remove ENABLE_CAPS_OTDOA to enable OTDOA in VZW network. Bug: 361007684 Test: verify the cfg item aligned Change-Id: I1c42ddb5cdd6da9e9bdc86f8519d3c3ce90e3f23 --- location/user/gps.cfg | 1 - location/userdebug/gps.cfg | 1 - 2 files changed, 2 deletions(-) diff --git a/location/user/gps.cfg b/location/user/gps.cfg index 63f8273..e0a1099 100644 --- a/location/user/gps.cfg +++ b/location/user/gps.cfg @@ -128,7 +128,6 @@ ENABLE_NLP_IN_AGNSS=1 ENABLE_LPP_HA_GAD_SHAPE=1 GNSS_CARRIER_ID=3 -ENABLE_CAPS_OTDOA=0 ENABLE_LPP_UP=1 ENABLE_LPPE_UP=3 SUPL_SSL_METHOD=TLSv1_2 diff --git a/location/userdebug/gps.cfg b/location/userdebug/gps.cfg index b5485f0..fd9266f 100644 --- a/location/userdebug/gps.cfg +++ b/location/userdebug/gps.cfg @@ -284,7 +284,6 @@ ENABLE_NLP_IN_AGNSS=1 ENABLE_LPP_HA_GAD_SHAPE=1 # VZW GNSS_CARRIER_ID=3 -ENABLE_CAPS_OTDOA=0 ENABLE_LPP_UP=1 ENABLE_LPPE_UP=3 SUPL_SSL_METHOD=TLSv1_2 From cb5232c467107f9f3c1b4868acbaf1416b3924b3 Mon Sep 17 00:00:00 2001 From: shihchienc Date: Mon, 9 Sep 2024 13:02:06 +0000 Subject: [PATCH 2/7] thread: disable hal service there are lots of stability issues and we have solution in 25q1, remove hal servicei in 24q4 for now. Bug: 365514662 Bug: 365422985 Bug: 361025365 Bug: 362138096 Bug: 356029645 Bug: 360998385 Flag: EXEMPT config change Test: build pass and check no service in release branch Change-Id: Ib66b26856790c4f22be246502e13574b2cd517cd --- device-comet.mk | 7 ------- 1 file changed, 7 deletions(-) diff --git a/device-comet.mk b/device-comet.mk index 5fc689f..df07be3 100644 --- a/device-comet.mk +++ b/device-comet.mk @@ -518,13 +518,6 @@ PRODUCT_PACKAGES += \ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.thread_dispatcher.enabled=true -# Thread HAL -ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) -PRODUCT_PACKAGES += \ - com.google.comet.hardware.threadnetwork \ - ThreadNetworkDemoApp -endif - # Camera concurrent foldable dual front feature support PRODUCT_PACKAGES += \ concurrent_foldable_dual_front_xml From 856f3539ba9eb034612c021a55d68fda94c28e3c Mon Sep 17 00:00:00 2001 From: Yung Ti Su Date: Wed, 11 Sep 2024 05:36:05 +0000 Subject: [PATCH 3/7] add support for bluetooth-low-energy-broadcast Bug: 361691382 Test: manual Flag: EXEMPT bugfix Change-Id: I2f5d3f2ba3253935c467b07d10ccb5a15b14b551 Signed-off-by: Yung Ti Su --- audio/comet/aidl_config/mixer_paths_aidl.xml | 40 ++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/audio/comet/aidl_config/mixer_paths_aidl.xml b/audio/comet/aidl_config/mixer_paths_aidl.xml index 8b8c7d4..e077b7e 100644 --- a/audio/comet/aidl_config/mixer_paths_aidl.xml +++ b/audio/comet/aidl_config/mixer_paths_aidl.xml @@ -426,6 +426,10 @@ + + + + @@ -498,6 +502,10 @@ + + + + @@ -570,6 +578,10 @@ + + + + @@ -647,6 +659,10 @@ + + + + @@ -719,6 +735,10 @@ + + + + @@ -803,6 +823,10 @@ + + + + @@ -863,6 +887,10 @@ + + + + @@ -931,6 +959,10 @@ + + + + @@ -1001,6 +1033,10 @@ + + + + @@ -1211,6 +1247,10 @@ + + + + From a6d157189fd2de6ad07b2c11e7c81d054bece42e Mon Sep 17 00:00:00 2001 From: James Huang Date: Wed, 28 Aug 2024 17:42:44 +0800 Subject: [PATCH 4/7] gps: Update official release 4.15.3_6_240905_R2 config Add ENABLE_NLP_ALONG_WITH_UBP=0 in default carrier config Add ChipCfg_Timemark_Option=1 to enable 1pps timemark output Support follwoing cfg items to change sampling rate. AccelSamplingPeriodUs=10000 MagnSamplingPeriodUs=10000 GyroSamplingPeriodUs=10000 PressSamplingPeriodUs=50000 OrientationSamplingPeriodUs=10000 StepCounterSamplingPeriodUs=1000000 Bug: 321229708 Bug: 355590184 Bug: 362556705 Test: CTS/VTS, basic validation test/stress test/SST/field test Change-Id: Icac241ff9cb7e7c168c14394e4fdd1dd197f2dab --- location/user/gps.cfg | 8 ++++++++ location/userdebug/gps.cfg | 10 ++++++++++ 2 files changed, 18 insertions(+) diff --git a/location/user/gps.cfg b/location/user/gps.cfg index e0a1099..4d23759 100644 --- a/location/user/gps.cfg +++ b/location/user/gps.cfg @@ -18,6 +18,7 @@ gnss_device_data_port_chpp_spi_device=/dev/gnss_ipc gnss_device_data_port_chpp_present=1 GlueLayer_YearOfHW=2023 scheduling_enabled=1 +ChipCfg_Timemark_Option=1 ChipCfg_VDR_high_end_Distance = 200 ChipCfg_VDR_low_end_Distance = 200 ChipCfg_VDR_high_end_Time = 20 @@ -54,6 +55,12 @@ GlueLayer_IsRilCIDReqEnable=0 GlueLayer_IsMemsEnable=1 GlueLayer_MeasCorrCap=7 Chip_Configuration_mems_data_Configuration=0x25 +AccelSamplingPeriodUs=10000 +MagnSamplingPeriodUs=10000 +GyroSamplingPeriodUs=10000 +PressSamplingPeriodUs=50000 +OrientationSamplingPeriodUs=10000 +StepCounterSamplingPeriodUs=1000000 Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1 CP_LocTech_PrimaryConst=0 CP_LocTech_Constraints=1 @@ -110,6 +117,7 @@ ENABLE_LPP_CP=1 ENABLE_LPP_UP=0 ENABLE_LPPE_CP=3 ENABLE_LPPE_UP=0 +ENABLE_NLP_ALONG_WITH_UBP=0 ENABLE_NLP_IN_LPPE=1 ENABLE_NLP_IN_AGNSS=0 ENABLE_LPP_HA_GAD_SHAPE=0 diff --git a/location/userdebug/gps.cfg b/location/userdebug/gps.cfg index fd9266f..7bc7d36 100644 --- a/location/userdebug/gps.cfg +++ b/location/userdebug/gps.cfg @@ -53,6 +53,9 @@ gnss_device_data_port_chpp_present=1 GlueLayer_YearOfHW=2023 scheduling_enabled=1 +# 1pps timemark output: 0: disable 1: enable +ChipCfg_Timemark_Option=1 + # VDR End condition (meter, meter, sec, sec) ChipCfg_VDR_high_end_Distance = 200 ChipCfg_VDR_low_end_Distance = 200 @@ -189,6 +192,12 @@ GlueLayer_MeasCorrCap=7 # 0x0010: CHIP_CONFIG_MEMS_ORIENTATION_AVAILABLE # 0x0020: CHIP_CONFIG_MEMS_STEPCOUNTER_AVAILABLE Chip_Configuration_mems_data_Configuration=0x25 +AccelSamplingPeriodUs=10000 +MagnSamplingPeriodUs=10000 +GyroSamplingPeriodUs=10000 +PressSamplingPeriodUs=50000 +OrientationSamplingPeriodUs=10000 +StepCounterSamplingPeriodUs=1000000 Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1 CP_LocTech_PrimaryConst=0 CP_LocTech_Constraints=1 @@ -266,6 +275,7 @@ ENABLE_LPP_CP=1 ENABLE_LPP_UP=0 ENABLE_LPPE_CP=3 ENABLE_LPPE_UP=0 +ENABLE_NLP_ALONG_WITH_UBP=0 ENABLE_NLP_IN_LPPE=1 ENABLE_NLP_IN_AGNSS=0 ENABLE_LPP_HA_GAD_SHAPE=0 From 81e01f24826d92bf82f8b116995f233df00b34d4 Mon Sep 17 00:00:00 2001 From: Nattharat Jariyanuntanaet Date: Thu, 12 Sep 2024 19:24:21 +0000 Subject: [PATCH 5/7] Enable STResetTool on P24 Bug: 361050657 Test: manual Flag: NONE add property Change-Id: I069078ee94af3dc3d077d5f24a458a295e05a259 --- conf/init.comet.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/init.comet.rc b/conf/init.comet.rc index c9c59ab..a6b567f 100644 --- a/conf/init.comet.rc +++ b/conf/init.comet.rc @@ -7,6 +7,7 @@ on init && property:ro.vendor.factory=1 on init # eSE streset tool name setprop persist.vendor.se.streset libstreset24 + setprop persist.vendor.nfc.streset libstreset24 # No se_chip_en for P1.0 on late-init && property:ro.boot.hardware.revision=PROTO1.0 setprop persist.vendor.se.reset.chip_en false From 08843593774bcb285127bd041acc29aed5d6b115 Mon Sep 17 00:00:00 2001 From: Cyan Hsieh Date: Tue, 25 Jun 2024 07:59:24 +0000 Subject: [PATCH 6/7] Revert^2 "Move PRODUCT_SHIPPING_API_LEVEL to define by device" b43f7a6c72c592bb9761df991f814a17737e8ad2 Bug: 312876454 Change-Id: Id1accfa1a0aa9bef0a6777c944467f6db3081287 --- device-comet.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/device-comet.mk b/device-comet.mk index 062fc28..0e5430e 100644 --- a/device-comet.mk +++ b/device-comet.mk @@ -14,6 +14,8 @@ # limitations under the License. # +SHIPPING_API_LEVEL := 34 + ifdef RELEASE_GOOGLE_COMET_RADIO_DIR RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_COMET_RADIO_DIR) endif From 990359fce1011d92e9eec8d8e7888415be60d120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=85hgren?= Date: Fri, 13 Sep 2024 15:09:35 +0000 Subject: [PATCH 7/7] comet: Update APMg3 tuning files note: version 240913 Bug: 295551854 Test: Manually tested by sideloading into comet ZP1A build. Flag: EXEMPT voip feature Change-Id: I77eb2dbbf444285cf9a714936b6bf7d93ab56f30 --- .../tuning/apmg3/downlink_dock_config.pb | Bin 74 -> 74 bytes .../tuning/apmg3/downlink_speaker_config.pb | Bin 1143 -> 1143 bytes .../apmg3/uplink_dock_aec_off_config.pb | Bin 121 -> 121 bytes .../tuning/apmg3/uplink_dock_aec_on_config.pb | Bin 1000 -> 239 bytes .../apmg3/uplink_speaker_aec_on_config.pb | Bin 3836 -> 3836 bytes 5 files changed, 0 insertions(+), 0 deletions(-) diff --git a/audio/comet/tuning/apmg3/downlink_dock_config.pb b/audio/comet/tuning/apmg3/downlink_dock_config.pb index 2fdd177a4bc82233ef0c8641a6c94ad8e68049ad..854a48d381e06bfb96f2e760552d6a7b26d7aa95 100644 GIT binary patch delta 29 jcmebBnqVZsD9XTa!bx`4%$aruX;z#Z3_yN^y#ylwZM+7A delta 29 ecmebBnqVZsAj$v)vLM1B&5Dx)#BZ>dU<3d-`2%kN diff --git a/audio/comet/tuning/apmg3/downlink_speaker_config.pb b/audio/comet/tuning/apmg3/downlink_speaker_config.pb index 522c72120b80e99b3673076e822117b099476afd..f8cee4206048ab20a53d98a9db96ef9da3f5af27 100644 GIT binary patch delta 58 zcmey)@ttFX5DVJ`2O&8wnaK()B9jeRSb&&ITCSbZ_Fkcv?a{T1Y_IHOvXgilXm>Aa NncZn$hRLBUN&pFm6CeNp delta 58 zcmey)@ttFX5DS}vgOD7T%wz=?k;w)uEI`a9U1iZ|yYkyfTN7_3yY{RmyN$UQ?LK~0 NwP#>xm>kNY1OWS@60HCL 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 fb82a78c8d248c0593effe321a0b7e5049e23e35..06e4ef570f52ddcdaf4aaf6608b76c97bc4c56f4 100644 GIT binary patch delta 39 rcmb=do9T3=9qSvJ4D8jv9u{cAKrqwyR4dxC8^shR`J>-A!6+S`?PhL+Ggn$)V7TsFa*? z(UblG=}GV^{soF62tm@TRWItbo<+#XncawH*(2$b+#%7=6uBT~sEK?^R|L4uKAJ~zMHGx@ zZ?CLbC(|3v(#y4nwF&@)wJ7_2Th9p9s8*|i#g@4ua)vy;+@R+mD4k5F&EKxYjK~;+ z!60#UW>_O)p+CbAIvC+T98%C9s`xpjGIi!3Qo`3kiA@Jxya_Pe{Lj>+O@#ibvRlO9 z?`jl~%UnfRzNp3pet!MdE9>iUH?Wbb>%%p^?tmBL8@~p~ZY3S%w$@nHmnnYICVY8= z8uX+^4FYhmofe?s&Z_VTnrsuqp=a;6D#zpTIz50Pb~Ebz#ZPbI+?DiO16h zM{yND8)`e3RK^VmSGS1Sm(Y%!1s8k>v7<$|d(h1b)M-aFG-Dl4U4<*sgMKcl7+VxP z+>F749Q|)0pN%9sC`z9|9NvH~>Y>%*;MW0962BYDQfEz}iJ+06?6RO$9-dcmgE@W@aXn zpaLr+W@ctTAOI)>Faz4qz@Wiwz-+s~OWj`73Mn J<|yVx+yKVE5HA1#