Hashtree Patcher is an Android command-line tool that patches
For background on the issue, see here, but the bottom line is when installing a custom kernel on Magisk 24303+, verity enabled devices have to patch
Hashtree Patcher has now been integrated with AK3, so there should no longer be any need to run this tool manually.
Notes
You can acquire the
Latest Update
2022-08-07 v3.0.0
vendor_dlkm.img
and vbmeta.img
for booting without disabling verity.For background on the issue, see here, but the bottom line is when installing a custom kernel on Magisk 24303+, verity enabled devices have to patch
vendor_dlkm
and vbmeta
.Hashtree Patcher has now been integrated with AK3, so there should no longer be any need to run this tool manually.
To use this tool, take the
Then flash your kernel using the method of your choice followed immediately by flashing the patched
vbmeta
from your ROM and the vendor_dlkm
from your kernel and perform the following steps:
Code:
adb push httools /data/local/tmp
adb push fec /data/local/tmp
adb push vendor_dlkm.img /data/local/tmp
adb push vbmeta.img /data/local/tmp
adb shell
cd /data/local/tmp
chmod +x httools
chmod +x fec
./httools patch vendor_dlkm.img vbmeta.img
exit
adb pull /data/local/tmp/vendor_dlkm.img vendor_dlkm-patched.img
adb pull /data/local/tmp/vbmeta.img vbmeta-patched.img
Then flash your kernel using the method of your choice followed immediately by flashing the patched
vbmeta
and vendor_dlkm
images acquired above:
Code:
fastboot flash vbmeta vbmeta-patched.img
fastboot reboot fastboot
fastboot flash vendor_dlkm vendor_dlkm-patched.img
Notes
You can acquire the
fec
binary here.Latest Update
2022-08-07 v3.0.0
Last edited: