Flashing Gigabyte while avoiding "Invalid BIOS image"

@Lost_N_BIOS , thank you, that’s very kind of you.
It’s from some user on another forum. Does ket have a modded BIOS for this motherboard?

@suikoden - I’m not sure if he does or not, that change log you provided reminded me of something he might say so I thought maybe it was his.
I checked, and yes, @ket has this AX370 mod BIOS thread, where he did many board variants and maybe in that thread he did a one-off BIOS for someone or a few people using same fixes?
[OFFER] Gigabyte GA-AX370-Aorus Gaming 5 BIOS mod

* Edit - Sorry, there is too many changes between F22b and F24 for me to safely transfer those modifications (There is added settings and increased file sizes) I have made a mod file with directly transferred modules, but it wouldn’t be safe for you to test without a programmer.
And I went to manually transfer changes (in 4 modules), but due to new settings/options added and increased file sizes, I can’t do that blindly either (via hex is how I would do this, since changes are made in that manner and not via software/GUI)
You’ll have to ask the user who did the F22b mod to make new mod to F24, or use stock F24 or go back to F22b

@Lost_N_BIOS thank you for trying. Do you know of any tutorials on how to mod the BIOS?
I would maybe try it if I found out how to do the modifications of above

@suikoden - Sorry, no I don’t know of any tutorials for that kind of modding. The changes are made in both NVRAM volumes (main and inside FW volume), and to AMITSE/PE32 and AMITSE-SetupData, and AMIBCP was not used for the modifications.
Do you have flash programmer? If yes, I can send you the BIOS I made where I copied those back over, but due to the changes between F22b-F24 it may or may not work, so recovery may be needed

@Lost_N_BIOS Thank you again.
I don’t have flash programmer. Sadly I’m not really good at this kind of stuff yet.
What do you mean with recovery? Reset button on the Bios wouldn’t work with this would it?
Do you think I can make a thread and maybe ask for someone knowledgeable to do it? Maybe someone will do it for a small tip? idk…

@suikoden - No, reset button for BIOS only clears CMOS, recovery you need hardware sometimes (CH341A flash programmer and SOIC8 test clip cable, about $6 total shipped on ebay)
For the exact mods you need done, best to ask the person who modified F22b directly, if he will modify F24 final. I doubt anyone here would do this kind of modifications

I can edit F24 modules instead of copy over from F22b-mod, but since there are new settings added, and some re-arrangement done inside the modules, it would be a blind edit and may be changing wrong values even when looks like same settings being changed.
That’s why I say it’s best to ask the person who did the F22b mod. Maybe I can do same way he did, so it’s not a blind edit, lets check. Please download this package and run command on the text file for each version folder, do on 32 and 64 commands (From command prompt, not power shell)
http://s000.tinyupload.com/index.php?fil…136299060116793

@Lost_N_BIOS , so I boot into the files or can I do this on desktop?

@suikoden - You run from desktop, open command prompt (not power shell) at the folder location and run command for 32 and 64 for each version folder.

@Lost_N_BIOS , I am always getting "LoadDeviceDriver returned false. Error 1: Unable to load Driver"

For all versions? Are you running the command from the folder than contains the version you are trying to do at that time? It may not work, for any version, but not all should give you same error, if always same error something is done wrong (show me image of command ran and error)

Made screenshots of using 32 and 64 for every version
@Lost_N_BIOS

1.PNG

2.PNG

3.PNG

4.PNG

Thanks @suikoden - I think maybe this is due to CMD prompt not ran as admin, sorry for not mentioning. Please run as Admin, select version folder, hold shift and press right click, choose open command window here.
If that does not make admin CMD prompt for you, you may need to right click from start menu and hold shift, then choose run as admin, then navigate via CD to the folder on your desktop with the files

@Lost_N_BIOS - It has worked now. Everything succesful except for the 32 command on the 5.03.1107 and the oldest version didn’t display any message.
Screenshots of the two attached

1.PNG

2.PNG

When I can find some time I’ll cook up some modded firmware for the GB X370 boards, time is short atm though.

Great @suikoden , now, upload that entire package back to me leaving all the NVRAM.txt in place where they are, so you know which version gave what output.

Thanks! @ket - I copied over someone’s mods from F22b to F24, but without user having a programmer it’s probably not best to have them test.
File sizes changed and new settings added in AMITSE and NVRAM main and inner, and those were the only two locations containing all of the mods edits.
Due to that, and the new settings/file size changes, I assumed it’s probably not best to use a mod with transfer like that anyway, even if it was bootable and worked, since it likely removed many of the fixes/changes from F22b to F24 update

@ket thank you very much for your work
@Lost_N_BIOS and what about the command that didn’t work or the ones that didn’t say anything?
will edit them in in the next few minutes
EDIT: here is the folder: https://mega.nz/#F!1e5zBawA!kBLUdZuPcOTTYrIVGNeeOw

It’s just something we try @suikoden it either works, or not, and only on some chipsets. That’s why I said leave everything in place, so you know which versions exactly are the ones that worked, if any.
This is with the F22b mod flashed in correct? If not, please reflash that version and do it all again Wow - 8.5MB return on a 516KB initial sent package? Will check and let you know if anything worthwhile.

*Edit - great, looks like several of the versions worked! Let me know question I asked above about if BIOS was F22b mod or not, if not please flash that version and then redo and rezip.
If it was F22b mod, great, thanks. Now flash to F24 final and repeat and send me the package back for it, so I can compare and change to match the F22b mod.

Oh, that was the F24, damn.
I’ll flash the F22b once I get home again

@Lost_N_BIOS - I’m kind of dumb. I can’t even find the offset 0x00e6dfff

@suikoden - it’s OK, was that F24 final? If yes, great, I have one part of the puzzle now, just need the F22b part next. Flash f22b mod BIOS you were using before, then load optimized defaults, and set SATA/SSD stuff how you want and then boot to windows and run SCEWin again for f22b-mod set of NVRAM.txt

What do you need at offset 0x00e6dfff ? To get there, open file in hex and depending on app you can type 00e6dfff in top left corner somewhere and hit enter, or somewhere up in the file, edit, view menu at top you should find a go to address or jump to offset etc there you put 00e6dfff
Or you can scroll down to that location, start scrolling down and somewhere on screen you should see the digits going down as you scroll, it will also be on left side of hex digits too, like 1, 2, 3, 4 in a list, only hex starting at 0000000, then 0000010 etc