[Guide] Manual AMI UEFI BIOS Modding

@Fernando Hi, do you know how to add an option rom(for PCI VIA6421 RAID) in z690 UD DDR4 bios?
I tried mmtool aptio 5, in the “Option ROM” tab I tried to insert the rom file but when attempting to update the bios always at 79% it says “Invalid Bios Image”

I followed this guide [Guide] Manual AMI UEFI BIOS Modding - #454 by LOLWTF

The new bios image opens without problems in mmtool and uefitool(I tried to resave the image with uefitool, maybe it would fix the image, but it did not)

Later for testing, I only removed one of the option rom and when attempting to flash this new image it stoped at 79% and said “Invalid Bios Image”

Later I tried forcing the ‘invalid’ bios image with with gigabyte recovery mode, I think it flashed(I used the same bios version but modded so I don’t exactly know) but I did not see anything new no new screen on boot, and the sata ssd connected to the via pci card is not available in boot menu.