Commit 61ebc335 authored by Alexander Pohl's avatar Alexander Pohl Committed by John Wu

Add hi6250 support

not only hi3660 and kirin970,980 need this, also kirin 659 does
parent 0167bd76
...@@ -268,7 +268,7 @@ void MagiskInit::load_kernel_info() { ...@@ -268,7 +268,7 @@ void MagiskInit::load_kernel_info() {
} else if (key == "enter_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") || strstr(value, "hi6250");
} }
}); });
......
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