[TOOL] Easy automated Mod tool for Coffee Lake bios

@revlaay im using FPT flash bios mod . but it notice like picture . so what can i do to solve this issue . can you help me . tks so much


better flash via programmer like ch341a.

Just want to report back that the Bios Mod Tool worked perfectly on my motherboard without any problems. My PC is Zotac ZBOX en1070 with B150 chipset, and now I use a i5 9400f on it rather than 7700t I used to. Thank you so much, really appreciate for your work! I think if the power supply on my motherboard is good enough, I’ll try to put on a i7 9700kf in the future.

By the way, here is a friendly remind, use a programmer to burn in your Moded BIOS, rather than flasing BIOS with flash disk or other software tools. I flashed the BIOS through USB disk and thought I succeeded, but actually failed when I tried to power on with 9400f cpu. Then I went for Skypro programmer, everything worked well at last. I guess it’s because the ME part and Descriptor part can not be flashed through normal way.

Hi
Your article is great. Can I post it in the mobile01 forum?

@aaaa50306 sure

Hi, here is my short report. The tool works with a few minor issues on a Windows 10 System Ver 1803.
I successfully tested the generated mod BIOS on an Asrock H110m-ITX / AC and an i3 8100, everything works fine. Basis was the original version 7.20 from Asrock.
Another test with an ASUS Z170 Gaming Pro was unsuccessful, here I tested Bios version 3805 and 2003.
I hope I get the ASUS with the Bios mod still up and running. I programmed the chips with a TL866 II-plus.
Thank you for the great tool.

Is it possible to add a feature to clean the ME instead of switchung SKU to Z370? Tried the tool with Asus P10S-WS Mainboard with C236 Chipset but after modding only 00 on the debug display, even with 6th series cpu.

Cleaning ME and switching SKU are two totally different things @oldirdey - For your current situation, did you program in the FD region too from the mod BIOS? if not, this is probably the issue, FD from final mod BIOS needs flashed or programmed in

I used coffeetime on bios I dumped with my programmer and then just programmed the output bios from coffeetime.

Another problem with asus Z170 pro gaming, after fix


https://www.upsieutoc.com/image/ZY041C



PS C:\c2> .\AllinOne.exe .\Z170-PRO-GAMING-ASUS-3805.CAP
acknowledgement***
CodeRush: UEFITool and other tool author
Fernando: Win-Raid owner
SoniX: UBU tool author
Mov AX, 0xDEAD: PCIE patcher
s.napi: Fixing HT

-----
-----
-----
-----
–by revlaay–
-----
-----
-----
-----

Save CAP to bin format
FLASHBACK File name is Z17PG.CAP
Done
-----
-----
-----
-----
–by revlaay–
-----
-----
-----
-----

ME Version of BIOS is 11.8.50.3470
ME TYPE of BIOS is CON_H_D0
Replace ME Version to 11.7.0.1229_CON_H_D0_PRD_RGN.bin
Done!
-----
-----
-----
-----
–by revlaay–
-----
-----
-----
-----

Ready update GOP & VBIOS…
start update gop…
start update vbios…
Done!
-----
-----
-----
-----
–by revlaay–
-----
-----
-----
-----

_ _ _ _ _ _ _ _ _ _ _
/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / <br /> ( P | C | I | E ) ( P | A | T | C | H | E | R )
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
*
original written by Mov AX, 0xDEAD
enhanced by revlaay
*****
Start Patch…
-----
-----
-----
-----
–by revlaay–
-----
-----
-----
-----

------------------!!!-------------------
Please check you bios support KabyLake CPU first!
If your MB is asus and bios verion very new
or MB is asrock 100 series, ignore this warming and continue
Press any key to continue . . .
-----
-----
-----
-----
–by revlaay–
-----
-----
-----
-----

Ready to Insert CPU MicroCode…
Integrate 6th 7th 8th microcode except 8c
Insert into Vol: 04
Insert into Vol: 05
Done

if you only have B0 CPU [8100,8350,g5600] this file is ok
--------->>: "C:\c2\Z170-PRO-GAMING-ASUS-3805.me117.67AB.bin"
8400-8700,Please continue…
continue: 1,quit: 2 1
-----
-----
-----
-----
–by revlaay–
-----
-----
-----
-----

