Jump to content

[UEFIPatch] UEFI patching utility


CodeRush
1,981 posts in this topic

Recommended Posts

thanks.. I think that the intel s5520 uses an unsigned AMI bios.. at least that is what I have heard.. so how would one go about it ... I have found hfsplus-64.efi file.. and I have downloaded the latest intel efi/uefi bios and recovery bios files...

 

thanks... I kind of need a walkthrough as I am new at this and dont want to brick anything!!

Link to comment
Share on other sites

Try ti open dowloaded BIOS with uefitool,if it open whitout warning about security signing you can mod BIOS

 

Inviato dal mio NX507J utilizzando Tapatalk

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

Arise, you are right. I will now show you and others how UEFITool can be handy for such mods.

It will be automated there someday, but right now, here is the guide:

1. Download latest version of UEFITool from here.

2. Open your BIOS file. If it fails to open, check it for being UEFI BIOS. Legacy ones are not supported.

sybx.png

3. Select "File->Search..." (or press Ctrl+F) and enter "75080FBAE80F89442430" as hex pattern, set search scope to "Body only".

wxgp.png

4. Look for "Hex pattern found" string in Messages field, double-click on it to select found section. If not found - you have nonstandard BIOS that needs to be studied further, please upload it here.

mhwg.png

5. Press RMB on found section and select "Extract body..." action. "Save file..." dialog will open, enter the name of file to save, for example, "pm.bin", and press Save.

sykt.png

6. Open saved file with hex editor, find that "75080FBAE80F89442430" pattern once again, replace 75 to EB and save modified file.

mdxq.png

7. Select the same section you have found in step 4, press RMB and select "Replace body..." action. Select your modified "pm.bin" file in "Open file..." dialog, that will open and press Open. Old section will be marked "Remove", and another section marked "Replace" will be added after it.

u4t7.png

8. Select "File->Save image file..." (or press Ctrl+S) and save your modified BIOS.

9. Reopen the saved file to see that it opens correctly.

10. Flash the result with any suitable method.

---

This guide can be followed for any particular patch pattern, but have in mind that UEFITool is still in early beta stages and it can produce corrupt BIOS images.

Try them on your own risk, but please, try it. Without testing it's very hard to develop something useful, and my testing possibilities are very limited.

But, if you have any working recovery solutions, you can test UEFITool-made mods.

Let's make it better together.

75080FBAE80F89442430 it's for anyone or not?

 

If anyone can patch for me... :D

 

Thanks!

mb_bios_ga-h81m-s2ph_fd.zip

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...

Hi all,

 

today I've joined Apple to work on low-level security and other firmware-related stuff, and this means I can't support OSS tools nor answer any questions. Please move myself to "retired developers" group.  

I want to thank all members if IM community for your help and testing during UEFIPatch development and hope the tool served you well.

So long, and thanks for all the fish. ;)

 

Best regards,

CodeRush

  • Like 9
Link to comment
Share on other sites

Hi all,

 

today I've joined Apple to work on low-level security and other firmware-related stuff, and this means I can't support OSS tools nor answer any questions. Please move myself to "retired developers" group.  

I want to thank all members if IM community for your help and testing during UEFIPatch development and hope the tool served you well.

So long, and thanks for all the fish. ;)

 

Best regards,

CodeRush

You will be missed, best wished!

Link to comment
Share on other sites

  • 2 weeks later...

Can you conform my X99gaming g1 wifi is MSR locked or unlock

Bootlog info

0:100  0:000  Boot status=0

0:100  0:000  Running on: 'Default string' with board 'X99-Gaming G1 WIFI'

0:100  0:000  === [ GetCPUProperties ] ==================================

0:100  0:000  CPU Vendor = 756E6547 Model=306F2

0:100  0:000  got cores from CPUID_1 = 0

0:100  0:000  The CPU supported turbo

0:100  0:000  BrandString = Intel® Core i7-5960X CPU @ 3.00GHz

0:100  0:000  MSR 0xE2 before patch 00000003

0:100  0:000  MSR 0xE4              00000000

0:100  0:000  MSR 0xCE              00080C3B_F3811E00

0:100  0:000  MSR 0x1B0             00000000

0:100  0:000  FSBFrequency=143MHz DMIvalue=100000kHz

0:100  0:000  Corrected FSBFrequency=100MHz

0:100  0:000  Vendor/Model/Stepping: 0x756E6547/0x3F/0x2

0:100  0:000  Family/ExtFamily: 0x6/0x0

0:100  0:000  MaxDiv/MinDiv: 30.0/12

