Commit 992a9ea2 authored by topjohnwu's avatar topjohnwu

Fix EMUI 9 detection

parent 228351fc
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment