mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-18 05:58:30 +00:00
Fix EMUI 9 detection
This commit is contained in:
parent
228351fc13
commit
992a9ea2f9
@ -117,7 +117,7 @@ static void parse_cmdline(struct cmdline *cmd) {
|
|||||||
skip_initramfs = true;
|
skip_initramfs = true;
|
||||||
} else if (key == "androidboot.android_dt_dir") {
|
} else if (key == "androidboot.android_dt_dir") {
|
||||||
strcpy(cmd->dt_dir, value);
|
strcpy(cmd->dt_dir, value);
|
||||||
} else if (key == "entry_recovery") {
|
} else if (key == "enter_recovery") {
|
||||||
enter_recovery = value[0] == '1';
|
enter_recovery = value[0] == '1';
|
||||||
} else if (key == "androidboot.hardware") {
|
} else if (key == "androidboot.hardware") {
|
||||||
kirin = strstr(value, "kirin") || strstr(value, "hi3660");
|
kirin = strstr(value, "kirin") || strstr(value, "hi3660");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user