0:100  0:000  Turbo: 43/43/43/43

0:100  0:000  Features: 0xBFEBFBFF

0:100  0:000  Threads: 16

0:100  0:000  Cores: 8

0:100  0:000  FSB: 100 MHz

0:100  0:000  CPU: 4300 MHz

0:100  0:000  TSC: 4300 MHz

0:100  0:000  PIS: 400 MHz

 

AppleIntelInfo.kext

 

Last login: Thu Aug 18 13:38:04 on ttys000

manoranjansPro2:~ manoranjan$ sudo -s

Password:

bash-3.2# chown -R 0:0 ~/Desktop/AppleIntelInfo.kext

bash-3.2# chmod -R 755 ~/Desktop/AppleIntelInfo.kext

bash-3.2# kextload ~/Desktop/AppleIntelInfo.kext

bash-3.2# cat /tmp/AppleIntelInfo.dat

 

AppleIntelInfo.kext v1.2 Copyright © 2012-2015 Pike R. Alpha. All rights reserved

 

Settings:

------------------------------------

logMSRs............................: 0

logIGPU............................: 0

logIntelRegs.......................: 1

logCStates.........................: 1

logIPGStyle........................: 1

InitialTSC.........................: 0x369a49aee38

MWAIT C-States.....................: 8480

PCH device.................: 0x8D478086

 

CPU Ratio Info:

------------------------------------

CPU Low Frequency Mode.............: 1200 MHz

CPU Maximum non-Turbo Frequency....: 3000 MHz

CPU Maximum Turbo Frequency........: 4300 MHz

CPU P-States [ (12) 33 ]

CPU C6-Cores [ 1 2 4 6 8 10 12 14 ]

CPU P-States [ (12) 14 33 ]

CPU C6-Cores [ 1 2 4 6 8 10 12 13 14 ]

CPU P-States [ (12) 14 16 33 ]

CPU C6-Cores [ 1 2 3 4 6 8 10 12 13 14 15 ]

CPU P-States [ (12) 14 15 16 33 ]

CPU P-States [ 12 14 15 16 20 33 (43) ]

CPU P-States [ 12 14 15 16 20 (30) 33 43 ]

CPU C6-Cores [ 1 2 3 4 6 8 9 10 12 13 14 15 ]

CPU P-States [ (12) 14 15 16 20 21 30 33 43 ]

CPU C6-Cores [ 0 1 2 3 4 6 8 9 10 12 13 14 15 ]

CPU P-States [ (12) 14 15 16 20 21 25 30 33 43 ]

CPU P-States [ (12) 14 15 16 17 20 21 25 30 33 43 ]

CPU C6-Cores [ 0 1 2 3 4 6 7 8 9 10 12 13 14 15 ]

CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 12 13 14 15 ]

CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ]

CPU P-States [ (12) 14 15 16 17 20 21 23 25 30 33 43 ]

CPU P-States [ 12 14 15 16 17 20 21 23 25 29 30 33 (43) ]

CPU P-States [ 12 14 15 16 17 20 21 22 23 25 29 30 33 (43) ]

CPU P-States [ (12) 13 14 15 16 17 20 21 22 23 25 29 30 33 43 ]

CPU P-States [ (12) 13 14 15 16 17 19 20 21 22 23 25 29 30 33 43 ]

CPU P-States [ (12) 13 14 15 16 17 19 20 21 22 23 25 27 29 30 33 43 ]

CPU P-States [ (12) 13 14 15 16 17 19 20 21 22 23 25 27 29 30 32 33 43 ]

CPU P-States [ (12) 13 14 15 16 17 19 20 21 22 23 25 27 29 30 32 33 36 43 ]

CPU P-States [ 12 13 14 15 16 17 19 20 21 22 23 24 25 27 29 30 32 33 36 (43) ]

CPU P-States [ (12) 13 14 15 16 17 18 19 20 21 22 23 24 25 27 29 30 32 33 36 43 ]

CPU P-States [ 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 (30) 32 33 36 43 ]

CPU P-States [ 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 36 (43) ]

CPU P-States [ 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 36 40 (43) ]

CPU P-States [ 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 36 40 (43) ]

CPU P-States [ 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 36 38 40 (43) ]

CPU P-States [ (12) 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 36 37 38 40 43 ]

CPU P-States [ (12) 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 40 43 ]

CPU P-States [ (12) 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 43 ]

bash-3.2# 

 

 

AppleIntelInfo.kext if Enable logMSRs-Sysem shotdown

logMSRs............................: 0

 

So I need to UEFIpatch or not?

