diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index f47f465f..3df8c823 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -606,3 +606,8 @@ on property:service.adb.root=1 restart adbd write /sys/class/android_usb/android0/enable 1 +# Limit to SoC reset (1) and independent SSR (3) +on property:persist.sys.ssr.restart_level=1 + write /sys/module/subsystem_restart/parameters/restart_level 1 +on property:persist.sys.ssr.restart_level=3 + write /sys/module/subsystem_restart/parameters/restart_level 3