1
0
mirror of https://github.com/topjohnwu/Magisk.git synced 2025-03-29 09:32:15 +00:00

Support Kirin 960 devices

Close 
This commit is contained in:
topjohnwu 2018-12-31 16:09:01 +08:00
parent d9ace35c3e
commit 1df65940b9

@ -92,7 +92,7 @@ static void parse_cmdline(struct cmdline *cmd) {
} else if (strncmp(tok, "enter_recovery", 14) == 0) {
sscanf(tok, "enter_recovery=%d", &enter_recovery);
} else if (strncmp(tok, "androidboot.hardware", 20) == 0) {
kirin = strstr(tok, "kirin") != nullptr;
kirin = strstr(tok, "kirin") || strstr(tok, "hi3660");
}
}