I have built a custom ROM for the FP4 and am trying to flash it. I am not using a custom key for now, the images are signed using the AOSP default verity key.
I flashed my ROM already and am now trying to flash the
avb_custom_key but it miserably fails:
sudo fastboot flash avb_custom_key avb.bin ➜ 0 Sending 'avb_custom_key' (0 KB) OKAY [ 0.007s] Writing 'avb_custom_key' FAILED (remote: 'Flashing avb_custom_key failed') fastboot: error: Command failed
I used avbtool to get the raw key from the verity pkcs8:
avbtool.py extract_public_key --key verity.pk8 --output avb.bin
Any ideas what is going on? Also another question, is it possible to disable AVB altogether?