From 61d163657a07d43a43ed3762628d43a51091d3c9 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 23 Feb 2021 15:00:54 +0100 Subject: [PATCH] Disable secondary watchdogs. AOSP's watchdogd doesn't support multiple watchdogs. This shouldn't be an issue, since AOSP GSI obviously doesn't support it and AOSP GSI is part of certification. HOWEVER, some people use modified kernel/vendors that may break such assumptions. Anyway we can just disable it. See https://github.com/phhusson/treble_experimentations/issues/1730#issuecomment-784222396 --- rw-system.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index c853e75..ef8f28b 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -895,3 +895,6 @@ done if [ "$vndk" -le 27 ] && [ -f /vendor/bin/mnld ];then setprop persist.sys.phh.sdk_override /vendor/bin/mnld=26 fi + +# Disable secondary watchdogs +echo -n V > /dev/watchdog1