Previously I added re-bar successfully and I used AMI UEFI editor to enable some menus by both changing suppress and access level. The menu still doesn’t show up but some of the others do. https://imgur.com/a/ckJybFt
The top 2 enable but the bottom 2 do not, whether access level is 1 or 9.
Is there another way to enable sleep, perhaps another module that should be changed. Would all these enable if I used the manufacturing mode jumper?
edit: I changed IDs to 05 and I can see one more menu but not the one with the suspend limit ( ACPI Sleep State). If I remove both conditions for it, both “09” menus disappear.
Also added intelRCsetup but I cannot enable the overclocking page. Even if I unsupress it with the editor the page won’t show. Cannot change access levels because there is no body bin for the platform dxe module. Don’t know what else to do. Maybe UMAF tool can edit all of these.
edit2: Used the UMAF tool and enabled S3 sleep but still only see s2idle. I am out of ideas.
Can you allow multi-byte values please for numeric fields, for example if the maximum (or minimum) uses 2 bytes … ? Or more bytes ?
I would like to update by Precision Boost Overdrive (PBO) parameters for Ryzen CPUs (PPT, TDC, EDC), but the JavaScript form only allows me to input a single byte in hexadecimal, and I can not input 300 Ampers for EDC
Hello.
I’m up to try adding more options to the tool. Could you clarify my understanding of code? I need help because when I add another bytes to array, the tool starts changing the values itself with no input from user.
Are my comments correct?
function getAccessLevels(
bytes: string,
hexSetupdataBin: string
): [string, string, string, Offsets] | [null, null, null, null] {
const byteArray = bytes.split(" ");
const regex = new RegExp(
//Sort by Question ID
byteArray[6] +
byteArray[7] +
//Skip 14 bytes and parse AccessLevel
".{28}(..).{6}" +
//Sort by Description string ID, skip 26 bytes, sort by Name string ID
byteArray[4] +
byteArray[5] +
".{52}" +
byteArray[2] +
byteArray[3] +
//Skip 2 bytes and parse defaults
".{4}(..)(..)",
"g"
);
UEFI Editor allows changing the target form of top-level references in Menu. I want to make the target of “Ref To” entrys type changable as well. In fact, page id is assigned in any type. In any other non-“Ref To” type it is just “FF FF”.
Is this not feasible?
UEFI Editor is not happy about Dell, Asus, Gigabyte desktop bios. Changes to top-level references do not work as expected.
So, to sum this up: setupdata stores the target Forms of Ref Prompts in 16 bit fields, and the goal is to parse those and add a new column to the table that lets you change the target Form to anything you want?
In result the tool went crazy overlapping one value with another.
Then I reached out to you to confirm my understanding of the regular expression in th code. But instead of an answer I got twice questioned. No problem.
Today I decided to separate Page ID parsing to a different function.
I was asking since I figured you’d prefer if I implemented it in the main branch. Regarding the getAccessLevels function: for some reason, your fork has 1451 additions and 1519 deletions, so I can’t tell what’s going on.
Oh, that commit is using a separate function and property. Anyway, you have to keep the order of offsets in the array the same since they’re being accessed by index here. In hindsight, I should’ve just used an object with proper property names, but back then I was planning on keeping the .json somewhat compact because it was meant to be an IFR Formatter output replacement (which is whatever now since I wrote another formatter). I’ll change that array to an object eventually to make it less confusing.
Regarding the page IDs: I was thinking of just adding a dropdown to the “Info” column for Ref Prompts to avoid making the table even wider. I’ll try to confirm that this method works on various boards before implementing it.
I know. Like, (child.offsets[0]), (child.offsets[1]) and etc. I added up to (child.offsets[3]). Order was correct. And the tool still had weird behaviour.
The second thing I want to add is new entry type that can’t be parsed from IFRE output.
This type is intended to be used on My Favorites tab.
I can’t flash the modded BIOS, I need a signature file and the one from the original BIOS version (that I modified) does not work.
I have also tried to “trick” the flash tool that I want to flashback or recovery-flash (Win+B on boot) but it’s the exact same thing everywhere.
I have read in several places that the signature is not needed but for me it clearly is.
What am I doing wrong?
The numbers I see when comparing the intact and modified BIOS files all seem to check out, I used the older version of the UEFITool to create the bin.
(I have modded BIOSes before, but we didn’t have signatures, UEFIs, certificates or really anything but simple checksums. Sure, if you fd up you fd up for real, but at least you knew if your were making any progress at all )
Thankful for any and all help.
Omen 25L GT-12xxxa, F.28a.
I’ve looked through the PDF and your repo a bit. I’m confused why you replace 4 bytes in the PDF but only 2 bytes in the repo. The location also seems to be different.