Overclock.net › Forums › Intel › Intel Motherboards › Intel BIOS › Guide: How to update the CPU Microcode on the X99 AMI bios
New Posts  All Forums:Forum Nav:

Guide: How to update the CPU Microcode on the X99 AMI bios

post #1 of 12
Thread Starter 
I just wanted to share how I updated my cpu microcode to the latest version. I use to mod my roms using MMTool or Ubutool and all was good. These days this is not 100 percent possible anymore due to compatibility issues with Aptio V and MMTool writing to X99 roms. As I understand efi files still work but couldn't even update the microcodes using those tools anymore and we are forced to do it manually until UBU supports X99. So until then ...

Step 1:

Get your hands on UBUTool and drill down the CPUI folder until you find the HSW-e folder containing all the microcodes:



Step 2:

Run UBUTool on your bios file and have it display the details of what version microcode is currently installed:



Step 3:

Find the matching microcode file corresponding to the date just displayed and open it in a hex editor.
Then copy the first 16 digits displayed in hexadecimal by right clicking:



Step 4:

Open your bios file in UEFITool included inside the UBUTool folder and search for that 16 digit sequence:



Step 5:

Double click on the search result in the bottom result panel. This will take you to the right GUID file
where your microcode is located:



From there right click on that GUID displayed in the main window
and do a 'extract body' and save the file somewhere:



Go to your old microcode file that you found in the HSWe folder from Step 3 and scroll to the very end of the file.
Pay attention to the address of where it ends. In my case it was 6FF0:



Step 6:

Open the newer version microcode in a hexedit, select everything and copy, and paste into
the first half of the extracted body from step 5 up to the address you noted before at 6FF0.
Hexedit will warn you the file size has changed. Ignore it. Save the file.



Step 7:

Go back to UEFITool and find that GUID file from earlier, and do a 'replace body' selecting
the file you saved from the last step:



Step 8:

Save the file



Step 9:

Use Ubutool to verify that your changes are correct:



Step 10:

Flash and cross your fingers!


Notes: The reason you copy paste into the first half of the extracted microcode file is that there are also Xenon microcodes residing in the second half. I really didn't care
for those but if you wanted you could probably find updated ones from intel and use the same technique to replace them.

Also it would have been quicker to just search for the UUID within UEFITool to save time. That GUID is '17088572-377F-44EF-8F4E-B09FFF46A070' but there is two of them so make sure you pick the right one!

Lastly you can this very same technique to update Raid Rst Roms if you knew what the corresponding GUIDs are. I believe there is a tutorial on that one floating around on Win-raid. All this not possible without UBUTool of course..

Hope this helps others..

Cheers!

Edit: Lordkag from Win-Raid.com has brought to light an easier way to mod the microcode or rather there is a mod that allows UBUTool to work with bios files that UBU couldn't work with before. So I quote Lordkag:
Quote:
To have UBU support, you just have to remove FFS_ATTRIB_FIXED (useless on Volume Top Files), in other words, change file attribute from 0C to 08. You could do this with UEFITool, by extracting 1BA0062E-C779-4582-8566-336AE8F78F09 and in that file change offset 0x13 from value 0C to 08, save the file, then replace it. The problem is that UEFITool will also remove the trampoline for recovery (CodeRush can offer more details). To avoid this, open your E7883IMS.110 file in hex editor and change offset FFE0C8 from 95 to 99, then change offset FFE0CB from 0C to 08. You can double check the result with UEFITool. After this change, your file will work in UBU for microcode update. See the picture bellow, you need to change only the two values, but keep the top red line unchanged.

Edited by davidm71 - 10/31/15 at 4:55pm
post #2 of 12
Thanks for the comprehensive guide!
I successfully modded the latest CPU microcode into my X99S-MPOWER BIOS.
post #3 of 12
Thread Starter 
Glad one person got some benefit from it. Next up will talk Sata Rst rom modding.
post #4 of 12
Just curious, why is microcode update needed?

Any benefits like higher oc stability from doing so?
For Sale: Alienware M15x with extras
$375 (USD) or best offer
  
Reply
For Sale: Alienware M15x with extras
$375 (USD) or best offer
  
Reply
post #5 of 12
Quote:
Originally Posted by TK421 View Post

Just curious, why is microcode update needed?

Any benefits like higher oc stability from doing so?
Seeing as davidm71 hasn't responded...Updating the microcode (insofar as I could tell) typically adds support for newer CPUs. Likely bugfixes and optimizations too.

I've seen a couple (unsubstantiated) claims of slightly more stable clocks on different microcodes, though not for X99. Personally, updates caused me nothing but grief.
Nordilith
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 2600K GA-P67A-UD7 NVIDIA EVGA GeForce GTX 580 F3-12800CL8D-8GBXM 
Hard DriveOptical DriveCoolingOS
WD Caviar Black 1TB ASUS DVD R/W Xigmatek Gaia Windows 7 Home Premium 64bit 
MonitorKeyboardPowerCase
Panasonic X3 42in Plasma CM Storm Quickfire Pro (Cherry MX Reds) Seasonic SS-850HT Fractal Define Design R3 (mid tower) 
MouseMouse PadAudioOther
Corsair M90 Corsair MM400 Onboard (Realtek) + Philips Home Theatre System... Case Fans: 2x Fractal 120mm Fans, 1x Xigmatek 1... 
  hide details  
