sanders: Set ro.boot.hardware.revision instead of ro.hw.revision
* Settings look for ro.boot.hardware.revision to show the hardware revision jhenrique09: Adapt to potter Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
This commit is contained in:
@@ -1114,7 +1114,7 @@
|
|||||||
413 0xFFFFFE94 0x00010001 #Compensation_matrix_2_1
|
413 0xFFFFFE94 0x00010001 #Compensation_matrix_2_1
|
||||||
414 0x00010144 0x00010001 #Compensation_matrix_2_2
|
414 0x00010144 0x00010001 #Compensation_matrix_2_2
|
||||||
|
|
||||||
:property ro.hw.revision p0
|
:property ro.boot.hardware.revision p0
|
||||||
# accel x/y/z
|
# accel x/y/z
|
||||||
700 -2 0x00010001 #accel-x-axis
|
700 -2 0x00010001 #accel-x-axis
|
||||||
701 1 0x00010001 #accel-y-axis
|
701 1 0x00010001 #accel-y-axis
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ if [ "$minor2" == "0" ]; then
|
|||||||
minor1=""
|
minor1=""
|
||||||
fi
|
fi
|
||||||
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
|
unset hw cinfo m1 m2 minor1 minor2
|
||||||
|
|
||||||
# Let kernel know our image version/variant/crm_version
|
# Let kernel know our image version/variant/crm_version
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ done
|
|||||||
unset readiness
|
unset readiness
|
||||||
|
|
||||||
device_property=ro.hw.device
|
device_property=ro.hw.device
|
||||||
hwrev_property=ro.hw.revision
|
hwrev_property=ro.boot.hardware.revision
|
||||||
firmware_path=/system/etc/firmware
|
firmware_path=/system/etc/firmware
|
||||||
|
|
||||||
let dec_cfg_id_boot=0; dec_cfg_id_latest=0;
|
let dec_cfg_id_boot=0; dec_cfg_id_latest=0;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
hw.aov.disable_hotword u:object_r:adspd_prop:s0
|
hw.aov.disable_hotword u:object_r:adspd_prop:s0
|
||||||
hw.aov.hotword_dsp_path 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
|
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
|
hw.touch.status u:object_r:touch_prop:s0
|
||||||
|
|||||||
Reference in New Issue
Block a user