diff --git a/cheetah/BoardConfig.mk b/cheetah/BoardConfig.mk
index 6f7f2d5..c5076b3 100644
--- a/cheetah/BoardConfig.mk
+++ b/cheetah/BoardConfig.mk
@@ -17,16 +17,6 @@
# Enable load module in parallel
BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
-RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_CHEETAH_RADIO_DIR)
-RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR ?= pdk# Keep this for pdk TODO: b/327119000
-RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)
-$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR))
-ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)),)
-$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk)
-else
-$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR))
-endif
-
# The modules which need to be loaded in sequential
BOARD_KERNEL_CMDLINE += fips140.load_sequential=1
BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
@@ -40,6 +30,13 @@ BOARD_KERNEL_CMDLINE += swiotlb=noforce
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/cheetah/proprietary/BoardConfigVendor.mk
include device/google/pantah-sepolicy/cheetah-sepolicy.mk
include device/google/pantah/wifi/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
diff --git a/cloudripper/BoardConfig.mk b/cloudripper/BoardConfig.mk
index d923b44..7d580f6 100644
--- a/cloudripper/BoardConfig.mk
+++ b/cloudripper/BoardConfig.mk
@@ -15,19 +15,12 @@
#
TARGET_BOARD_INFO_FILE := device/google/pantah/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := cloudripper
-RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR ?= pdk# Keep this for pdk TODO: b/327119000
-RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)
-$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR))
-ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)),)
-$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk)
-else
-$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR))
-endif
TARGET_SCREEN_DENSITY := 440
BOARD_USES_GENERIC_AUDIO := true
USES_DEVICE_GOOGLE_CLOUDRIPPER := true
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 device/google/pantah-sepolicy/cloudripper-sepolicy.mk
include device/google/pantah/wifi/BoardConfig-wifi.mk
diff --git a/device-cheetah.mk b/device-cheetah.mk
index 684eb4b..4bfe74a 100644
--- a/device-cheetah.mk
+++ b/device-cheetah.mk
@@ -17,6 +17,19 @@
# Restrict the visibility of Android.bp files to improve build analysis time
$(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
+ifdef RELEASE_GOOGLE_CHEETAH_RADIO_DIR
+RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_CHEETAH_RADIO_DIR)
+endif
+RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR ?= pdk# Keep this for pdk TODO: b/327119000
+RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)
+$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR))
+ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)),)
+$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk)
+else
+$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR))
+endif
+
+
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_CHEETAH_VERSION)
# Keeps flexibility for kasan and ufs builds
TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_CHEETAH_DIR)
@@ -453,5 +466,13 @@ PRODUCT_PRODUCT_PROPERTIES += \
ro.quick_start.device_id=cheetah
# Bluetooth device id
+# Cheetah: 0x410A
PRODUCT_PRODUCT_PROPERTIES += \
- bluetooth.device_id.product_id=20490
+ bluetooth.device_id.product_id=16650
+
+# 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
\ No newline at end of file
diff --git a/device-cloudripper.mk b/device-cloudripper.mk
index 723d350..4896cda 100644
--- a/device-cloudripper.mk
+++ b/device-cloudripper.mk
@@ -17,6 +17,16 @@
# Restrict the visibility of Android.bp files to improve build analysis time
$(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
+RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR ?= pdk# Keep this for pdk TODO: b/327119000
+RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)
+$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR))
+ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)),)
+$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk)
+else
+$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR))
+endif
+
+
# Keeps flexibility for kasan and ufs builds
TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_CHEETAH_DIR)
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_CHEETAH_DIR)/kernel-headers
diff --git a/device-panther.mk b/device-panther.mk
index a629af7..a50f2ea 100644
--- a/device-panther.mk
+++ b/device-panther.mk
@@ -17,6 +17,19 @@
# Restrict the visibility of Android.bp files to improve build analysis time
$(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
+ifdef RELEASE_GOOGLE_PANTHER_RADIO_DIR
+RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_PANTHER_RADIO_DIR)
+endif
+RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR ?= pdk# Keep this for pdk TODO: b/327119000
+RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR)
+$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR))
+ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR)),)
+$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk)
+else
+$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR))
+endif
+
+
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_PANTHER_VERSION)
# Keeps flexibility for kasan and ufs builds
TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_PANTHER_DIR)
@@ -436,5 +449,13 @@ PRODUCT_PRODUCT_PROPERTIES += \
ro.quick_start.device_id=panther
# Bluetooth device id
+# Panther: 0x4109
PRODUCT_PRODUCT_PROPERTIES += \
- bluetooth.device_id.product_id=20489
+ bluetooth.device_id.product_id=16649
+
+# 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
diff --git a/device-ravenclaw.mk b/device-ravenclaw.mk
index 19f0afc..115bdc7 100644
--- a/device-ravenclaw.mk
+++ b/device-ravenclaw.mk
@@ -17,6 +17,16 @@
# Restrict the visibility of Android.bp files to improve build analysis time
$(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
+RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR ?= pdk# Keep this for pdk TODO: b/327119000
+RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)
+$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR))
+ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)),)
+$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk)
+else
+$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR))
+endif
+
+
# Keeps flexibility for kasan and ufs builds
TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_CHEETAH_DIR)
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_CHEETAH_DIR)/kernel-headers
diff --git a/location/gps.6.1.xml.c10 b/location/gps.6.1.xml.c10
index 4458163..d582845 100644
--- a/location/gps.6.1.xml.c10
+++ b/location/gps.6.1.xml.c10
@@ -100,6 +100,8 @@
/>
diff --git a/location/gps.6.1.xml.p10 b/location/gps.6.1.xml.p10
index 55f7ef2..d132bfa 100644
--- a/location/gps.6.1.xml.p10
+++ b/location/gps.6.1.xml.p10
@@ -100,6 +100,8 @@
/>
diff --git a/location/gps.xml b/location/gps.xml
index 32e1ddc..e091ba3 100644
--- a/location/gps.xml
+++ b/location/gps.xml
@@ -100,6 +100,8 @@
/>
diff --git a/location/gps.xml.c10 b/location/gps.xml.c10
index 4421513..ddfcd71 100644
--- a/location/gps.xml.c10
+++ b/location/gps.xml.c10
@@ -100,6 +100,8 @@
/>
diff --git a/location/gps.xml.p10 b/location/gps.xml.p10
index 29cb0e1..5ccf3ee 100644
--- a/location/gps.xml.p10
+++ b/location/gps.xml.p10
@@ -100,6 +100,8 @@
/>
diff --git a/location/gps_user.6.1.xml.c10 b/location/gps_user.6.1.xml.c10
index 378c9de..2aa6fc4 100644
--- a/location/gps_user.6.1.xml.c10
+++ b/location/gps_user.6.1.xml.c10
@@ -98,6 +98,8 @@
/>
diff --git a/location/gps_user.6.1.xml.p10 b/location/gps_user.6.1.xml.p10
index 018d204..ebbc2f7 100644
--- a/location/gps_user.6.1.xml.p10
+++ b/location/gps_user.6.1.xml.p10
@@ -98,6 +98,8 @@
/>
diff --git a/location/gps_user.xml b/location/gps_user.xml
index c2b3c57..463f991 100644
--- a/location/gps_user.xml
+++ b/location/gps_user.xml
@@ -98,6 +98,8 @@
/>
diff --git a/location/gps_user.xml.c10 b/location/gps_user.xml.c10
index 4acdcbf..a3c3879 100644
--- a/location/gps_user.xml.c10
+++ b/location/gps_user.xml.c10
@@ -98,6 +98,8 @@
/>
diff --git a/location/gps_user.xml.p10 b/location/gps_user.xml.p10
index 7aaa0a7..a0a0103 100644
--- a/location/gps_user.xml.p10
+++ b/location/gps_user.xml.p10
@@ -98,6 +98,8 @@
/>
diff --git a/manifest.xml b/manifest.xml
index e01d156..18109c6 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -48,15 +48,6 @@
default
-
- android.hardware.graphics.mapper
- passthrough
- 4.0
-
- IMapper
- default
-
-
android.hardware.graphics.composer
hwbinder
diff --git a/panther/BoardConfig.mk b/panther/BoardConfig.mk
index 34c72d7..efb9dd1 100644
--- a/panther/BoardConfig.mk
+++ b/panther/BoardConfig.mk
@@ -21,16 +21,6 @@ BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
BOARD_KERNEL_CMDLINE += fips140.load_sequential=1
BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
-RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_PANTHER_RADIO_DIR)
-RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR ?= pdk# Keep this for pdk TODO: b/327119000
-RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR)
-$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR))
-ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR)),)
-$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk)
-else
-$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_PANTHER_DIR))
-endif
-
ifdef PHONE_CAR_BOARD_PRODUCT
include device/google_car/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk
else
@@ -45,6 +35,13 @@ BOARD_KERNEL_CMDLINE += swiotlb=noforce
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/panther/proprietary/BoardConfigVendor.mk
include device/google/pantah-sepolicy/panther-sepolicy.mk
include device/google/pantah/wifi/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
diff --git a/powerhint-cheetah-a0.json b/powerhint-cheetah-a0.json
index 46267a3..0d0a92c 100644
--- a/powerhint-cheetah-a0.json
+++ b/powerhint-cheetah-a0.json
@@ -773,30 +773,6 @@
"Type": "DoHint",
"Value": "LAUNCH_PMU"
},
- {
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDCPUSET_RESTRICTED"
- },
- {
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDHIGHCPUSETCPUS_RESTRICTED"
- },
- {
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDMIDCPUSETCPUS_RESTRICTED"
- },
- {
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDMIDHIGHCPUSETCPUS_RESTRICTED"
- },
{
"PowerHint": "LAUNCH_PMU",
"Node": "PMU_POLL",
diff --git a/powerhint-panther-a0.json b/powerhint-panther-a0.json
index 4616902..d75dfca 100644
--- a/powerhint-panther-a0.json
+++ b/powerhint-panther-a0.json
@@ -762,30 +762,6 @@
"Type": "DoHint",
"Value": "LAUNCH_PMU"
},
- {
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDCPUSET_RESTRICTED"
- },
- {
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDHIGHCPUSETCPUS_RESTRICTED"
- },
- {
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDMIDCPUSETCPUS_RESTRICTED"
- },
- {
- "PowerHint": "LAUNCH",
- "Type": "DoHint",
- "EnableProperty": "vendor.powerhal.camerarunning",
- "Value": "CDMIDHIGHCPUSETCPUS_RESTRICTED"
- },
{
"PowerHint": "LAUNCH_PMU",
"Node": "PMU_POLL",
diff --git a/ravenclaw/BoardConfig.mk b/ravenclaw/BoardConfig.mk
index 0ead4dc..0ae59a1 100644
--- a/ravenclaw/BoardConfig.mk
+++ b/ravenclaw/BoardConfig.mk
@@ -15,19 +15,12 @@
#
TARGET_BOARD_INFO_FILE := device/google/pantah/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := ravenclaw
-RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR ?= pdk# Keep this for pdk TODO: b/327119000
-RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)
-$(call soong_config_set,pantah_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR))
-ifneq ($(filter trunk%, $(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR)),)
-$(call soong_config_set,pantah_fingerprint,prebuilt_dir,trunk)
-else
-$(call soong_config_set,pantah_fingerprint,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_CHEETAH_DIR))
-endif
TARGET_SCREEN_DENSITY := 560
BOARD_USES_GENERIC_AUDIO := true
USES_DEVICE_GOOGLE_CLOUDRIPPER := true
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 device/google/pantah-sepolicy/ravenclaw-sepolicy.mk
include device/google/pantah/wifi/BoardConfig-wifi.mk