Add hexpatch to remove Samsung defex in kernel

Close #499
This commit is contained in:
topjohnwu 2018-08-26 22:38:13 -04:00
parent d2d5c94633
commit f6aae2b048

View File

@ -146,6 +146,16 @@ if [ -f kernel ]; then
49010054011440B93FA00F71E9000054010840B93FA00F7189000054001840B91FA00F7188010054 \ 49010054011440B93FA00F71E9000054010840B93FA00F7189000054001840B91FA00F7188010054 \
A1020054011440B93FA00F7140020054010840B93FA00F71E0010054001840B91FA00F7181010054 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 # skip_initramfs -> want_initramfs
./magiskboot --hexpatch kernel \ ./magiskboot --hexpatch kernel \
736B69705F696E697472616D6673 \ 736B69705F696E697472616D6673 \