Переглянути джерело

Merge tag 'android-15.0.0_r6' into staging/lineage-22.0_merge-android-15.0.0_r6

Android 15.0.0 Release 6 (AP4A.241205.013)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssQAKCRDorT+BmrEO
# eP8+AJ4nsmxLYOmgrW3bZcjYxgNveSoW5gCbBAAVXf/tI5wFYAUBQKFs2HdD/cU=
# =qKeT
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Dec  6 00:44:01 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <[email protected]>" [marginal]
# gpg: [email protected]: Verified 2483 signatures in the past
#      3 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ankur Bakshi (3) and others
# Via Android Build Coastguard Worker (29) and others
* tag 'android-15.0.0_r6': (28 commits)
  gps: set default SUPL SSL method to SSLv23
  gps: Enable Beidou measurements only in the US for L10.
  Symlink current prebuilt folder to android root
  Update product id for lynx
  lynx: add etm modules in userdebug/eng builds
  Delete mapper4 manifest
  gps: Re-enable GLO & QZSS in US
  gps: add CpEarlyFixGuardTimeSec to prevent earlyfix response delay
  thermal: read thermistor temp from sysfs
  thermal:remove unused state2power value
  Update lynx SVN to 46
  thermal: Remove bcl related tzones
  update OWNERS to include Android.bp
  lynx: Add build_flags based properties for SMR/EMR build
  haptics: Update output distortion gain
  Adpf:lynx: switch to multitier heuristic boost.
  Update lynx SVN to 45
  Update antenna position coordinates
  audio: Phase in L10 fortemedia tuning tables
  lynx: Use build_flags for SVN
  ...

 Conflicts:
	device-lynx.mk
	lynx/BoardConfig.mk

Change-Id: I50549219de5d81d0ada093bebdf0a9238d51840a
Michael Bestas 3 місяців тому
батько
коміт
80a7dc3e9e

+ 1 - 1
OWNERS

@@ -1,4 +1,4 @@
 per-file powerhint.json = [email protected],[email protected],[email protected],[email protected]
 
 # per-file for Pixel device makefiles, see go/pixel-device-mk-owner-checklist for details.
-per-file *.mk,*/BoardConfig.mk=file:device/google/gs-common:main:/MK_OWNERS
+per-file *.mk,*/BoardConfig.mk,{**/,}Android.bp=file:device/google/gs-common:main:/MK_OWNERS

BIN
audio/lynx/tuning/fortemedia/BLUETOOTH.dat


+ 9 - 9
audio/lynx/tuning/fortemedia/BLUETOOTH.mods

@@ -3,7 +3,7 @@
 #EXPORT_FLAG  BLUETOOTH
 #PARAM_MODE   FULL
 #SAVE_MODE  3
-#SAVE_TIME  2023-08-15 15:10:51
+#SAVE_TIME  2024-07-04 16:09:14
 
 #CASE_NAME  BLUETOOTH-BT_HAC-VOICE_GENERIC-NB
 #PARAM_TYPE  TX+2RX
@@ -533,8 +533,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -3202,8 +3202,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -5871,8 +5871,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -11209,8 +11209,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH

BIN
audio/lynx/tuning/fortemedia/HANDSET.dat


+ 49 - 49
audio/lynx/tuning/fortemedia/HANDSET.mods

@@ -3,7 +3,7 @@
 #EXPORT_FLAG  HANDSET
 #PARAM_MODE   FULL
 #SAVE_MODE  3
-#SAVE_TIME  2024-05-21 10:42:17
+#SAVE_TIME  2024-07-04 16:04:34
 
 #CASE_NAME  HANDSET-HANDSET-VOICE_GENERIC-NB
 #PARAM_TYPE  TX+2RX
@@ -533,8 +533,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x6000    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -3202,8 +3202,8 @@
 521    0x0000    //TX_GSC_RTOL_TH
 522    0x0000    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -5871,8 +5871,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -8540,8 +8540,8 @@
 521    0x7FFF    //TX_GSC_RTOL_TH
 522    0x7FFF    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -11209,8 +11209,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x6000    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -13878,8 +13878,8 @@
 521    0x0000    //TX_GSC_RTOL_TH
 522    0x0000    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -16547,8 +16547,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -19216,8 +19216,8 @@
 521    0x7FFF    //TX_GSC_RTOL_TH
 522    0x7FFF    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -21885,8 +21885,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -24554,8 +24554,8 @@
 521    0x7FFF    //TX_GSC_RTOL_TH
 522    0x7FFF    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -27223,8 +27223,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -29892,8 +29892,8 @@
 521    0x7FFF    //TX_GSC_RTOL_TH
 522    0x7FFF    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -32561,8 +32561,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -35230,8 +35230,8 @@
 521    0x7FFF    //TX_GSC_RTOL_TH
 522    0x7FFF    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -37899,8 +37899,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -40568,8 +40568,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x6000    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -43237,8 +43237,8 @@
 521    0x0000    //TX_GSC_RTOL_TH
 522    0x0000    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -45906,8 +45906,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -48575,8 +48575,8 @@
 521    0x7FFF    //TX_GSC_RTOL_TH
 522    0x7FFF    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -51244,8 +51244,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x6000    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -53913,8 +53913,8 @@
 521    0x0000    //TX_GSC_RTOL_TH
 522    0x0000    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -56582,8 +56582,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -59251,8 +59251,8 @@
 521    0x7FFF    //TX_GSC_RTOL_TH
 522    0x7FFF    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -61920,8 +61920,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH

