davinci: Drop SSR blobs and set SSR restart_level in init.qcom.rc

Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
This commit is contained in:
LuK1337 2019-07-11 15:32:52 +02:00 committed by Arian
parent 1a7135d93a
commit 66573bbfea
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9
3 changed files with 11 additions and 6 deletions

View File

@ -888,9 +888,6 @@ vendor/etc/init/vendor.qti.hardware.soter@1.0-service.rc
vendor/lib64/hw/vendor.qti.hardware.soter@1.0-impl.so vendor/lib64/hw/vendor.qti.hardware.soter@1.0-impl.so
vendor/lib64/vendor.qti.hardware.soter@1.0.so vendor/lib64/vendor.qti.hardware.soter@1.0.so
# SSR
vendor/bin/ssr_setup
# Thermal # Thermal
init.mi_thermald.rc:vendor/etc/init/init.mi_thermald.rc init.mi_thermald.rc:vendor/etc/init/init.mi_thermald.rc
vendor/bin/mi_thermald vendor/bin/mi_thermald

View File

@ -76,6 +76,17 @@ on early-boot
chown system system /mnt/vendor/persist/sensors/registry/config chown system system /mnt/vendor/persist/sensors/registry/config
chmod 0664 /mnt/vendor/persist/sensors/sensors_settings chmod 0664 /mnt/vendor/persist/sensors/sensors_settings
# SSR setup
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"
write /sys/bus/msm_subsys/devices/subsys7/restart_level "related"
write /sys/bus/msm_subsys/devices/subsys8/restart_level "related"
on boot on boot
chown bluetooth net_bt /sys/class/rfkill/rfkill0/state chown bluetooth net_bt /sys/class/rfkill/rfkill0/state
chown bluetooth net_bt /sys/class/rfkill/rfkill0/type chown bluetooth net_bt /sys/class/rfkill/rfkill0/type

View File

@ -45,8 +45,5 @@ telephony.lteOnCdmaDevice=1
# Recovery # Recovery
ro.recovery.ui.margin_height=48 ro.recovery.ui.margin_height=48
# SSR
persist.vendor.ssr.restart_level=ALL_ENABLE
# WiFi # WiFi
wifi.interface=wlan0 wifi.interface=wlan0