manager: warn about LKM mode deprecation for GKI2 kernels

This commit is contained in:
Rifat Azad
2025-05-19 00:07:05 +06:00
parent aaca0b5283
commit 7692665428
2 changed files with 5 additions and 3 deletions
@@ -331,15 +331,15 @@ private fun StatusCard(
} }
kernelVersion.isGKI() -> { kernelVersion.isGKI() -> {
Icon(Icons.Filled.AutoFixHigh, stringResource(R.string.home_not_installed)) Icon(Icons.Filled.Report, stringResource(R.string.lkm_mode_deprecated))
Column(Modifier.padding(start = 20.dp)) { Column(Modifier.padding(start = 20.dp)) {
Text( Text(
text = stringResource(R.string.home_not_installed), text = stringResource(R.string.lkm_mode_deprecated),
style = MaterialTheme.typography.titleMedium style = MaterialTheme.typography.titleMedium
) )
Spacer(Modifier.height(4.dp)) Spacer(Modifier.height(4.dp))
Text( Text(
text = stringResource(R.string.home_click_to_install), text = stringResource(R.string.lkm_alternative_suggestion),
style = MaterialTheme.typography.bodyMedium style = MaterialTheme.typography.bodyMedium
) )
} }
@@ -12,6 +12,8 @@
<string name="home">Home</string> <string name="home">Home</string>
<string name="home_not_installed">Not installed</string> <string name="home_not_installed">Not installed</string>
<string name="home_click_to_install">Click to install</string> <string name="home_click_to_install">Click to install</string>
<string name="lkm_mode_deprecated">LKM mode is now deprecated!</string>
<string name="lkm_alternative_suggestion">Install GKI kernel or integrate KernelSU Next to your device.</string>
<string name="home_working">Working</string> <string name="home_working">Working</string>
<string name="home_working_version">Version: %d</string> <string name="home_working_version">Version: %d</string>
<string name="home_superuser_count">Superusers: %d</string> <string name="home_superuser_count">Superusers: %d</string>