[Guide] Manual AMI UEFI BIOS Modding

Update i fount the TDP limits - now only "how to Flash the updated BIN file…

IMG_20200216_095659.jpg

hi, could someone help me with adding pci express 3.0 compatibility to the ECS A960M-MV motherboard has the latest bios of 2013, the motherboard has pci express 2.0, but does not recognize pci express video cards 3.0, i think is possible achieve compatibility at the bios level, i have another asus motherboard with pci express 2.0 and it has an update with the bios of the year 2016 and accepts pci express 3.0 video cards, also i do not know if you could help me to insert the microcode of the gtx 1060gb nvidia, which is the video card that i want to connect to it but the bios does not recognize it

i cant put the link of the bios because im a new user, but the last bios is in the website of brand , just type in google "ECS A960M-MV bios"and is an AMI bios

sorry i don’t have any knowledge of modding bios, anyone can help me, or guide me, please. thanks

THANK YOU! I HAVE BEEN TRYING TO FLASH MY MSI BIOS FOR DAYS AND YOUR ANNEX GUIDE WORKED!

hello there is no way the wd sn750 will recognize me, i have an ASUS M5A99X EVO R2.0 board.

I extracted the capsule with UEFI Tolls v0.28 I inserted the NvmExpressDxe_4.ffs module with MMTool 4.50.0.23.

and I flash the signature in 2 steps with / GAN in afiwinx64.exe, I did the whole process successfully but at the moment of restarting and activating the UEFI in the CSM parameters. It does not show them to me in the boot menu and throws me a warning "the current BIOS setting do not fully support the boot device"

I tried all the possible combinations and repeated the whole process countless times! What am I wrong?

thanks

Hi. Following alot of guides here and I modded the bios of my dell t5810 with amibcp. I have flashed the chip with the modded bios and the pc works as normal except not a single item I selected USER for shows up. Not one. I made sure to enable the menu in root and sub and some of them I assumed would pop up just fine and others I was hopeful. I pulled another dump and verified it in amibcp and it def. Shows all the items I changed…any help?

@Fernando , it seems the guide is designed for Aptio IV bios user. However, as more and more board is using Aptio V UEFI bios, perhaps it is better to include a guide for people who is trying to insert a ROM module for Aptio V bios.

For anyone who is interesting to insert the AsMedia 106x AHCI ROM module into Aptio V UEFI BIOS for onboard AsMedia 106x chips, following steps are necessary in order to obtain all the necessary data for all the fields in AMI MMTools 5.x, as the guide on the first page is designed for Aptio IV UEFI BIOS only.

First, open up device manager (devmgmt.msc) under Windows running at the target system (the one that is going to be flashed by the new BIOS), and navigate to ‘Storage Controller’ and find ‘Asmedia 106x SATA Controller’. Double click on it to open up the property dialog.

Then navigate to the ‘Details’ tab of the property dialog, and note the following items by choosing them at the drop box list of ‘Property’.
Hardware IDs: Note the 4 digits at DEV_XXXX, as the AsMedia 106x ROM module can be used for both 0612 and 0611 device manufactured by AsMedia (VEN_1B21)
Location Paths: Note the whole string which started as PCIROOT(X)#PCI(XXXX)#PCI(XXXX) (the second PCI part may not appear as it depends on how the manufacturer connect the chip on the motherboard)

If you have found that the Hardware IDs noted is different from the file that you have downloaded from the repository, you may consider to edit the ROM module via hex editor to update the device ID. To update the device ID in the ROM module, open up hex editor such as ‘HxD’ and load the file. Search the hex string as per the vendor ID, which can be found from the above Hardware IDs (4 digits at VEN_XXXX). For example, the AsMedia vendor ID is 1B21, and you should search the hex string as ‘211B’ in the option ROM file (instead of ‘1B21’ due to its endianess). And the 2 bytes after the first found hex string ‘211B’ from the top of the file should contain the device ID of the option ROM, which should either be ‘1206’ or ‘1106’ (i.e. DEV_0612 or DEV_0611) for AsMedia ROM, and you should modify them such that they matches the actual device ID.

