Auto-capture boot_hash and read hexpatch targets from file#18
Open
Enginex0 wants to merge 2 commits intoPixel-Props:mainfrom
Open
Auto-capture boot_hash and read hexpatch targets from file#18Enginex0 wants to merge 2 commits intoPixel-Props:mainfrom
Enginex0 wants to merge 2 commits intoPixel-Props:mainfrom
Conversation
Moves the custom ROM/kernel identifier strings into hexpatch_targets.list so users can add their ROM's identifiers without editing service.sh. Also removes the duplicate "aospa" entry and the stale "# add more..." comment that was in the hardcoded list.
Captures ro.boot.vbmeta.digest in post-fs-data (earliest hook point, before other modules can tamper) and persists to /data/adb/boot_hash. service.sh restores it later. Fixes broken shell syntax in the original boot_hash reader (misplaced && inside [ ], missing grep file argument, broken tr pipeline). Cleans up boot_hash on uninstall.
0x11DFE
approved these changes
Mar 16, 2026
Member
|
There are conflicts, since i merged backslash cronjobs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Auto-captures ro.boot.vbmeta.digest in post-fs-data before other modules
can tamper with it, persists to /data/adb/boot_hash, and restores in
service.sh. Also fixes the broken shell syntax in the existing boot_hash
reader (misplaced && inside [ ], missing grep file arg).
Moves hexpatch target strings into hexpatch_targets.list so users can
add their ROM's identifiers without editing service.sh directly.
Each commit is independent — cherry-pick what makes sense.