Need Help, Probably easy for somebody that has experience

Hello,
I tried several times to unhide HPET in my MSI bios its not working with AMIBCP. Some retired Guru explained that its because you need to change it in the upper and lower BIOS.
Basically I have the same problem as the guy in thread [REQUEST] MSI X470 GAMING PLUS MAX HPET option - BIOS/UEFI Modding / BIOS Modding Requests - Win-Raid Forum (level1techs.com)
and I tried to solve it with the option “Lost_N_Bios” provided “Great to hear, and thanks for the quick test and report back!
So, all that was needed here then, was the setup PE32 edit I outlined above in post #2 (to both upper/lower BIOS area - Setup PE32 modules)
This means AMIBCP, or edits that it makes but done manually to both upper/lower AMITSE/SetupData modules are not needed here, nor would they help or have any effect, if the setup edit is not done first” but I really fast understood that I could easily mess up something since I wasnt even able to find the PE32… And then to change smth and recompile especially if it can brick my device is something too risky, so I kindly ask for somebody to apply the 4 lines of PE32 changes to the latest bios of my mainboard " X470 GAMING PLUS MAX | Mainboard | MSI Deutschland"
AMI BIOS
7B79vHL1(Beta version)
2024-09-05
17.60 MB
Lines to change:

From Upper Setup PE32 >>
Suppress If {0A 82}
0x458EE True {46 02 } << Change to 47 02 = False
0x458F0 Subtitle: Statement.Prompt: , Flags: 0x0 {02 87 02 00 00 00 00}
0x458F7 End {29 02}
0x458F9 Subtitle: Statement.Prompt: HPET Configuration, Flags: 0x0 {02 87 BB 07 00 00 00}
0x45900 End {29 02}
0x45902 Gray Out If {19 82}
0x45904 QuestionId: 0x310 equals value 0x1 {12 06 10 03 01 00} << Null via FF
0x4590A One Of: HPET, VarStoreInfo (VarOffset/VarName): 0xA5, VarStore: 0x1, QuestionId: 0xC3, Size: 1, Min: 0x0, Max 0x1, Step: 0x0 {05 91 BC 07 BD 07 C3 00 01 00 A5 00 10 10 00 01 00}
0x4591B One Of Option: Disabled, Value (8 bit): 0x0 {09 07 04 00 00 00 00}
0x45922 One Of Option: Enabled, Value (8 bit): 0x1 (default) {09 07 03 00 30 00 01}

From Lower Setup PE32 >>
Suppress If {0A 82}
0x3E9D5 True {46 02 } << Change to 47 02 = False
0x3E9D7 Subtitle: Statement.Prompt: , Flags: 0x0 {02 87 02 00 00 00 00}
0x3E9DE End {29 02}
0x3E9E0 Subtitle: Statement.Prompt: HPET Configuration, Flags: 0x0 {02 87 BB 07 00 00 00}
0x3E9E7 End {29 02}
0x3E9E9 Gray Out If {19 82}
0x3E9EB QuestionId: 0x312 equals value 0x1 {12 06 12 03 01 00} << Null via FF
0x3E9F1 One Of: HPET, VarStoreInfo (VarOffset/VarName): 0xA5, VarStore: 0x1, QuestionId: 0xC4, Size: 1, Min: 0x0, Max 0x1, Step: 0x0 {05 91 BC 07 BD 07 C4 00 01 00 A5 00 10 10 00 01 00}
0x3EA02 One Of Option: Disabled, Value (8 bit): 0x0 {09 07 04 00 00 00 00}
0x3EA09 One Of Option: Enabled, Value (8 bit): 0x1 (default) {09 07 03 00 30 00 01}

I would greatly appriciate it because I think this is messing up something with my timers with the newest windows versions (after 21h2) even if I disable it in the device manager, I just want to be sure. Would be really great if somebody can do this quickly since I am testing since over a week basically 24/7 and I basically narrowed it down to some things including this option and I need to have the thing unhidden to be able to continue my troubbleshooting with my bug.
Best regards

edit: furthest i have come to was extracting File_DXE_driver_Setup_Setup_body IFR but I only can find the value he mentioned one time… so where is the “lower setup”? 0x4B64D > Suppress If: {0A 82}

0x4B64F True {46 02}
0x4B651 Subtitle: {02 87 02 00 00 00 00}
0x4B658 End {29 02}
0x4B65A Subtitle: HPET Configuration {02 87 D2 07 00 00 00}
0x4B661 End {29 02}
0x4B663 Grayout If: {19 82}
0x4B665 Variable 0x313 equals 0x1 {12 06 13 03 01 00}
0x4B66B Setting: HPET, Variable: 0xA8 {05 91 D3 07 D4 07 C8 00 01 00 A8 00 10 10 00 01 00}
0x4B67C Option: Disabled, Value: 0x0 {09 07 04 00 00 00 00}
0x4B683 Option: Enabled, Value: 0x1 {09 07 03 00 30 00 01}
0x4B68A End of Options {29 02}
0x4B68C End If {29 02}
0x4B68E End If {29 02}
0x4B690 End Form {29 02}

and what does he mean with “0x3E9EB QuestionId: 0x312 equals value 0x1 {12 06 12 03 01 00} << Null via FF” because for me it’s already {12 06 13 03 01 00}… I am hella confused rn.

15 posts were merged into an existing topic: [Request] Mod MSI X470 Gaming Plus Max BIOS