[TOOL] UEFI Editor

He changed the default state of the 4G decoding setting and, after flashing the modded BIOS, the system refused to boot up. Then he thought that he did something wrong in UEFI Editor, but it turned out to be a bug of the board. The issue is not relevant anymore.

I only know about the way of adjusting the amount of top-level references. As well as how to change the order of them to be displayed.
I think this is not enough to begin coding of a new editor’s iteration including only one new feature.

Regarding the other part, I have not advanced in it much enough yet. I mean, I’m good at swapping options’ by changing their handles, but when it comes to shrinking / incr. the options list, I am facing a problem. The thing is that total options amount inside certain form is defined somewhere in the setup data tables.

I’m glad that interest in the tool development hasn’t faded so far. Will let you know if I manage to understand how the AMI setup enviroment works.

Hello,
no problem. I fixed it a few months ago. All a success.
Sorry for the delay in response.
Greetings!

Hello,
trying to acces an unacessible menu but my Menu looks weired with lots of doublets.

I want to add acces to a hidden setup->Advanced menu.
Setup contains 2 advanced menus,
0x2712
0x2719 (this one is not accesible)

I understand that I need to replace one item in Menu with 0x2719, however my Menu contains doubletts(see screenshot) so I do not understand howto mod it ?

Or If i want to change Main to advanced menu just replace 0x2711 with 0x2719 everywhere?

I do not see any doublets inside my bios so I do not know why they are here?

What board is that? Chances are you don’t need to replace anything and can just make Form references visible the regular way.

It’s an “Erying i5-12500H b660i” board. Motherboard with a soldered on Intel mobile cpu. Bios dump from flashrom can be found here, if you want to look.

What do you mean with the regular way ? Secret key combination or something?
The only visible Forms on the Menu page when entering Bios are the 6 last Forms from previous screenshot and save&exit.

Also it’s form 0x2710(Setup) I want to access which have 2 subforms(Advanced(0x2719), Chipset) I . The subforms have suppresion if’s codes on them(but maybe they do not do anything).

Menu with tabs:

Try replacing this one with 0x2719 and then press Escape after entering the regular Advanced tab.

Hello, was going to create the new binfile with your proposed change.

However when opening the original bios file in UEFItool 0.28.0 it throws 2 messages saying. “parseFile: none-empty pad-file contents will be destroyed after volume modifications”. Is it safe to use the saved BIOS from this?

@etnicor, I want to warn you, there are bugs in version 28.0. It is better to use versions 25.0 or 25.1

I googled some and the padding message seemed to be ok…(were conflicting answers)

I used 0.28 since 0.25 gave the same message on padding.

I flashed BIOS with the change and flash went fine. However now the Advanced tab is not accesible at all. I can see it but can’t choose it.

EDIT:
replaced the 2nd Advanced in menu with 0x2719 aswell, then Advanced was choosable again. However I only saw the old advance options and if I pressed escape I just got “Do you want to exit without saving changes”.

Anything else I can trie?

Got it to work.
Made a 2nd attempt on changes both Advanced to 0x2719. This time I see all options when I go to Advanced. Don’t know why it didn’t work the first time…

This is freaking awesome.
Thx for the help(very happy)

1 Like

I tried your tool with a tongfang 17" 13900hx +4090
I tried replacing the “main” menu with the advanced tab I wanted.I also changed permissions from 01 to 29 to match some other options

I also changed some variables directly such as overclockin lock and cfg lock and undervolt protection from 01 to 00, and NOTHING took

the menu remained totally unchanged and all overclocking was still locked, kinda weird…





Picture 2: Failsafe and Optimal are being ignored · Issue #9 · BoringBoredom/UEFI-Editor · GitHub, will eventually work on it
Picture 3: Try to change all occurrences of “Advanced” to the target Form, like etnicor did above. Then press Escape once you’re in the vanilla “Advanced” Form.
Picture 4: That won’t do anything since you haven’t been able to access the “Setup” Form so far, and you’ll likely not need to change those once you can access “Setup” anyway.

2: OK!
3: The other occurrences are ALREADY set to the one I want. Should I change a different one maybe?
4: I understand. I thought I need to change access to the “form” / “page” any other idea?

  1. Is there a way to just change some variables? Such as IA ICC Current limit
    offset: 0x347, store: 0x2

I can’t change the variables using setup_var.efi, there seems to be an access error or something. I get error 00000000008

so hoping to change them directly in the bios image and flash it.

Tongfang and some other Chinese models might use 1 additional array to control forms visibility. UEFIEditor do not see it.

What motherboard/BIOS is that? Can you provide a download link?

Of course! attached mobo info and bios:

Uniwill / Tongfang GM7PX9N
13900HX
4090 mobile

Bios and mobo info from HWINFO is here:

The 1st forms blacklist.
AMITSE PE32 Image Section offset 25020h - 2519Fh.

The 2nd blacklist.
AMITSE PE32 Image Section offset 26E80h - 26E8Dh.

:crazy_face:

What should I do? :rofl:

It depends on what you want. I can only edit the AMITSE SCT file to unlock Advanced tab. Should I do this for you?

I just noticed you replaced 0x2711-Main with 0x2717-Advanced instead of 0x2712-Advanced with 0x2717-Advanced. Try doing that and then press Escape when you’re in the UI’s Advanced tab, which should hopefully direct you to the parent Form of 0x2717-Advanced.