rhodep: Override properties for rhodep variants

Co-authored-by: Deivid21 <david.parra.ignacio@gmail.com>
Change-Id: I94c0410c4d2b0cfc40a8b9cd7decc5485ab2c5a0
This commit is contained in:
Michael Bestas
2025-09-06 01:46:34 -04:00
committed by Deivid21
parent 8f5e00893d
commit d5eda741bb
4 changed files with 28 additions and 0 deletions

View File

@@ -75,6 +75,10 @@ $(foreach DEVICE_SKU, $(DEVICE_SKUS), \
$(LOCAL_PATH)/permissions/unavail.android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_$(DEVICE_SKU)/unavail.android.hardware.nfc.uicc.xml \
$(LOCAL_PATH)/permissions/unavail.android.hardware.nfc.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_$(DEVICE_SKU)/unavail.android.hardware.nfc.xml)
# Properties
PRODUCT_PACKAGES += \
hardware.sku.XT2225-2.prop
# Sensors
PRODUCT_PACKAGES += \
sensors.rhodep

11
props/Android.bp Normal file
View File

@@ -0,0 +1,11 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
prebuilt_etc {
name: "hardware.sku.XT2225-2.prop",
src: "hardware.sku.XT2225-2.prop",
sub_dir: "props",
soc_specific: true,
}

View File

@@ -0,0 +1,10 @@
ro.product.system.model=moto g71s
ro.product.system_dlkm.model=moto g71s
ro.product.system_ext.model=moto g71s
ro.product.model=moto g71s
ro.product.odm.model=moto g71s
ro.product.odm_dlkm.model=moto g71s
ro.product.product.model=moto g71s
ro.product.vendor.model=moto g71s
ro.product.vendor_dlkm.model=moto g71s
ro.vendor.product.display=moto g71s

View File

@@ -13,3 +13,6 @@ ro.surface_flinger.set_idle_timer_ms=250
# Radio
ro.vendor.radio.imei.sv=26
# SKU specific properties
import /vendor/etc/props/hardware.sku.${ro.boot.hardware.sku}.prop