From 66573bbfea592774565cc84805e4eb26aaadb3f7 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Thu, 11 Jul 2019 15:32:52 +0200 Subject: [PATCH] davinci: Drop SSR blobs and set SSR restart_level in init.qcom.rc Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4 --- proprietary-files.txt | 3 --- rootdir/etc/init.qcom.rc | 11 +++++++++++ system.prop | 3 --- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/proprietary-files.txt b/proprietary-files.txt index bbef7b0..d7bf04b 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -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/vendor.qti.hardware.soter@1.0.so -# SSR -vendor/bin/ssr_setup - # Thermal init.mi_thermald.rc:vendor/etc/init/init.mi_thermald.rc vendor/bin/mi_thermald diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index a79ff16..b9e68aa 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -76,6 +76,17 @@ on early-boot chown system system /mnt/vendor/persist/sensors/registry/config 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 chown bluetooth net_bt /sys/class/rfkill/rfkill0/state chown bluetooth net_bt /sys/class/rfkill/rfkill0/type diff --git a/system.prop b/system.prop index cd82fe8..e6cd1b8 100644 --- a/system.prop +++ b/system.prop @@ -45,8 +45,5 @@ telephony.lteOnCdmaDevice=1 # Recovery ro.recovery.ui.margin_height=48 -# SSR -persist.vendor.ssr.restart_level=ALL_ENABLE - # WiFi wifi.interface=wlan0