sm8250-common: Workaround multisim prop setting race condition
It turns out that if we set multisim prop too late, then we end up with broken RIL for the first boot. Test: rm -rf /data/property && reboot Change-Id: I6903691ca89f99529fc6cd372179a6b10513ec93
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
#
|
||||
|
||||
on early-boot
|
||||
# Radio
|
||||
exec_start oplus-sh
|
||||
setprop persist.radio.multisim.config ${vendor.radio.multisim.config}
|
||||
|
||||
# SSR
|
||||
write /sys/bus/msm_subsys/devices/subsys0/restart_level RELATED
|
||||
write /sys/bus/msm_subsys/devices/subsys1/restart_level RELATED
|
||||
@@ -94,14 +98,9 @@ on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,none,adb && pro
|
||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
||||
write /config/usb_gadget/g1/idProduct 0x2766
|
||||
|
||||
# Radio
|
||||
on property:vendor.radio.multisim.config=*
|
||||
setprop persist.radio.multisim.config ${vendor.radio.multisim.config}
|
||||
|
||||
service oplus-sh /odm/bin/init.oplus.sh
|
||||
class late_start
|
||||
user system
|
||||
group system radio
|
||||
user root
|
||||
group root
|
||||
oneshot
|
||||
|
||||
service oplus_sensor_fb /odm/bin/oplus_sensor_fb
|
||||
|
||||
Reference in New Issue
Block a user