AK3: add support for avb patching (#70)

- this supports custom kernel users to continue not having to fastboot reflash vbmeta with --disable-verity and --disable-verification, now that Magisk 24303+ no longer patches avb out of the fstab on-the-fly at boot time
- checks for an avb option in the fstab entry for the current partition
- if found, it checks if verity or verification is disabled on the top-level vbmeta, and if so, appends a hashtree and FEC data to the partition and updates the hashtree descriptor in the vbmeta partition referenced in the avb option
This commit is contained in:
Captain Trips authored and GitHub committed 2022-06-08 13:33:19 -03:00
1 parent f81b0b2db6
commit bc736e9ce1
5 files changed
+67 -2

No files matched your search

BIN
View File
Binary file not shown.