Bios version F22j

http://www.gigabyte.com/products/product-page.aspx?pid=5126#bios

Link to comment
Share on other sites

I download from this link compile its worked now.

https://github.com/Piker-Alpha/AppleIntelInfo

 

Last login: Sat Aug 20 07:53:54 on console

manoranjansPro2:~ navaratnammanoranjan$ sudo -s

Password:

bash-3.2# chown -R 0:0 ~/Desktop/AppleIntelInfo.kext

bash-3.2# chmod -R 755 ~/Desktop/AppleIntelInfo.kext

bash-3.2# kextload ~/Desktop/AppleIntelInfo.kext

bash-3.2# cat /tmp/AppleIntelInfo.dat

 

AppleIntelInfo.kext v1.5 Copyright © 2012-2016 Pike R. Alpha. All rights reserved

 

Settings:

------------------------------------

logMSRs............................: 1

logIGPU............................: 0

logCStates.........................: 1

logIPGStyle........................: 1

InitialTSC.........................: 0x4d685f1bb488

MWAIT C-States.....................: 8480

 

Model Specific Registers

-----------------------------------

MSR_CORE_THREAD_COUNT......(0x35)  : 0x80010

MSR_PLATFORM_INFO..........(0xCE)  : 0x80C3BF3811E00

MSR_PMG_CST_CONFIG_CONTROL.(0xE2)  : 0x3

MSR_PMG_IO_CAPTURE_BASE....(0xE4)  : 0x0

IA32_MPERF.................(0xE7)  : 0xBBA9FE2CB5

IA32_APERF.................(0xE8)  : 0xF7AF1FFC8F

MSR_FLEX_RATIO.............(0x194) : 0xE0000

MSR_IA32_PERF_STATUS.......(0x198) : 0x280400002B00

MSR_IA32_PERF_CONTROL......(0x199) : 0xFF00

IA32_CLOCK_MODULATION......(0x19A) : 0x0

IA32_THERM_STATUS..........(0x19C) : 0x883D0000

IA32_MISC_ENABLES..........(0x1A0) : 0x850089

MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400000

MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x2B2B2B2B2B2B2B2B

IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x1

MSR_POWER_CTL..............(0x1FC) : 0x2104005B

MSR_RAPL_POWER_UNIT........(0x606) : 0xA0E03

MSR_PKG_POWER_LIMIT........(0x610) : 0x7FFD00014EA82

MSR_PKG_ENERGY_STATUS......(0x611) : 0x9F3FB58

MSR_PKG_POWER_INFO.........(0x614) : 0x1280460

MSR_PP0_POWER_LIMIT........(0x638) : 0x14FFD0

MSR_PP0_ENERGY_STATUS......(0x639) : 0x0

MSR_PKGC6_IRTL.............(0x60b) : 0x0

MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x1E82111ABAE2

MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x21EDD835F484

IA32_TSC_DEADLINE..........(0x6E0) : 0x4D6862B66AA5

 

CPU Ratio Info:

------------------------------------

CPU Low Frequency Mode.............: 1200 MHz

CPU Maximum non-Turbo Frequency....: 3000 MHz

CPU Maximum Turbo Frequency........: 4300 MHz

CPU P-States [ 33 (43) ]

CPU C6-Cores [ 0 2 4 6 7 8 10 12 14 ]

CPU P-States [ 26 33 (43) ]

CPU P-States [ 26 31 33 (43) ]

CPU C6-Cores [ 0 1 2 4 6 7 8 10 12 14 15 ]

CPU P-States [ 26 31 33 36 (43) ]

CPU C6-Cores [ 0 1 2 4 5 6 7 8 10 12 14 15 ]

CPU P-States [ 26 27 31 33 36 (43) ]

CPU P-States [ 26 27 31 33 34 36 (43) ]

CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 10 12 14 15 ]

CPU P-States [ (12) 26 27 31 33 34 36 39 43 ]

CPU P-States [ 12 26 27 31 32 33 34 36 39 (43) ]

CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 12 14 15 ]

CPU P-States [ 12 26 27 31 32 33 34 36 37 39 (43) ]

CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 12 14 15 ]

CPU P-States [ 12 26 27 31 32 33 34 36 37 39 40 (43) ]

CPU P-States [ 12 26 27 29 31 32 33 34 36 37 39 40 (43) ]

CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ]

CPU P-States [ (12) 26 27 28 29 31 32 33 34 36 37 39 40 43 ]

CPU P-States [ (12) 26 27 28 29 30 31 32 33 34 36 37 39 40 43 ]

