Contribute
Register

Successfully patched Z170X-UD5 TH CFG Lock (MSR Ex02)

Status
Not open for further replies.
@iLikeHackintosh Got a question for you.

I have an Asrock X99M Killer 3.1 motherboard.

AppleIntelInfo reports:
Code:
MSR_PMG_CST_CONFIG_CONTROL.......(0xE2)  : 0x400
------------------------------------------
 - I/O MWAIT Redirection Enable......... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock............................. : 0 (MSR not locked)
 - C3 State Auto Demotion............... : 0 (disabled/unsupported)
 - C1 State Auto Demotion............... : 0 (disabled/unsupported)
 - C3 State Undemotion.................. : 0 (disabled/unsupported)
 - C1 State Undemotion.................. : 0 (disabled/unsupported)
 - Package C-State Auto Demotion........ : 0 (disabled/unsupported)
 - Package C-State Undemotion........... : 0 (disabled/unsupported)

Searching for CFG Lock finds nothing, but MWAIT does:
Code:
0x391DA                 One Of: Monitor/Mwait, VarStoreInfo (VarOffset/VarName): 0x7D, VarStore: 0x1, QuestionId: 0xCF3, Size: 1, Min: 0x0, Max 0x1, Step: 0x0 {05 91 44 11 45 11 F3 0C 01 00 7D 00 10 10 00 01 00}
0x391EB                         One Of Option: Disable, Value (8 bit): 0x0 {09 07 4B 0A 00 00 00}
0x391F2                         One Of Option: Enable, Value (8 bit): 0x1 (default) {09 07 4A 0A 30 00 01}
0x391F9                 End One Of {29 02}

I would try using this:
Code:
setup_var 0xCF3 0x00

Not sure if it would work or do something nasty or should not be attempted.

Any input would be appreciated. Apologizes if I should not have jumped in on this thread.
 
I’m same z170x-ud5 th m/b user. bios f21
setup_var 0x4E 0x00
Success.
Thank you so much. :)
 
I'm not familiar to Ubuntu etc... so I need your advise, because I don't if I done all this correctly?

I just worry about the last line is something went wrong or not?
error: offset is out of range..

my board is: z170x-ud5 th with bios F22g

Pic01.jpg
 
Last edited:
I'm not familiar to Ubuntu etc... so I need your advise, because I don't if I done all this correctly?

I just worry about the last line is something went wrong or not?
error: offset is out of range..

my board is: z170x-ud5 th with bios F22g

Please read my instructions here. It's known issue. You need to use setup_var_3 command, which still shows errors but ignores them and makes changes. On this instructions you will find download link for modified GRUB shell with setup_var_3 patch.
 
@ iLikeHackintosh,
Thanks m8, if I understood correctly that I only need to download a new file modGRUBShell.efi then rename it and put it to USB>EFI/Boot and then run command: setup_var_3 instead of setup_var right?

thanks in advance
 
@ iLikeHackintosh,
Thanks m8, if I understood correctly that I only need to download a new file modGRUBShell.efi then rename it and put it to USB>EFI/Boot and then run command: setup_var_3 instead of setup_var right?

thanks in advance

Detailed instructions are in section "How to create bootable USB for GRUB shell" -> "Download and put Grub Shell on USB"
 
I'm not very familiar with linux..., unfortunately in the description I did not found how to do it exactly, which program to use and on which OS system to prepare Linux Boot USB:(

So I went a bit different way, I created Linux bootable USB on Mac OS using this and then go to windows and put bootx64.efi into EFI/Boot, then boot from USB and enter command: setup_var_3 0x4EF 0x00

I don't know what I'm doing wrong, but here is result, please I need your advice because it's not clear for me it makes changes or not, how can I check it?

Pic1.jpg


I just saved Image-bios from from my BIOS GUI and follow all procedure to check if something changes, but I see there is nothing has changed is still 0x1:(

Pic2.jpg

 
Last edited:
I’m same z170x-ud5 th m/b user. bios f21
setup_var 0x4E 0x00 Success.:)


@comed78

how did you come to 0x4E for this board is actually 0x4EF or you just tried without F and it worked for you?
 
Last edited:
Status
Not open for further replies.
Back
Top