Disable Samsung PROCA

Signed-off-by: Salvo Giangreco <giangrecosalvo9@gmail.com>
This commit is contained in:
Salvo Giangreco 2024-08-30 15:58:05 +02:00 committed by John Wu
parent b38fd1ca5f
commit a82f17c594

View File

@ -220,6 +220,13 @@ if [ -f kernel ]; then
# After: [mov w2, #-32768] # After: [mov w2, #-32768]
./magiskboot hexpatch kernel 821B8012 E2FF8F12 && PATCHEDKERNEL=true ./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 # Force kernel to load rootfs for legacy SAR devices
# skip_initramfs -> want_initramfs # skip_initramfs -> want_initramfs
$LEGACYSAR && ./magiskboot hexpatch kernel \ $LEGACYSAR && ./magiskboot hexpatch kernel \