1
mirror of https://github.com/topjohnwu/Magisk synced 2024-09-08 12:56:56 +02:00

Add hi6250 support

not only hi3660 and kirin970,980 need this, also kirin 659 does
This commit is contained in:
Alexander Pohl 2019-05-05 20:39:38 +02:00 committed by John Wu
parent 0167bd76f1
commit 61ebc335c4

View File

@ -268,7 +268,7 @@ void MagiskInit::load_kernel_info() {
} else if (key == "enter_recovery") {
enter_recovery = value[0] == '1';
} else if (key == "androidboot.hardware") {
kirin = strstr(value, "kirin") || strstr(value, "hi3660");
kirin = strstr(value, "kirin") || strstr(value, "hi3660") || strstr(value, "hi6250");
}
});