diff --git a/BoardConfig.mk b/BoardConfig.mk index 477d4188a703ffdc9eb857cc7b93d861b448ddd9..696c44980093a607b53998c8652dfc257c142654 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -158,6 +158,7 @@ VENDOR_SECURITY_PATCH := 2022-09-05 # SEPolicy include device/qcom/sepolicy_vndr/SEPolicy.mk BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor +SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/private # Verified Boot BOARD_AVB_ENABLE := true diff --git a/proprietary-files.txt b/proprietary-files.txt index b987cde069e1964e208b497bd2064265f9fdf7cf..26560ea3c6ccae6f41455ec38f43d72d26bceaab 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1105,6 +1105,10 @@ 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 +# Subsystem Silent Restart (SSR) +vendor/bin/ssr_setup +vendor/bin/subsystem_ramdump + # Tct Daemon vendor/bin/tctd vendor/etc/init/tctd.rc diff --git a/sepolicy/private/property_contexts b/sepolicy/private/property_contexts new file mode 100644 index 0000000000000000000000000000000000000000..e3ea0fc1910b1961891f5271353765447eb0fb40 --- /dev/null +++ b/sepolicy/private/property_contexts @@ -0,0 +1,2 @@ +# Radio +persist.ril.sim.mcc.mnc u:object_r:radio_prop:s0 diff --git a/sepolicy/vendor/vendor_init.te b/sepolicy/vendor/vendor_init.te index 714f523192300ab99d77a2c23e0e738d13fcf7ea..615414f31c9d295a95c70e17f69b1460e1663406 100644 --- a/sepolicy/vendor/vendor_init.te +++ b/sepolicy/vendor/vendor_init.te @@ -1 +1,3 @@ get_prop(vendor_init, vendor_t2m_sys_prop) + +set_prop(vendor_init, vendor_ssr_prop) diff --git a/system.prop b/system.prop index 38efe76fe2591a65c6187e6d84e9e9e5dcf4633b..fab220d46db06a10418d67ef94dd37c5593b0095 100644 --- a/system.prop +++ b/system.prop @@ -44,6 +44,3 @@ telephony.lteOnCdmaDevice=1 # Sensors persist.vendor.sensors.enable.mag_filter=true - -# SSR -persist.vendor.ssr.restart_level=ALL_ENABLE diff --git a/vendor.prop b/vendor.prop index ff55e76350836240e4ca5212eb817e26ef1f6a90..36e731fef267ffca581815c6e61b3ebf120d252a 100644 --- a/vendor.prop +++ b/vendor.prop @@ -155,6 +155,10 @@ ro.telephony.iwlan_operation_mode=AP-assisted persist.vendor.sensors.debug.ssc_qmi_debug=true persist.vendor.sensors.allow_non_default_discovery=true +# SSR +persist.vendor.ssr.enable_ramdumps=0 +persist.vendor.ssr.restart_level=ALL_ENABLE + # Shutdown sys.vendor.shutdown.waittime=500