diff --git a/scripts/boot_patch.sh b/scripts/boot_patch.sh index 73c8987d3..d498bd24c 100644 --- a/scripts/boot_patch.sh +++ b/scripts/boot_patch.sh @@ -146,6 +146,16 @@ if [ -f kernel ]; then 49010054011440B93FA00F71E9000054010840B93FA00F7189000054001840B91FA00F7188010054 \ A1020054011440B93FA00F7140020054010840B93FA00F71E0010054001840B91FA00F7181010054 + # Remove Samsung defex (A8 variant) + ./magiskboot --hexpatch kernel \ + 006044B91F040071802F005460DE41F9 \ + 006044B91F00006B802F005460DE41F9 + + # Remove Samsung defex (N9 variant) + ./magiskboot --hexpatch kernel \ + 603A46B91F0400710030005460C642F9 \ + 603A46B91F00006B0030005460C642F9 + # skip_initramfs -> want_initramfs ./magiskboot --hexpatch kernel \ 736B69705F696E697472616D6673 \