After that, open up MMTools 5.x and load the bios that you want to insert the AsMedia Option ROM Module, and prepare / extract the AsMedia Option ROM Module after downloading it from the repository. Navigate to the ‘Option ROM’ tab of MMTools 5.x, and click on the ‘Browse’ button to load the extracted AsMedia Option ROM.

Choose ‘Insert an Option ROM’ at the radio / button box list, click ‘Apply’, and a box with 3 fields will come up for you to enter.

For the Option ROM File GUID, normally you can choose the existing one by pressing down arrow button, as most Option ROM modules often use the same File GUID within a single BIOS.
For the Option ROM Section GUID, I have generated a Section GUID by pressing the ‘Generates Section GUID’ button, as I cannot find the Section GUID of AsMedia 106x Option ROM module on the internet at all. A randomly generated section GUID should be fine, but perhaps someone with more experience in MMTools can provide some information / explanation about it.
For the Device Path, you have to choose the correct one which matches the ‘Location Paths’ that you have noted down in the device manager. For example, if the ‘Location Paths’ shown was PCIROOT(0)#PCI(1A00)#PCI(0000), then you should select ‘HB0-0:0-0:0-1A:0-0:0’ as the device path, by matching up the last few digits. Another example is that if the ‘Location Paths’ shown was PCIROOT(0)#PCI(1F03) without the second PCI string, you should select ‘HB0-0:0-0:0-1F:3’ as the device path. The prefix / start of the DevicePath string may vary but the number at the middle / at the end must match the ‘Location Paths’ shown in Device Manager.

For anyone interested to know whether the AsMedia AHCI Option ROM Module will work in Aptio V BIOS or not, I will let you know after I have flashed my BIOS, since I have just updated my BIOS with latest ME engine, microcode, RAID driver, etc., but did not flash it yet.

@Fernando , Hi I’m interested in Modding two motherboards.

Is it that simple to just simply extract modules that simply and incorporate it to my flash?

G1 Sniper M5 already has ↓
Change Log -
1. Added NVME Mod
2. Menu Edit >> @ M.I.T. >> Miscellaneous Settings
3DM01 Boost >> Replaced w/ >> High Precision Timer

I’m interested in a Disable SMI toggle in UEFI & Resizable BAR + Above 4G Decoding support.

Reference to another post that has the 2 aforementioned features already incorporated but does not have ways to disable SMI or enable Resizable BAR & Above 4G Decoding
Gigabyte G1.Sniper M5 (Z87) F10 -HPET NVME Mod


EVGA Z370 Micro with more UEFI features such as:
Disable intel speedstep toggle
Major features such as LLC control & other OverClocking features
I hope this already has HPET setting in there as well so there is a toggle for that too.

@lime :

The procedure is simple, but not without any risks.
Before you flash a modded BIOS, where 1 or more natively present modules have been replaced by other ones, which were extracted from the BIOS of another mainboard, you should make sure, that
1. the GUID header of the module stays untouched and
2. the inserted module is compatible with the recipient mainboard.
If you are unsure, you should better ask a BIOS modding expert for help and post your specific request into >this< Sub-Forum.

By the way - if you want to address your request to a specific Forum member, you should better insert an "@" in front of his/her nickname. Otherwise that person will not be notified about your post.

@Fernando , Gotcha. I apologize Fernando. Appreciate the help.

Does anyone have experience modding HP Omen bioses? The Omen 2021 versions seem to have had their options mostly locked out, but their overall structure seems to still look like AMI ones…

@hahagu :
Hello mate, can you help me with unlocking the read/write access by modifying the flash descriptor? I wanted to unlock Overclocking lock in the latest bios 1.15.0 and I have already successfully modified the PE32 file for it. As you mentioned in your post about shorting the pins of the HDA chip (Realtek for 7567), I wanted to know 2 things if you could kindly help me;