Change SKU to Z370…
Done!
-----
-----
-----
-----
–by revlaay–
-----
-----
-----
-----

Ready fix Hyper-threading
Header checksum: 22h, valid
Data checksum: AAh, valid
Data checksum valid: AAh
Done!
-----
-----
-----
-----
–by revlaay–
-----
-----
-----
-----

Ready to fix ACPI TABLE
------------Extract module------------
--------------Patching----------------
A M I
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ‘C:\c2\ACPI\Z170-PRO-GAMING-ASUS-3805.me117.67AB.sku370.htfix.bin.dump\3 BIOS region\5 4F1C52D3-D824-4D2A-A2F0-EC40C23C5916\258 C118F50D-391D-45F4-B3D3-11BC931AA56D\0 EE4E5898-3914-4259-9D6E-DC7BD79403CF\0 Raw section\body.dsl’
Hunk #1 succeeded at 31743 (offset -1945 lines).
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ‘C:\c2\ACPI\Z170-PRO-GAMING-ASUS-3805.me117.67AB.sku370.htfix.bin.dump\3 BIOS region\5 4F1C52D3-D824-4D2A-A2F0-EC40C23C5916\258 C118F50D-391D-45F4-B3D3-11BC931AA56D\0 EE4E5898-3914-4259-9D6E-DC7BD79403CF\0 Raw section\body.dsl’
Hunk #1 succeeded at 12247 (offset -631 lines).
Hunk #2 succeeded at 20066 (offset -729 lines).
Hunk #3 succeeded at 20152 (offset -729 lines).
Hunk #4 succeeded at 31705 (offset -1941 lines).
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ‘C:\c2\ACPI\Z170-PRO-GAMING-ASUS-3805.me117.67AB.sku370.htfix.bin.dump\3 BIOS region\5 4F1C52D3-D824-4D2A-A2F0-EC40C23C5916\258 C118F50D-391D-45F4-B3D3-11BC931AA56D\0 EE4E5898-3914-4259-9D6E-DC7BD79403CF\0 Raw section\body.dsl’
Hunk #1 succeeded at 33639 (offset 352 lines).
Hunk #2 succeeded at 33689 (offset 352 lines).
--------------Patching----------------
Ther_Rvp
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ‘C:\c2\ACPI\Z170-PRO-GAMING-ASUS-3805.me117.67AB.sku370.htfix.bin.dump\3 BIOS region\5 4F1C52D3-D824-4D2A-A2F0-EC40C23C5916\384 6B5C8FE5-70DD-4E17-BFF4-D21C26586EB3\7 Raw section\body.dsl’
Hunk #1 succeeded at 689 (offset 24 lines).
Hunk #2 succeeded at 783 (offset 24 lines).
Hunk #3 succeeded at 833 (offset 24 lines).
--------------Patching----------------
Ther_Sds
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ‘C:\c2\ACPI\Z170-PRO-GAMING-ASUS-3805.me117.67AB.sku370.htfix.bin.dump\3 BIOS region\5 4F1C52D3-D824-4D2A-A2F0-EC40C23C5916\384 6B5C8FE5-70DD-4E17-BFF4-D21C26586EB3\8 Raw section\body.dsl’
Hunk #1 succeeded at 444 (offset 18 lines).
Hunk #2 succeeded at 546 (offset 18 lines).
Hunk #3 succeeded at 595 (offset 18 lines).
--------------Patching----------------
DptfTabl
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ‘C:\c2\ACPI\Z170-PRO-GAMING-ASUS-3805.me117.67AB.sku370.htfix.bin.dump\3 BIOS region\5 4F1C52D3-D824-4D2A-A2F0-EC40C23C5916\387 EA139578-FEA0-4DD2-91B5-6953819EF1E4\0 Raw section\body.dsl’
Hunk #1 succeeded at 1148 (offset 17 lines).
Hunk #2 succeeded at 1223 (offset 17 lines).
Hunk #3 succeeded at 1257 (offset 17 lines).
Hunk #4 succeeded at 2946 (offset -88 lines).
--------------Patching----------------
DptfSds_
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ‘C:\c2\ACPI\Z170-PRO-GAMING-ASUS-3805.me117.67AB.sku370.htfix.bin.dump\3 BIOS region\5 4F1C52D3-D824-4D2A-A2F0-EC40C23C5916\388 3BBB09DA-1E0F-469B-8997-D440F101D6F1\0 Raw section\body.dsl’
Hunk #1 succeeded at 1155 (offset 17 lines).
Hunk #2 succeeded at 1230 (offset 17 lines).
Hunk #3 succeeded at 1264 (offset 17 lines).
Hunk #4 succeeded at 2851 (offset -183 lines).
--------------Patching----------------
ApCst
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ‘C:\c2\ACPI\Z170-PRO-GAMING-ASUS-3805.me117.67AB.sku370.htfix.bin.dump\3 BIOS region\5 4F1C52D3-D824-4D2A-A2F0-EC40C23C5916\390 C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3\0 Raw section\body.dsl’
Hunk #1 succeeded at 115 (offset 18 lines).
--------------Patching----------------
ApHwp
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ‘C:\c2\ACPI\Z170-PRO-GAMING-ASUS-3805.me117.67AB.sku370.htfix.bin.dump\3 BIOS region\5 4F1C52D3-D824-4D2A-A2F0-EC40C23C5916\390 C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3\1 Raw section\body.dsl’
Hunk #1 succeeded at 116 (offset 18 lines).
--------------Patching----------------
HwpLvt
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ‘C:\c2\ACPI\Z170-PRO-GAMING-ASUS-3805.me117.67AB.sku370.htfix.bin.dump\3 BIOS region\5 4F1C52D3-D824-4D2A-A2F0-EC40C23C5916\390 C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3\10 Raw section\body.dsl’
Hunk #1 succeeded at 67 (offset 18 lines).
Hunk #2 succeeded at 142 (offset 18 lines).
Hunk #3 succeeded at 176 (offset 18 lines).
--------------Patching----------------
ApIst
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ‘C:\c2\ACPI\Z170-PRO-GAMING-ASUS-3805.me117.67AB.sku370.htfix.bin.dump\3 BIOS region\5 4F1C52D3-D824-4D2A-A2F0-EC40C23C5916\390 C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3\2 Raw section\body.dsl’
Hunk #1 succeeded at 477 (offset 18 lines).
--------------Patching----------------
ApTst
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ‘C:\c2\ACPI\Z170-PRO-GAMING-ASUS-3805.me117.67AB.sku370.htfix.bin.dump\3 BIOS region\5 4F1C52D3-D824-4D2A-A2F0-EC40C23C5916\390 C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3\3 Raw section\body.dsl’
Hunk #1 succeeded at 400 (offset 18 lines).
--------------Patching----------------
Cpu0Hwp
patch: **** Only garbage was found in the patch input.
--------------Patching----------------
CpuSsdt
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ‘C:\c2\ACPI\Z170-PRO-GAMING-ASUS-3805.me117.67AB.sku370.htfix.bin.dump\3 BIOS region\5 4F1C52D3-D824-4D2A-A2F0-EC40C23C5916\390 C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3\8 Raw section\body.dsl’
Hunk #1 succeeded at 96 (offset 18 lines).
Hunk #2 succeeded at 745 (offset 18 lines).
--------------Patching----------------
CtdpB
(Stripping trailing CRs from patch; use --binary to disable.)
patching file ‘C:\c2\ACPI\Z170-PRO-GAMING-ASUS-3805.me117.67AB.sku370.htfix.bin.dump\3 BIOS region\5 4F1C52D3-D824-4D2A-A2F0-EC40C23C5916\390 C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3\9 Raw section\body.dsl’
Hunk #1 succeeded at 214 (offset 18 lines).
Hunk #2 succeeded at 289 (offset 18 lines).
Hunk #3 succeeded at 323 (offset 18 lines).
------------Check------------
Compilation complete. 0 Errors, 40 Warnings, 129 Remarks, 375 Optimizations
Compilation complete. 0 Errors, 1 Warnings, 0 Remarks, 11 Optimizations
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 9 Optimizations
Compilation complete. 0 Errors, 4 Warnings, 0 Remarks, 19 Optimizations, 1 Constants Folded
Compilation complete. 0 Errors, 5 Warnings, 0 Remarks, 19 Optimizations, 1 Constants Folded
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 30 Optimizations
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 30 Optimizations
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
if all above has 0 Errors,please choose 1
continue: 1,exit: 2 1
Patching successful
Patching successful
Patching successful
Patching successful
Patching successful
Patching successful
Patching successful
Patching successful
Patching successful
Patching successful
Patching successful
Patching successful
Patching successful
--------------generate: 6B5C8FE5-70DD-4E17-BFF4-D21C26586EB3--------------
--------------replace : 6B5C8FE5-70DD-4E17-BFF4-D21C26586EB3--------------
--------------generate: EA139578-FEA0-4DD2-91B5-6953819EF1E4--------------
--------------replace : EA139578-FEA0-4DD2-91B5-6953819EF1E4--------------
--------------generate: 3BBB09DA-1E0F-469B-8997-D440F101D6F1--------------
--------------replace : 3BBB09DA-1E0F-469B-8997-D440F101D6F1--------------
--------------generate: C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3--------------
--------------replace : C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3--------------
Patching successful
--------------replace : C118F50D-391D-45F4-B3D3-11BC931AA56D--------------
Done!
***********************************
Congratulations! Your Mod bios file generated!
--------->>: "C:\c2\Z170-PRO-GAMING-ASUS-3805.me117.67AB.sku370.htfix.ACPI.bin"
JOB Done!
Press any key to exit


