diff --git a/native/jni/core/init.cpp b/native/jni/core/init.cpp index 8011212a1..639d03dd7 100644 --- a/native/jni/core/init.cpp +++ b/native/jni/core/init.cpp @@ -117,7 +117,7 @@ static void parse_cmdline(struct cmdline *cmd) { skip_initramfs = true; } else if (key == "androidboot.android_dt_dir") { strcpy(cmd->dt_dir, value); - } else if (key == "entry_recovery") { + } else if (key == "enter_recovery") { enter_recovery = value[0] == '1'; } else if (key == "androidboot.hardware") { kirin = strstr(value, "kirin") || strstr(value, "hi3660");