CPU P-States [ 12 23 26 27 28 29 30 31 32 33 34 36 37 39 40 (43) ]

bash-3.2#

 

 

So It lock or unlock?

 

MSR_PMG_CST_CONFIG_CONTROL.(0xE2)  : 0x3

 

Thank you.

Link to comment
Share on other sites

i think your bios is unlocked. 

 

Clover would log it with "bios is locked, PM patch applied....."

 

I patched my ASUS bios with UEFI Tool and get this log

Model Specific Registers
-----------------------------------
MSR_CORE_THREAD_COUNT......(0x35)  : 0x6000C
MSR_PLATFORM_INFO..........(0xCE)  : 0x20080C3BF3812300
MSR_PMG_CST_CONFIG_CONTROL.(0xE2)  : 0x1E000005
MSR_PMG_IO_CAPTURE_BASE....(0xE4)  : 0x10414
IA32_MPERF.................(0xE7)  : 0x8B723A4F2
IA32_APERF.................(0xE8)  : 0xA9AE4C4A4
MSR_FLEX_RATIO.............(0x194) : 0xE0000
MSR_IA32_PERF_STATUS.......(0x198) : 0x2AE000002E00
MSR_IA32_PERF_CONTROL......(0x199) : 0x7F00
IA32_CLOCK_MODULATION......(0x19A) : 0x0
IA32_THERM_STATUS..........(0x19C) : 0x884A0000
IA32_MISC_ENABLES..........(0x1A0) : 0x840089
MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400001
MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x24242E2E2E2E2F2F
IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x1
MSR_POWER_CTL..............(0x1FC) : 0x2904005B
MSR_RAPL_POWER_UNIT........(0x606) : 0xA0E03
MSR_PKG_POWER_LIMIT........(0x610) : 0x7870800158640
MSR_PKG_ENERGY_STATUS......(0x611) : 0x3283A4C
MSR_PKG_POWER_INFO.........(0x614) : 0x1280460
MSR_PP0_POWER_LIMIT........(0x638) : 0x0
MSR_PP0_ENERGY_STATUS......(0x639) : 0x0
MSR_PKGC6_IRTL.............(0x60b) : 0x0
MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x11739FB26
MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0x8B349
MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x8C9761E3
IA32_TSC_DEADLINE..........(0x6E0) : 0x287700595AD

CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 1200 MHz
CPU Maximum non-Turbo Frequency....: 3500 MHz
CPU Maximum Turbo Frequency........: 4700 MHz
CPU P-States [ 42 (46) ]
CPU C3-Cores [ 1 8 ]
CPU C6-Cores [ 1 2 5 7 8 10 ]
CPU P-States [ (12) 37 42 46 ]
CPU C6-Cores [ 0 1 2 4 5 6 7 8 10 ]
CPU P-States [ 12 37 42 45 46 (47) ]
CPU P-States [ 12 32 37 42 45 46 (47) ]
CPU C3-Cores [ 0 1 8 9 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 ]
CPU P-States [ 12 32 37 39 42 45 46 (47) ]
CPU P-States [ 12 25 32 37 39 42 45 46 (47) ]
CPU P-States [ 12 25 32 37 39 41 42 45 (46) 47 ]
CPU C3-Cores [ 0 1 6 8 9 ]
CPU C3-Cores [ 0 1 5 6 8 9 11 ]
CPU P-States [ (12) 25 31 32 37 39 41 42 45 46 47 ]
CPU P-States [ 12 25 31 32 37 39 41 42 43 45 (46) 47 ]
CPU C3-Cores [ 0 1 4 5 6 7 8 9 10 11 ]
CPU P-States [ (12) 25 31 32 37 39 41 42 43 44 45 46 47 ]
CPU P-States [ (12) 25 30 31 32 37 39 41 42 43 44 45 46 47 ]
CPU P-States [ (12) 25 30 31 32 35 37 39 41 42 43 44 45 46 47 ]
CPU P-States [ (12) 25 29 30 31 32 35 37 39 41 42 43 44 45 46 47 ]
CPU P-States [ 12 25 28 29 30 31 32 35 37 39 41 42 43 44 45 46 (47) ]
CPU P-States [ (12) 24 25 28 29 30 31 32 35 37 39 41 42 43 44 45 46 47 ]
CPU P-States [ 12 24 25 28 29 30 31 32 33 35 37 39 41 42 43 44 45 46 (47) ]
CPU P-States [ 12 24 25 28 29 30 31 32 33 35 37 39 40 41 42 43 44 45 46 (47) ]
CPU P-States [ (12) 24 25 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 47 ]
CPU P-States [ 12 24 25 26 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 (47) ]
CPU P-States [ 12 23 24 25 26 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 (47) ]
CPU P-States [ (12) 23 24 25 26 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 ]
CPU P-States [ 12 21 23 24 25 26 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 (47) ]
CPU P-States [ 12 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 (47) ]
CPU P-States [ 12 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 (46) 47 ]
CPU P-States [ 12 19 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 (47) ]
CPU P-States [ (12) 19 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 ]
CPU P-States [ 12 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 (47) ]
CPU P-States [ (12) 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 ]
CPU P-States [ (12) 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 ]
  • Like 1
