We're running Android 9 on IMX8mini,
I want to add a new property value for the product, for example, in device/fsl/imx8m/evk_8mm/evk_8mm.mk:
PRODUCT_PROPERTY_OVERRIDES += \
ro.myfoo = myvalue \
ro.product.first_api_level=28
I have a debug, found above config would be stored in /vendor/build.prop on the target device, and I can find the newly-added data in /vendor/build.prop.
But, When I using getprop, I can't find ro.myfoo, just can find ro.product.first_api_level=28, why??? It's so weired.
Could someone help me?
Thanks
Hello,
This may be caused by selinux policy.
You can try to add this config in imx8m/sepolicy/property_contexts.
"
"
Hope it helps!
BR,
Ivan.