BIN
audio/lynx/tuning/fortemedia/HANDSFREE.dat


+ 21 - 21
audio/lynx/tuning/fortemedia/HANDSFREE.mods

@@ -3,7 +3,7 @@
 #EXPORT_FLAG  HANDSFREE
 #PARAM_MODE   FULL
 #SAVE_MODE  3
-#SAVE_TIME  2023-08-15 15:10:19
+#SAVE_TIME  2024-07-04 16:04:55
 
 #CASE_NAME  HANDSFREE-HANDSFREE-VOICE_GENERIC-NB
 #PARAM_TYPE  TX+2RX
@@ -533,8 +533,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -3202,8 +3202,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -5871,8 +5871,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -8540,8 +8540,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -11209,8 +11209,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -13878,8 +13878,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -16547,8 +16547,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -19216,8 +19216,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -21885,8 +21885,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -24554,8 +24554,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH

BIN
audio/lynx/tuning/fortemedia/HEADSET.dat


+ 17 - 17
audio/lynx/tuning/fortemedia/HEADSET.mods

@@ -3,7 +3,7 @@
 #EXPORT_FLAG  HEADSET
 #PARAM_MODE   FULL
 #SAVE_MODE  3
-#SAVE_TIME  2023-08-15 15:11:19
+#SAVE_TIME  2024-07-04 16:17:49
 
 #CASE_NAME  HEADSET-USB_BLACKBIRD-VOICE_GENERIC-NB
 #PARAM_TYPE  TX+2RX
@@ -27223,8 +27223,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -29892,8 +29892,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -32561,8 +32561,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -37899,8 +37899,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -67258,8 +67258,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -69927,8 +69927,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -72596,8 +72596,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH
@@ -77934,8 +77934,8 @@
 521    0x3A98    //TX_GSC_RTOL_TH
 522    0x3A98    //TX_GSC_RTOH_TH
 523    0x7E2C    //TX_WIDE2_MEANHTH
-524    0x0000    //TX_DR_RESRV_5
-525    0x0000    //TX_DR_RESRV_6
+524    0x0064    //TX_DR_RESRV_5
+525    0x1000    //TX_DR_RESRV_6
 526    0x122E    //TX_DR_RESRV_7
 527    0x1100    //TX_DR_RESRV_8
 528    0x1333    //TX_WIND_MARK_TH

+ 7 - 32
bluetooth/qti_default.mk

@@ -23,38 +23,13 @@ PRODUCT_PRODUCT_PROPERTIES += \
 
 # Bluetooth LE Audio
 PRODUCT_PRODUCT_PROPERTIES += \
-	ro.bluetooth.leaudio_switcher.supported=true \
-	ro.bluetooth.leaudio_offload.supported=true \
-	persist.bluetooth.leaudio_offload.disabled=false \
-	ro.vendor.audio_hal.ble_use_stream_id=true \
-	bluetooth.profile.bap.unicast.client.enabled?=true \
-	bluetooth.profile.csip.set_coordinator.enabled?=true \
-	bluetooth.profile.hap.client.enabled?=true \
-	bluetooth.profile.mcp.server.enabled?=true \
-	bluetooth.profile.ccp.server.enabled?=true \
-	bluetooth.profile.vcp.controller.enabled?=true \
-
-# Bluetooth LE Audio CIS handover to SCO
-# Set the property only if the controller doesn't support CIS and SCO
-# simultaneously. More details in b/242908683.
-PRODUCT_PRODUCT_PROPERTIES += \
-	persist.bluetooth.leaudio.notify.idle.during.call=true
-
-# Not support LE Audio dual mic SWB call based on the current launch strategy
-PRODUCT_PRODUCT_PROPERTIES += \
-    bluetooth.leaudio.dual_bidirection_swb.supported=false
-
-# LE Audio Lunch Config for Phase 1 (LE audio toggle hidden by default)
-PRODUCT_PRODUCT_PROPERTIES += \
-    persist.bluetooth.leaudio.toggle_visible=false
-
-# LE Auido Offload Capabilities setting
-PRODUCT_COPY_FILES += \
-	device/google/lynx/bluetooth/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml
-
-# LE Audio use classic connection by default
-PRODUCT_PRODUCT_PROPERTIES += \
-    ro.bluetooth.leaudio.le_audio_connection_by_default=false
+	ro.bluetooth.leaudio_switcher.supported=false \
+	bluetooth.profile.bap.unicast.client.enabled?=false \
+	bluetooth.profile.csip.set_coordinator.enabled?=false \
+	bluetooth.profile.hap.client.enabled?=false \
+	bluetooth.profile.mcp.server.enabled?=false \
+	bluetooth.profile.ccp.server.enabled?=false \
+	bluetooth.profile.vcp.controller.enabled?=false \
 
 # Bluetotoh Auto On feature
 PRODUCT_PRODUCT_PROPERTIES += \

+ 3 - 0
conf/init.lynx.rc

@@ -102,6 +102,9 @@ on property:vendor.all.modules.ready=1
     chown system system /sys/bus/i2c/devices/8-0043/calibration/redc_stored
     chown system system /sys/bus/i2c/devices/8-0043/default/vibe_state
     chown system system /sys/bus/i2c/devices/8-0043/default/num_waves
+    chown system system /sys/bus/i2c/devices/8-0043/default/braking_time_bank
+    chown system system /sys/bus/i2c/devices/8-0043/default/braking_time_index
+    chown system system /sys/bus/i2c/devices/8-0043/default/braking_time_ms
     chown system system /sys/bus/i2c/devices/8-0043/default/f0_offset
     chown system system /sys/bus/i2c/devices/8-0043/default/owt_free_space
     chown system system /sys/bus/i2c/devices/8-0043/default/f0_comp_enable

