From a82f17c59499ba2c46001c5bc54f8ec5f506e5d8 Mon Sep 17 00:00:00 2001 From: Salvo Giangreco Date: Fri, 30 Aug 2024 15:58:05 +0200 Subject: [PATCH] Disable Samsung PROCA Signed-off-by: Salvo Giangreco --- scripts/boot_patch.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/boot_patch.sh b/scripts/boot_patch.sh index 2287544e2..64f3d8e07 100644 --- a/scripts/boot_patch.sh +++ b/scripts/boot_patch.sh @@ -220,6 +220,13 @@ if [ -f kernel ]; then # After: [mov w2, #-32768] ./magiskboot hexpatch kernel 821B8012 E2FF8F12 && PATCHEDKERNEL=true + # Disable Samsung PROCA + # proca_config -> proca_magisk + ./magiskboot hexpatch kernel \ + 70726F63615F636F6E66696700 \ + 70726F63615F6D616769736B00 \ + && PATCHEDKERNEL=true + # Force kernel to load rootfs for legacy SAR devices # skip_initramfs -> want_initramfs $LEGACYSAR && ./magiskboot hexpatch kernel \