Link to comment
Share on other sites

 Bios setting c6/c7 Enabled

0x82D060 _xcpm_pkg_scope_msrs DP6
F-DC 33 00 00
R-00 00 00

Last login: Sun Aug 21 14:46:49 on ttys000

navaratnams-Pro:~ navaratnammanoranjan$ sudo -s

Password:

bash-3.2# chown -R 0:0 ~/Desktop/AppleIntelInfo.kext

bash-3.2# chmod -R 755 ~/Desktop/AppleIntelInfo.kext

bash-3.2# kextload ~/Desktop/AppleIntelInfo.kext

bash-3.2# cat /tmp/AppleIntelInfo.dat

 

AppleIntelInfo.kext v1.5 Copyright © 2012-2016 Pike R. Alpha. All rights reserved

 

Settings:

------------------------------------

logMSRs............................: 1

logIGPU............................: 0

logCStates.........................: 1

logIPGStyle........................: 1

InitialTSC.........................: 0x9e5370bf4c

MWAIT C-States.....................: 8480

 

Model Specific Registers

-----------------------------------

MSR_CORE_THREAD_COUNT......(0x35)  : 0x80010

MSR_PLATFORM_INFO..........(0xCE)  : 0x80C3BF3811E00

MSR_PMG_CST_CONFIG_CONTROL.(0xE2)  : 0x403

MSR_PMG_IO_CAPTURE_BASE....(0xE4)  : 0x10414

IA32_MPERF.................(0xE7)  : 0x302CCAEEA2

IA32_APERF.................(0xE8)  : 0x3995233C5C

MSR_FLEX_RATIO.............(0x194) : 0xE0000

MSR_IA32_PERF_STATUS.......(0x198) : 0x27F500002B00

MSR_IA32_PERF_CONTROL......(0x199) : 0xFF00

IA32_CLOCK_MODULATION......(0x19A) : 0x0

IA32_THERM_STATUS..........(0x19C) : 0x883D0000

IA32_MISC_ENABLES..........(0x1A0) : 0x850089

MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400000

MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x2B2B2B2B2B2B2B2B

IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x1

MSR_POWER_CTL..............(0x1FC) : 0x2104005B

MSR_RAPL_POWER_UNIT........(0x606) : 0xA0E03

MSR_PKG_POWER_LIMIT........(0x610) : 0x7FFD00014EA82

MSR_PKG_ENERGY_STATUS......(0x611) : 0x3EA0A24

MSR_PKG_POWER_INFO.........(0x614) : 0x1280460

MSR_PP0_POWER_LIMIT........(0x638) : 0x14FFD0

MSR_PP0_ENERGY_STATUS......(0x639) : 0x0

MSR_PKGC6_IRTL.............(0x60b) : 0x0

MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x19DFF738F4

MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x2C48EACB98

IA32_TSC_DEADLINE..........(0x6E0) : 0x9E5EFF831E

 

CPU Ratio Info:

------------------------------------

CPU Low Frequency Mode.............: 1200 MHz

CPU Maximum non-Turbo Frequency....: 3000 MHz

CPU Maximum Turbo Frequency........: 4300 MHz

CPU P-States [ 12 41 (43) ]

CPU C6-Cores [ 0 2 4 6 9 10 12 15 ]

CPU P-States [ 12 36 41 (43) ]

CPU C6-Cores [ 0 2 3 4 6 8 9 10 12 14 15 ]

CPU P-States [ 12 36 37 41 (43) ]

CPU P-States [ 12 32 36 37 41 (43) ]

CPU C6-Cores [ 0 2 3 4 6 8 9 10 12 13 14 15 ]

CPU P-States [ 12 32 36 37 38 41 (43) ]

CPU C6-Cores [ 0 1 2 3 4 6 8 9 10 12 13 14 15 ]

CPU P-States [ 12 31 32 36 37 38 41 (43) ]