+ 55 - 9
device-lynx.mk

@@ -160,8 +160,8 @@ endif
 # Vibrator HAL
 $(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION)))
 ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
+ACTUATOR_MODEL := legacy_zlra_actuator
 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 \
@@ -170,20 +170,36 @@ PRODUCT_VENDOR_PROPERTIES += \
 	persist.vendor.vibrator.hal.context.cooldowntime=1600 \
 	persist.vendor.vibrator.hal.context.settlingtime=5000
 
+# Override Output Distortion Gain
+PRODUCT_VENDOR_PROPERTIES += \
+    vendor.audio.hapticgenerator.distortion.output.gain=0.29
+
 # Trusty liboemcrypto.so
 PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts
 
-# GPS xml
+# Location
 ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
+    PRODUCT_COPY_FILES += \
+        device/google/lynx/location/lhd.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
+        device/google/lynx/location/scd.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
+    ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
+        PRODUCT_COPY_FILES += \
+            device/google/lynx/location/gps.6.1.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
+    else
         PRODUCT_COPY_FILES += \
-                device/google/lynx/location/gps.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
-                device/google/lynx/location/lhd.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
-                device/google/lynx/location/scd.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
+            device/google/lynx/location/gps.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
+    endif
 else
+    PRODUCT_COPY_FILES += \
+        device/google/lynx/location/lhd_user.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
+        device/google/lynx/location/scd_user.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
+    ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
+        PRODUCT_COPY_FILES += \
+            device/google/lynx/location/gps_user.6.1.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
+    else
         PRODUCT_COPY_FILES += \
-                device/google/lynx/location/gps_user.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
-                device/google/lynx/location/lhd_user.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
-                device/google/lynx/location/scd_user.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
+            device/google/lynx/location/gps_user.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
+    endif
 endif
 
 # Wifi HAL
@@ -215,12 +231,30 @@ ifdef RELEASE_SVN_LYNX
 TARGET_SVN ?= $(RELEASE_SVN_LYNX)
 else
 # Set this for older releases that don't use build flag
-TARGET_SVN ?= 45
+TARGET_SVN ?= 46
 endif
 
 PRODUCT_VENDOR_PROPERTIES += \
     ro.vendor.build.svn=$(TARGET_SVN)
 
+# Set device family property for SMR
+PRODUCT_PROPERTY_OVERRIDES += \
+    ro.build.device_family=P10C10L10
+
+# Set build properties for SMR builds
+ifeq ($(RELEASE_IS_SMR), true)
+    ifneq (,$(RELEASE_BASE_OS_LYNX))
+        PRODUCT_BASE_OS := $(RELEASE_BASE_OS_LYNX)
+    endif
+endif
+
+# Set build properties for EMR builds
+ifeq ($(RELEASE_IS_EMR), true)
+    ifneq (,$(RELEASE_BASE_OS_LYNX))
+        PRODUCT_PROPERTY_OVERRIDES += \
+        ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_LYNX)
+    endif
+endif
 # Set support hide display cutout feature
 PRODUCT_PRODUCT_PROPERTIES += \
     ro.support_hide_display_cutout=true
@@ -304,3 +338,15 @@ PRODUCT_VENDOR_PROPERTIES += \
 PRODUCT_PRODUCT_PROPERTIES += \
     ro.quick_start.oem_id=00e0 \
     ro.quick_start.device_id=lynx
+
+# Bluetooth device id
+# Raven: 0x410B
+PRODUCT_PRODUCT_PROPERTIES += \
+    bluetooth.device_id.product_id=16651
+
+# ETM
+ifneq (,$(RELEASE_ETM_IN_USERDEBUG_ENG))
+ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
+$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
+endif
+endif

+ 106 - 0
location/gps.6.1.xml.l10

