diff --git a/device.mk b/device.mk index 8649318..5b809b3 100644 --- a/device.mk +++ b/device.mk @@ -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 diff --git a/properties/build_CN.prop b/properties/build_CN.prop new file mode 100644 index 0000000..978d92f --- /dev/null +++ b/properties/build_CN.prop @@ -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 \ No newline at end of file diff --git a/properties/build_GL.prop b/properties/build_GL.prop new file mode 100644 index 0000000..c921aaf --- /dev/null +++ b/properties/build_GL.prop @@ -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 \ No newline at end of file diff --git a/properties/odm.prop b/properties/odm.prop index 84e01e3..0c55b27 100644 --- a/properties/odm.prop +++ b/properties/odm.prop @@ -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 \ No newline at end of file diff --git a/properties/vendor.prop b/properties/vendor.prop index 2265d7d..12d9865 100644 --- a/properties/vendor.prop +++ b/properties/vendor.prop @@ -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