[TOOL] Easy automated Mod tool for Coffee Lake bios

@dsanke - When you guys do/discuss “port Z370/Z390” BIOS into Z170/Z270, what is really going on for that kind of edit?
Is it just a direct “BIOS region” (entire) swap from Z370/Z390 into the older BIOS? Or is only certain parts of the BIOS region swapped over?
If it is entire BIOS region swap, how do you know what boards/BIOS are compatible for swapping in, is it just basic looking to see if the PCB’s look same/similar on the donor board compared to the target board?

@Lost_N_BIOS - Can you make me bios for Asus z170 deluxe and i3 9100f (SRF6N) processor? I tried, but I didn’t succeed. Here are the original bios for my motherboard.
z170 deluxe

@Petoparac - What is your old CPU? What is your current ME FW version? Do you have flash programmer?

@Lost_N_BIOS
My old CPU is Intel Celeron G3900.
I think it’s ME FV 11.0.5.1189.
Yes, I have a CH341A programmer.

@Petoparac - Since you have flash programmer, dump current BIOS and send to me for edit.
If you have not already erased and written to this BIOS chip with success (bootable) before, then tell me the BIOS chip ID so I can tell you what known software/versions work so write wont fail.

@Lost_N_BIOS - BIOS chip is WINBOND W25Q128FVSIG. I didn’t delete the current BIOS and I’m just typing from that computer.
Which version of the software should I use to read and write?

@Petoparac - For W25Q128FV you need to use 1.18 version CH341A software (for valid read only), or use ASProgrammer 1.41, otherwise other versions always fail (at read sometimes, but write always).
For write to this chip, only Colibri (included below) or ASProgrammer has been confirmed working here by others. I believe Colibri has been proven read/write both OK
http://s000.tinyupload.com/index.php?fil…213094641136166

@Lost_N_BIOS - I read the chip with the Colibri but due to the size I can’t post the file here so here’s the link: Asus z170 read BIOS

The motherboard is ASUS z170 deluxe
Old CPU is Intel Celeron G3900
New CPU is i3 9100f (SRF6N)

@Lost_N_BIOS i was using colibri v1.0.1 for flashing. i’m sorry, the problem seems to be a wrong welding of the eeprom memory pins in motherboard. thank you a lot.

@Petoparac - What is your LAN MAC ID? It’s messed up in this file, I will fix for you. Should be on sticker on side of 24pin

@guspaz - So bad solder? If yes, so you fixed it now, and it’s working?

@Lost_N_BIOS - I only found this sticker on the connector

@Petoparac - Thanks, you can remove now if you want. One is LAN and one is bluetooth (I assume) Does this board have Bluetooth, if not, does it have two Ethernet ports?

@Lost_N_BIOS - It has two Ethernet ports + Bluetooth + wireless. Is it possible to see MAC addresses from Windows?

@Lost_N_BIOS yes, bad solder. now is working… i modified with AIO tool other backup i was already have with Universal Bios backup toolkit 2.0 from here the link. then flashed it with Colibri (the w25q128jvsg chip). soldered (bad) in motherboard, it was doing the same simptoms than before (power on 1 second and shutdown), after i reinfroced the solder and worked OK. in the bios now showing ME version 11.7.0.1229. dont need to isolate/connect pins in G5400 cpu (because is a z370 perhaps). later i will test with i3 7100… sorry my bad english. thanks google translator.

Edit: just for confirming that I3 7100 and g5400 worked like a charm without connect or isolate any pins in Asrock Z370 Pro4. this is the steps worked for me: backup original bios, downgrade ME to 11.7.0.1229 and add cpu microcode in bios (AIO tool do it for me), desolder eeprom from mainboard and back solder again after flashing using ch341a programmer with colibri v1.0.1 software.

@Petoparac - Yes, please check via CMD >> IPCONFIG /ALL
Test both Ethernet ports please, do they function, you can connect to internet? If yes, then it’s OK and I don’t need to fix, some BIOS have these stored in GbE and some don’t, the BIOS you sent me has generic 88:88:88:88:87:88 in GbE which is what caught my eye

* Edit - This BIOS is problematic for this mod, and I need to work around (ie find working edit method, dance etc) to get past the problem without it happening, so may take me some time. This may be why all your previous attempts = brick too
During patching, the PCIE patch step causes a padding file to be removed above microcode volume in the main DXE volume, this often = brick. No matter what tool is used this happens, CoffeeTime, Revlaay’s AIO tool, PCIE Patcher 1.4 etc.
I will work around this by removing many modules and see if I can get that part of the edit in without it happening, then do the rest after inserting modules back.
I bet this is the problem all along, I have to work around this same issue with many BIOS when doing NVME insert or microcode updates (usually this more than anything causes it)

* Edit 2 - @Petoparac - Before I spend more hours to try to work around this issue, lets confirm it’s an issue or not
Please test this BIOS. Erase chip, blank check, then open file, write and verify. Then remove ALL power from the board, remove PSU cables, short power on pins for 10-15 seconds, then let sit for 1+ minute with zero power.
Then see if you can boot your old CPU first, if so, shut down, clear CMOS, put in new CPU and then see if you can boot to BIOS or not. If old CPU works, but new CPU does not, then padding concern I had is not part of the problem and you need to check your isolation/connect areas on the CPU pads
Also, if Ethernet not working, let me know and after this we’ll fix if necessary (programmer not required for that, we can do with FPT)
http://s000.tinyupload.com/index.php?fil…975907183966666


@guspaz - great to hear it you got it all sorted out and working now!

@Lost_N_BIOS - Only one Ethernet port works for me and I turned off the other in the BIOS because it reported some error. I’ll post a picture here. I have one more identical BIOS chip and it serves me for testing .

@Petoparac - Looks like neither MAC for Ethernet is stored in BIOS then, since you have working one above and that MAC ID is not in BIOS, they must be stored directly in chip. Your other one probably needs MAC Fixed in it, or FW fixed etc.
See my edits above, I made you BIOS to test, to see if the concern I had means I need to spend more hours to work around, or not. Let me know

@Lost_N_BIOS - I’ve read the whole post and I’ll follow your instructions so I’ll let you know if it works. You invest a lot of time and knowledge to help me and thank you very much for that.
-----------------------

@Lost_N_BIOS - I tried the BIOS you sent me and it won’t work. The fans spinning and 00 code is written on the motherboard. I did everything according to your instructions. I only tried it with an old CPU.

@Petoparac - Thanks for testing. Then this failure must be due to the padding issue I mentioned, I’ll have to work around it - please wait, I will try to get done soon

* Edit - @Petoparac - Please test, should work now - http://s000.tinyupload.com/index.php?fil…969625484844512
I included two files here, one used non-ideal method, explained in txt, but I think first one should work OK anyway but sending both in case you need to test 2nd for some reason (first should work )



Afaik dsanke does not have to go by the PCB’s look, he can just ask people who know what is related/identical and what not. :wink:
The basic method of backports is taking the new UEFI and manually adjusting everything that does not fit the old board natively, manly VRM, fan, RGB and clock control. I would guess, though, that partial swaps exist as well where it is easier to mate sections from two different UEFIs than to adjust large parts of a new UEFI to an old board. Obviously dsanke might not always need full functionality anyway, so probably some mods just use the CPU related part but deactivate almost anything else but PS/2 and PCI-E.