Commit Graph
15 Commits
Author SHA1 Message Date
topjohnwu da50b5586f Sign ChromeOS boot images with magiskboot
Port the `futility vbutil_kernel --pack` code path used to sign
ChromeOS boot images into magiskboot as a new `sign-chromeos` action.
The kernel keyblock and data key are embedded into the executable, and
all signing parameters previously passed in sign_chromeos are
hardcoded. The output is bit-for-bit identical to the reference tool.

Rename the existing `sign` action to `sign-avb1` to disambiguate.

Remove the prebuilt futility binary and stop shipping the chromeos
assets folder; scripts now call magiskboot directly.

Assisted-by: Claude Opus 5.5
2026-10-06 22:59:48 +00:00
topjohnwu 5480fc41c3 app: inject prebuilt bootctl into jniLibs
Download updated multi-arch prebuilt bootctl binaries built from
Android 14 (android-14.0.0_r1) and package them into jniLibs alongside
busybox instead of bundling a single binary in assets.

The new bootctl binaries support AIDL Boot HAL implementations on
Android 14+ (API 31+), fixing OTA slot switching issues on newer
devices like Pixels.

Update post-OTA install logic in the app and shell scripts to use the
native bootctl executable from MAGISKBIN.

Fixes #8824
2026-08-27 03:29:31 +00:00
topjohnwu 1fa318dc8c Use Rust elf-cleaner implementation 2025-04-01 18:32:54 -07:00
topjohnwu 28d86a3454 Update rustup_wrapper
[skip ci]
2025-03-06 16:12:35 -08:00
topjohnwu a0998009c1 Small native code reorganization 2020-03-09 01:50:30 -07:00
topjohnwu b38e940088 Fix font files 2020-01-05 14:24:36 +08:00
topjohnwu 021994c9f3 Clean elf after building shared binaries 2019-08-22 02:51:17 +08:00
topjohnwu ebe1ab982e Add Samsung instructions 2019-04-06 01:25:11 -04:00
topjohnwu a1e33c4d2f Build everything ourselves 2017-08-24 12:14:17 +08:00
topjohnwu 3bc4e9a724 Finalize docs 2017-08-17 00:41:50 +08:00
topjohnwu e780c76c93 Massive build script refactor 2017-06-03 20:31:02 +08:00
topjohnwu 623a879797 Update scripts 2017-04-22 17:12:54 +08:00
topjohnwu 332f531a10 Move binaries to seperate folder 2017-02-14 06:39:10 +08:00
topjohnwu f8eab72c7a Install Magisk Manager stub if not installed 2017-01-02 02:31:59 +08:00
topjohnwu eea3cb32a5 Add Windows build scripts and fix script bugs 2016-12-06 02:45:51 +08:00