@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="utf-8"?>
+<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
+  <hal
+       PortName="/dev/ttyBCM"
+       BaudRate="921600"
+       GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
+       CustGpioDelayMs="250"
+       LogEnabled="true"
+       Log="JAVA"
+       SecondaryConfigPath="/data/vendor/gps/overlay/gps_overlay.xml"
+       LogDirectory="/sdcard/gps/broadcom/storage/"
+       CtrlPipe="/data/vendor/gps/glgpsctrl"
+       NmeaOutName="/data/vendor/gps/nmea_out"
+
+       acSuplServer="supl.google.com"
+       SuplPort="7275"
+       SuplLogEnable="true"
+       SuplLogFullName="/data/vendor/gps/suplflow.txt"
+       tlsEnable="true"
+
+       SuplSslMethod="SSLv23"
+       SuplEnable="true"
+       SuplUseApn="false"
+       SuplUseApnNI="true"
+       SuplUseFwCellInfo="false"
+       SuplDummyCellInfo ="true"
+       SuplTlsCertDirPath="/etc/security/cacerts"
+       SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
+       SuplUT1Seconds="20"
+       SuplUT2Seconds="20"
+       SuplUT3Seconds="20"
+       TcpConnectionTimeout="20"
+       SuplLppCapable="true"
+       SuplEcidCapable="true"
+       SuplVersion="2"
+       SuplMinorVersion="0"
+       SuplOtdoaCapable="true"
+       SuplOtdoaCapable2="true"
+       SuplGlonassCapable = "true"
+       SuplGalileoCapable = "true"
+       SuplBdsCapable = "true"
+       SuplMgpsCapable = "true"
+
+       RtoEnable="true"
+       RtiEnable="true"
+       HttpSyncLto="true"
+       LtoFileName="lto2.dat"
+       LtoDir="/data/vendor/gps/"
+       LtoSyncThresholdDays="1"
+
+       GnssYearOfHardware="2020"
+       CpEarlyFixGuardTimeSec="1"
+       CpGuardTimeSec="1"
+       CpLppGuardTimeSec="1"
+       IgnoreInjectedSystemTime="true"
+
+       AttributionAppPkgName="com.google.android.carrierlocation"
+
+       AssertEnabled="true"
+       ExitOnComFailure="true"
+       CpLppeCancelDbhOnAgnssProvideLoc="true"
+       CpLppeUseAgnssLocForEmptyDbh="true"
+       CpLppHighAccuracyShapeMode="1"
+       ReAidingOnHotStart="false"
+       ReAidingIntervalSec="3600"
+       RuntimeSwLteFilterEnable="true"
+       PpsDevice="/sys/devices/platform/bbd_pps/pps_assert"
+       SensorsMask="0x244"
+       MaxThreadNum="13"
+  />
+
+  <gll
+       PpsEnable="true"
+       LogPriMask="LOG_INFO"
+       LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
+       FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
+       MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1"
+       MultiCarrLnaMask="L1_EXT_ON"
+       RfType="GL_RF_4776_BRCM"
+
+       WarmStandbyTimeout1Seconds="10"
+       WarmStandbyTimeout2Seconds="15"
+
+       EnableGnssPropagateInStandby="true"
+
+       RfPathLossDb_Ap="4"
+       RfPathLossDb_Cp="4"
+       OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
+
+       EnableOnChipStopNotification="2"
+       PowerMode="3"
+       MinGpsWeekNumber="2216"
+       OnChipAccMask="50"
+       EnableB1C="false"
+
+       RTICacheTimeoutSec="3600"
+  />
+
+  <gll_features
+       EnableQzsAutoSwitch="false"
+       EnableGloAutoSwitch="false"
+       EnableNicAutoSwitch="true"
+  />
+
+</glgps>
+

+ 6 - 1
location/gps.xml.l10

@@ -18,7 +18,7 @@
        SuplLogFullName="/data/vendor/gps/suplflow.txt"
        tlsEnable="true"
 
-       SuplSslMethod="SSLv23_NO_TLSv1_2"
+       SuplSslMethod="SSLv23"
        SuplEnable="true"
        SuplUseApn="false"
        SuplUseApnNI="true"
@@ -49,6 +49,7 @@
        LtoSyncThresholdDays="1"
 
        GnssYearOfHardware="2020"
+       CpEarlyFixGuardTimeSec="1"
        CpGuardTimeSec="1"
        CpLppGuardTimeSec="1"
        IgnoreInjectedSystemTime="true"
@@ -56,6 +57,7 @@
        AttributionAppPkgName="com.google.android.carrierlocation"
 
        AssertEnabled="true"
+       ExitOnComFailure="true"
        CpLppeCancelDbhOnAgnssProvideLoc="true"
        CpLppeUseAgnssLocForEmptyDbh="true"
        CpLppHighAccuracyShapeMode="1"
@@ -95,7 +97,10 @@
   />
 
   <gll_features
+       EnableQzsAutoSwitch="false"
+       EnableGloAutoSwitch="false"
        EnableNicAutoSwitch="true"
+       ConstellationAutoSwitchOffNavOnly="true"
   />
 
 </glgps>

+ 105 - 0
location/gps_user.6.1.xml.l10

@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="utf-8"?>
+<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
+  <hal
+       PortName="/dev/ttyBCM"
+       BaudRate="921600"
+       GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
+       CustGpioDelayMs="250"
+       LogEnabled="false"
+       Log="JAVA"
+       LogDirectory="/sdcard/gps/broadcom/storage/"
+       CtrlPipe="/data/vendor/gps/glgpsctrl"
+       NmeaOutName="/data/vendor/gps/nmea_out"
+
+       acSuplServer="supl.google.com"
+       SuplPort="7275"
+       SuplLogEnable="false"
+       SuplLogFullName="/data/vendor/gps/suplflow.txt"
+       tlsEnable="true"
+
+       SuplSslMethod="SSLv23"
+       SuplEnable="true"
+       SuplUseApn="false"
+       SuplUseApnNI="true"
+       SuplUseFwCellInfo="false"
+       SuplDummyCellInfo ="true"
+       SuplTlsCertDirPath="/etc/security/cacerts"
+       SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
+       SuplUT1Seconds="20"
+       SuplUT2Seconds="20"
+       SuplUT3Seconds="20"
+       TcpConnectionTimeout="20"
+       SuplLppCapable="true"
+       SuplEcidCapable="true"
+       SuplVersion="2"
+       SuplMinorVersion="0"
+       SuplOtdoaCapable="true"
+       SuplOtdoaCapable2="true"
+       SuplGlonassCapable = "true"
+       SuplGalileoCapable = "true"
+       SuplBdsCapable = "true"
+       SuplMgpsCapable = "true"
+
+       RtoEnable="true"
+       RtiEnable="true"
+       HttpSyncLto="true"
+       LtoFileName="lto2.dat"
+       LtoDir="/data/vendor/gps/"
+       LtoSyncThresholdDays="1"
+
+       GnssYearOfHardware="2020"
+       CpEarlyFixGuardTimeSec="1"
+       CpGuardTimeSec="1"
+       CpLppGuardTimeSec="1"
+       IgnoreInjectedSystemTime="true"
+
+       AttributionAppPkgName="com.google.android.carrierlocation"
+
+       AssertEnabled="false"
+       CpLppeCancelDbhOnAgnssProvideLoc="true"
+       CpLppeUseAgnssLocForEmptyDbh="true"
+       CpLppHighAccuracyShapeMode="1"
+       ReAidingOnHotStart="false"
+       ReAidingIntervalSec="3600"
+       RuntimeSwLteFilterEnable="true"
+       PpsDevice="/sys/devices/platform/bbd_pps/pps_assert"
+       SensorsMask="0x244"
+       MaxThreadNum="13"
+  />
+
+  <gll
+       PpsEnable="true"
+       LogPriMask="LOG_INFO"
+       LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
+       FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
+       MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1"
+       MultiCarrLnaMask="L1_EXT_ON"
+       RfType="GL_RF_4776_BRCM"
+
+       WarmStandbyTimeout1Seconds="10"
+       WarmStandbyTimeout2Seconds="15"
+
+       EnableGnssPropagateInStandby="true"
+
+       RfPathLossDb_Ap="4"
+       RfPathLossDb_Cp="4"
+       OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
+
+       EnableOnChipStopNotification="false"
+       PowerMode="3"
+       MinGpsWeekNumber="2216"
+       OnChipAccMask="50"
+       EnableB1C="false"
+
+       RTICacheTimeoutSec="3600"
+  />
+
+  <gll_features
+       EnableQzsAutoSwitch="false"
+       EnableGloAutoSwitch="false"
+       EnableNicAutoSwitch="true"
+  />
+
+</glgps>
+
+

+ 5 - 1
location/gps_user.xml.l10

@@ -17,7 +17,7 @@
        SuplLogFullName="/data/vendor/gps/suplflow.txt"
        tlsEnable="true"
 
-       SuplSslMethod="SSLv23_NO_TLSv1_2"
+       SuplSslMethod="SSLv23"
        SuplEnable="true"
        SuplUseApn="false"
        SuplUseApnNI="true"
@@ -48,6 +48,7 @@
        LtoSyncThresholdDays="1"
 
        GnssYearOfHardware="2020"
+       CpEarlyFixGuardTimeSec="1"
        CpGuardTimeSec="1"
        CpLppGuardTimeSec="1"
        IgnoreInjectedSystemTime="true"
@@ -94,7 +95,10 @@
   />
 
   <gll_features
+       EnableQzsAutoSwitch="false"
+       EnableGloAutoSwitch="false"
        EnableNicAutoSwitch="true"
+       ConstellationAutoSwitchOffNavOnly="true"
   />
 
 </glgps>

+ 7 - 0
lynx/BoardConfig.mk

@@ -40,10 +40,17 @@ BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
 
 include device/google/gs201/BoardConfig-common.mk
 -include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk
+include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
 -include vendor/google_devices/lynx/proprietary/BoardConfigVendor.mk
 include device/google/lynx/sepolicy/lynx-sepolicy.mk
 include device/google/gs201/wifi/qcom/BoardConfig-wifi.mk
 
+ifneq (,$(RELEASE_ETM_IN_USERDEBUG_ENG))
+ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
+-include device/google/common/etm/BoardUserdebugModules.mk
+endif
+endif
+
 DEVICE_PATH := device/google/lynx
 VENDOR_PATH := vendor/google/lynx
 include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk

+ 0 - 9
manifest.xml

@@ -48,15 +48,6 @@
             <instance>default</instance>
         </interface>
     </hal>
-    <hal format="hidl">
-        <name>android.hardware.graphics.mapper</name>
-        <transport arch="32+64">passthrough</transport>
-        <version>4.0</version>
-        <interface>
-            <name>IMapper</name>
-            <instance>default</instance>
-        </interface>
-    </hal>
     <hal format="hidl">
         <name>android.hardware.graphics.composer</name>
         <transport>hwbinder</transport>

+ 18 - 27
powerhint.json

@@ -1721,18 +1721,6 @@
       "Duration": 50,
       "Value": "1"
     },
