Skip to content

aarch64: stage A16 owner firmware before installation and record boot evidence - #208

Closed
FixItFoundry wants to merge 2 commits into
omacom:quattrofrom
FixItFoundry:feature/asus-zenbook-a16
Closed

FixItFoundry wants to merge 2 commits into
omacom:quattrofrom
FixItFoundry:feature/asus-zenbook-a16

Conversation

@FixItFoundry

@FixItFoundry FixItFoundry commented Sep 30, 2026 •

Copy link
Copy Markdown

Completes A16 installation on the shared ARM ISO using linux-omarchy 7.2.8-24 and the existing multi-DTB boot image.

Before any disk writes, A16 preflight stages and verifies the owner's required firmware from Windows. BitLocker access is read-only, with a local recovery-key prompt when needed. Cancellation, failed access or missing/corrupt firmware stops installation. Free-space mode uses existing unallocated space and preserves Windows; full-disk mode keeps its erase confirmation. Owner-only firmware is not bundled in the ISO.

Installation and boot evidence stays local. ARM VM install/reboot checks, physical A16 installation, encrypted NTFS fixtures and free-space preservation checks passed. Revision 21 was the initial installation test kernel; after debugging, we moved to revision 24 and completed its native build, package, boot and hardware validation. Revision 24 is still running on my A16, with audio playback, keyboard, touchscreen, charger transitions, and Bluetooth calls and audio confirmed.

Publish the kernel, support, extractor, Dislocker and boot-hook prerequisites in the ISO's channel before merging this and omacom/omarchy#13820. Camera and sleep remain disabled.

@birkskyum

Copy link
Copy Markdown
Contributor

A note on where this can land. The Snapdragon installer work has moved from dragon to n1x, and #258 turns it into one aarch64 image that decides the board at install time, with no per-platform profile to add. Much of this is covered there in a different way. What the Zenbook still needs on top is worth listing against #258, and I can help with that once the kernel question in omacom/omarchy#13820 is settled.

@birkskyum
birkskyum changed the base branch from dragon to quattro October 15, 2026 12:10
@FixItFoundry

Copy link
Copy Markdown
Author

Thanks @birkskyum. I have reviewed this against the unified aarch64 direction in #258. The intended kernel direction, following my separate discussions with the Omarchy team, is shared Omarchy 7.2.10 with the necessary A16 backports and the normal ISO build flow. The local candidate follows that approach; it is not hardware-validated yet, and I have not pushed the local changes.

The current blocker is firmware delivery for a stock A16 with BitLocker-protected Windows. The earlier installer could finish with incomplete firmware because extraction was optional; the new local preflight stops before disk cleanup. The bring-up repository's image scripts stage a prepared Linux firmware tree, so their behavior does not establish that Windows extraction works. I am checking the discrepancy between the documented generic upstream firmware and the ASUS-specific files requested by the working device tree before settling the delivery path.

We are still planning the clean resolution: use verified upstream/vendor firmware where possible, with a guided read-only Windows recovery-key import as an option. Disabling BitLocker is not the only route. I will narrow the ISO changes against the unified installer and report the complete source SHAs after actual A16 installation, hardware and update/rollback testing. More detail is in omacom/omarchy#13820.

@birkskyum

Copy link
Copy Markdown
Contributor

Thanks @FixItFoundry, that helps. Here is what changed since this PR, for the narrowed version.

One thing for the 7.2.10 kernel. Since 7.2.9 the keyboard and touchpad of X1 laptops such as the Yoga Slim 7x are dead after an I2C clock change. The fix taken for 7.3 is Abel Vesa's i2c: qcom-geni: Restore the source-clock selection policy, and the shared kernel needs it once it moves past 7.2.8.

@FixItFoundry
FixItFoundry force-pushed the feature/asus-zenbook-a16 branch from 355645d to cc37956 Compare October 16, 2026 15:16
@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Install test passed

x86_64 vs quattro
Result ✅ passed
Build the ISO 453.0 s +280.0 s
Install 171.3 s +88.1 s
First boot 16.3 s +2.5 s
Everyday boot 12.3 s −1.0 s

Boots are loader, kernel and userspace, without the VM's firmware.

Install phases, x86_64
Phase This PR quattro
Preparing live environment 0.2 s 0.2 s
Preparing install target 0 s 0 s
Installing Arch + Omarchy 148.5 s 68.7 s
Configuring hibernation 0.3 s 0.3 s
Configuring system 3.3 s 2.4 s
Staging provisioning 0 s 0 s
Finalizing Limine boot 14.5 s 7.8 s
Finalizing user 4.2 s 3.3 s
Configuring login 0.1 s 0.1 s
Configuring SSH access 0.3 s 0.2 s
Configuring Tailscale 0 s 0 s
Configuring DNS resolver 0 s 0 s
Validating boot setup 0 s 0 s
Creating factory snapshot 0.1 s 0 s

Run · c504dce

@birkskyum

Copy link
Copy Markdown
Contributor

Thanks @FixItFoundry. asus-zenbook-a16-firmware joins the live image's packages on every aarch64 build, and it isn't published yet, so --arch aarch64 --edge stops at the package download for every board. The install test here only built x86_64, since the aarch64 job runs for trusted authors only.

prepare_a16_stage also calls qcom-firmware-extract --list-required and --stage-installed. The published extractor from omacom/omarchy-pkgs#221 has --stage, --stage-dir, --install, --list-missing and --no-rebuild, so those two flags need the extractor change in omarchy-pkgs first.

The order that keeps every board building is the omarchy-pkgs side first (the kernel with the A16 backports and its marker, the two A16 packages and the extractor flags), then omacom/omarchy#13820 and this PR once edge carries them.

@FixItFoundry FixItFoundry changed the title aarch64: add ASUS Zenbook A16 platform support and Snapdragon boot configuration aarch64: stage A16 owner firmware before installation and record boot evidence Oct 21, 2026
@FixItFoundry

Copy link
Copy Markdown
Author

The follow-up uses the shared ARM image and targets linux-omarchy 7.2.8-24. Firmware is staged and checked before disk writes, including read-only BitLocker access. Free-space mode preserves Windows; full-disk mode keeps its erase confirmation. The private firmware-package dependency is removed.

The installation path passed VM and physical A16 testing. After debugging, I rebuilt and installed revision 24 and completed its package, boot and hardware checks. It's still running, with audio, keyboard, touchscreen, charger transitions, and Bluetooth calls/audio confirmed.

Packages must publish first. This retains the upstream stable/RC channel configuration; when reconciling #297, keep its translations without restoring the blanket BitLocker rejection.

@FixItFoundry

Copy link
Copy Markdown
Author

Closing this older installer proposal. omacom/omarchy-pkgs#1874 now packages the A16 firmware from ASUS's public BSP, so this Windows-extraction preflight is no longer the proposed A16 path. Any remaining live-boot changes should be checked against #358 and submitted separately with current testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants