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.
This commit is contained in:
Jay 2022-04-30 19:35:04 -07:00 committed by GitHub
parent 39d801473b
commit b4a09c8531
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1010,6 +1010,10 @@ fi
# Disable secondary watchdogs # Disable secondary watchdogs
echo -n V > /dev/watchdog1 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 if [ "$vndk" -le 30 ];then
# On older vendor the default behavior was to disable color management # On older vendor the default behavior was to disable color management
# Don't override vendor value, merely add a fallback # Don't override vendor value, merely add a fallback