sm6250-common: rootdir: Set SSR restart level to 'RELATED'

Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
This commit is contained in:
LuK1337 2019-07-11 15:32:52 +02:00 committed by Alexander Winkowski
parent 2ad0b987fa
commit cadc3c7605
No known key found for this signature in database
GPG Key ID: 72762A66704CDE44
3 changed files with 9 additions and 4 deletions

View File

@ -815,7 +815,6 @@ vendor/bin/irsc_util
vendor/bin/pd-mapper
vendor/bin/qrtr-ns
vendor/etc/sec_config
vendor/bin/ssr_setup
vendor/lib/libdiag.so
vendor/lib/libdsutils.so
vendor/lib64/libdiag.so

View File

@ -102,6 +102,15 @@ on early-boot
chown system system /mnt/vendor/persist/data/pfm/licenses/store_4
chmod 0664 /mnt/vendor/persist/data/pfm/licenses/store_4
# SSR
write /sys/bus/msm_subsys/devices/subsys0/restart_level RELATED
write /sys/bus/msm_subsys/devices/subsys1/restart_level RELATED
write /sys/bus/msm_subsys/devices/subsys2/restart_level RELATED
write /sys/bus/msm_subsys/devices/subsys3/restart_level RELATED
write /sys/bus/msm_subsys/devices/subsys4/restart_level RELATED
write /sys/bus/msm_subsys/devices/subsys5/restart_level RELATED
write /sys/bus/msm_subsys/devices/subsys6/restart_level RELATED
on boot
chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power
chown bluetooth net_bt /sys/class/rfkill/rfkill0/type

View File

@ -23,6 +23,3 @@ persist.dbg.wfc_avail_ovr=1
# Media
media.settings.xml=/vendor/etc/media_profiles_vendor.xml
# SSR
persist.vendor.ssr.restart_level=ALL_ENABLE