Skip to content

Warn before installing on the J616C M4 Max MacBook Pro - #97

Merged
RyanTheTide merged 3 commits into
aurora-silicon:mainfrom
AxxzyWasTaken:j616c-admission
Nov 10, 2026
Merged

RyanTheTide merged 3 commits into
aurora-silicon:mainfrom
AxxzyWasTaken:j616c-admission

Conversation

@AxxzyWasTaken

@AxxzyWasTaken AxxzyWasTaken commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

main admits the 16-inch MacBook Pro with M4 Max (J616C, T6041) since 3d4472b. It does that with no Stage 1 caution, because Aurora has run on one. This PR now carries only that caution.

Aurora has run on a J616C, but only with separately built kernel and aura. This installer has not installed it, and the J616C device tree it delivers (aurora-silicon/linux#994) has not been booted on one yet. So the owner gets the same warning and recovery steps as on the other experimental boards before installing:

  • Stage1Caution.swift: a J616C reason, "Aurora has run on one, but not from this installer, and the Linux device tree this installer uses for it has not started on one yet, so Aurora may not start."
  • supported-models.json: the mirrored stage1_caution entry.
  • Tests: Stage1CautionTests and test_distribution_payload.py move j616c from the boards without a caution to the cautioned ones.

The other M4 cautions still name the J616c as a tested Mac for its chip, aura Stage 1 and firmware baseline, and that stays true.

Testing

  • python3 -m unittest discover -s scripts/tests (Python 3.13): 91 tests pass, including both caution tests.
  • swift-format lint --strict is clean on the two Swift files, and AuroraInstallerUXCore builds.
  • This Mac has only the Command Line Tools, without XCTest, so swift test couldn't run. I ran the assertions from testOnlyTheUntriedBoardsAreWarnedAndNotBlocked against the built module from a small separate executable, and they pass.
  • Not installed on a J616C.

The 16-inch MacBook Pro with M4 Max (J616C, T6041) shares the J616s
chassis and its T6041 display block. Admit it on the 26.6.2 firmware
baseline the J616s uses (chip 0x6041 minimum 26.6, device j616c minimum
26.6.2), list it in the supported models and release inputs, name it,
and give it a Stage 1 caution like the J614s: the upstream J616C device
tree and aura's J616C display handoff are new.

Signed-off-by: AxxzyWasTaken <axxzytte@gmail.com>
@AxxzyWasTaken
AxxzyWasTaken marked this pull request as ready for review November 7, 2026 11:23

@RyanTheTide RyanTheTide left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

main now admits the J616C already: 3d4472b ("Install on every M4 Mac with a device tree") adds apple,j616c to supported-models.json, the 26.6.2 firmware entry and the j616c minimum in NativeInspectionPolicySource, and the "MacBook Pro 16-inch (M4 Max, 2024)" name. That is why every file here conflicts. The only part main does not have is the J616C-specific Stage 1 caution. If you still want it, a rebased branch carrying just that caution (and its test) would be easy to review. Otherwise this can be closed.

main admits the J616C since 3d4472b ("Install on every M4 Mac with a
device tree"), so every conflict takes main's version. Only the J616C
Stage 1 caution is added back, in the next commit.

Signed-off-by: AxxzyWasTaken <axxzytte@gmail.com>
main admits the J616C without a Stage 1 caution, because Aurora has run
on one. It has, but only with separately built kernel and aura: this
installer has not installed it, and the J616C device tree it delivers
(aurora-silicon/linux#994) has not been booted on one yet.

Give the J616C its own caution, in Stage1Caution.swift and mirrored in
supported-models.json, so the owner acknowledges the risk and the
recovery steps before installing. The tests move j616c from the boards
without a caution to the cautioned ones.

Signed-off-by: AxxzyWasTaken <axxzytte@gmail.com>
@AxxzyWasTaken AxxzyWasTaken changed the title Admit the J616C M4 Max MacBook Pro as experimental Warn before installing on the J616C M4 Max MacBook Pro Nov 9, 2026
@AxxzyWasTaken

Copy link
Copy Markdown
Contributor Author

Thanks. I merged main into the branch (fc72217) and took main's version of every conflicting file, so the admission comes from 3d4472b. The only change left is the J616C Stage 1 caution and its tests (2f5a18c, 4 files, +9/-4 against main). It's a merge instead of a rebase, so the existing branch history stays as it is.

Main's test listed j616c among the boards with no caution, so the change moves it to the cautioned list in both Stage1CautionTests and test_distribution_payload.py. I also reworded the caution for main's state. It no longer says the board is untried. It says Aurora has run on one, but not from this installer, and the delivered device tree (linux#994) hasn't been booted on one. That matches the other M4 cautions, which still cite the J616c as tested for chip, Stage 1 and firmware.

Tests: the scripts/tests suite passes under Python 3.13 (91 tests). swift-format lint --strict is clean on the touched files, and AuroraInstallerUXCore builds. swift test didn't run here because this Mac has no XCTest (Command Line Tools only). I ran the Stage1Caution assertions against the built module instead, and they pass. Not installed on a J616C. Title and description are updated.

@RyanTheTide
RyanTheTide merged commit b0a3093 into aurora-silicon:main Nov 10, 2026
3 of 4 checks passed
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.

2 participants