setup: drop the GrapheneOS exploit protection step

This commit is contained in:
Seb3thehacker committed 2026-10-11 11:34:06 -07:00
1 parent 261e6a719a
commit 33ed2d0653
2 files changed
+1 -22

No files matched your search

@@ -45,10 +45,6 @@ private class Step(
private fun setupSteps(onRequestCallScreening: () -> Unit) = listOf( private fun setupSteps(onRequestCallScreening: () -> Unit) = listOf(
Step("Use a car from 2020 or earlier.", "Newer head units reject the certificate."), Step("Use a car from 2020 or earlier.", "Newer head units reject the certificate."),
Step(
"On GrapheneOS, exempt Gearslip from exploit protections.",
"Open Settings, then Apps, then Gearslip, and turn on Exploit protection compatibility mode.",
),
Step("Disable or uninstall the Android Auto app."), Step("Disable or uninstall the Android Auto app."),
Step("Load a certificate.", "Open Settings, then download or import a certificate."), Step("Load a certificate.", "Open Settings, then download or import a certificate."),
Step( Step(
@@ -206,22 +206,6 @@ private fun pages(context: Context, onRequestCallScreening: () -> Unit): List<Gu
) )
} }
// --- GrapheneOS ------------------------------------------------------------------
add(
GuidePage(
title = "GrapheneOS exploit protection",
explanation = "On GrapheneOS only: open Gearslip's app settings and turn on Exploit " +
"protection compatibility mode. Gearslip's native USB and video code trips " +
"GrapheneOS's hardened memory checks otherwise. Skip this on any other Android.",
actionLabel = "Open app settings",
onAction = {
context.startActivity(
Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, Uri.fromParts("package", context.packageName, null)),
)
},
),
)
// --- Android Auto ------------------------------------------------------------------ // --- Android Auto ------------------------------------------------------------------
val androidAutoPackage = AndroidAuto.installedPackage(context) val androidAutoPackage = AndroidAuto.installedPackage(context)
?.takeIf { AndroidAuto.isActive(context, it) } ?.takeIf { AndroidAuto.isActive(context, it) }
@@ -306,8 +290,7 @@ private fun pages(context: Context, onRequestCallScreening: () -> Unit): List<Gu
} }
/** /**
* The first-run guide, one page at a time: permissions, then GrapheneOS's exploit-protection * The first-run guide, one page at a time: permissions, then removing Android Auto if it is still installed, then the optional extras. Nothing
* toggle, then removing Android Auto if it is still installed, then the optional extras. Nothing
* here can be verified as done except a permission grant, so every other page is a "Next" a * here can be verified as done except a permission grant, so every other page is a "Next" a
* driver takes on trust, with "Skip" sitting right next to it. * driver takes on trust, with "Skip" sitting right next to it.
*/ */