Reply
Nordilith
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 2600K GA-P67A-UD7 NVIDIA EVGA GeForce GTX 580 F3-12800CL8D-8GBXM 
Hard DriveOptical DriveCoolingOS
WD Caviar Black 1TB ASUS DVD R/W Xigmatek Gaia Windows 7 Home Premium 64bit 
MonitorKeyboardPowerCase
Panasonic X3 42in Plasma CM Storm Quickfire Pro (Cherry MX Reds) Seasonic SS-850HT Fractal Define Design R3 (mid tower) 
MouseMouse PadAudioOther
Corsair M90 Corsair MM400 Onboard (Realtek) + Philips Home Theatre System... Case Fans: 2x Fractal 120mm Fans, 1x Xigmatek 1... 
  hide details  
Reply
post #6 of 12
Thread Starter 
Quote:
Originally Posted by TK421 View Post

Just curious, why is microcode update needed?

Any benefits like higher oc stability from doing so?

I have read pros and cons for doing MC updates. The updates instruct the cpu how to handle certain instructions and Intel releases them to improve the functionality of how the cpu processes data.
This could have negative consequences as well such as compatibility issue could arise though I have never experienced that effect. Also Intel releases updates to fix major bugs such as the TSX instruction set bug in Haswell-E processors or rather just remove them entirely. Intel wasn't able to fix it just white it out. Kind of a let down if you ask me. Though there is a microcode update that removes that feature. I updated the MC in the hopes that it would fix a double post bug. It didn't but was cool little mod in its own right. If only we had access to Intel's internal change log we could decide if its worth updating or not. One could only hope.
post #7 of 12
So this could be used with Asus Z170?
I always used UBU with my Gigabyte boards but it doesn't work with my Hero's BIOS. Still might be a little more than I want to step into...with UBU it was simple but that option is out.
I know there is at least one microcode update for Skylake.
post #8 of 12
why are there two modules of cpu microcode?
see picture

post #9 of 12
Quote:
Originally Posted by davidm71 View Post

Notes: The reason you copy paste into the first half of the extracted microcode file is that there are also Xenon microcodes residing in the second half. I really didn't care
for those but if you wanted you could probably find updated ones from intel and use the same technique to replace them.

Also it would have been quicker to just search for the UUID within UEFITool to save time. That GUID is '17088572-377F-44EF-8F4E-B09FFF46A070' but there is two of them so make sure you pick the right one!

Lastly you can this very same technique to update Raid Rst Roms if you knew what the corresponding GUIDs are. I believe there is a tutorial on that one floating around on Win-raid. All this not possible without UBUTool of course..

Hope this helps others..

Cheers!

Lordkag:

I'm sure I'm following every step correctly in trying to update just the microcode on a Rampage V Extreme bios and when I check in UBU it's not updated. redface.gif
KedarWolf
(17 items)
 
CPUMotherboardGraphicsRAM
5960x Rampage V Extreme 3x ASUS Titan X G.Skill 8x4GB 3000 F4-3000C15Q-32GRBB 
Hard DriveCoolingOSOS
Intel 750 Corsair H110i GT Windows 8.1 Professional Linux Mint 17.2 
MonitorMonitorKeyboardPower
Acer XB280HK 4k Gsync QNIX 2710 1440p@ 105MHZ Logitech G910 Orion Spark Corsair AX1500i 
CaseMouseMouse PadAudio
NZXT Phantom 820 MadCatz R.A.T. 9 Zowie Hard Mouse Pad Rampage V Extreme Onboard 
Other
3x EVGA ACX 2.0 Titan X Coolers 
  hide details  
Reply
KedarWolf
(17 items)
 
CPUMotherboardGraphicsRAM
5960x Rampage V Extreme 3x ASUS Titan X G.Skill 8x4GB 3000 F4-3000C15Q-32GRBB 
Hard DriveCoolingOSOS
Intel 750 Corsair H110i GT Windows 8.1 Professional Linux Mint 17.2 
MonitorMonitorKeyboardPower
Acer XB280HK 4k Gsync QNIX 2710 1440p@ 105MHZ Logitech G910 Orion Spark Corsair AX1500i 
CaseMouseMouse PadAudio
NZXT Phantom 820 MadCatz R.A.T. 9 Zowie Hard Mouse Pad Rampage V Extreme Onboard 
Other
3x EVGA ACX 2.0 Titan X Coolers 
  hide details  
Reply
post #10 of 12
Quote:
Originally Posted by KedarWolf View Post

I'm sure I'm following every step correctly in trying to update just the microcode on a Rampage V Extreme bios and when I check in UBU it's not updated. redface.gif

Don't quote me on this, but I think ASUS X99 BIOSes seem to be not as easily modded from what I've read.
Edited by AndiWandi - 1/2/16 at 3:13pm
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Intel BIOS
Overclock.net › Forums › Intel › Intel Motherboards › Intel BIOS › Guide: How to update the CPU Microcode on the X99 AMI bios