CPU C6-Cores [ 0 1 2 3 4 5 6 8 9 10 12 13 14 15 ]

CPU P-States [ 12 31 32 36 37 38 41 42 (43) ]

CPU P-States [ 12 31 32 33 36 37 38 41 42 (43) ]

CPU P-States [ 12 30 31 32 33 36 37 38 41 42 (43) ]

CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 12 13 14 15 ]

CPU P-States [ 12 30 31 32 33 36 37 38 40 41 42 (43) ]

bash-3.2# 

 

Its changed now

MSR_PMG_CST_CONFIG_CONTROL.(0xE2)  : 0x403

Thank you.

Link to comment
Share on other sites

  • 2 weeks later...

I tested AppleIntelInfo.kext v1.6

Last login: Thu Sep  1 11:16:49 on console

navaratnams-Pro:~ navaratnammanoranjan$ sudo chown -R root:wheel /Users/navaratnammanoranjan/Desktop/AppleIntelInfo.kext 

Password:

navaratnams-Pro:~ navaratnammanoranjan$ sudo chmod -R 755 /Users/navaratnammanoranjan/Desktop/AppleIntelInfo.kext 

navaratnams-Pro:~ navaratnammanoranjan$ sudo kextload /Users/navaratnammanoranjan/Desktop/AppleIntelInfo.kext 

navaratnams-Pro:~ navaratnammanoranjan$ sudo cat /tmp/AppleIntelInfo.dat

 

AppleIntelInfo.kext v1.6 Copyright © 2012-2016 Pike R. Alpha. All rights reserved

 

Settings:

------------------------------------

logMSRs............................: 1

logIGPU............................: 0

logCStates.........................: 1

logIPGStyle........................: 1

InitialTSC.........................: 0x1c40f29c35a2 (1035 MHz)

MWAIT C-States.....................: 8480

 

Model Specific Registers (MSRs)

---------------------------------------

 

MSR_CORE_THREAD_COUNT..........(0x35)  : 0x80010

----------------------------------------

 - Core Count......................... : 8

 - Thread Count....................... : 16

 

MSR_PLATFORM_INFO..............(0xCE)  : 0x80C3BF3811E00

----------------------------------------

 - Maximum Non-Turbo Ratio............ : 30

 - Ratio Limit for Turbo Mode......... : 1 (programmable)

 - TDP Limit for Turbo Mode........... : 1 (programmable)

 - Low Power Mode Support............. : 1 (LPM supported)

 - Number of ConfigTDP Levels......... : 1 (additional TDP level(s) available)

 - Maximum Efficiency Ratio........... : 12

 - Minimum Operating Ratio............ : 8

 

MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x403

----------------------------------------

 - 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)

 

MSR_PMG_IO_CAPTURE_BASE........(0xE4)  : 0x10414

----------------------------------------

 - LVL_2 Base Address................. : 0x414

 - C-state Range...................... : 1 (C6 is the max C-State to include

)

 

IA32_MPERF.....................(0xE7)  : 0xECE228774

IA32_APERF.....................(0xE8)  : 0x147021100A

 

MSR_FLEX_RATIO.................(0x194) : 0xE0000

----------------------------------------

 

MSR_IA32_PERF_STATUS...........(0x198) : 0x27F500000C00

----------------------------------------

 - Current Performance State Value.... : 0xc00

 

MSR_IA32_PERF_CONTROL..........(0x199) : 0xFF00

----------------------------------------

 - Target performance State Value..... : 0xFF00

 - Intel Dynamic Acceleration......... : 0 (IDA engaged)

 

IA32_CLOCK_MODULATION..........(0x19A) : 0x0

IA32_THERM_STATUS..............(0x19C) : 0x88390000

 

IA32_MISC_ENABLES..............(0x1A0) : 0x850089

----------------------------------------

 - Fast-Strings....................... : 1 (enabled)

 - Automatic Thermal Control Circuit.. : 1 (enabled)

 - Performance Monitoring............. : 1 (available)

 - Enhanced Intel SpeedStep Technology : 1 (enabled)

 

MSR_MISC_PWR_MGMT..............(0x1AA) : 0x400000

----------------------------------------

 - EIST Hardware Coordination......... : 0 (enabled)

 

MSR_TURBO_RATIO_LIMIT..........(0x1AD) : 0x2B2B2B2B2B2B2B2B

----------------------------------------

 - Maximum Ratio Limit for C01........ : 43 

 - Maximum Ratio Limit for C02........ : 43 

 - Maximum Ratio Limit for C03........ : 43 

 - Maximum Ratio Limit for C04........ : 43 

 - Maximum Ratio Limit for C05........ : 43 

 - Maximum Ratio Limit for C06........ : 43 

 - Maximum Ratio Limit for C07........ : 43 

 - Maximum Ratio Limit for C08........ : 43 

 

IA32_ENERGY_PERF_BIAS..........(0x1B0) : 0x0

----------------------------------------

 - Power Policy Preference.............: 0 (highest performance)

 

MSR_POWER_CTL..................(0x1FC) : 0x2104005B

MSR_RAPL_POWER_UNIT............(0x606) : 0xA0E03

MSR_PKG_POWER_LIMIT............(0x610) : 0x7FFD00014EA82

MSR_PKG_ENERGY_STATUS..........(0x611) : 0x4624EF9

MSR_PKG_POWER_INFO.............(0x614) : 0x1280460

MSR_PP0_POWER_LIMIT............(0x638) : 0x14FFD0

MSR_PP0_ENERGY_STATUS..........(0x639) : 0x0

MSR_TURBO_ACTIVATION_RATIO.....(0x64C) : 0x0

MSR_PKGC6_IRTL.................(0x60b) : 0x0

MSR_PKG_C2_RESIDENCY...........(0x60d) : 0x2959A6EF50

MSR_PKG_C6_RESIDENCY...........(0x3f9) : 0x2189A711BA

IA32_TSC_DEADLINE..............(0x6E0) : 0x1C40F97E5A20

 

CPU Ratio Info:

----------------------------------------

CPU Maximum Efficiency Ratio...........: 1200 MHz

CPU Maximum non-Turbo Frequency........: 3000 MHz

CPU Maximum Turbo Frequency............: 4300 MHz

CPU P-States [ 39 (43) ]

CPU C6-Cores [ 0 2 3 4 6 8 10 12 14 ]

CPU P-States [ 28 39 (43) ]

CPU C6-Cores [ 0 2 3 4 5 6 8 9 10 11 12 14 ]

CPU P-States [ 27 28 39 (43) ]

CPU C6-Cores [ 0 1 2 3 4 5 6 8 9 10 11 12 14 ]

CPU P-States [ (12) 24 27 28 39 43 ]

CPU P-States [ 12 24 27 28 39 42 (43) ]

CPU P-States [ 12 24 27 28 37 39 42 (43) ]

CPU P-States [ (12) 24 27 28 31 37 39 42 43 ]

CPU P-States [ 12 24 27 28 31 32 37 39 42 (43) ]

CPU C6-Cores [ 0 1 2 3 4 5 6 8 9 10 11 12 13 14 ]

CPU P-States [ 12 24 27 28 30 31 32 37 39 42 (43) ]

CPU P-States [ 12 24 27 28 30 31 32 33 37 39 42 (43) ]

CPU C6-Cores [ 0 1 2 3 4 5 6 8 9 10 11 12 13 14 15 ]

CPU P-States [ 12 24 27 28 30 31 32 33 34 37 39 42 (43) ]

CPU P-States [ 12 24 27 28 29 30 31 32 33 34 37 39 42 (43) ]

CPU P-States [ (12) 24 26 27 28 29 30 31 32 33 34 37 39 42 43 ]

CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ]

navaratnams-Pro:~ navaratnammanoranjan$ 

 

--------------------------------
 

 

MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x403

----------------------------------------

 - 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)

 

E2 show disabled/unsupported

MSR_PMG_CST_CONFIG_CONTROL.....(0xE2)  : 0x403

How to Enable this?

Thank you.

Link to comment
Share on other sites

to write MSRs you must disable reboot_fix patch, and if used the okrasit performance fix.

 

And test with USB stick or 2nd HDD. 

 

If your system don´t boot, you must find and disable the MSRs which causes problems. 

 

And you also can check the idle stat of your CPU https://pikeralpha.wordpress.com/2016/08/12/xcpm-screenshots-of-i7-6850k/comment-page-1/#comment-6809

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

 

i think your bios is unlocked. 

 

Clover would log it with "bios is locked, PM patch applied....."

 

I patched my ASUS bios with UEFI Tool and get this log

