Firmware check: add Install and Skip escape hatches to the error state

When the check itself fails, the only option was Retry. Add two more:
Install proceeds as if stock flashable firmware had been detected (straight
to the flash page), and Skip proceeds as if compatible custom firmware had
been detected — routed through the same classification path, so the
phone-side G2 font extraction still runs when the fonts are missing. Both
appear only in the error phase; Back and Retry keep their places.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016ZqzwmRQ3HQxasBz5rYyZV
This commit is contained in:
James BabcockandClaude Fable 5 committed 2026-08-23 23:57:41 -07:00
1 parent b952cc2269
commit 9adff011b4
2 files changed
+30 -4

No files matched your search

@@ -8,9 +8,16 @@
</StackLayout>
</ScrollView>
<GridLayout row="1" columns="*,*" class="m-t-20">
<Button col="0" text="{{ secondaryLabel }}" tap="{{ onSecondaryTap }}" visibility="{{ secondaryVisibility }}" />
<Button col="1" text="{{ primaryLabel }}" tap="{{ onPrimaryTap }}" visibility="{{ primaryVisibility }}" class="-primary" />
</GridLayout>
<StackLayout row="1" class="m-t-20">
<!-- Error-only escape hatches: flash anyway, or trust that the custom firmware is present. -->
<GridLayout columns="*,*" visibility="{{ errorActionsVisibility }}">
<Button col="0" text="Install" tap="{{ onInstallTap }}" />
<Button col="1" text="Skip" tap="{{ onSkipTap }}" />
</GridLayout>
<GridLayout columns="*,*">
<Button col="0" text="{{ secondaryLabel }}" tap="{{ onSecondaryTap }}" visibility="{{ secondaryVisibility }}" />
<Button col="1" text="{{ primaryLabel }}" tap="{{ onPrimaryTap }}" visibility="{{ primaryVisibility }}" class="-primary" />
</GridLayout>
</StackLayout>
</GridLayout>
</Page>