diff --git a/configs/sensors/sensor_def_qcomdev.conf b/configs/sensors/sensor_def_qcomdev.conf index 427fe59..1ce9abf 100644 --- a/configs/sensors/sensor_def_qcomdev.conf +++ b/configs/sensors/sensor_def_qcomdev.conf @@ -1114,7 +1114,7 @@ 413 0xFFFFFE94 0x00010001 #Compensation_matrix_2_1 414 0x00010144 0x00010001 #Compensation_matrix_2_2 -:property ro.hw.revision p0 +:property ro.boot.hardware.revision p0 # accel x/y/z 700 -2 0x00010001 #accel-x-axis 701 1 0x00010001 #accel-y-axis diff --git a/rootdir/etc/init.mmi.boot.sh b/rootdir/etc/init.mmi.boot.sh index ab7ac6f..83da632 100644 --- a/rootdir/etc/init.mmi.boot.sh +++ b/rootdir/etc/init.mmi.boot.sh @@ -44,7 +44,7 @@ if [ "$minor2" == "0" ]; then minor1="" fi fi -setprop ro.hw.revision p${hw%??}$minor1$minor2 +setprop ro.boot.hardware.revision p${hw%??}$minor1$minor2 unset hw cinfo m1 m2 minor1 minor2 # Let kernel know our image version/variant/crm_version diff --git a/rootdir/etc/init.mmi.touch.sh b/rootdir/etc/init.mmi.touch.sh index 26a3da7..ea71fd0 100644 --- a/rootdir/etc/init.mmi.touch.sh +++ b/rootdir/etc/init.mmi.touch.sh @@ -149,7 +149,7 @@ done unset readiness device_property=ro.hw.device -hwrev_property=ro.hw.revision +hwrev_property=ro.boot.hardware.revision firmware_path=/system/etc/firmware let dec_cfg_id_boot=0; dec_cfg_id_latest=0; diff --git a/sepolicy/property_contexts b/sepolicy/property_contexts index b3bd9a5..abc3b42 100644 --- a/sepolicy/property_contexts +++ b/sepolicy/property_contexts @@ -1,5 +1,5 @@ hw.aov.disable_hotword u:object_r:adspd_prop:s0 hw.aov.hotword_dsp_path u:object_r:adspd_prop:s0 hw.motosh.booted u:object_r:motosh_prop:s0 -ro.hw.revision u:object_r:hw_rev_prop:s0 +ro.boot.hardware.revision u:object_r:hw_rev_prop:s0 hw.touch.status u:object_r:touch_prop:s0