diff --git a/aosp_caiman.mk b/aosp_caiman.mk
index 54314020..a1b42927 100644
--- a/aosp_caiman.mk
+++ b/aosp_caiman.mk
@@ -27,6 +27,3 @@ PRODUCT_DEVICE := caiman
PRODUCT_MODEL := AOSP on caiman
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google
-
-DEVICE_MANIFEST_FILE := \
- device/google/caimito/manifest.xml
diff --git a/aosp_komodo.mk b/aosp_komodo.mk
index 22f66114..d1a95f62 100644
--- a/aosp_komodo.mk
+++ b/aosp_komodo.mk
@@ -27,6 +27,3 @@ PRODUCT_DEVICE := komodo
PRODUCT_MODEL := AOSP on komodo
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google
-
-DEVICE_MANIFEST_FILE := \
- device/google/caimito/manifest.xml
diff --git a/aosp_ripcurrent24.mk b/aosp_ripcurrent24.mk
index f7ba284c..633a237a 100644
--- a/aosp_ripcurrent24.mk
+++ b/aosp_ripcurrent24.mk
@@ -27,6 +27,3 @@ PRODUCT_DEVICE := ripcurrent24
PRODUCT_MODEL := AOSP on ripcurrent24
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google
-
-DEVICE_MANIFEST_FILE := \
- device/google/caimito/manifest.xml
diff --git a/aosp_ripcurrentpro.mk b/aosp_ripcurrentpro.mk
index b9dece69..32f0754b 100644
--- a/aosp_ripcurrentpro.mk
+++ b/aosp_ripcurrentpro.mk
@@ -27,6 +27,3 @@ PRODUCT_DEVICE := ripcurrentpro
PRODUCT_MODEL := AOSP on ripcurrentpro
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google
-
-DEVICE_MANIFEST_FILE := \
- device/google/caimito/manifest.xml
diff --git a/aosp_tokay.mk b/aosp_tokay.mk
index 7eb10a63..795aabff 100644
--- a/aosp_tokay.mk
+++ b/aosp_tokay.mk
@@ -27,6 +27,3 @@ PRODUCT_DEVICE := tokay
PRODUCT_MODEL := AOSP on tokay
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google
-
-DEVICE_MANIFEST_FILE := \
- device/google/caimito/manifest.xml
diff --git a/audio/caiman/prebuilt/libspeechenhancer/arm64/libspeechenhancer.so b/audio/caiman/prebuilt/libspeechenhancer/arm64/libspeechenhancer.so
index 2f3a373b..861ef15a 100644
Binary files a/audio/caiman/prebuilt/libspeechenhancer/arm64/libspeechenhancer.so and b/audio/caiman/prebuilt/libspeechenhancer/arm64/libspeechenhancer.so differ
diff --git a/audio/caiman/tuning/apmg3/downlink_handset_config.pb b/audio/caiman/tuning/apmg3/downlink_handset_config.pb
index 59cfa128..2afee2af 100644
Binary files a/audio/caiman/tuning/apmg3/downlink_handset_config.pb and b/audio/caiman/tuning/apmg3/downlink_handset_config.pb differ
diff --git a/audio/caiman/tuning/apmg3/downlink_handset_hac_config.pb b/audio/caiman/tuning/apmg3/downlink_handset_hac_config.pb
new file mode 100644
index 00000000..91b635c4
Binary files /dev/null and b/audio/caiman/tuning/apmg3/downlink_handset_hac_config.pb differ
diff --git a/audio/caiman/tuning/apmg3/downlink_speaker_config.pb b/audio/caiman/tuning/apmg3/downlink_speaker_config.pb
index bec8c9ab..606951a5 100644
Binary files a/audio/caiman/tuning/apmg3/downlink_speaker_config.pb and b/audio/caiman/tuning/apmg3/downlink_speaker_config.pb differ
diff --git a/audio/caiman/tuning/apmg3/uplink_handset_hac_aec_off_config.pb b/audio/caiman/tuning/apmg3/uplink_handset_hac_aec_off_config.pb
new file mode 100644
index 00000000..2b4edbdb
Binary files /dev/null and b/audio/caiman/tuning/apmg3/uplink_handset_hac_aec_off_config.pb differ
diff --git a/audio/caiman/tuning/apmg3/uplink_handset_hac_aec_on_config.pb b/audio/caiman/tuning/apmg3/uplink_handset_hac_aec_on_config.pb
new file mode 100644
index 00000000..2fd9459e
Binary files /dev/null and b/audio/caiman/tuning/apmg3/uplink_handset_hac_aec_on_config.pb differ
diff --git a/audio/caiman/tuning/apmg3/uplink_speaker_aec_on_config.pb b/audio/caiman/tuning/apmg3/uplink_speaker_aec_on_config.pb
index ffe03515..f9e1729b 100644
Binary files a/audio/caiman/tuning/apmg3/uplink_speaker_aec_on_config.pb and b/audio/caiman/tuning/apmg3/uplink_speaker_aec_on_config.pb differ
diff --git a/audio/komodo/prebuilt/libspeechenhancer/arm64/libspeechenhancer.so b/audio/komodo/prebuilt/libspeechenhancer/arm64/libspeechenhancer.so
index 2f3a373b..861ef15a 100644
Binary files a/audio/komodo/prebuilt/libspeechenhancer/arm64/libspeechenhancer.so and b/audio/komodo/prebuilt/libspeechenhancer/arm64/libspeechenhancer.so differ
diff --git a/audio/komodo/tuning/apmg3/downlink_handset_config.pb b/audio/komodo/tuning/apmg3/downlink_handset_config.pb
index ecdef83f..ffe96ef7 100644
Binary files a/audio/komodo/tuning/apmg3/downlink_handset_config.pb and b/audio/komodo/tuning/apmg3/downlink_handset_config.pb differ
diff --git a/audio/komodo/tuning/apmg3/downlink_handset_hac_config.pb b/audio/komodo/tuning/apmg3/downlink_handset_hac_config.pb
new file mode 100644
index 00000000..3971870b
Binary files /dev/null and b/audio/komodo/tuning/apmg3/downlink_handset_hac_config.pb differ
diff --git a/audio/komodo/tuning/apmg3/downlink_speaker_config.pb b/audio/komodo/tuning/apmg3/downlink_speaker_config.pb
index 71c7f080..f8b1954e 100644
Binary files a/audio/komodo/tuning/apmg3/downlink_speaker_config.pb and b/audio/komodo/tuning/apmg3/downlink_speaker_config.pb differ
diff --git a/audio/komodo/tuning/apmg3/uplink_handset_hac_aec_off_config.pb b/audio/komodo/tuning/apmg3/uplink_handset_hac_aec_off_config.pb
new file mode 100644
index 00000000..2b4edbdb
Binary files /dev/null and b/audio/komodo/tuning/apmg3/uplink_handset_hac_aec_off_config.pb differ
diff --git a/audio/komodo/tuning/apmg3/uplink_handset_hac_aec_on_config.pb b/audio/komodo/tuning/apmg3/uplink_handset_hac_aec_on_config.pb
new file mode 100644
index 00000000..2fd9459e
Binary files /dev/null and b/audio/komodo/tuning/apmg3/uplink_handset_hac_aec_on_config.pb differ
diff --git a/audio/komodo/tuning/apmg3/uplink_speaker_aec_on_config.pb b/audio/komodo/tuning/apmg3/uplink_speaker_aec_on_config.pb
index d13b53f2..ec9fdd7f 100644
Binary files a/audio/komodo/tuning/apmg3/uplink_speaker_aec_on_config.pb and b/audio/komodo/tuning/apmg3/uplink_speaker_aec_on_config.pb differ
diff --git a/audio/tokay/prebuilt/libspeechenhancer/arm64/libspeechenhancer.so b/audio/tokay/prebuilt/libspeechenhancer/arm64/libspeechenhancer.so
index 2f3a373b..861ef15a 100644
Binary files a/audio/tokay/prebuilt/libspeechenhancer/arm64/libspeechenhancer.so and b/audio/tokay/prebuilt/libspeechenhancer/arm64/libspeechenhancer.so differ
diff --git a/audio/tokay/tuning/apmg3/downlink_handset_config.pb b/audio/tokay/tuning/apmg3/downlink_handset_config.pb
index 7129053f..e05e6a19 100644
Binary files a/audio/tokay/tuning/apmg3/downlink_handset_config.pb and b/audio/tokay/tuning/apmg3/downlink_handset_config.pb differ
diff --git a/audio/tokay/tuning/apmg3/downlink_handset_hac_config.pb b/audio/tokay/tuning/apmg3/downlink_handset_hac_config.pb
new file mode 100644
index 00000000..cc4f32ac
Binary files /dev/null and b/audio/tokay/tuning/apmg3/downlink_handset_hac_config.pb differ
diff --git a/audio/tokay/tuning/apmg3/downlink_speaker_config.pb b/audio/tokay/tuning/apmg3/downlink_speaker_config.pb
index cd25bc7b..606951a5 100644
Binary files a/audio/tokay/tuning/apmg3/downlink_speaker_config.pb and b/audio/tokay/tuning/apmg3/downlink_speaker_config.pb differ
diff --git a/audio/tokay/tuning/apmg3/uplink_handset_aec_off_config.pb b/audio/tokay/tuning/apmg3/uplink_handset_aec_off_config.pb
index 31d6b8a0..318b8069 100644
Binary files a/audio/tokay/tuning/apmg3/uplink_handset_aec_off_config.pb and b/audio/tokay/tuning/apmg3/uplink_handset_aec_off_config.pb differ
diff --git a/audio/tokay/tuning/apmg3/uplink_handset_aec_on_config.pb b/audio/tokay/tuning/apmg3/uplink_handset_aec_on_config.pb
index a154819b..6517b36e 100644
Binary files a/audio/tokay/tuning/apmg3/uplink_handset_aec_on_config.pb and b/audio/tokay/tuning/apmg3/uplink_handset_aec_on_config.pb differ
diff --git a/audio/tokay/tuning/apmg3/uplink_handset_hac_aec_off_config.pb b/audio/tokay/tuning/apmg3/uplink_handset_hac_aec_off_config.pb
new file mode 100644
index 00000000..b8672c50
Binary files /dev/null and b/audio/tokay/tuning/apmg3/uplink_handset_hac_aec_off_config.pb differ
diff --git a/audio/tokay/tuning/apmg3/uplink_handset_hac_aec_on_config.pb b/audio/tokay/tuning/apmg3/uplink_handset_hac_aec_on_config.pb
new file mode 100644
index 00000000..355115d3
Binary files /dev/null and b/audio/tokay/tuning/apmg3/uplink_handset_hac_aec_on_config.pb differ
diff --git a/audio/tokay/tuning/apmg3/uplink_speaker_aec_on_config.pb b/audio/tokay/tuning/apmg3/uplink_speaker_aec_on_config.pb
index 94a69d69..cc1bd92d 100644
Binary files a/audio/tokay/tuning/apmg3/uplink_speaker_aec_on_config.pb and b/audio/tokay/tuning/apmg3/uplink_speaker_aec_on_config.pb differ
diff --git a/caiman/BoardConfig.mk b/caiman/BoardConfig.mk
index 9d597124..b52a8303 100644
--- a/caiman/BoardConfig.mk
+++ b/caiman/BoardConfig.mk
@@ -16,7 +16,13 @@
TARGET_BOARD_INFO_FILE := device/google/caimito/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := caiman
-TARGET_SCREEN_DENSITY := 480
+
+ifdef PHONE_CAR_BOARD_PRODUCT
+ include vendor/auto/embedded/products/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk
+else
+ TARGET_SCREEN_DENSITY := 480
+endif
+
BOARD_USES_GENERIC_AUDIO := true
USES_DEVICE_GOOGLE_CAIMITO := true
diff --git a/caiman/overlay/frameworks/base/core/res/res/values/config.xml b/caiman/overlay/frameworks/base/core/res/res/values/config.xml
index ada5548d..5f5daca6 100644
--- a/caiman/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/caiman/overlay/frameworks/base/core/res/res/values/config.xml
@@ -168,6 +168,9 @@
com.google.sensor.quick_pickup
+
+ true
+
@@ -227,4 +230,11 @@
com.google.android.gms
+
+
+ true
+
+
+ false
diff --git a/caiman/rro_overlays/UwbOverlay/Android.bp b/caiman/rro_overlays/UwbOverlay/Android.bp
index db283b43..64312d88 100644
--- a/caiman/rro_overlays/UwbOverlay/Android.bp
+++ b/caiman/rro_overlays/UwbOverlay/Android.bp
@@ -16,3 +16,11 @@ runtime_resource_overlay {
sdk_version: "current",
product_specific: true,
}
+
+runtime_resource_overlay {
+ name: "UwbOverlayCM4Gsi",
+ theme: "UwbOverlayCM4",
+ certificate: "platform",
+ sdk_version: "current",
+ vendor: true,
+}
diff --git a/device-caiman.mk b/device-caiman.mk
index 518fb0ec..394a6c17 100644
--- a/device-caiman.mk
+++ b/device-caiman.mk
@@ -40,8 +40,6 @@ ifneq ($(TARGET_BOOTS_16K),true)
PRODUCT_16K_DEVELOPER_OPTION := $(RELEASE_GOOGLE_CAIMAN_16K_DEVELOPER_OPTION)
endif
-include device/google/caimito/device-caimito-16k-common.mk
-
else
TARGET_KERNEL_DIR ?= device/google/caimito-kernels/6.1/24D1
TARGET_BOARD_KERNEL_HEADERS ?= device/google/caimito-kernels/6.1/24D1/kernel-headers
@@ -297,7 +295,8 @@ PRODUCT_SOONG_NAMESPACES += \
# UWB Overlay
PRODUCT_PACKAGES += \
- UwbOverlayCM4
+ UwbOverlayCM4 \
+ UwbOverlayCM4Gsi
# WiFi Overlay
PRODUCT_PACKAGES += \
@@ -388,8 +387,7 @@ PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.vibrator.hal.context.scale=60 \
persist.vendor.vibrator.hal.context.fade=true \
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
- persist.vendor.vibrator.hal.context.settlingtime=5000 \
- ro.vendor.vibrator.hal.pm.activetimeout=5
+ persist.vendor.vibrator.hal.context.settlingtime=5000
# Override Output Distortion Gain
PRODUCT_VENDOR_PROPERTIES += \
@@ -402,12 +400,12 @@ PRODUCT_VENDOR_PROPERTIES += \
# Bluetooth LE Audio
# Unicast
PRODUCT_PRODUCT_PROPERTIES += \
- 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.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
# Set support one-handed mode
PRODUCT_PRODUCT_PROPERTIES += \
@@ -415,8 +413,8 @@ PRODUCT_PRODUCT_PROPERTIES += \
# Bluetooth LE Audio Broadcast
PRODUCT_PRODUCT_PROPERTIES += \
- bluetooth.profile.bap.broadcast.assist.enabled=true \
- bluetooth.profile.bap.broadcast.source.enabled=true
+ bluetooth.profile.bap.broadcast.assist.enabled?=true \
+ bluetooth.profile.bap.broadcast.source.enabled?=true
# LE Audio switcher in developer options
PRODUCT_PRODUCT_PROPERTIES += \
diff --git a/device-caimito-16k-common.mk b/device-caimito-16k-common.mk
deleted file mode 100644
index b224f4f4..00000000
--- a/device-caimito-16k-common.mk
+++ /dev/null
@@ -1,54 +0,0 @@
-#
-# Copyright (C) 2024 The Android Open-Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-ifneq ($(wildcard $(TARGET_KERNEL_DIR)/16kb/),)
-
-ifeq ($(TARGET_BOOTS_16K),true)
-# Configures the 16kb kernel directory.
-TARGET_KERNEL_DIR := $(TARGET_KERNEL_DIR)/16kb
-
-else ifeq ($(PRODUCT_16K_DEVELOPER_OPTION),true)
-# Configures the 16kb kernel and modules for OTA updates.
-TARGET_KERNEL_DIR_16K := $(TARGET_KERNEL_DIR)/16kb
-BOARD_KERNEL_PATH_16K := $(TARGET_KERNEL_DIR_16K)/Image.lz4
-
-BOARD_KERNEL_MODULES_16K += $(file < $(TARGET_KERNEL_DIR_16K)/vendor_kernel_boot.modules.load)
-BOARD_KERNEL_MODULES_16K += $(file < $(TARGET_KERNEL_DIR_16K)/system_dlkm.modules.load)
-BOARD_KERNEL_MODULES_16K += $(file < $(TARGET_KERNEL_DIR_16K)/vendor_dlkm.modules.load)
-BOARD_KERNEL_MODULES_16K := $(foreach module,$(BOARD_KERNEL_MODULES_16K),$(TARGET_KERNEL_DIR_16K)/$(notdir $(module)))
-BOARD_PREBUILT_DTBOIMAGE_16KB := $(TARGET_KERNEL_DIR_16K)/dtbo.img
-
-# The 16kb mode does not use these modules.
-BOARD_KERNEL_MODULES_16K := $(filter-out %/bcm_dbg.ko,$(BOARD_KERNEL_MODULES_16K))
-BOARD_KERNEL_MODULES_16K := $(filter-out %/zram.ko,$(BOARD_KERNEL_MODULES_16K))
-BOARD_KERNEL_MODULES_16K := $(filter-out %/aoc_unit_test_dev.ko,$(BOARD_KERNEL_MODULES_16K))
-BOARD_KERNEL_MODULES_16K := $(filter-out %/gs-panel-common-test.ko,$(BOARD_KERNEL_MODULES_16K))
-BOARD_KERNEL_MODULES_16K := $(filter-out %/mali_kutf.ko,$(BOARD_KERNEL_MODULES_16K))
-BOARD_KERNEL_MODULES_16K := $(filter-out %/mali_kutf_clk_rate_trace_test_portal.ko,$(BOARD_KERNEL_MODULES_16K))
-BOARD_KERNEL_MODULES_16K := $(filter-out %/panel-gs-tk4c-test.ko,$(BOARD_KERNEL_MODULES_16K))
-BOARD_KERNEL_MODULES_16K := $(filter-out %/pwm-exynos.ko,$(BOARD_KERNEL_MODULES_16K))
-BOARD_KERNEL_MODULES_16K := $(filter-out %/rt4539_bl.ko,$(BOARD_KERNEL_MODULES_16K))
-BOARD_KERNEL_MODULES_16K := $(filter-out %/sec_touch.ko,$(BOARD_KERNEL_MODULES_16K))
-BOARD_KERNEL_MODULES_16K := $(filter-out %/sscoredump_sample_test.ko,$(BOARD_KERNEL_MODULES_16K))
-BOARD_KERNEL_MODULES_16K := $(filter-out %/sscoredump_test.ko,$(BOARD_KERNEL_MODULES_16K))
-BOARD_KERNEL_MODULES_LOAD_16K := $(foreach module,$(BOARD_KERNEL_MODULES_16K),$(notdir $(module)))
-
-BOARD_16K_OTA_USE_INCREMENTAL := true
-BOARD_16K_OTA_MOVE_VENDOR := true
-endif
-
-endif
-
diff --git a/device-caimito-common.mk b/device-caimito-common.mk
index 03daae93..e2fd8444 100644
--- a/device-caimito-common.mk
+++ b/device-caimito-common.mk
@@ -27,6 +27,7 @@ PRODUCT_COPY_FILES += \
ifneq (,$(filter $(TARGET_DEVICE),komodo caiman tokay))
PRODUCT_COPY_FILES += \
$(TARGET_VENDOR_THERMAL_CONFIG_PATH)/thermal_info_config_$(TARGET_DEVICE)_proto.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_proto.json \
+ $(TARGET_VENDOR_THERMAL_CONFIG_PATH)/thermal_info_config_lpm_$(TARGET_DEVICE).json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_lpm.json \
$(TARGET_VENDOR_THERMAL_CONFIG_PATH)/vt_estimation_model_$(TARGET_DEVICE).tflite:$(TARGET_COPY_OUT_VENDOR)/etc/vt_estimation_model.tflite \
$(TARGET_VENDOR_THERMAL_CONFIG_PATH)/vt_prediction_lstm_model_$(TARGET_DEVICE).tflite:$(TARGET_COPY_OUT_VENDOR)/etc/vt_prediction_lstm_model.tflite
ifneq (,$(filter $(TARGET_BUILD_VARIANT), eng))
diff --git a/device-komodo.mk b/device-komodo.mk
index e5e27604..153c23b6 100644
--- a/device-komodo.mk
+++ b/device-komodo.mk
@@ -40,8 +40,6 @@ ifneq ($(TARGET_BOOTS_16K),true)
PRODUCT_16K_DEVELOPER_OPTION := $(RELEASE_GOOGLE_KOMODO_16K_DEVELOPER_OPTION)
endif
-include device/google/caimito/device-caimito-16k-common.mk
-
else
TARGET_KERNEL_DIR ?= device/google/caimito-kernels/6.1/24D1
TARGET_BOARD_KERNEL_HEADERS ?= device/google/caimito-kernels/6.1/24D1/kernel-headers
@@ -317,7 +315,8 @@ PRODUCT_SOONG_NAMESPACES += \
# UWB Overlay
PRODUCT_PACKAGES += \
- UwbOverlayKM4
+ UwbOverlayKM4 \
+ UwbOverlayKM4Gsi
# WiFi Overlay
PRODUCT_PACKAGES += \
@@ -389,8 +388,7 @@ PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.vibrator.hal.context.scale=60 \
persist.vendor.vibrator.hal.context.fade=true \
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
- persist.vendor.vibrator.hal.context.settlingtime=5000 \
- ro.vendor.vibrator.hal.pm.activetimeout=5
+ persist.vendor.vibrator.hal.context.settlingtime=5000
# Override Output Distortion Gain
PRODUCT_VENDOR_PROPERTIES += \
@@ -403,17 +401,17 @@ PRODUCT_VENDOR_PROPERTIES += \
# Bluetooth LE Audio
# Unicast
PRODUCT_PRODUCT_PROPERTIES += \
- 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.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 Broadcast
PRODUCT_PRODUCT_PROPERTIES += \
- bluetooth.profile.bap.broadcast.assist.enabled=true \
- bluetooth.profile.bap.broadcast.source.enabled=true
+ bluetooth.profile.bap.broadcast.assist.enabled?=true \
+ bluetooth.profile.bap.broadcast.source.enabled?=true
# LE Audio switcher in developer options
PRODUCT_PRODUCT_PROPERTIES += \
diff --git a/device-tokay.mk b/device-tokay.mk
index 10545809..3c4b6561 100644
--- a/device-tokay.mk
+++ b/device-tokay.mk
@@ -40,8 +40,6 @@ ifneq ($(TARGET_BOOTS_16K),true)
PRODUCT_16K_DEVELOPER_OPTION := $(RELEASE_GOOGLE_TOKAY_16K_DEVELOPER_OPTION)
endif
-include device/google/caimito/device-caimito-16k-common.mk
-
else
TARGET_KERNEL_DIR ?= device/google/caimito-kernels/6.1/24D1
TARGET_BOARD_KERNEL_HEADERS ?= device/google/caimito-kernels/6.1/24D1/kernel-headers
@@ -354,8 +352,7 @@ PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.vibrator.hal.context.scale=60 \
persist.vendor.vibrator.hal.context.fade=true \
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
- persist.vendor.vibrator.hal.context.settlingtime=5000 \
- ro.vendor.vibrator.hal.pm.activetimeout=5
+ persist.vendor.vibrator.hal.context.settlingtime=5000
# Override Output Distortion Gain
PRODUCT_VENDOR_PROPERTIES += \
@@ -368,12 +365,12 @@ PRODUCT_VENDOR_PROPERTIES += \
# Bluetooth LE Audio
# Unicast
PRODUCT_PRODUCT_PROPERTIES += \
- 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.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
# Set support one-handed mode
PRODUCT_PRODUCT_PROPERTIES += \
@@ -381,8 +378,8 @@ PRODUCT_PRODUCT_PROPERTIES += \
# Bluetooth LE Audio Broadcast
PRODUCT_PRODUCT_PROPERTIES += \
- bluetooth.profile.bap.broadcast.assist.enabled=true \
- bluetooth.profile.bap.broadcast.source.enabled=true
+ bluetooth.profile.bap.broadcast.assist.enabled?=true \
+ bluetooth.profile.bap.broadcast.source.enabled?=true
# LE Audio switcher in developer options
PRODUCT_PRODUCT_PROPERTIES += \
diff --git a/fingerprint/device_framework_matrix_product.xml b/fingerprint/device_framework_matrix_product.xml
index 41a113bf..6d1673fb 100644
--- a/fingerprint/device_framework_matrix_product.xml
+++ b/fingerprint/device_framework_matrix_product.xml
@@ -6,6 +6,13 @@
default
+
+ com.google.hardware.biometrics.fingerprint.debug
+
+ IFingerprintDebug
+ default
+
+
vendor.qti.hardware.fingerprint
1
diff --git a/fingerprint/ultrasonic_udfps.mk b/fingerprint/ultrasonic_udfps.mk
index 10787a35..e37614ef 100644
--- a/fingerprint/ultrasonic_udfps.mk
+++ b/fingerprint/ultrasonic_udfps.mk
@@ -33,6 +33,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
log.tag.QFP=3
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
+$(call soong_config_set,fp_hal_feature,fingerprint_debug_support,$(RELEASE_PIXEL_AIDL_FINGERPRINT_DEBUG_HAL))
+
PRODUCT_SOONG_NAMESPACES += \
vendor/qcom/fingerprint/QFPCalibration
diff --git a/komodo/overlay/frameworks/base/core/res/res/values/config.xml b/komodo/overlay/frameworks/base/core/res/res/values/config.xml
index 5910fc63..da6fa374 100644
--- a/komodo/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/komodo/overlay/frameworks/base/core/res/res/values/config.xml
@@ -168,6 +168,9 @@
com.google.sensor.quick_pickup
+
+ true
+
@@ -227,4 +230,11 @@
com.google.android.gms
+
+
+ true
+
+
+ false
diff --git a/komodo/rro_overlays/UwbOverlay/Android.bp b/komodo/rro_overlays/UwbOverlay/Android.bp
index c0d723f7..5c6a3df2 100644
--- a/komodo/rro_overlays/UwbOverlay/Android.bp
+++ b/komodo/rro_overlays/UwbOverlay/Android.bp
@@ -14,5 +14,13 @@ runtime_resource_overlay {
theme: "UwbOverlayKM4",
certificate: "platform",
sdk_version: "current",
- product_specific: true
+ product_specific: true,
+}
+
+runtime_resource_overlay {
+ name: "UwbOverlayKM4Gsi",
+ theme: "UwbOverlayKM4",
+ certificate: "platform",
+ sdk_version: "current",
+ vendor: true,
}
diff --git a/location/caiman/user/gps.cfg b/location/caiman/user/gps.cfg
index c8931b55..974592e8 100644
--- a/location/caiman/user/gps.cfg
+++ b/location/caiman/user/gps.cfg
@@ -23,17 +23,17 @@ ChipCfg_VDR_high_end_Distance = 200
ChipCfg_VDR_low_end_Distance = 200
ChipCfg_VDR_high_end_Time = 20
ChipCfg_VDR_low_end_Time = 20
-Chip_Configuration_AidingConfiguration=0x00020046
+Chip_Configuration_AidingConfiguration=0x000200C6
Chip_Configuration_RefClkControl=0x24
Chip_Configuration_DCXO_CrystalType=0x11
Chip_Configuration_GNSSConstConstraintDef = 0x60FF
LocTech_Constraints = 0x60FF
Chip_Configuration_RfMiscCtrl = 0x80008001
Chip_Configuration_ntn_option=2
-bdsUsedInUSPolicy=2
-sbasUsedInUSPolicy=2
-qzssUsedInUSPolicy=2
-navicUsedInUSPolicy=2
+bdsUsedPolicy=2
+sbasUsedPolicy=2
+qzssUsedPolicy=2
+navicUsedPolicy=2
Chip_Configuration_FeatureCfg_DVS = 1
Chip_Configuration_FeatureCfg_DFS = 1
Chip_Configuration_FeatureCfg_MTPL = 0
@@ -44,6 +44,8 @@ UseRtcForAiding=1
additional_rtc_uncertainty_ms=10
Sif_UseFwXtraInterface=1
Agnss_IsGloAidingEnable=0
+Agnss_IsGalAidingEnable=0
+Agnss_IsBdsAidingEnable=0
SETCaps_IsOtdoa=1
SETCaps_IsLpp=1
SETCaps_SuplUT1=20
@@ -70,16 +72,20 @@ UP_LocTech_PrimaryConst=0
UP_LocTech_Constraints=1
UP_LocTech_Requirements=0
SpotLogger_Allowed=0
-SingleBandAcqPower=69
-MultiBandAcqPower=90
-SingleBandFullTrkPower=55
-MultiBandFullTrkPower=70
-SingleBandDutyCycleTrkPower=50
-MultiBandDutyCycleTrkPower=65
-SingleBandNmTrkPower=20
-MultiBandNmTrkPower=28
-SingleBandUdTrkPower=14
-MultiBandUdTrkPower=18
+SingleBandAcq=474
+MultiBandAcq=586
+SingleBandFullTrkNm=432
+SingleBandFullTrkUd=390
+MultiBandFullTrkNm=572
+MultiBandFullTrkUd=509
+SingleBandDutyCycleTrkNm=390
+SingleBandDutyCycleTrkUd=355
+MultiBandDutyCycleTrkNm=509
+MultiBandDutyCycleTrkUd=453
+SingleBandVddGnssNmTrk=145
+MultiBandVddGnssNmTrk=187
+SingleBandVddGnssUdTrk=103
+MultiBandVddGnssUdTrk=131
path_delay_glo_12fx_cm = -5076,-5076,-5064,-5022,-4982,-4916,-4879,-4800,-4704,-4647,-4628,-4573,-4522,-4493
path_delay_gps_2fx_cm = 12371
path_delay_bds_4fx_cm = 123
@@ -88,6 +94,7 @@ RfPathLossDb_Ap=3210
RfPathLossDb_Cp=3210
RfPathLossDb_L5_Ap=4450
RfPathLossDb_L5_Cp=4450
+NmeaBitmask=0x010003fff
IsUseEntireRespTime911=1
isForceHighAccuracyMode=1
cp_partial_reset_disable=1
@@ -155,10 +162,14 @@ ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
GNSS_CARRIER_ID=6
+ENABLE_CAPS_OTDOA=0
ENABLE_LPP_CP=0
ENABLE_LPP_UP=1
ENABLE_LPPE_CP=0
ENABLE_LPPE_UP=3
+ENABLE_2G_UP_CAPS_MSA=0
+ENABLE_3G_UP_CAPS_MSA=0
+ENABLE_4G_UP_CAPS_MSA=0
GNSS_CARRIER_ID=7
ENABLE_LPP_CP=0
diff --git a/location/caiman/userdebug/gps.cfg b/location/caiman/userdebug/gps.cfg
index 05ab7bb3..79dfe194 100644
--- a/location/caiman/userdebug/gps.cfg
+++ b/location/caiman/userdebug/gps.cfg
@@ -62,8 +62,17 @@ ChipCfg_VDR_low_end_Distance = 200
ChipCfg_VDR_high_end_Time = 20
ChipCfg_VDR_low_end_Time = 20
+# 0x01 = Precise time aiding
+# 0x02 = Coarse time aiding *
+# 0x04 = Local time aiding *
+# 0x08 = CP time aiding
+# 0x10 = Frequency counter aiding
+# 0x20 = Frequency non-counter aiding
+# 0x40 = CP Frequency aiding *
+# 0x80 = Extend BE collection *
+# 0xFFFF0000 Frequency aiding PPM mask (example - 0x00020000 is .2PPM)
### temporarily disable precise time aiding ###
-Chip_Configuration_AidingConfiguration=0x00020046
+Chip_Configuration_AidingConfiguration=0x000200C6
# set shared reference clock for freq aiding (0x20)
# enable dcxo (0x04)
@@ -120,13 +129,15 @@ Chip_Configuration_RfMiscCtrl = 0x80008001
#Chip_Configuration_ntn_option=2 means turning GNSS off during NTN blackout period.
Chip_Configuration_ntn_option=2
-# Disable BDS in the U.S.
-# 0-enabled (default), 1-disabled, 2-auto(disabled in US)
-#gloUsedInUSPolicy=2
-bdsUsedInUSPolicy=2
-sbasUsedInUSPolicy=2
-qzssUsedInUSPolicy=2
-navicUsedInUSPolicy=2
+# Certain constellation permission overriding LocTech config setting: only to possibly
+# disallow constellations allowed in LocTech, not vice versa. Note: GPS and GAL are
+# allowed in all markets so no such overriding.
+# 0: not to override (default), 1-disabled, 2- disabled if in US
+#gloUsedPolicy=2
+bdsUsedPolicy=2
+sbasUsedPolicy=2
+qzssUsedPolicy=2
+navicUsedPolicy=2
# DVS: 0 = Disabled, 1 = Enabled (default)
# DFS: 0 = Disabled, 1 = Enabled (default)
@@ -179,6 +190,8 @@ Sif_UseFwXtraInterface=1
# ChipCfg_GetGpsWeekFloor=0
Agnss_IsGloAidingEnable=0
+Agnss_IsGalAidingEnable=0
+Agnss_IsBdsAidingEnable=0
SETCaps_IsOtdoa=1
SETCaps_IsLpp=1
SETCaps_SuplUT1=20
@@ -213,16 +226,20 @@ UP_LocTech_Requirements=0
SpotLogger_Allowed=0
# GNSS power values in "mW"
-SingleBandAcqPower=69
-MultiBandAcqPower=90
-SingleBandFullTrkPower=55
-MultiBandFullTrkPower=70
-SingleBandDutyCycleTrkPower=50
-MultiBandDutyCycleTrkPower=65
-SingleBandNmTrkPower=20
-MultiBandNmTrkPower=28
-SingleBandUdTrkPower=14
-MultiBandUdTrkPower=18
+SingleBandAcq=474
+MultiBandAcq=586
+SingleBandFullTrkNm=432
+SingleBandFullTrkUd=390
+MultiBandFullTrkNm=572
+MultiBandFullTrkUd=509
+SingleBandDutyCycleTrkNm=390
+SingleBandDutyCycleTrkUd=355
+MultiBandDutyCycleTrkNm=509
+MultiBandDutyCycleTrkUd=453
+SingleBandVddGnssNmTrk=145
+MultiBandVddGnssNmTrk=187
+SingleBandVddGnssUdTrk=103
+MultiBandVddGnssUdTrk=131
path_delay_glo_12fx_cm = -5076,-5076,-5064,-5022,-4982,-4916,-4879,-4800,-4704,-4647,-4628,-4573,-4522,-4493
path_delay_gps_2fx_cm = 12371
@@ -318,10 +335,14 @@ ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
# KDDI
GNSS_CARRIER_ID=6
+ENABLE_CAPS_OTDOA=0
ENABLE_LPP_CP=0
ENABLE_LPP_UP=1
ENABLE_LPPE_CP=0
ENABLE_LPPE_UP=3
+ENABLE_2G_UP_CAPS_MSA=0
+ENABLE_3G_UP_CAPS_MSA=0
+ENABLE_4G_UP_CAPS_MSA=0
# SBM
GNSS_CARRIER_ID=7
ENABLE_LPP_CP=0
diff --git a/location/komodo/user/gps.cfg b/location/komodo/user/gps.cfg
index 948aa28e..fbc206ee 100644
--- a/location/komodo/user/gps.cfg
+++ b/location/komodo/user/gps.cfg
@@ -23,17 +23,17 @@ ChipCfg_VDR_high_end_Distance = 200
ChipCfg_VDR_low_end_Distance = 200
ChipCfg_VDR_high_end_Time = 20
ChipCfg_VDR_low_end_Time = 20
-Chip_Configuration_AidingConfiguration=0x00020046
+Chip_Configuration_AidingConfiguration=0x000200C6
Chip_Configuration_RefClkControl=0x24
Chip_Configuration_DCXO_CrystalType=0x11
Chip_Configuration_GNSSConstConstraintDef = 0x60FF
LocTech_Constraints = 0x60FF
Chip_Configuration_RfMiscCtrl = 0x80008001
Chip_Configuration_ntn_option=2
-bdsUsedInUSPolicy=2
-sbasUsedInUSPolicy=2
-qzssUsedInUSPolicy=2
-navicUsedInUSPolicy=2
+bdsUsedPolicy=2
+sbasUsedPolicy=2
+qzssUsedPolicy=2
+navicUsedPolicy=2
Chip_Configuration_FeatureCfg_DVS = 1
Chip_Configuration_FeatureCfg_DFS = 1
Chip_Configuration_FeatureCfg_MTPL = 0
@@ -44,6 +44,8 @@ UseRtcForAiding=1
additional_rtc_uncertainty_ms=10
Sif_UseFwXtraInterface=1
Agnss_IsGloAidingEnable=0
+Agnss_IsGalAidingEnable=0
+Agnss_IsBdsAidingEnable=0
SETCaps_IsOtdoa=1
SETCaps_IsLpp=1
SETCaps_SuplUT1=20
@@ -70,16 +72,20 @@ UP_LocTech_PrimaryConst=0
UP_LocTech_Constraints=1
UP_LocTech_Requirements=0
SpotLogger_Allowed=0
-SingleBandAcqPower=69
-MultiBandAcqPower=90
-SingleBandFullTrkPower=55
-MultiBandFullTrkPower=70
-SingleBandDutyCycleTrkPower=50
-MultiBandDutyCycleTrkPower=65
-SingleBandNmTrkPower=20
-MultiBandNmTrkPower=28
-SingleBandUdTrkPower=14
-MultiBandUdTrkPower=18
+SingleBandAcq=474
+MultiBandAcq=586
+SingleBandFullTrkNm=432
+SingleBandFullTrkUd=390
+MultiBandFullTrkNm=572
+MultiBandFullTrkUd=509
+SingleBandDutyCycleTrkNm=390
+SingleBandDutyCycleTrkUd=355
+MultiBandDutyCycleTrkNm=509
+MultiBandDutyCycleTrkUd=453
+SingleBandVddGnssNmTrk=145
+MultiBandVddGnssNmTrk=187
+SingleBandVddGnssUdTrk=103
+MultiBandVddGnssUdTrk=131
path_delay_glo_12fx_cm = -5185,-5158,-5112,-5111,-5031,-4972,-4900,-4823,-4765,-4714,-4625,-4613,-4553,-4553
path_delay_gps_2fx_cm = 12378
path_delay_bds_4fx_cm = 168
@@ -88,6 +94,7 @@ RfPathLossDb_Ap=3520
RfPathLossDb_Cp=3520
RfPathLossDb_L5_Ap=3700
RfPathLossDb_L5_Cp=3700
+NmeaBitmask=0x010003fff
IsUseEntireRespTime911=1
isForceHighAccuracyMode=1
cp_partial_reset_disable=1
@@ -155,10 +162,14 @@ ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
GNSS_CARRIER_ID=6
+ENABLE_CAPS_OTDOA=0
ENABLE_LPP_CP=0
ENABLE_LPP_UP=1
ENABLE_LPPE_CP=0
ENABLE_LPPE_UP=3
+ENABLE_2G_UP_CAPS_MSA=0
+ENABLE_3G_UP_CAPS_MSA=0
+ENABLE_4G_UP_CAPS_MSA=0
GNSS_CARRIER_ID=7
ENABLE_LPP_CP=0
diff --git a/location/komodo/userdebug/gps.cfg b/location/komodo/userdebug/gps.cfg
index 1bc603f0..7435ddf8 100644
--- a/location/komodo/userdebug/gps.cfg
+++ b/location/komodo/userdebug/gps.cfg
@@ -62,8 +62,17 @@ ChipCfg_VDR_low_end_Distance = 200
ChipCfg_VDR_high_end_Time = 20
ChipCfg_VDR_low_end_Time = 20
+# 0x01 = Precise time aiding
+# 0x02 = Coarse time aiding *
+# 0x04 = Local time aiding *
+# 0x08 = CP time aiding
+# 0x10 = Frequency counter aiding
+# 0x20 = Frequency non-counter aiding
+# 0x40 = CP Frequency aiding *
+# 0x80 = Extend BE collection *
+# 0xFFFF0000 Frequency aiding PPM mask (example - 0x00020000 is .2PPM)
### temporarily disable precise time aiding ###
-Chip_Configuration_AidingConfiguration=0x00020046
+Chip_Configuration_AidingConfiguration=0x000200C6
# set shared reference clock for freq aiding (0x20)
# enable dcxo (0x04)
@@ -120,13 +129,15 @@ Chip_Configuration_RfMiscCtrl = 0x80008001
#Chip_Configuration_ntn_option=2 means turning GNSS off during NTN blackout period.
Chip_Configuration_ntn_option=2
-# Disable BDS in the U.S.
-# 0-enabled (default), 1-disabled, 2-auto(disabled in US)
-#gloUsedInUSPolicy=2
-bdsUsedInUSPolicy=2
-sbasUsedInUSPolicy=2
-qzssUsedInUSPolicy=2
-navicUsedInUSPolicy=2
+# Certain constellation permission overriding LocTech config setting: only to possibly
+# disallow constellations allowed in LocTech, not vice versa. Note: GPS and GAL are
+# allowed in all markets so no such overriding.
+# 0: not to override (default), 1-disabled, 2- disabled if in US
+#gloUsedPolicy=2
+bdsUsedPolicy=2
+sbasUsedPolicy=2
+qzssUsedPolicy=2
+navicUsedPolicy=2
# DVS: 0 = Disabled, 1 = Enabled (default)
# DFS: 0 = Disabled, 1 = Enabled (default)
@@ -179,6 +190,8 @@ Sif_UseFwXtraInterface=1
# ChipCfg_GetGpsWeekFloor=0
Agnss_IsGloAidingEnable=0
+Agnss_IsGalAidingEnable=0
+Agnss_IsBdsAidingEnable=0
SETCaps_IsOtdoa=1
SETCaps_IsLpp=1
SETCaps_SuplUT1=20
@@ -213,16 +226,20 @@ UP_LocTech_Requirements=0
SpotLogger_Allowed=0
# GNSS power values in "mW"
-SingleBandAcqPower=69
-MultiBandAcqPower=90
-SingleBandFullTrkPower=55
-MultiBandFullTrkPower=70
-SingleBandDutyCycleTrkPower=50
-MultiBandDutyCycleTrkPower=65
-SingleBandNmTrkPower=20
-MultiBandNmTrkPower=28
-SingleBandUdTrkPower=14
-MultiBandUdTrkPower=18
+SingleBandAcq=474
+MultiBandAcq=586
+SingleBandFullTrkNm=432
+SingleBandFullTrkUd=390
+MultiBandFullTrkNm=572
+MultiBandFullTrkUd=509
+SingleBandDutyCycleTrkNm=390
+SingleBandDutyCycleTrkUd=355
+MultiBandDutyCycleTrkNm=509
+MultiBandDutyCycleTrkUd=453
+SingleBandVddGnssNmTrk=145
+MultiBandVddGnssNmTrk=187
+SingleBandVddGnssUdTrk=103
+MultiBandVddGnssUdTrk=131
path_delay_glo_12fx_cm = -5185,-5158,-5112,-5111,-5031,-4972,-4900,-4823,-4765,-4714,-4625,-4613,-4553,-4553
path_delay_gps_2fx_cm = 12378
@@ -318,10 +335,14 @@ ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
# KDDI
GNSS_CARRIER_ID=6
+ENABLE_CAPS_OTDOA=0
ENABLE_LPP_CP=0
ENABLE_LPP_UP=1
ENABLE_LPPE_CP=0
ENABLE_LPPE_UP=3
+ENABLE_2G_UP_CAPS_MSA=0
+ENABLE_3G_UP_CAPS_MSA=0
+ENABLE_4G_UP_CAPS_MSA=0
# SBM
GNSS_CARRIER_ID=7
ENABLE_LPP_CP=0
diff --git a/location/ripcurrent24/user/gps.cfg b/location/ripcurrent24/user/gps.cfg
index b783875b..a5ebd11d 100644
--- a/location/ripcurrent24/user/gps.cfg
+++ b/location/ripcurrent24/user/gps.cfg
@@ -23,17 +23,17 @@ ChipCfg_VDR_high_end_Distance = 200
ChipCfg_VDR_low_end_Distance = 200
ChipCfg_VDR_high_end_Time = 20
ChipCfg_VDR_low_end_Time = 20
-Chip_Configuration_AidingConfiguration=0x00020046
+Chip_Configuration_AidingConfiguration=0x000200C6
Chip_Configuration_RefClkControl=0x24
Chip_Configuration_DCXO_CrystalType=0x11
Chip_Configuration_GNSSConstConstraintDef = 0x60FF
LocTech_Constraints = 0x60FF
Chip_Configuration_RfMiscCtrl = 0x80008001
Chip_Configuration_ntn_option=2
-bdsUsedInUSPolicy=2
-sbasUsedInUSPolicy=2
-qzssUsedInUSPolicy=2
-navicUsedInUSPolicy=2
+bdsUsedPolicy=2
+sbasUsedPolicy=2
+qzssUsedPolicy=2
+navicUsedPolicy=2
Chip_Configuration_FeatureCfg_DVS = 1
Chip_Configuration_FeatureCfg_DFS = 1
Chip_Configuration_FeatureCfg_MTPL = 0
@@ -44,6 +44,8 @@ UseRtcForAiding=1
additional_rtc_uncertainty_ms=10
Sif_UseFwXtraInterface=1
Agnss_IsGloAidingEnable=0
+Agnss_IsGalAidingEnable=0
+Agnss_IsBdsAidingEnable=0
SETCaps_IsOtdoa=1
SETCaps_IsLpp=1
SETCaps_SuplUT1=20
@@ -70,16 +72,21 @@ UP_LocTech_PrimaryConst=0
UP_LocTech_Constraints=1
UP_LocTech_Requirements=0
SpotLogger_Allowed=0
-SingleBandAcqPower=69
-MultiBandAcqPower=90
-SingleBandFullTrkPower=55
-MultiBandFullTrkPower=70
-SingleBandDutyCycleTrkPower=50
-MultiBandDutyCycleTrkPower=65
-SingleBandNmTrkPower=20
-MultiBandNmTrkPower=28
-SingleBandUdTrkPower=14
-MultiBandUdTrkPower=18
+SingleBandAcq=474
+MultiBandAcq=586
+SingleBandFullTrkNm=432
+SingleBandFullTrkUd=390
+MultiBandFullTrkNm=572
+MultiBandFullTrkUd=509
+SingleBandDutyCycleTrkNm=390
+SingleBandDutyCycleTrkUd=355
+MultiBandDutyCycleTrkNm=509
+MultiBandDutyCycleTrkUd=453
+SingleBandVddGnssNmTrk=145
+MultiBandVddGnssNmTrk=187
+SingleBandVddGnssUdTrk=103
+MultiBandVddGnssUdTrk=131
+NmeaBitmask=0x010003fff
IsUseEntireRespTime911=1
isForceHighAccuracyMode=1
cp_partial_reset_disable=1
@@ -147,10 +154,14 @@ ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
GNSS_CARRIER_ID=6
+ENABLE_CAPS_OTDOA=0
ENABLE_LPP_CP=0
ENABLE_LPP_UP=1
ENABLE_LPPE_CP=0
ENABLE_LPPE_UP=3
+ENABLE_2G_UP_CAPS_MSA=0
+ENABLE_3G_UP_CAPS_MSA=0
+ENABLE_4G_UP_CAPS_MSA=0
GNSS_CARRIER_ID=7
ENABLE_LPP_CP=0
diff --git a/location/ripcurrent24/userdebug/gps.cfg b/location/ripcurrent24/userdebug/gps.cfg
index 71378a73..9b82be3c 100644
--- a/location/ripcurrent24/userdebug/gps.cfg
+++ b/location/ripcurrent24/userdebug/gps.cfg
@@ -62,8 +62,17 @@ ChipCfg_VDR_low_end_Distance = 200
ChipCfg_VDR_high_end_Time = 20
ChipCfg_VDR_low_end_Time = 20
+# 0x01 = Precise time aiding
+# 0x02 = Coarse time aiding *
+# 0x04 = Local time aiding *
+# 0x08 = CP time aiding
+# 0x10 = Frequency counter aiding
+# 0x20 = Frequency non-counter aiding
+# 0x40 = CP Frequency aiding *
+# 0x80 = Extend BE collection *
+# 0xFFFF0000 Frequency aiding PPM mask (example - 0x00020000 is .2PPM)
### temporarily disable precise time aiding ###
-Chip_Configuration_AidingConfiguration=0x00020046
+Chip_Configuration_AidingConfiguration=0x000200C6
# set shared reference clock for freq aiding (0x20)
# enable dcxo (0x04)
@@ -120,13 +129,15 @@ Chip_Configuration_RfMiscCtrl = 0x80008001
#Chip_Configuration_ntn_option=2 means turning GNSS off during NTN blackout period.
Chip_Configuration_ntn_option=2
-# Disable BDS in the U.S.
-# 0-enabled (default), 1-disabled, 2-auto(disabled in US)
-#gloUsedInUSPolicy=2
-bdsUsedInUSPolicy=2
-sbasUsedInUSPolicy=2
-qzssUsedInUSPolicy=2
-navicUsedInUSPolicy=2
+# Certain constellation permission overriding LocTech config setting: only to possibly
+# disallow constellations allowed in LocTech, not vice versa. Note: GPS and GAL are
+# allowed in all markets so no such overriding.
+# 0: not to override (default), 1-disabled, 2- disabled if in US
+#gloUsedPolicy=2
+bdsUsedPolicy=2
+sbasUsedPolicy=2
+qzssUsedPolicy=2
+navicUsedPolicy=2
# DVS: 0 = Disabled, 1 = Enabled (default)
# DFS: 0 = Disabled, 1 = Enabled (default)
@@ -179,6 +190,8 @@ Sif_UseFwXtraInterface=1
# ChipCfg_GetGpsWeekFloor=0
Agnss_IsGloAidingEnable=0
+Agnss_IsGalAidingEnable=0
+Agnss_IsBdsAidingEnable=0
SETCaps_IsOtdoa=1
SETCaps_IsLpp=1
SETCaps_SuplUT1=20
@@ -213,16 +226,20 @@ UP_LocTech_Requirements=0
SpotLogger_Allowed=0
# GNSS power values in "mW"
-SingleBandAcqPower=69
-MultiBandAcqPower=90
-SingleBandFullTrkPower=55
-MultiBandFullTrkPower=70
-SingleBandDutyCycleTrkPower=50
-MultiBandDutyCycleTrkPower=65
-SingleBandNmTrkPower=20
-MultiBandNmTrkPower=28
-SingleBandUdTrkPower=14
-MultiBandUdTrkPower=18
+SingleBandAcq=474
+MultiBandAcq=586
+SingleBandFullTrkNm=432
+SingleBandFullTrkUd=390
+MultiBandFullTrkNm=572
+MultiBandFullTrkUd=509
+SingleBandDutyCycleTrkNm=390
+SingleBandDutyCycleTrkUd=355
+MultiBandDutyCycleTrkNm=509
+MultiBandDutyCycleTrkUd=453
+SingleBandVddGnssNmTrk=145
+MultiBandVddGnssNmTrk=187
+SingleBandVddGnssUdTrk=103
+MultiBandVddGnssUdTrk=131
NmeaBitmask=0x010003fff
@@ -309,10 +326,14 @@ ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
# KDDI
GNSS_CARRIER_ID=6
+ENABLE_CAPS_OTDOA=0
ENABLE_LPP_CP=0
ENABLE_LPP_UP=1
ENABLE_LPPE_CP=0
ENABLE_LPPE_UP=3
+ENABLE_2G_UP_CAPS_MSA=0
+ENABLE_3G_UP_CAPS_MSA=0
+ENABLE_4G_UP_CAPS_MSA=0
# SBM
GNSS_CARRIER_ID=7
ENABLE_LPP_CP=0
diff --git a/location/ripcurrentpro/user/gps.cfg b/location/ripcurrentpro/user/gps.cfg
index b783875b..a5ebd11d 100644
--- a/location/ripcurrentpro/user/gps.cfg
+++ b/location/ripcurrentpro/user/gps.cfg
@@ -23,17 +23,17 @@ ChipCfg_VDR_high_end_Distance = 200
ChipCfg_VDR_low_end_Distance = 200
ChipCfg_VDR_high_end_Time = 20
ChipCfg_VDR_low_end_Time = 20
-Chip_Configuration_AidingConfiguration=0x00020046
+Chip_Configuration_AidingConfiguration=0x000200C6
Chip_Configuration_RefClkControl=0x24
Chip_Configuration_DCXO_CrystalType=0x11
Chip_Configuration_GNSSConstConstraintDef = 0x60FF
LocTech_Constraints = 0x60FF
Chip_Configuration_RfMiscCtrl = 0x80008001
Chip_Configuration_ntn_option=2
-bdsUsedInUSPolicy=2
-sbasUsedInUSPolicy=2
-qzssUsedInUSPolicy=2
-navicUsedInUSPolicy=2
+bdsUsedPolicy=2
+sbasUsedPolicy=2
+qzssUsedPolicy=2
+navicUsedPolicy=2
Chip_Configuration_FeatureCfg_DVS = 1
Chip_Configuration_FeatureCfg_DFS = 1
Chip_Configuration_FeatureCfg_MTPL = 0
@@ -44,6 +44,8 @@ UseRtcForAiding=1
additional_rtc_uncertainty_ms=10
Sif_UseFwXtraInterface=1
Agnss_IsGloAidingEnable=0
+Agnss_IsGalAidingEnable=0
+Agnss_IsBdsAidingEnable=0
SETCaps_IsOtdoa=1
SETCaps_IsLpp=1
SETCaps_SuplUT1=20
@@ -70,16 +72,21 @@ UP_LocTech_PrimaryConst=0
UP_LocTech_Constraints=1
UP_LocTech_Requirements=0
SpotLogger_Allowed=0
-SingleBandAcqPower=69
-MultiBandAcqPower=90
-SingleBandFullTrkPower=55
-MultiBandFullTrkPower=70
-SingleBandDutyCycleTrkPower=50
-MultiBandDutyCycleTrkPower=65
-SingleBandNmTrkPower=20
-MultiBandNmTrkPower=28
-SingleBandUdTrkPower=14
-MultiBandUdTrkPower=18
+SingleBandAcq=474
+MultiBandAcq=586
+SingleBandFullTrkNm=432
+SingleBandFullTrkUd=390
+MultiBandFullTrkNm=572
+MultiBandFullTrkUd=509
+SingleBandDutyCycleTrkNm=390
+SingleBandDutyCycleTrkUd=355
+MultiBandDutyCycleTrkNm=509
+MultiBandDutyCycleTrkUd=453
+SingleBandVddGnssNmTrk=145
+MultiBandVddGnssNmTrk=187
+SingleBandVddGnssUdTrk=103
+MultiBandVddGnssUdTrk=131
+NmeaBitmask=0x010003fff
IsUseEntireRespTime911=1
isForceHighAccuracyMode=1
cp_partial_reset_disable=1
@@ -147,10 +154,14 @@ ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
GNSS_CARRIER_ID=6
+ENABLE_CAPS_OTDOA=0
ENABLE_LPP_CP=0
ENABLE_LPP_UP=1
ENABLE_LPPE_CP=0
ENABLE_LPPE_UP=3
+ENABLE_2G_UP_CAPS_MSA=0
+ENABLE_3G_UP_CAPS_MSA=0
+ENABLE_4G_UP_CAPS_MSA=0
GNSS_CARRIER_ID=7
ENABLE_LPP_CP=0
diff --git a/location/ripcurrentpro/userdebug/gps.cfg b/location/ripcurrentpro/userdebug/gps.cfg
index 71378a73..9b82be3c 100644
--- a/location/ripcurrentpro/userdebug/gps.cfg
+++ b/location/ripcurrentpro/userdebug/gps.cfg
@@ -62,8 +62,17 @@ ChipCfg_VDR_low_end_Distance = 200
ChipCfg_VDR_high_end_Time = 20
ChipCfg_VDR_low_end_Time = 20
+# 0x01 = Precise time aiding
+# 0x02 = Coarse time aiding *
+# 0x04 = Local time aiding *
+# 0x08 = CP time aiding
+# 0x10 = Frequency counter aiding
+# 0x20 = Frequency non-counter aiding
+# 0x40 = CP Frequency aiding *
+# 0x80 = Extend BE collection *
+# 0xFFFF0000 Frequency aiding PPM mask (example - 0x00020000 is .2PPM)
### temporarily disable precise time aiding ###
-Chip_Configuration_AidingConfiguration=0x00020046
+Chip_Configuration_AidingConfiguration=0x000200C6
# set shared reference clock for freq aiding (0x20)
# enable dcxo (0x04)
@@ -120,13 +129,15 @@ Chip_Configuration_RfMiscCtrl = 0x80008001
#Chip_Configuration_ntn_option=2 means turning GNSS off during NTN blackout period.
Chip_Configuration_ntn_option=2
-# Disable BDS in the U.S.
-# 0-enabled (default), 1-disabled, 2-auto(disabled in US)
-#gloUsedInUSPolicy=2
-bdsUsedInUSPolicy=2
-sbasUsedInUSPolicy=2
-qzssUsedInUSPolicy=2
-navicUsedInUSPolicy=2
+# Certain constellation permission overriding LocTech config setting: only to possibly
+# disallow constellations allowed in LocTech, not vice versa. Note: GPS and GAL are
+# allowed in all markets so no such overriding.
+# 0: not to override (default), 1-disabled, 2- disabled if in US
+#gloUsedPolicy=2
+bdsUsedPolicy=2
+sbasUsedPolicy=2
+qzssUsedPolicy=2
+navicUsedPolicy=2
# DVS: 0 = Disabled, 1 = Enabled (default)
# DFS: 0 = Disabled, 1 = Enabled (default)
@@ -179,6 +190,8 @@ Sif_UseFwXtraInterface=1
# ChipCfg_GetGpsWeekFloor=0
Agnss_IsGloAidingEnable=0
+Agnss_IsGalAidingEnable=0
+Agnss_IsBdsAidingEnable=0
SETCaps_IsOtdoa=1
SETCaps_IsLpp=1
SETCaps_SuplUT1=20
@@ -213,16 +226,20 @@ UP_LocTech_Requirements=0
SpotLogger_Allowed=0
# GNSS power values in "mW"
-SingleBandAcqPower=69
-MultiBandAcqPower=90
-SingleBandFullTrkPower=55
-MultiBandFullTrkPower=70
-SingleBandDutyCycleTrkPower=50
-MultiBandDutyCycleTrkPower=65
-SingleBandNmTrkPower=20
-MultiBandNmTrkPower=28
-SingleBandUdTrkPower=14
-MultiBandUdTrkPower=18
+SingleBandAcq=474
+MultiBandAcq=586
+SingleBandFullTrkNm=432
+SingleBandFullTrkUd=390
+MultiBandFullTrkNm=572
+MultiBandFullTrkUd=509
+SingleBandDutyCycleTrkNm=390
+SingleBandDutyCycleTrkUd=355
+MultiBandDutyCycleTrkNm=509
+MultiBandDutyCycleTrkUd=453
+SingleBandVddGnssNmTrk=145
+MultiBandVddGnssNmTrk=187
+SingleBandVddGnssUdTrk=103
+MultiBandVddGnssUdTrk=131
NmeaBitmask=0x010003fff
@@ -309,10 +326,14 @@ ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
# KDDI
GNSS_CARRIER_ID=6
+ENABLE_CAPS_OTDOA=0
ENABLE_LPP_CP=0
ENABLE_LPP_UP=1
ENABLE_LPPE_CP=0
ENABLE_LPPE_UP=3
+ENABLE_2G_UP_CAPS_MSA=0
+ENABLE_3G_UP_CAPS_MSA=0
+ENABLE_4G_UP_CAPS_MSA=0
# SBM
GNSS_CARRIER_ID=7
ENABLE_LPP_CP=0
diff --git a/location/tokay/user/gps.cfg b/location/tokay/user/gps.cfg
index c5897c31..d3da4a2d 100644
--- a/location/tokay/user/gps.cfg
+++ b/location/tokay/user/gps.cfg
@@ -23,17 +23,17 @@ ChipCfg_VDR_high_end_Distance = 200
ChipCfg_VDR_low_end_Distance = 200
ChipCfg_VDR_high_end_Time = 20
ChipCfg_VDR_low_end_Time = 20
-Chip_Configuration_AidingConfiguration=0x00020046
+Chip_Configuration_AidingConfiguration=0x000200C6
Chip_Configuration_RefClkControl=0x24
Chip_Configuration_DCXO_CrystalType=0x11
Chip_Configuration_GNSSConstConstraintDef = 0x60FF
LocTech_Constraints = 0x60FF
Chip_Configuration_RfMiscCtrl = 0x80008001
Chip_Configuration_ntn_option=2
-bdsUsedInUSPolicy=2
-sbasUsedInUSPolicy=2
-qzssUsedInUSPolicy=2
-navicUsedInUSPolicy=2
+bdsUsedPolicy=2
+sbasUsedPolicy=2
+qzssUsedPolicy=2
+navicUsedPolicy=2
Chip_Configuration_FeatureCfg_DVS = 1
Chip_Configuration_FeatureCfg_DFS = 1
Chip_Configuration_FeatureCfg_MTPL = 0
@@ -44,6 +44,8 @@ UseRtcForAiding=1
additional_rtc_uncertainty_ms=10
Sif_UseFwXtraInterface=1
Agnss_IsGloAidingEnable=0
+Agnss_IsGalAidingEnable=0
+Agnss_IsBdsAidingEnable=0
SETCaps_IsOtdoa=1
SETCaps_IsLpp=1
SETCaps_SuplUT1=20
@@ -70,16 +72,20 @@ UP_LocTech_PrimaryConst=0
UP_LocTech_Constraints=1
UP_LocTech_Requirements=0
SpotLogger_Allowed=0
-SingleBandAcqPower=69
-MultiBandAcqPower=90
-SingleBandFullTrkPower=55
-MultiBandFullTrkPower=70
-SingleBandDutyCycleTrkPower=50
-MultiBandDutyCycleTrkPower=65
-SingleBandNmTrkPower=20
-MultiBandNmTrkPower=28
-SingleBandUdTrkPower=14
-MultiBandUdTrkPower=18
+SingleBandAcq=474
+MultiBandAcq=586
+SingleBandFullTrkNm=432
+SingleBandFullTrkUd=390
+MultiBandFullTrkNm=572
+MultiBandFullTrkUd=509
+SingleBandDutyCycleTrkNm=390
+SingleBandDutyCycleTrkUd=355
+MultiBandDutyCycleTrkNm=509
+MultiBandDutyCycleTrkUd=453
+SingleBandVddGnssNmTrk=145
+MultiBandVddGnssNmTrk=187
+SingleBandVddGnssUdTrk=103
+MultiBandVddGnssUdTrk=131
path_delay_glo_12fx_cm = -5166,-5149,-5097,-5104,-5021,-4992,-4936,-4854,-4776,-4719,-4656,-4619,-4581,-4544
path_delay_gps_2fx_cm = 12368
path_delay_bds_4fx_cm = 164
@@ -88,6 +94,7 @@ RfPathLossDb_Ap=3550
RfPathLossDb_Cp=3550
RfPathLossDb_L5_Ap=3870
RfPathLossDb_L5_Cp=3870
+NmeaBitmask=0x010003fff
IsUseEntireRespTime911=1
isForceHighAccuracyMode=1
cp_partial_reset_disable=1
@@ -155,10 +162,14 @@ ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
GNSS_CARRIER_ID=6
+ENABLE_CAPS_OTDOA=0
ENABLE_LPP_CP=0
ENABLE_LPP_UP=1
ENABLE_LPPE_CP=0
ENABLE_LPPE_UP=3
+ENABLE_2G_UP_CAPS_MSA=0
+ENABLE_3G_UP_CAPS_MSA=0
+ENABLE_4G_UP_CAPS_MSA=0
GNSS_CARRIER_ID=7
ENABLE_LPP_CP=0
diff --git a/location/tokay/userdebug/gps.cfg b/location/tokay/userdebug/gps.cfg
index 3467d104..1c7e2c40 100644
--- a/location/tokay/userdebug/gps.cfg
+++ b/location/tokay/userdebug/gps.cfg
@@ -62,8 +62,17 @@ ChipCfg_VDR_low_end_Distance = 200
ChipCfg_VDR_high_end_Time = 20
ChipCfg_VDR_low_end_Time = 20
+# 0x01 = Precise time aiding
+# 0x02 = Coarse time aiding *
+# 0x04 = Local time aiding *
+# 0x08 = CP time aiding
+# 0x10 = Frequency counter aiding
+# 0x20 = Frequency non-counter aiding
+# 0x40 = CP Frequency aiding *
+# 0x80 = Extend BE collection *
+# 0xFFFF0000 Frequency aiding PPM mask (example - 0x00020000 is .2PPM)
### temporarily disable precise time aiding ###
-Chip_Configuration_AidingConfiguration=0x00020046
+Chip_Configuration_AidingConfiguration=0x000200C6
# set shared reference clock for freq aiding (0x20)
# enable dcxo (0x04)
@@ -120,13 +129,15 @@ Chip_Configuration_RfMiscCtrl = 0x80008001
#Chip_Configuration_ntn_option=2 means turning GNSS off during NTN blackout period.
Chip_Configuration_ntn_option=2
-# Disable BDS in the U.S.
-# 0-enabled (default), 1-disabled, 2-auto(disabled in US)
-#gloUsedInUSPolicy=2
-bdsUsedInUSPolicy=2
-sbasUsedInUSPolicy=2
-qzssUsedInUSPolicy=2
-navicUsedInUSPolicy=2
+# Certain constellation permission overriding LocTech config setting: only to possibly
+# disallow constellations allowed in LocTech, not vice versa. Note: GPS and GAL are
+# allowed in all markets so no such overriding.
+# 0: not to override (default), 1-disabled, 2- disabled if in US
+#gloUsedPolicy=2
+bdsUsedPolicy=2
+sbasUsedPolicy=2
+qzssUsedPolicy=2
+navicUsedPolicy=2
# DVS: 0 = Disabled, 1 = Enabled (default)
# DFS: 0 = Disabled, 1 = Enabled (default)
@@ -179,6 +190,8 @@ Sif_UseFwXtraInterface=1
# ChipCfg_GetGpsWeekFloor=0
Agnss_IsGloAidingEnable=0
+Agnss_IsGalAidingEnable=0
+Agnss_IsBdsAidingEnable=0
SETCaps_IsOtdoa=1
SETCaps_IsLpp=1
SETCaps_SuplUT1=20
@@ -213,16 +226,20 @@ UP_LocTech_Requirements=0
SpotLogger_Allowed=0
# GNSS power values in "mW"
-SingleBandAcqPower=69
-MultiBandAcqPower=90
-SingleBandFullTrkPower=55
-MultiBandFullTrkPower=70
-SingleBandDutyCycleTrkPower=50
-MultiBandDutyCycleTrkPower=65
-SingleBandNmTrkPower=20
-MultiBandNmTrkPower=28
-SingleBandUdTrkPower=14
-MultiBandUdTrkPower=18
+SingleBandAcq=474
+MultiBandAcq=586
+SingleBandFullTrkNm=432
+SingleBandFullTrkUd=390
+MultiBandFullTrkNm=572
+MultiBandFullTrkUd=509
+SingleBandDutyCycleTrkNm=390
+SingleBandDutyCycleTrkUd=355
+MultiBandDutyCycleTrkNm=509
+MultiBandDutyCycleTrkUd=453
+SingleBandVddGnssNmTrk=145
+MultiBandVddGnssNmTrk=187
+SingleBandVddGnssUdTrk=103
+MultiBandVddGnssUdTrk=131
path_delay_glo_12fx_cm = -5166,-5149,-5097,-5104,-5021,-4992,-4936,-4854,-4776,-4719,-4656,-4619,-4581,-4544
path_delay_gps_2fx_cm = 12368
@@ -318,10 +335,14 @@ ENABLE_LPP_UP=1
ENABLE_LPPE_UP=3
# KDDI
GNSS_CARRIER_ID=6
+ENABLE_CAPS_OTDOA=0
ENABLE_LPP_CP=0
ENABLE_LPP_UP=1
ENABLE_LPPE_CP=0
ENABLE_LPPE_UP=3
+ENABLE_2G_UP_CAPS_MSA=0
+ENABLE_3G_UP_CAPS_MSA=0
+ENABLE_4G_UP_CAPS_MSA=0
# SBM
GNSS_CARRIER_ID=7
ENABLE_LPP_CP=0
diff --git a/manifest.xml b/manifest.xml
deleted file mode 100644
index 18109c63..00000000
--- a/manifest.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
- android.hardware.audio
- hwbinder
- 7.1
-
- IDevicesFactory
- default
-
-
-
- android.hardware.audio.effect
- hwbinder
- 7.0
-
- IEffectsFactory
- default
-
-
-
- android.hardware.soundtrigger
- hwbinder
- 2.3
-
- ISoundTriggerHw
- default
-
-
-
- android.hardware.media.omx
- hwbinder
- 1.0
-
- IOmx
- default
-
-
- IOmxStore
- default
-
-
-
- android.hardware.graphics.allocator
- hwbinder
- 4.0
-
- IAllocator
- default
-
-
-
- android.hardware.graphics.composer
- hwbinder
- 2.4
-
- IComposer
- default
-
-
-
- android.hardware.renderscript
- passthrough
- 1.0
-
- IDevice
- default
-
-
-
- android.hardware.dumpstate
- hwbinder
- 1.1
-
- IDumpstateDevice
- default
-
-
-
- android.hardware.bluetooth.audio
- hwbinder
- 2.1
-
- IBluetoothAudioProvidersFactory
- default
-
-
-
- android.hardware.boot
- hwbinder
- @1.2::IBootControl/default
-
-
- android.hardware.neuralnetworks
- hwbinder
- @1.3::IDevice/google-edgetpu
-
-
- android.hardware.health
- hwbinder
- 2.1
-
- IHealth
- default
-
-
-
- vendor.google.whitechapel.audio.audioext
- hwbinder
- 4.0
-
- IAudioExt
- default
-
-
-
-
diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json
index 8bd4dcb6..14b12756 100644
--- a/perf/powerhint-caiman.json
+++ b/perf/powerhint-caiman.json
@@ -888,6 +888,26 @@
"ResetOnInit": true,
"Type": "Property"
},
+ {
+ "Name": "ntc_critical_trip",
+ "Path": "/dev/thermal/tz-by-name/quiet_therm/trip_point_1_temp",
+ "Values": [
+ "60000",
+ "70000"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true
+ },
+ {
+ "Name": "ntc_hot_trip",
+ "Path": "/dev/thermal/tz-by-name/quiet_therm/trip_point_2_temp",
+ "Values": [
+ "65000",
+ "75000"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true
+ },
{
"Name": "MIFTargetLoad",
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
@@ -993,6 +1013,16 @@
"WriteOnly": true,
"ResetOnInit": false
},
+ {
+ "Name": "AAModeProperty",
+ "Path": "vendor.powerhal.mode.aa",
+ "Values": [
+ "1",
+ "0"
+ ],
+ "ResetOnInit": true,
+ "Type": "Property"
+ },
{
"Name": "KswapdUclaimMin",
"Path": "/sys/kernel/vendor_mm/kswapd_uclamp_min",
@@ -1248,7 +1278,7 @@
{
"PowerHint": "LAUNCH",
"Node": "TARampupMultiplier",
- "Duration": 0,
+ "Duration": 5000,
"Value": "4"
},
{
@@ -1344,7 +1374,7 @@
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "TARampupMultiplier",
- "Duration": 0,
+ "Duration": 2000,
"Value": "4"
},
{
@@ -3214,20 +3244,8 @@
"Value": "1"
},
{
- "PowerHint": "REFRESH_120FPS",
- "Node": "TAUClampBoost",
- "Duration": 0,
- "Value": "1"
- },
- {
- "PowerHint": "REFRESH_60FPS",
- "Node": "TAUClampBoost",
- "Duration": 0,
- "Value": "1"
- },
- {
- "PowerHint": "ADPF_DISABLE_TA_BOOST",
- "Node": "TAUClampBoost",
+ "PowerHint": "AUTOMOTIVE_PROJECTION",
+ "Node": "AAModeProperty",
"Duration": 0,
"Value": "1"
},
@@ -3272,6 +3290,18 @@
"Duration": 0,
"Value": "170"
},
+ {
+ "PowerHint": "DISPLAY_IDLE",
+ "Type": "MaskHint",
+ "Value":"DISPLAY_UPDATE_IMMINENT",
+ "EnableProperty": "vendor.powerhal.mode.aa"
+ },
+ {
+ "PowerHint": "DISPLAY_IDLE",
+ "Type": "MaskHint",
+ "Value":"CPU_LOAD_RESET",
+ "EnableProperty": "vendor.powerhal.mode.aa"
+ },
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "CPULittleClusterDownRateLimitUs",
@@ -3416,6 +3446,18 @@
"Duration": 0,
"Value": "1"
},
+ {
+ "PowerHint": "THERMAL_ShutdownMode_EMERGENCY",
+ "Node": "ntc_critical_trip",
+ "Duration": 0,
+ "Value": "70000"
+ },
+ {
+ "PowerHint": "THERMAL_ShutdownMode_EMERGENCY",
+ "Node": "ntc_hot_trip",
+ "Duration": 0,
+ "Value": "75000"
+ },
{
"PowerHint": "GAME",
"Node": "PMU_POLL",
diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json
index 965bb30c..ea477534 100644
--- a/perf/powerhint-komodo.json
+++ b/perf/powerhint-komodo.json
@@ -888,6 +888,26 @@
"ResetOnInit": true,
"Type": "Property"
},
+ {
+ "Name": "ntc_critical_trip",
+ "Path": "/dev/thermal/tz-by-name/quiet_therm/trip_point_1_temp",
+ "Values": [
+ "60000",
+ "70000"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true
+ },
+ {
+ "Name": "ntc_hot_trip",
+ "Path": "/dev/thermal/tz-by-name/quiet_therm/trip_point_2_temp",
+ "Values": [
+ "65000",
+ "75000"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true
+ },
{
"Name": "MIFTargetLoad",
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
@@ -993,6 +1013,16 @@
"WriteOnly": true,
"ResetOnInit": false
},
+ {
+ "Name": "AAModeProperty",
+ "Path": "vendor.powerhal.mode.aa",
+ "Values": [
+ "1",
+ "0"
+ ],
+ "ResetOnInit": true,
+ "Type": "Property"
+ },
{
"Name": "KswapdUclaimMin",
"Path": "/sys/kernel/vendor_mm/kswapd_uclamp_min",
@@ -1248,7 +1278,7 @@
{
"PowerHint": "LAUNCH",
"Node": "TARampupMultiplier",
- "Duration": 0,
+ "Duration": 5000,
"Value": "4"
},
{
@@ -1344,7 +1374,7 @@
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "TARampupMultiplier",
- "Duration": 0,
+ "Duration": 2000,
"Value": "4"
},
{
@@ -3214,20 +3244,8 @@
"Value": "1"
},
{
- "PowerHint": "REFRESH_120FPS",
- "Node": "TAUClampBoost",
- "Duration": 0,
- "Value": "1"
- },
- {
- "PowerHint": "REFRESH_60FPS",
- "Node": "TAUClampBoost",
- "Duration": 0,
- "Value": "1"
- },
- {
- "PowerHint": "ADPF_DISABLE_TA_BOOST",
- "Node": "TAUClampBoost",
+ "PowerHint": "AUTOMOTIVE_PROJECTION",
+ "Node": "AAModeProperty",
"Duration": 0,
"Value": "1"
},
@@ -3272,6 +3290,18 @@
"Duration": 0,
"Value": "170"
},
+ {
+ "PowerHint": "DISPLAY_IDLE",
+ "Type": "MaskHint",
+ "Value":"DISPLAY_UPDATE_IMMINENT",
+ "EnableProperty": "vendor.powerhal.mode.aa"
+ },
+ {
+ "PowerHint": "DISPLAY_IDLE",
+ "Type": "MaskHint",
+ "Value":"CPU_LOAD_RESET",
+ "EnableProperty": "vendor.powerhal.mode.aa"
+ },
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "CPULittleClusterDownRateLimitUs",
@@ -3416,6 +3446,18 @@
"Duration": 0,
"Value": "1"
},
+ {
+ "PowerHint": "THERMAL_ShutdownMode_EMERGENCY",
+ "Node": "ntc_critical_trip",
+ "Duration": 0,
+ "Value": "70000"
+ },
+ {
+ "PowerHint": "THERMAL_ShutdownMode_EMERGENCY",
+ "Node": "ntc_hot_trip",
+ "Duration": 0,
+ "Value": "75000"
+ },
{
"PowerHint": "GAME",
"Node": "PMU_POLL",
diff --git a/perf/powerhint-ripcurrent24.json b/perf/powerhint-ripcurrent24.json
index d1a2e484..a0c7e452 100644
--- a/perf/powerhint-ripcurrent24.json
+++ b/perf/powerhint-ripcurrent24.json
@@ -1597,24 +1597,6 @@
"Duration": 0,
"Value": "0"
},
- {
- "PowerHint": "REFRESH_120FPS",
- "Node": "TAUClampBoost",
- "Duration": 0,
- "Value": "1"
- },
- {
- "PowerHint": "REFRESH_60FPS",
- "Node": "TAUClampBoost",
- "Duration": 0,
- "Value": "1"
- },
- {
- "PowerHint": "ADPF_DISABLE_TA_BOOST",
- "Node": "TAUClampBoost",
- "Duration": 0,
- "Value": "1"
- },
{
"PowerHint": "DISPLAY_IDLE",
"Node": "FGPreferIdle",
diff --git a/perf/powerhint-ripcurrentpro.json b/perf/powerhint-ripcurrentpro.json
index 274b0e9f..a48f13c2 100644
--- a/perf/powerhint-ripcurrentpro.json
+++ b/perf/powerhint-ripcurrentpro.json
@@ -2911,24 +2911,6 @@
"Duration": 0,
"Value": "1"
},
- {
- "PowerHint": "REFRESH_120FPS",
- "Node": "TAUClampBoost",
- "Duration": 0,
- "Value": "1"
- },
- {
- "PowerHint": "REFRESH_60FPS",
- "Node": "TAUClampBoost",
- "Duration": 0,
- "Value": "1"
- },
- {
- "PowerHint": "ADPF_DISABLE_TA_BOOST",
- "Node": "TAUClampBoost",
- "Duration": 0,
- "Value": "1"
- },
{
"PowerHint": "DISPLAY_IDLE",
"Node": "FGPreferIdle",
diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json
index 42e17193..99dcd736 100644
--- a/perf/powerhint-tokay.json
+++ b/perf/powerhint-tokay.json
@@ -888,6 +888,26 @@
"ResetOnInit": true,
"Type": "Property"
},
+ {
+ "Name": "ntc_critical_trip",
+ "Path": "/dev/thermal/tz-by-name/quiet_therm/trip_point_1_temp",
+ "Values": [
+ "60000",
+ "70000"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true
+ },
+ {
+ "Name": "ntc_hot_trip",
+ "Path": "/dev/thermal/tz-by-name/quiet_therm/trip_point_2_temp",
+ "Values": [
+ "65000",
+ "75000"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true
+ },
{
"Name": "MIFTargetLoad",
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
@@ -993,6 +1013,16 @@
"WriteOnly": true,
"ResetOnInit": false
},
+ {
+ "Name": "AAModeProperty",
+ "Path": "vendor.powerhal.mode.aa",
+ "Values": [
+ "1",
+ "0"
+ ],
+ "ResetOnInit": true,
+ "Type": "Property"
+ },
{
"Name": "KswapdUclaimMin",
"Path": "/sys/kernel/vendor_mm/kswapd_uclamp_min",
@@ -1248,7 +1278,7 @@
{
"PowerHint": "LAUNCH",
"Node": "TARampupMultiplier",
- "Duration": 0,
+ "Duration": 5000,
"Value": "4"
},
{
@@ -1344,7 +1374,7 @@
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "TARampupMultiplier",
- "Duration": 0,
+ "Duration": 2000,
"Value": "4"
},
{
@@ -3214,20 +3244,8 @@
"Value": "1"
},
{
- "PowerHint": "REFRESH_120FPS",
- "Node": "TAUClampBoost",
- "Duration": 0,
- "Value": "1"
- },
- {
- "PowerHint": "REFRESH_60FPS",
- "Node": "TAUClampBoost",
- "Duration": 0,
- "Value": "1"
- },
- {
- "PowerHint": "ADPF_DISABLE_TA_BOOST",
- "Node": "TAUClampBoost",
+ "PowerHint": "AUTOMOTIVE_PROJECTION",
+ "Node": "AAModeProperty",
"Duration": 0,
"Value": "1"
},
@@ -3272,6 +3290,18 @@
"Duration": 0,
"Value": "170"
},
+ {
+ "PowerHint": "DISPLAY_IDLE",
+ "Type": "MaskHint",
+ "Value":"DISPLAY_UPDATE_IMMINENT",
+ "EnableProperty": "vendor.powerhal.mode.aa"
+ },
+ {
+ "PowerHint": "DISPLAY_IDLE",
+ "Type": "MaskHint",
+ "Value":"CPU_LOAD_RESET",
+ "EnableProperty": "vendor.powerhal.mode.aa"
+ },
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "CPULittleClusterDownRateLimitUs",
@@ -3416,6 +3446,18 @@
"Duration": 0,
"Value": "1"
},
+ {
+ "PowerHint": "THERMAL_ShutdownMode_EMERGENCY",
+ "Node": "ntc_critical_trip",
+ "Duration": 0,
+ "Value": "70000"
+ },
+ {
+ "PowerHint": "THERMAL_ShutdownMode_EMERGENCY",
+ "Node": "ntc_hot_trip",
+ "Duration": 0,
+ "Value": "75000"
+ },
{
"PowerHint": "GAME",
"Node": "PMU_POLL",
diff --git a/perf/powerhint-zuma.json b/perf/powerhint-zuma.json
index 1a75c204..3a18db1f 100644
--- a/perf/powerhint-zuma.json
+++ b/perf/powerhint-zuma.json
@@ -2372,24 +2372,6 @@
"Duration": 0,
"Value": "1"
},
- {
- "PowerHint": "REFRESH_120FPS",
- "Node": "TAUClampBoost",
- "Duration": 0,
- "Value": "1"
- },
- {
- "PowerHint": "REFRESH_60FPS",
- "Node": "TAUClampBoost",
- "Duration": 0,
- "Value": "1"
- },
- {
- "PowerHint": "ADPF_DISABLE_TA_BOOST",
- "Node": "TAUClampBoost",
- "Duration": 0,
- "Value": "1"
- },
{
"PowerHint": "DISPLAY_IDLE",
"Node": "FGPreferIdle",
diff --git a/thermal/thermal_info_config_caiman.json b/thermal/thermal_info_config_caiman.json
index 6369238a..a177c704 100644
--- a/thermal/thermal_info_config_caiman.json
+++ b/thermal/thermal_info_config_caiman.json
@@ -49,6 +49,11 @@
"Name":"battery",
"Type":"BATTERY",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 60.0],
+ "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.9],
+ "SendCallback": true,
+ "TripPointIgnorable": true,
+ "PollingDelay": 60000,
+ "PassiveDelay": 60000,
"Multiplier":0.001
},
{
diff --git a/thermal/thermal_info_config_komodo.json b/thermal/thermal_info_config_komodo.json
index e1ae5722..48793e79 100644
--- a/thermal/thermal_info_config_komodo.json
+++ b/thermal/thermal_info_config_komodo.json
@@ -49,6 +49,11 @@
"Name":"battery",
"Type":"BATTERY",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 60.0],
+ "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.9],
+ "SendCallback": true,
+ "TripPointIgnorable": true,
+ "PollingDelay": 60000,
+ "PassiveDelay": 60000,
"Multiplier":0.001
},
{
diff --git a/thermal/thermal_info_config_lpm_caiman.json b/thermal/thermal_info_config_lpm_caiman.json
new file mode 100644
index 00000000..543f27d8
--- /dev/null
+++ b/thermal/thermal_info_config_lpm_caiman.json
@@ -0,0 +1,85 @@
+{
+ "Include": ["thermal_info_config.json"],
+ "Sensors":[
+ {
+ "Name":"SkinShutdownModeHighPower",
+ "Type":"UNKNOWN",
+ "VirtualSensor":true,
+ "Formula":"COUNT_THRESHOLD",
+ "Combination":["VIRTUAL-SKIN", "PARTIAL_SYSTEM_POWER"],
+ "CombinationType":["SENSOR", "ODPM"],
+ "Coefficient":[55000.0, 1000.0],
+ "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0],
+ "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9],
+ "Multiplier":1
+ },
+ {
+ "Name":"BatteryShutdownModeHighPower",
+ "Type":"UNKNOWN",
+ "VirtualSensor":true,
+ "Formula":"COUNT_THRESHOLD",
+ "Combination":["battery", "PARTIAL_SYSTEM_POWER"],
+ "CombinationType":["SENSOR", "ODPM"],
+ "Coefficient":[60000.0, 1000.0],
+ "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0],
+ "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9],
+ "Multiplier":1
+ },
+ {
+ "Name":"battery",
+ "Type":"BATTERY",
+ "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 60.0, 65.0],
+ "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 5.0, 1.9],
+ "SeverityReference": "BatteryShutdownModeHighPower",
+ "SendCallback": true,
+ "TripPointIgnorable": true,
+ "PollingDelay": 60000,
+ "PassiveDelay": 60000,
+ "Multiplier":0.001
+ },
+ {
+ "Name":"ShutdownMode",
+ "Type":"UNKNOWN",
+ "VirtualSensor":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"],
+ "Coefficient":[1.0],
+ "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 55.0, "NAN"],
+ "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 4.9, 1.9],
+ "SeverityReference": "battery",
+ "Multiplier":0.001,
+ "SendCallback": true,
+ "SendPowerHint": true,
+ "PollingDelay":300000,
+ "PassiveDelay":7000
+ },
+ {
+ "Name": "VIRTUAL-SKIN",
+ "Type": "SKIN",
+ "Version": "6.1",
+ "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-MODEL-UPDATED", "VIRTUAL-SKIN-LEGACY"],
+ "Coefficient": [1.0, "VIRTUAL-SKIN-LEGACY-SHUTDOWN"],
+ "CoefficientType":["CONSTANT", "SENSOR"],
+ "HotThreshold": ["NAN", 39.0, 43.0, 45.0, 46.5, 52.0, 65.0],
+ "HotHysteresis": [0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
+ "SeverityReference": "SkinShutdownModeHighPower",
+ "Multiplier": 0.001,
+ "SendCallback": true,
+ "PollingDelay": 300000,
+ "PassiveDelay": 7000,
+ "PredictorInfo": {
+ "Sensor": "VIRTUAL-SKIN-LSTM-MODEL"
+ },
+ "BindedCdevInfo": [
+ {
+ "CdevRequest": "gxp-cooling",
+ "LimitInfo": [0, 0, 0, 0, 0, 6, 6]
+ }
+ ]
+ }
+ ]
+}
diff --git a/thermal/thermal_info_config_lpm_komodo.json b/thermal/thermal_info_config_lpm_komodo.json
new file mode 100644
index 00000000..543f27d8
--- /dev/null
+++ b/thermal/thermal_info_config_lpm_komodo.json
@@ -0,0 +1,85 @@
+{
+ "Include": ["thermal_info_config.json"],
+ "Sensors":[
+ {
+ "Name":"SkinShutdownModeHighPower",
+ "Type":"UNKNOWN",
+ "VirtualSensor":true,
+ "Formula":"COUNT_THRESHOLD",
+ "Combination":["VIRTUAL-SKIN", "PARTIAL_SYSTEM_POWER"],
+ "CombinationType":["SENSOR", "ODPM"],
+ "Coefficient":[55000.0, 1000.0],
+ "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0],
+ "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9],
+ "Multiplier":1
+ },
+ {
+ "Name":"BatteryShutdownModeHighPower",
+ "Type":"UNKNOWN",
+ "VirtualSensor":true,
+ "Formula":"COUNT_THRESHOLD",
+ "Combination":["battery", "PARTIAL_SYSTEM_POWER"],
+ "CombinationType":["SENSOR", "ODPM"],
+ "Coefficient":[60000.0, 1000.0],
+ "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0],
+ "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9],
+ "Multiplier":1
+ },
+ {
+ "Name":"battery",
+ "Type":"BATTERY",
+ "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 60.0, 65.0],
+ "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 5.0, 1.9],
+ "SeverityReference": "BatteryShutdownModeHighPower",
+ "SendCallback": true,
+ "TripPointIgnorable": true,
+ "PollingDelay": 60000,
+ "PassiveDelay": 60000,
+ "Multiplier":0.001
+ },
+ {
+ "Name":"ShutdownMode",
+ "Type":"UNKNOWN",
+ "VirtualSensor":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"],
+ "Coefficient":[1.0],
+ "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 55.0, "NAN"],
+ "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 4.9, 1.9],
+ "SeverityReference": "battery",
+ "Multiplier":0.001,
+ "SendCallback": true,
+ "SendPowerHint": true,
+ "PollingDelay":300000,
+ "PassiveDelay":7000
+ },
+ {
+ "Name": "VIRTUAL-SKIN",
+ "Type": "SKIN",
+ "Version": "6.1",
+ "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-MODEL-UPDATED", "VIRTUAL-SKIN-LEGACY"],
+ "Coefficient": [1.0, "VIRTUAL-SKIN-LEGACY-SHUTDOWN"],
+ "CoefficientType":["CONSTANT", "SENSOR"],
+ "HotThreshold": ["NAN", 39.0, 43.0, 45.0, 46.5, 52.0, 65.0],
+ "HotHysteresis": [0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
+ "SeverityReference": "SkinShutdownModeHighPower",
+ "Multiplier": 0.001,
+ "SendCallback": true,
+ "PollingDelay": 300000,
+ "PassiveDelay": 7000,
+ "PredictorInfo": {
+ "Sensor": "VIRTUAL-SKIN-LSTM-MODEL"
+ },
+ "BindedCdevInfo": [
+ {
+ "CdevRequest": "gxp-cooling",
+ "LimitInfo": [0, 0, 0, 0, 0, 6, 6]
+ }
+ ]
+ }
+ ]
+}
diff --git a/thermal/thermal_info_config_lpm_tokay.json b/thermal/thermal_info_config_lpm_tokay.json
new file mode 100644
index 00000000..dab369e0
--- /dev/null
+++ b/thermal/thermal_info_config_lpm_tokay.json
@@ -0,0 +1,85 @@
+{
+ "Include": ["thermal_info_config.json"],
+ "Sensors":[
+ {
+ "Name":"SkinShutdownModeHighPower",
+ "Type":"UNKNOWN",
+ "VirtualSensor":true,
+ "Formula":"COUNT_THRESHOLD",
+ "Combination":["VIRTUAL-SKIN", "PARTIAL_SYSTEM_POWER"],
+ "CombinationType":["SENSOR", "ODPM"],
+ "Coefficient":[55000.0, 1000.0],
+ "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0],
+ "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9],
+ "Multiplier":1
+ },
+ {
+ "Name":"BatteryShutdownModeHighPower",
+ "Type":"UNKNOWN",
+ "VirtualSensor":true,
+ "Formula":"COUNT_THRESHOLD",
+ "Combination":["battery", "PARTIAL_SYSTEM_POWER"],
+ "CombinationType":["SENSOR", "ODPM"],
+ "Coefficient":[60000.0, 1000.0],
+ "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0],
+ "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9],
+ "Multiplier":1
+ },
+ {
+ "Name":"battery",
+ "Type":"BATTERY",
+ "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 60.0, 65.0],
+ "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 5.0, 1.9],
+ "SeverityReference": "BatteryShutdownModeHighPower",
+ "SendCallback": true,
+ "TripPointIgnorable": true,
+ "PollingDelay": 60000,
+ "PassiveDelay": 60000,
+ "Multiplier":0.001
+ },
+ {
+ "Name":"ShutdownMode",
+ "Type":"UNKNOWN",
+ "VirtualSensor":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"],
+ "Coefficient":[1.0],
+ "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 55.0, "NAN"],
+ "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 4.9, 1.9],
+ "SeverityReference": "battery",
+ "Multiplier":0.001,
+ "SendCallback": true,
+ "SendPowerHint": true,
+ "PollingDelay":300000,
+ "PassiveDelay":7000
+ },
+ {
+ "Name": "VIRTUAL-SKIN",
+ "Type": "SKIN",
+ "Version": "6.1",
+ "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-MODEL-UPDATED", "VIRTUAL-SKIN-LEGACY"],
+ "Coefficient": [1.0, "VIRTUAL-SKIN-LEGACY-SHUTDOWN"],
+ "CoefficientType":["CONSTANT", "SENSOR"],
+ "HotThreshold": ["NAN", 39.0, 43.0, 45.0, 46.5, 52.0, 60.0],
+ "HotHysteresis": [0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
+ "SeverityReference": "SkinShutdownModeHighPower",
+ "Multiplier": 0.001,
+ "SendCallback": true,
+ "PollingDelay": 300000,
+ "PassiveDelay": 7000,
+ "PredictorInfo": {
+ "Sensor": "VIRTUAL-SKIN-LSTM-MODEL"
+ },
+ "BindedCdevInfo": [
+ {
+ "CdevRequest": "gxp-cooling",
+ "LimitInfo": [0, 0, 0, 0, 0, 6, 6]
+ }
+ ]
+ }
+ ]
+}
diff --git a/thermal/thermal_info_config_ripcurrent24.json b/thermal/thermal_info_config_ripcurrent24.json
index f081771b..6d05ad76 100644
--- a/thermal/thermal_info_config_ripcurrent24.json
+++ b/thermal/thermal_info_config_ripcurrent24.json
@@ -60,434 +60,6 @@
"VrThreshold":"NAN",
"Multiplier":0.001
},
- {
- "Name":"battery_cycle",
- "Type":"BCL_VOLTAGE",
- "HotThreshold":[
- "NAN",
- "NAN",
- "NAN",
- "NAN",
- "NAN",
- "NAN",
- "NAN"
- ],
- "VrThreshold":"NAN",
- "Multiplier":1,
- "Monitor":false
- },
- {
- "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"
- ],
- "VrThreshold":"NAN",
- "Multiplier":1,
- "Monitor":true,
- "SendPowerHint":true
- },
- {
- "Name":"soc",
- "Type":"BCL_PERCENTAGE",
- "HotThreshold":[
- "NAN",
- 80,
- "NAN",
- "NAN",
- "NAN",
- "NAN",
- "NAN"
- ],
- "VrThreshold":"NAN",
- "Multiplier":1
- },
- {
- "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
- ],
- "VrThreshold":"NAN",
- "Multiplier":1,
- "Monitor":true,
- "PollingDelay":0,
- "PassiveDelay":1000,
- "BindedCdevInfo": [
- {
- "CdevRequest": "thermal-cpufreq-2",
- "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
- },
- {
- "CdevRequest": "thermal-gpufreq-0",
- "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
- }
- ]
- },
- {
- "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"
- ],
- "VrThreshold":"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
- ],
- "VrThreshold":"NAN",
- "Multiplier":1,
- "Monitor":true,
- "PollingDelay":0,
- "PassiveDelay":1000,
- "BindedCdevInfo": [
- {
- "CdevRequest": "thermal-cpufreq-2",
- "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
- },
- {
- "CdevRequest": "thermal-gpufreq-0",
- "LimitInfo": [0, 0, 0, 0, 2, 2, 2]
- }
- ]
- },
- {
- "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
- ],
- "VrThreshold":"NAN",
- "Multiplier":1,
- "Monitor":true,
- "PollingDelay":0,
- "PassiveDelay":1000,
- "BindedCdevInfo": [
- {
- "CdevRequest": "thermal-cpufreq-2",
- "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
- },
- {
- "CdevRequest": "thermal-gpufreq-0",
- "LimitInfo": [0, 0, 0, 0, 4, 4, 4]
- }
- ]
- },
- {
- "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
- ],
- "VrThreshold":"NAN",
- "Multiplier":1,
- "Monitor":true,
- "PollingDelay":0,
- "PassiveDelay":1000,
- "BindedCdevInfo": [
- {
- "CdevRequest": "thermal-cpufreq-2",
- "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
- },
- {
- "CdevRequest": "thermal-gpufreq-0",
- "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
- }
- ]
- },
- {
- "Name":"ocp_cpu1",
- "Type":"BCL_CURRENT",
- "HotThreshold":[
- "NAN",
- "NAN",
- "NAN",
- "NAN",
- 7000,
- "NAN",
- "NAN"
- ],
- "HotHysteresis":[
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 100,
- 0.0,
- 0.0
- ],
- "VrThreshold":"NAN",
- "Multiplier":1
- },
- {
- "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
- ],
- "VrThreshold":"NAN",
- "Multiplier":1
- },
- {
- "Name":"ocp_tpu",
- "Type":"BCL_CURRENT",
- "HotThreshold":[
- "NAN",
- "NAN",
- "NAN",
- "NAN",
- 10500,
- "NAN",
- "NAN"
- ],
- "HotHysteresis":[
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 100,
- 0.0,
- 0.0
- ],
- "VrThreshold":"NAN",
- "Multiplier":1
- },
- {
- "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
- ],
- "VrThreshold":"NAN",
- "Multiplier":1
- },
- {
- "Name":"soft_ocp_cpu2",
- "Type":"BCL_CURRENT",
- "HotThreshold":[
- "NAN",
- "NAN",
- "NAN",
- "NAN",
- 9000,
- "NAN",
- "NAN"
- ],
- "HotHysteresis":[
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 100,
- 0.0,
- 0.0
- ],
- "VrThreshold":"NAN",
- "Multiplier":1
- },
- {
- "Name":"soft_ocp_cpu1",
- "Type":"BCL_CURRENT",
- "HotThreshold":[
- "NAN",
- "NAN",
- "NAN",
- "NAN",
- 7000,
- "NAN",
- "NAN"
- ],
- "HotHysteresis":[
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 100,
- 0.0,
- 0.0
- ],
- "VrThreshold":"NAN",
- "Multiplier":1
- },
- {
- "Name":"soft_ocp_tpu",
- "Type":"BCL_CURRENT",
- "HotThreshold":[
- "NAN",
- "NAN",
- "NAN",
- "NAN",
- 8500,
- "NAN",
- "NAN"
- ],
- "HotHysteresis":[
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 100,
- 0.0,
- 0.0
- ],
- "VrThreshold":"NAN",
- "Multiplier":1
- },
- {
- "Name":"soft_ocp_gpu",
- "Type":"BCL_CURRENT",
- "HotThreshold":[
- "NAN",
- "NAN",
- "NAN",
- "NAN",
- 9000,
- "NAN",
- "NAN"
- ],
- "HotHysteresis":[
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 100,
- 0.0,
- 0.0
- ],
- "VrThreshold":"NAN",
- "Multiplier":1
- },
{
"Name":"TPU",
"Type":"NPU",
diff --git a/thermal/thermal_info_config_tokay.json b/thermal/thermal_info_config_tokay.json
index 30a492c8..8c5da4a5 100644
--- a/thermal/thermal_info_config_tokay.json
+++ b/thermal/thermal_info_config_tokay.json
@@ -49,6 +49,11 @@
"Name":"battery",
"Type":"BATTERY",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 60.0],
+ "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.9],
+ "SendCallback": true,
+ "TripPointIgnorable": true,
+ "PollingDelay": 60000,
+ "PassiveDelay": 60000,
"Multiplier":0.001
},
{
diff --git a/thermal/vt_prediction_lstm_model_caiman.tflite b/thermal/vt_prediction_lstm_model_caiman.tflite
index ace7a020..4db9402a 100644
Binary files a/thermal/vt_prediction_lstm_model_caiman.tflite and b/thermal/vt_prediction_lstm_model_caiman.tflite differ
diff --git a/thermal/vt_prediction_lstm_model_komodo.tflite b/thermal/vt_prediction_lstm_model_komodo.tflite
index ccab26a3..14ecc685 100644
Binary files a/thermal/vt_prediction_lstm_model_komodo.tflite and b/thermal/vt_prediction_lstm_model_komodo.tflite differ
diff --git a/thermal/vt_prediction_lstm_model_tokay.tflite b/thermal/vt_prediction_lstm_model_tokay.tflite
index cd95c0cc..35207030 100644
Binary files a/thermal/vt_prediction_lstm_model_tokay.tflite and b/thermal/vt_prediction_lstm_model_tokay.tflite differ
diff --git a/tokay/BoardConfig.mk b/tokay/BoardConfig.mk
index 3dcfb8df..7ffde737 100644
--- a/tokay/BoardConfig.mk
+++ b/tokay/BoardConfig.mk
@@ -16,7 +16,13 @@
TARGET_BOARD_INFO_FILE := device/google/caimito/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := tokay
-TARGET_SCREEN_DENSITY := 420
+
+ifdef PHONE_CAR_BOARD_PRODUCT
+ include vendor/auto/embedded/products/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk
+else
+ TARGET_SCREEN_DENSITY := 420
+endif
+
BOARD_USES_GENERIC_AUDIO := true
USES_DEVICE_GOOGLE_CAIMITO := true
diff --git a/tokay/overlay/frameworks/base/core/res/res/values/config.xml b/tokay/overlay/frameworks/base/core/res/res/values/config.xml
index 0018e7cc..63b22958 100644
--- a/tokay/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/tokay/overlay/frameworks/base/core/res/res/values/config.xml
@@ -227,4 +227,11 @@
com.google.android.gms
+
+
+ true
+
+
+ false