1) Is the HDA chip marked "HDA1" on 7567 motherboard and is located under the palm rest assembly (keyboard) on the right side near the headphone jack (little realtek chip)? Or there is another chip marked HDA only?

2) After shorting the pins and booting into OS (removing the short as th OS loads), what do I actually need to modify in flash descriptor as you mentioned above and how? do I need to boot into the modified GRUB and use FPT there or after booting into the OS and use from the command prompt?

I would appreciate the help since I am stuck with bios 1.11.0 just for the sake of undervolting. I only need to know the exact steps to modify the FD, no detailed guide required. I shall be really thankful.

Hi, just wondering if it may be possible to add a module for an external PCI card; I have a USB 3.1 add-in card with ASM2142 chipset and what I’d like is to be able to boot off from it, right now the usb ports are not loaded until Windows enables them; my board (Z87) is “ancient” for today standards, I already have flashed a BIOS, from this forum, with the NVME module and it works pretty fine. Any ideas?

I want to replace the Intel microcode from a previous bios version of the same board. The motherboard has q flash plus, which I have used successfully to update the bios once already. The main problem is, how do I find the specific section of code I’m looking for? Can I look through a bios that I downloaded, or do I have to extract the bios module from bios installed on the board? I’m planning to use mm tool or whatever it is to view the bios modules, but I’m not sure how to find the code I’m looking for.

Thank you.

@ BDTDNC
So i suspect that you want older cpu mcodes from old bios revision on new bios revison.
What kind of bios AMI/PHOENIX/INSYDE…
There are several tools that can extract the mcodes like MCextractor and even a repository of older mcodes.

Do please provide further information on hardware, bios and actions to be made, on this post and in future requests on this forum, users are not “wizzards” to guess it, so providing the best info is half way to a better comprehension of a user request.

1 Like

Ok my bad I thought there was only one “Intel microcode” per bios, and that all the tools were basically the same.

The board is Gigabyte B660m Gaming X AX. Current bios versions have Intel microcode that blocks undervolting. I am on F20, I would like to replace the microcode on F20 with the Intel microcode on F4 which from other user reports does not block undervolting.

Thank you.

General guides, not all steps applies to all bios systems:

[GUIDE] AMI INTEL CPU Microcode Update Guide - Special Topics / CPU Microcodes - Win-Raid Forum (level1techs.com)
[GUIDE] Update CPU Microcode + Fix FIT Using UEFITool / Hex - Special Topics / CPU Microcodes - Win-Raid Forum (level1techs.com)
MC Extractor: Intel, AMD, VIA & Freescale Microcode Extraction Tool Discussion - Special Topics / CPU Microcodes - Win-Raid Forum (level1techs.com)
Intel, AMD, VIA & Freescale CPU Microcode Repositories Discussion - Special Topics / CPU Microcodes - Win-Raid Forum (level1techs.com)
[OFFER] Intel CPU Microcode Archives - Special Topics / CPU Microcodes - Win-Raid Forum (level1techs.com)

I could use some help with unlocking settings on Gigabyte Alder Lake platform (Z690 Aorus Elite DDR4). The problem is that I only see cherry-picked items in BIOS because Gigabyte uses a custom menu. No matter how many settings I unlock, I cannot see them in BIOS. For instance, I could unlock all settings in ‘chipset’ but it wouldn’t matter because I can’t see ‘chipset’ at all and therefore, I cannot see any of its settings, except for the few handpicked settings that the custom menu gives me. See my attached screenshot.

How can I get rid of the custom menu?

So far, it is only possible to change it on your choose by picking other setting to be shown. That’s it because of that highly customized setup screen.

The view available in UEFIEditor doesn’t match what actually displayed. I wish I could know how to fix this.

1 Like

How much research have you done into the Aorus Elite motherboard? I could be mistaken, but I think that’s the one that’s horribly broken and the bios is barely held together with the coding equivalent of duct tape… that might be why certain settings are hidden - those settings either don’t work or will break things.

You should check for bad reviews on Amazon, Newegg, etc. I could be wrong though.