Skip to content

Offer Touch ID on the 15-inch M5 MacBook Air (J815) - #176

Draft
scottjones wants to merge 1 commit into
mainfrom
touchid-m5-air-j815
Draft

scottjones wants to merge 1 commit into
mainfrom
touchid-m5-air-j815

Conversation

@scottjones

Copy link
Copy Markdown
Collaborator

Summary

The aurora driver already supports Touch ID on the J815, but Omarchy hid it: eligibility had no T8142 board, so the status read unsupported:board and Setup → Security → Fingerprint never appeared. This admits the J815 and treats it like the 16-inch M4 Pro from #140, whose calibration and sensor key are both rebuilt from the factory records on the ESP.

 touchid-eligibility
   board gate
+    apple,t8142 + apple,j815        (J813 stays unsupported until tried)
   calibration / root key rebuilt from factory records
-    j616s
+    j616s, t8142
 touchid-enable
   chip for touchid-root-key --chip
+    apple,t8142 → 00008142  (FSC2 reseal + MSRk, as on 00006040)
 touchid-root-key
+  CHIPS 00008142 "an M5 MacBook Air"
 disable-fingerprint
+  deletes msrk-j815.bin, mesacal-j815.bin

Depends on #140.

Evidence

  • Before: on a J815 with omarchy-mac 0.2.6, /run/omarchy-mac/touchid read unsupported:board and the menu had no Fingerprint entry.
    After: with this branch built and installed on the same Mac:
    • the status read available and the menu showed Fingerprint;
    • setup from the menu rebuilt mesacal-j815.bin and msrk-j815.bin (root-only), loaded the driver, and then enroll and verify worked;
    • after a reboot the load service restored the enrollment and the lock screen unlocked with a finger;
    • macOS Touch ID kept working with the Linux enrollment present;
    • Remove → Security → Fingerprint deleted the identity in the enclave (0 enrolled), the two files, the agreement record and the driver options.
      The xART guard refused nothing and left macOS's session records alone throughout.
  • Tests: omarchy-mac/test/all passes. The new J815 block mirrors the J616s one:
    • eligibility, including no-calibration, no-root-key and the sensor path under /soc;
    • unlisted T8142 boards (J704, J813) stay unsupported;
    • the rebuild from records is root-only;
    • records sealed for another SoC are refused;
    • a key that can't be read takes the calibration back;
    • turning Touch ID off deletes both files.

Merge Danger

Door: two-way

Blast Radius: J815 only

Other Macs take no new path: the board gate is checked first, and the new SoC branches are only reached by a J815. Nothing loads until the owner says yes in setup.

🤖 Generated with Claude Code

@scottjones
scottjones changed the base branch from touchid-j616s to main November 21, 2026 21:30
The aurora driver has a T8142/J815 profile (the M4 Air's V3 sensor and
warm-attach SEP, with the sensor on spi2). Omarchy hid Touch ID on the
J815 because eligibility had no T8142 board, so /run/omarchy-mac/touchid
read unsupported:board and the fingerprint menu entry never showed.

Admit apple,t8142 with apple,j815. The 13-inch J813 shares the driver
profile but stays unsupported until it has been tried, as the J614s
does. Like the 16-inch M4 Pro, the M5 Air's calibration is a sealed FSC2
record and its sensor names a root key, so both are rebuilt from the
factory records on the ESP: touchid-root-key accepts the M5's SoC,
00008142, touchid-enable passes it, and disable-fingerprint deletes
msrk-j815.bin and mesacal-j815.bin with the agreement.

The J815 joins sealed_board() beside the J616s and J616c (#160), so
it takes their board gate, calibration and root-key paths.

Assisted-by: Claude:claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant