Skip to content

Auto-capture boot_hash and read hexpatch targets from file#18

Open
Enginex0 wants to merge 2 commits intoPixel-Props:mainfrom
Enginex0:feature/boot-hash-auto-and-props-file
Open

Auto-capture boot_hash and read hexpatch targets from file#18
Enginex0 wants to merge 2 commits intoPixel-Props:mainfrom
Enginex0:feature/boot-hash-auto-and-props-file

Conversation

@Enginex0
Copy link
Contributor

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.

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
Copy link
Member

0x11DFE commented Mar 16, 2026

There are conflicts, since i merged backslash cronjobs.

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