2303 bios ok, 3805, 3610 and 3606 - not.(

@oldirdey Changing sku is no longer necessary , only need modify 0x307 in FD(for u0 p0 CPU,cofeetime add this feature), if you want to clean ME , use me_cleaner with “-w MFS” switch, but may success or fail.
@Googlist i’ll try fix,and release a new version.

@revlaay thank you very much. I read your post in december about it but was not sure if it´s only applying to xeon cpu.

Edit: Few things that I tried.

1) using the allinone method the board is not starting at all, even with 6th gen cpu.

2) using all the mods (acpi, ht, vbios, mc) and don´t change anything ME related I was able to boot with 6th gen cpu but only with dedicated GPU. g4900 still not posting.

3) after talking to revlaay I patched microcode, pcie and downgraded ME. Now I can boot G4900 but only with dedicated GPU. With iGPU the debug code gets stuck at A2.



Next step is trying to get the iGPU working with G4900 and if it´s working then trying to run six core CFL.

Hi to all!

I have an ASUS B150-M PLUS D3, a Pentium G4560 and a brand new i5-9400F. I have used this tool to create the new bios. It went alright, and flashed the new bios with the help of AFUWINx64, using the /GAN switch. I can still boot with the G4560, but the 9400F is a no-go (tested with a dgpu of course!)
So I’m thinking, is the UBU included in this pack too old for the 9400F?

