From b4a09c8531e0d274db413c8cbf4f130ddf928e7b Mon Sep 17 00:00:00 2001 From: Jay <46762446+starfoxdot64@users.noreply.github.com> Date: Sat, 30 Apr 2022 19:35:04 -0700 Subject: [PATCH] Update rw-system.sh for Galaxy A11 watchdog quirk Fixes a panic 100 seconds into boot, caused by /dev/watchdog0 (/dev/watchdog1 was already accounted for). Works for the Samsung Galaxy A11, US model (SM-A115U1, a11que), so it's written to play it safe and apply only to the US vendor fingerprint. --- rw-system.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index 2ac3585..33cc0fb 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -1010,6 +1010,10 @@ fi # Disable secondary watchdogs echo -n V > /dev/watchdog1 +if getprop ro.vendor.build.fingerprint | grep -iq samsung/a11que;then + echo -n V > /dev/watchdog0 +fi + if [ "$vndk" -le 30 ];then # On older vendor the default behavior was to disable color management # Don't override vendor value, merely add a fallback