vermeer: Set HWC-specific properties

Change-Id: I111af006fca4fffa6695119663c422ccd7edab8d
Co-authored-by: danielml <daniel@danielml.dev>
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
This commit is contained in:
Jens Reidel
2024-07-29 20:47:58 +02:00
committed by Lunark :3
parent c4fbabb647
commit face0c2c71
5 changed files with 31 additions and 0 deletions

View File

@@ -36,3 +36,12 @@ PRODUCT_COPY_FILES += \
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# System properties
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/properties/build_CN.prop:$(TARGET_COPY_OUT_ODM)/etc/build_CN.prop \
$(LOCAL_PATH)/properties/build_GL.prop:$(TARGET_COPY_OUT_ODM)/etc/build_GL.prop
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/properties/build_CN.prop:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/odm/etc/build_CN.prop \
$(LOCAL_PATH)/properties/build_GL.prop:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/odm/etc/build_GL.prop

8
properties/build_CN.prop Normal file
View File

@@ -0,0 +1,8 @@
# Chinese model
bluetooth.device.default_name=Redmi K70
vendor.usb.product_string=Redmi K70
ro.product.odm.brand=Redmi
ro.product.odm.device=vermeer
ro.product.odm.manufacturer=Xiaomi
ro.product.odm.model=23113RKC6C
ro.product.odm.name=vermeer

8
properties/build_GL.prop Normal file
View File

@@ -0,0 +1,8 @@
# Global model
bluetooth.device.default_name=POCO F6 Pro
vendor.usb.product_string=POCO F6 Pro
ro.product.odm.brand=POCO
ro.product.odm.device=vermeer
ro.product.odm.manufacturer=Xiaomi
ro.product.odm.model=23113RKC6G
ro.product.odm.name=vermeer_global

View File

@@ -5,3 +5,6 @@ persist.sys.miui_resolution=1440x3200
# Fingerprint
persist.vendor.sys.fp.fod.location.X_Y=596,2758
persist.vendor.sys.fp.fod.size.width_height=248,248
# Model-specific properties
import /odm/etc/build_${ro.boot.hwc}.prop

View File

@@ -5,3 +5,6 @@ persist.vendor.fingerprint.sensor_location=720|2882|124
ro.vendor.sensors.xiaomi.double_tap=true
ro.vendor.sensors.xiaomi.single_tap=true
ro.vendor.sensors.xiaomi.udfps=true
# System properties
ro.product.property_source_order=odm,vendor,product,system_ext,system