Thanks!



was not patient enaugh, first boot after flash just needs few seconds and then the board is posting fine with iGPU.

@serguey_bubka descriptor region not flashed, you can use this method before use afu: “ME FW Image Re-Flash” and “Disable ME” bios options
note: use ifrextractor find offset ,sorry i can’t find link right now.

Thanks revlaay and svarmod for the awesome tools and info, I now have a 9900k working on a Gigabyte Z170-HD3-DDR3;

9900k_Gigabyte_Z170-HD3-DDR3_HWiNFO64.png

@chinobino That’s fantastic, as it is a DDR3 motherboard. Who would say that we would see a 9900K paired with “old” memory? :smiley:

Still working on mine, as the bios refuses to recognize my 9400F.

z170 pro gaming - problem with pci-e - no vga card detected, peg port in bios - x0
Nvme drive is functioning

8700k - 6 cores 12 threads, but strangely

http://i63.tinypic.com/a5fat1.jpg



controller exist?

Yep:
http://i68.tinypic.com/2cmkapk.png
http://i67.tinypic.com/igcg1g.png
but:
http://i68.tinypic.com/t06r1s.jpg


UPD
x8 slot do start, but with coffeetime 3805 bios mod
http://i68.tinypic.com/6jh5s4.jpg

UPD2
Work all, start with Kaby - detect display - replace processor without clrcmos - work.