Hi.
Don’t know the best way to answer.
There is a repository of 3 pre-made configs that are confirmed working. I’ve also seen some sonfig from community for Acer Nitro 515 series, which is also working. Tho it is only 4 configs available, they are suitable for a wide range of devices. You can find many responses on the forum.
As for the patching. It requires code disassembly. Luckily, I know which place in code to look. For the BIOS like yours, it is one out of two.
1. The first place to look is Setup Utility module.
You should locate a subroutine matching the one below.
If in your case it’d look like on the left side, proceed to the 2-nd possible place.
I took the picture from the following posting.
Another picture on what to do with this thing.
2. The second place to look is ODMDxeDriver module.
It's explained here: https://winraid.level1techs.com/t/mod-bios-insyde-an517-52/93906/2
and further in the thread.
and further in the thread.