Model Specific Registers
-----------------------------------
MSR_CORE_THREAD_COUNT......(0x35)  : 0x6000C
MSR_PLATFORM_INFO..........(0xCE)  : 0x20080C3BF3812300
MSR_PMG_CST_CONFIG_CONTROL.(0xE2)  : 0x1E000005
MSR_PMG_IO_CAPTURE_BASE....(0xE4)  : 0x10414
IA32_MPERF.................(0xE7)  : 0x8B723A4F2
IA32_APERF.................(0xE8)  : 0xA9AE4C4A4
MSR_FLEX_RATIO.............(0x194) : 0xE0000
MSR_IA32_PERF_STATUS.......(0x198) : 0x2AE000002E00
MSR_IA32_PERF_CONTROL......(0x199) : 0x7F00
IA32_CLOCK_MODULATION......(0x19A) : 0x0
IA32_THERM_STATUS..........(0x19C) : 0x884A0000
IA32_MISC_ENABLES..........(0x1A0) : 0x840089
MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400001
MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x24242E2E2E2E2F2F
IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x1
MSR_POWER_CTL..............(0x1FC) : 0x2904005B
MSR_RAPL_POWER_UNIT........(0x606) : 0xA0E03
MSR_PKG_POWER_LIMIT........(0x610) : 0x7870800158640
MSR_PKG_ENERGY_STATUS......(0x611) : 0x3283A4C
MSR_PKG_POWER_INFO.........(0x614) : 0x1280460
MSR_PP0_POWER_LIMIT........(0x638) : 0x0
MSR_PP0_ENERGY_STATUS......(0x639) : 0x0
MSR_PKGC6_IRTL.............(0x60b) : 0x0
MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x11739FB26
MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0x8B349
MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x8C9761E3
IA32_TSC_DEADLINE..........(0x6E0) : 0x287700595AD

CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 1200 MHz
CPU Maximum non-Turbo Frequency....: 3500 MHz
CPU Maximum Turbo Frequency........: 4700 MHz
CPU P-States [ 42 (46) ]
CPU C3-Cores [ 1 8 ]
CPU C6-Cores [ 1 2 5 7 8 10 ]
CPU P-States [ (12) 37 42 46 ]
CPU C6-Cores [ 0 1 2 4 5 6 7 8 10 ]
CPU P-States [ 12 37 42 45 46 (47) ]
CPU P-States [ 12 32 37 42 45 46 (47) ]
CPU C3-Cores [ 0 1 8 9 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 ]
CPU P-States [ 12 32 37 39 42 45 46 (47) ]
CPU P-States [ 12 25 32 37 39 42 45 46 (47) ]
CPU P-States [ 12 25 32 37 39 41 42 45 (46) 47 ]
CPU C3-Cores [ 0 1 6 8 9 ]
CPU C3-Cores [ 0 1 5 6 8 9 11 ]
CPU P-States [ (12) 25 31 32 37 39 41 42 45 46 47 ]
CPU P-States [ 12 25 31 32 37 39 41 42 43 45 (46) 47 ]
CPU C3-Cores [ 0 1 4 5 6 7 8 9 10 11 ]
CPU P-States [ (12) 25 31 32 37 39 41 42 43 44 45 46 47 ]
CPU P-States [ (12) 25 30 31 32 37 39 41 42 43 44 45 46 47 ]
CPU P-States [ (12) 25 30 31 32 35 37 39 41 42 43 44 45 46 47 ]
CPU P-States [ (12) 25 29 30 31 32 35 37 39 41 42 43 44 45 46 47 ]
CPU P-States [ 12 25 28 29 30 31 32 35 37 39 41 42 43 44 45 46 (47) ]
CPU P-States [ (12) 24 25 28 29 30 31 32 35 37 39 41 42 43 44 45 46 47 ]
CPU P-States [ 12 24 25 28 29 30 31 32 33 35 37 39 41 42 43 44 45 46 (47) ]
CPU P-States [ 12 24 25 28 29 30 31 32 33 35 37 39 40 41 42 43 44 45 46 (47) ]
CPU P-States [ (12) 24 25 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 47 ]
CPU P-States [ 12 24 25 26 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 (47) ]
CPU P-States [ 12 23 24 25 26 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 46 (47) ]
CPU P-States [ (12) 23 24 25 26 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 ]
CPU P-States [ 12 21 23 24 25 26 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 (47) ]
CPU P-States [ 12 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 (47) ]
CPU P-States [ 12 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 (46) 47 ]
CPU P-States [ 12 19 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 (47) ]
CPU P-States [ (12) 19 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 ]
CPU P-States [ 12 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 (47) ]
CPU P-States [ (12) 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 ]
CPU P-States [ (12) 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 ]

 

Could you elaborate how you patched your BIOS?

Also, would you mind sharing your BIOS?

 

UEFITool can't parse my .cap file correctly, I think...

 

Currently using 3103 on X99 Deluxe.

 

Thanks!

Link to comment
Share on other sites

×
×
  • Create New...