-    {
-      "PowerHint": "THERMAL_FLASH_LED_REDUCE_CRITICAL",
-      "Node": "LimitFlashCurrent",
-      "Duration": 0,
-      "Value": "100"
-    },
-    {
-      "PowerHint": "THERMAL_FLASH_LED_REDUCE_NONE",
-      "Node": "LimitFlashCurrent",
-      "Duration": 0,
-      "Value": "1500"
-    },
     {
       "PowerHint": "EXPENSIVE_RENDERING",
       "Node": "PowerHALRenderingState",
@@ -1989,11 +1977,12 @@
       "TargetTimeFactor": 1.0,
       "StaleTimeFactor": 15.0,
       "HeuristicBoost_On": true,
-      "HBoostOnMissedCycles": 8,
-      "HBoostOffMaxAvgRatio": 4.0,
-      "HBoostOffMissedCycles": 5,
-      "HBoostPidPuFactor": 0.5,
-      "HBoostUclampMin": 722,
+      "HBoostModerateJankThreshold": 2,
+      "HBoostOffMaxAvgDurRatio": 4.0,
+      "HBoostSevereJankPidPu": 0.5,
+      "HBoostSevereJankThreshold": 8,
+      "HBoostUclampMinCeilingRange": [480, 722],
+      "HBoostUclampMinFloorRange": [230, 410],
       "JankCheckTimeFactor": 1.2,
       "LowFrameRateThreshold": 25,
       "MaxRecordsNum": 300
@@ -2024,11 +2013,12 @@
       "TargetTimeFactor": 1.0,
       "StaleTimeFactor": 15.0,
       "HeuristicBoost_On": true,
-      "HBoostOnMissedCycles": 8,
-      "HBoostOffMaxAvgRatio": 4.0,
-      "HBoostOffMissedCycles": 5,
-      "HBoostPidPuFactor": 0.5,
-      "HBoostUclampMin": 722,
+      "HBoostModerateJankThreshold": 2,
+      "HBoostOffMaxAvgDurRatio": 4.0,
+      "HBoostSevereJankPidPu": 0.5,
+      "HBoostSevereJankThreshold": 8,
+      "HBoostUclampMinCeilingRange": [480, 722],
+      "HBoostUclampMinFloorRange": [230, 410],
       "JankCheckTimeFactor": 1.2,
       "LowFrameRateThreshold": 25,
       "MaxRecordsNum": 300
@@ -2059,11 +2049,12 @@
       "TargetTimeFactor": 1.0,
       "StaleTimeFactor": 15.0,
       "HeuristicBoost_On": true,
-      "HBoostOnMissedCycles": 8,
-      "HBoostOffMaxAvgRatio": 4.0,
-      "HBoostOffMissedCycles": 5,
-      "HBoostPidPuFactor": 0.5,
-      "HBoostUclampMin": 722,
+      "HBoostModerateJankThreshold": 2,
+      "HBoostOffMaxAvgDurRatio": 4.0,
+      "HBoostSevereJankPidPu": 0.5,
+      "HBoostSevereJankThreshold": 8,
+      "HBoostUclampMinCeilingRange": [480, 722],
+      "HBoostUclampMinFloorRange": [230, 410],
       "JankCheckTimeFactor": 1.2,
       "LowFrameRateThreshold": 25,
       "MaxRecordsNum": 300

+ 1 - 1
rro_overlays/NfcOverlay/res/values/config.xml

@@ -30,7 +30,7 @@
     <item>36</item>
   </integer-array>
   <integer-array name="antenna_y">
-    <item>102</item>
+    <item>48</item>
   </integer-array>
   <bool name="nfc_observe_mode_supported">true</bool>
 </resources>

+ 0 - 8
thermal_info_config_charge_lynx.json

@@ -9,20 +9,17 @@
         {
             "Name":"neutral_therm",
             "Type":"UNKNOWN",
-            "TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp",
             "Multiplier":0.001
         },
         {
             "Name":"gnss_tcxo_therm",
             "Type":"UNKNOWN",
-            "TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp",
             "Multiplier":0.001
         },
         {
             "Name":"usb_pwr_therm",
             "Type":"UNKNOWN",
             "HotThreshold":["NAN", 40.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
-            "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp",
             "Multiplier":0.001,
             "PollingDelay":60000,
             "PassiveDelay":7000
@@ -30,7 +27,6 @@
         {
             "Name":"usb_pwr_therm2",
             "Type":"UNKNOWN",
-            "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp",
             "Multiplier":0.001
         },
         {
@@ -38,7 +34,6 @@
             "Type":"UNKNOWN",
             "HotThreshold":["NAN", 29.9, "NAN", "NAN", "NAN", "NAN", "NAN"],
             "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
-            "TempPath":"/dev/thermal/tz-by-name/skin_therm1/tz_temp",
             "Multiplier":0.001,
             "PollingDelay":60000,
             "PassiveDelay":7000
@@ -46,19 +41,16 @@
         {
             "Name":"skin_therm2",
             "Type":"UNKNOWN",
-            "TempPath":"/dev/thermal/tz-by-name/skin_therm2/tz_temp",
             "Multiplier":0.001
         },
         {
             "Name":"disp_therm",
             "Type":"UNKNOWN",
-            "TempPath":"/dev/thermal/tz-by-name/disp_therm/tz_temp",
             "Multiplier":0.001
         },
         {
             "Name":"quiet_therm",
             "Type":"UNKNOWN",
-            "TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
             "Multiplier":0.001
         },
         {

+ 4 - 299
thermal_info_config_lynx.json

@@ -9,20 +9,17 @@
         {
             "Name":"neutral_therm",
             "Type":"UNKNOWN",
-            "TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp",
             "Multiplier":0.001
         },
         {
             "Name":"gnss_tcxo_therm",
             "Type":"UNKNOWN",
-            "TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp",
             "Multiplier":0.001
         },
         {
             "Name":"usb_pwr_therm",
             "Type":"UNKNOWN",
             "HotThreshold":["NAN", 40.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
-            "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp",
             "Multiplier":0.001,
             "PollingDelay":60000,
             "PassiveDelay":7000
@@ -30,7 +27,6 @@
         {
             "Name":"usb_pwr_therm2",
             "Type":"UNKNOWN",
-            "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp",
             "Multiplier":0.001
         },
         {
@@ -38,7 +34,6 @@
             "Type":"UNKNOWN",
             "HotThreshold":["NAN", 27.9, "NAN", "NAN", "NAN", "NAN", "NAN"],
             "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
-            "TempPath":"/dev/thermal/tz-by-name/skin_therm1/tz_temp",
             "Multiplier":0.001,
             "PollingDelay":60000,
             "PassiveDelay":7000
@@ -46,19 +41,16 @@
         {
             "Name":"skin_therm2",
             "Type":"UNKNOWN",
-            "TempPath":"/dev/thermal/tz-by-name/skin_therm2/tz_temp",
             "Multiplier":0.001
         },
         {
             "Name":"disp_therm",
             "Type":"UNKNOWN",
-            "TempPath":"/dev/thermal/tz-by-name/disp_therm/tz_temp",
             "Multiplier":0.001
         },
         {
             "Name":"quiet_therm",
             "Type":"UNKNOWN",
-            "TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
             "Multiplier":0.001
         },
         {
@@ -453,315 +445,28 @@
             "Type":"NPU",
             "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", "NAN"],
             "Multiplier":0.001
-        },
-        {
-            "Name":"battery_cycle",
-            "Type":"BCL_VOLTAGE",
-            "Multiplier":1,
-            "Monitor":false
-        },
-        {
-            "Name":"critical-battery-cell",
-            "Type":"BCL_VOLTAGE",
-            "VirtualSensor":true,
-            "Formula":"COUNT_THRESHOLD",
-            "TriggerSensor": "vdroop1",
-            "Combination":["battery", "battery_cycle", "vdroop1"],
-            "Coefficient":[-10000, 400, 1000],
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 3.00, "NAN"],
-            "Multiplier":1,
-            "Monitor":true
-        },
-        {
-            "Name":"FLASH_LED_REDUCE",
-            "Type":"UNKNOWN",
-            "VirtualSensor":true,
-            "Formula":"COUNT_THRESHOLD",
-            "TriggerSensor": "vdroop1",
-            "Combination":["battery", "battery_cycle", "vdroop1"],
-            "Coefficient":[-10000, 400, 1000],
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.00, "NAN", "NAN"],
-            "Multiplier":1,
-            "Monitor":true,
-            "SendPowerHint":true
-        },
-        {
-            "Name":"soc",
-            "Type":"BCL_PERCENTAGE",
-            "HotThreshold":["NAN", "NAN", 80, "NAN", "NAN", "NAN", "NAN"],
-            "Multiplier":1,
-            "Monitor":true
-        },
-        {
-            "Name":"BCL_TPU_LOW_TEMP",
-            "Type":"BCL_CURRENT",
-            "VirtualSensor":true,
-            "Formula":"WEIGHTED_AVG",
-            "TriggerSensor": "ocp_tpu",
-            "Combination":["ocp_tpu", "battery"],
-            "Coefficient":[1, -10],
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN", 13000, "NAN", "NAN"],
-            "Multiplier":1,
-            "Monitor":true,
-            "PassiveDelay":500,
-            "BindedCdevInfo": [
-                {
-                    "CdevRequest": "tpu_cooling",
-                    "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
-                }
-            ]
-        },
-        {
-            "Name":"BCL_GPU_LOW_TEMP",
-            "Type":"BCL_CURRENT",
-            "VirtualSensor":true,
-            "Formula":"WEIGHTED_AVG",
-            "TriggerSensor": "ocp_gpu",
-            "Combination":["ocp_gpu", "battery"],
-            "Coefficient":[1, -10],
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN", 13000, "NAN", "NAN"],
-            "Multiplier":1,
-            "Monitor":true,
-            "PassiveDelay":500,
-            "BindedCdevInfo": [
-                {
-                    "CdevRequest": "thermal-gpufreq-0",
-                    "LimitInfo": [0, 0, 0, 0, 11, 11, 11]
-                }
-            ]
-        },
-        {
-            "Name":"BCL_BATOILO_GPU_LOW_TEMP",
-            "Type":"BCL_CURRENT",
-            "VirtualSensor":true,
-            "Formula":"COUNT_THRESHOLD",
-            "TriggerSensor": "batoilo",
-            "Combination":["batoilo", "ocp_gpu", "battery"],
-            "Coefficient":[5000, 12000, -1000],
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN",  3.0, "NAN", "NAN"],
-            "Multiplier":1,
-            "Monitor":true,
-            "PassiveDelay":500,
-            "BindedCdevInfo": [
-                {
-                    "CdevRequest": "thermal-gpufreq-0",
-                    "LimitInfo": [0, 0, 0, 0, 11, 11, 11]
-                }
-            ]
-        },
-        {
-            "Name":"BCL_BATOILO_TPU_LOW_TEMP",
-            "Type":"BCL_CURRENT",
-            "VirtualSensor":true,
-            "Formula":"COUNT_THRESHOLD",
-            "TriggerSensor": "batoilo",
-            "Combination":["batoilo", "ocp_tpu", "battery"],
-            "Coefficient":[5000, 12000, -1000],
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.0, "NAN", "NAN"],
-            "Multiplier":1,
-            "Monitor":true,
-            "PassiveDelay":500,
-            "BindedCdevInfo": [
-                {
-                    "CdevRequest": "tpu_cooling",
-                    "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
-                }
-            ]
-        },
-        {
-            "Name":"BCL_BATOILO_GPU",
-            "Type":"BCL_CURRENT",
-            "VirtualSensor":true,
-            "Formula":"COUNT_THRESHOLD",
-            "TriggerSensor": "batoilo",
-            "Combination":["batoilo", "ocp_gpu"],
-            "Coefficient":[5000, 12000],
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"],
-            "Multiplier":1,
-            "Monitor":true,
-            "PassiveDelay":500,
-            "BindedCdevInfo": [
-                {
-                    "CdevRequest": "thermal-gpufreq-0",
-                    "LimitInfo": [0, 0, 0, 0, 5, 5, 5]
-                }
-            ]
-        },
-        {
-            "Name":"BCL_BATOILO_TPU",
-            "Type":"BCL_CURRENT",
-            "VirtualSensor":true,
-            "Formula":"COUNT_THRESHOLD",
-            "TriggerSensor": "batoilo",
-            "Combination":[
-                "batoilo",
-                "ocp_tpu"
-            ],
-            "Coefficient":[5000, 12000],
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"],
-            "Multiplier":1,
-            "Monitor":true,
-            "PassiveDelay":500,
-            "BindedCdevInfo": [
-                {
-                    "CdevRequest": "tpu_cooling",
-                    "LimitInfo": [0, 0, 0, 0, 6, 6, 6]
-                }
-            ]
-        },
-        {
-            "Name":"batoilo",
-            "Type":"BCL_CURRENT",
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN", 5000, "NAN", "NAN"],
-            "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
-            "Multiplier":1,
-            "BindedCdevInfo": [
-                {
-                    "CdevRequest": "thermal-cpufreq-2",
-                    "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
-                },
-                {
-                    "CdevRequest": "thermal-gpufreq-0",
-                    "LimitInfo": [0, 0, 0, 0, 4, 4, 4]
-                },
-                {
-                    "CdevRequest": "tpu_cooling",
-                    "LimitInfo": [0, 0, 0, 0, 5, 5, 5]
-                }
-            ]
-        },
-        {
-            "Name":"BCL_AUDIO_BAACL",
-            "Type":"BCL_VOLTAGE",
-            "VirtualSensor":true,
-            "Formula":"COUNT_THRESHOLD",
-            "TriggerSensor": "soc",
-            "Combination":["battery", "soc"],
-            "Coefficient":[-25000, 80],
-            "HotThreshold":["NAN", "NAN",  "NAN", "NAN", 2.0, "NAN", "NAN"],
-            "Multiplier":1,
-            "Monitor":true
-        },
-        {
-            "Name":"vdroop1",
-            "Type":"BCL_VOLTAGE",
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN", 1000, "NAN", "NAN"],
-            "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
-            "Multiplier":1,
-            "BindedCdevInfo": [
-                {
-                    "CdevRequest": "thermal-cpufreq-2",
-                    "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
-                },
-                {
-                    "CdevRequest": "thermal-gpufreq-0",
-                    "LimitInfo": [0, 0, 0, 0, 2, 2, 2]
-                },
-                {
-                    "CdevRequest": "tpu_cooling",
-                    "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
-                }
-            ]
-        },
-        {
-            "Name":"vdroop2",
-            "Type":"BCL_VOLTAGE",
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN", 1200, "NAN", "NAN"],
-            "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
-            "Multiplier":1,
-            "BindedCdevInfo": [
-                {
-                    "CdevRequest": "thermal-cpufreq-2",
-                    "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
-                },
-                {
-                    "CdevRequest": "thermal-gpufreq-0",
-                    "LimitInfo": [0, 0, 0, 0, 5, 5, 5]
-                },
-                {
-                    "CdevRequest": "tpu_cooling",
-                    "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
-                }
-            ]
-        },
-        {
-            "Name":"smpl_gm",
-            "Type":"BCL_VOLTAGE",
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN", 1100, "NAN", "NAN"],
-            "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
-            "Multiplier":1,
-            "BindedCdevInfo": [
-                {
-                    "CdevRequest": "thermal-cpufreq-2",
-                    "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
-                },
-                {
-                    "CdevRequest": "thermal-gpufreq-0",
-                    "LimitInfo": [0, 0, 0, 0, 4, 4, 4]
-                },
-                {
-                    "CdevRequest": "tpu_cooling",
-                    "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
-                }
-            ]
-        },
-        {
-            "Name":"ocp_cpu1",
-            "Type":"BCL_CURRENT",
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN", 8000, "NAN", "NAN"],
-            "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
-            "Multiplier":1,
-            "Hidden":true
-        },
-        {
-            "Name":"ocp_cpu2",
-            "Type":"BCL_CURRENT",
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
-            "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
-            "Multiplier":1,
-            "Hidden":true
-        },
-        {
-            "Name":"ocp_tpu",
-            "Type":"BCL_CURRENT",
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
-            "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
-            "Multiplier":1,
-            "Monitor":true
-        },
-        {
-            "Name":"ocp_gpu",
-            "Type":"BCL_CURRENT",
-            "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
-            "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
-            "Multiplier":1,
-            "Monitor":true
         }
     ],
     "CoolingDevices":[
         {
             "Name":"thermal-cpufreq-0",
             "Type":"CPU",
-            "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote",
-            "State2Power":[1100, 1050, 1000, 950, 900, 850, 800, 750, 700, 650, 600]
+            "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote"
         },
         {
             "Name":"thermal-cpufreq-1",
             "Type":"CPU",
-            "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote",
-            "State2Power":[1400, 1350, 1300, 1250, 1200, 1150, 1100, 1050, 1000, 950, 900, 850, 800, 750]
+            "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote"
         },
         {
             "Name":"thermal-cpufreq-2",
             "Type":"CPU",
-            "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote",
-            "State2Power":[1450, 1400, 1350, 1300, 1250, 1200, 1150, 1100, 1050, 1000, 950, 900, 850, 800, 750]
+            "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote"
         },
         {
             "Name":"thermal-gpufreq-0",
             "Type":"GPU",
-            "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
-            "State2Power":[4599, 3727, 3259, 2378, 2044, 1813, 1449, 1223, 1007, 804, 633, 452]
+            "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote"
         },
         {
             "Name":"fcc",