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:
Alberto97
2017-12-02 16:53:09 +01:00
committed by therootlord
parent 2bd9b6b23d
commit fb4587b977
4 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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;

View File

@@ -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