From ffa005e4abf71a0c1a14a8cfe8355a18d1f16616 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 26 Sep 2017 02:04:07 +0800 Subject: [PATCH] Don't patch FBE flags --- jni/magiskboot/boot_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jni/magiskboot/boot_utils.c b/jni/magiskboot/boot_utils.c index c73f6ac2b..bc683cd80 100644 --- a/jni/magiskboot/boot_utils.c +++ b/jni/magiskboot/boot_utils.c @@ -92,7 +92,7 @@ int check_verity_pattern(const char *s) { } int check_encryption_pattern(const char *s) { - const char *encrypt_list[] = { "forceencrypt", "forcefdeorfbe", "fileencryptioninline", "fileencryption", NULL }; + const char *encrypt_list[] = { "forceencrypt", "forcefdeorfbe", NULL }; for (int i = 0 ; encrypt_list[i]; ++i) { int len = strlen(encrypt_list[i]); if (strncmp(s, encrypt_list[i], len) == 0)