Jump to content
onemanosx

[Guide] - SSDT with Pike's PM Script and use with CPUFriend

Recommended Posts

Update: Creating injector kext with CPUFriend script 

 

What is CPUFriend?

 

https://github.com/acidanthera/CPUFriend

https://www.insanelymac.com/forum/topic/335162-cpufriend/

 

Step A. Creating SSDT Using Pike's Script

 

1. Go to Pike’s Github and download ZIP master https://github.com/Piker-Alpha/ssdtPRGen.sh

 

ANc34fe.png

 

2. Extract “ssdtPRGen.” folder and copy and paste to /Users/YourUsername/Library

4. Download attached “Data” folder and replace existing Data folder in “/ssdtPRGen”

Data.zip

 

5. Open “User Defined.cfg” file in “ssdtPRGen/Data” folder

6. Open Coffee Lake.cfg file and look for your processor type ( in this example, I will be using “i5-8600”)

7. Paste your CPU details in User Defined.cfg and save file

 

2gU8ePk.png

 

Note: If you plan to use a different clock speed frequency (mostly for energy saving) or base/turbo frequency, here is where you make the desired frequency changes. The example in the screenshot above is setting using clock speed of 500 instead of OEM 800.

 

8. Open Terminal

9. Type

cd ~/Library/ssdtPRGen/
 

Hit Enter

 

10. Type CPU format as such (for i5-8600) :

 

./ssdtPRGen.sh -p 'i5-8600' -f 3100 -turbo 4300
 

11. Press Enter

12. Let the script run and when script asks Do you want to open ssdt.dsl (y/n)? Just return N.

 

DfhnANo.png

 

13. Your ssdt.aml and ssdt.dsl can be found in ~/Library/ssdtPRgen folder

 

Step B: Generating SSDT data using CPUFriend script

 

1. Download CPUFriend master zip https://github.com/acidanthera/CPUFriend

While you’re there, download CPUFriend kext from the release tab and place the kext in Clover/Kext/Other

 

2. Extract CPUFriend-master folder to desktop

3. Open terminal

4. Type

cd ~/Desktop/CPUFriend-master/Tools
 

Hit Enter

 

5. Type

./ResourceConverter.sh --acpi 
 

 

Then drag ssdt.aml from ~/Library/ssdtPRgen folder into terminal window and press ENTER

 

6. Your ssdt-data.dsl result can be found at ~/Desktop/CPUFriend-master/Tools folder

 

Step 😄 Combining CPUFriend data into Pike's SSDT

 

1. Open the ssdt-data.dsl and copy the whole scope of “cf-frequency-data”

 

QJQqDKL.png

 

2. Go to ~/Library/ssdtPRgen folder and open the file ssdt.aml

3. Find the _DSM section

4. Paste “cf-frequency-data’ like shown in the screenshot. Also, delete 0x02 in the Return line leaving just the brackets or else your will not be able to compile.

 

DKGoSwZ.png

 

5. You can save the ssdt.aml and copy to Clover/acpi/patched.

 

Reboot and enjoy!

 

Note: If you do not find the cf-frequency-data as shown like in the IOReg screenshot below, it means the SSDT is not injecting properly. You might want to consider creating CPUFriendDataProvider kext instead.

 

dK3v0hH.png

 

Data.zip

Credits:

https://www.elitemacx86.com/threads/guide-how-to-generate-ssdt-for-coffee-lake-cpu.98/

Pike

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

Some of us might prefer to use injector kext instead of SSDT. This is how its done.

 

Creating injector kext with CPUFriend script

 

1. Type

./ResourceConverter.sh --kext
 

 

2. Drag ssdt.aml from ~/Library/ssdtPRgen folder to terminal and Press Enter

3. Your CPUFriendDataProvider.kext will be generated and can be found at ~/Desktop/CPUFriend-master/Tools folder

4. Place both CPUFriendDataProvider.kext and CPUFriend.kext in clover/kext/others

 

 

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

 

Unknown CPU

 

What if I have a CPU that is unknown and not in the .cfg list? Can I still generate ssdt using Pike's script?

 

Yes. And this is what we have to do.

 

1. Determine CPU details by going through https://ark.intel.com and fill in the details for an i5-8600 as an example.

 

Code Name: Coffee Lake
Processor Number: i5-8600
Max TDP: 65
Low Frequency Mode: 3100
Clock Speed: 800
Max Turbo Frequency: 4300
No. of Cores: 6
No. of Threads: 6
 

 

The format to be input in Coffee Lake. cfg and User Defined.cfg will look like this

 

i5-8600,65,800,3100,4300,6,6
 

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

  • Administrators
:guitar:cap

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

:superman:superman:superman:superman

AMD Ryzen 7 3700X, MSI MPG X570 Gaming Plus, Corsair Vengeance RGB PRO 16GB DDR4 3200MHz, Sapphire rx 5700 XT, fractal celcius s36

:superman:superman

HP Notebook - 15-ay028ca (Touch), 16 GB 2133 MHz DDR4, Intel HD Graphics 520 1536 MB

Asus z97-c i5, i5 4460, 32 GB 1648 MHz DDR3, Radeon RX 560 4096 MB, Corsair H75 Liquid CPU Cooler

Link to comment
Share on other sites

  • Administrators

[ref]FedeBad95[/ref], u don't need it

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

  • Administrators

[ref]brynts[/ref], if u don't like .aml/.dsl, generate a kext injector instead

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

Completed with cpufriend

geekscore.thumb.jpg.b9ad4c548c8fb8b159386e5248df68bb.jpg

with out cpufriend

:cap

51816618_227026154913049_5118793812088455168_n.png.34dd668522af92d7ceef62f9d7947fcb.png

AMD Ryzen 7 3700X, MSI MPG X570 Gaming Plus, Corsair Vengeance RGB PRO 16GB DDR4 3200MHz, Sapphire rx 5700 XT, fractal celcius s36

:superman:superman

HP Notebook - 15-ay028ca (Touch), 16 GB 2133 MHz DDR4, Intel HD Graphics 520 1536 MB

Asus z97-c i5, i5 4460, 32 GB 1648 MHz DDR3, Radeon RX 560 4096 MB, Corsair H75 Liquid CPU Cooler

Link to comment
Share on other sites

  • Administrators

with out cpufriend

:cap

:mrgreen:

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

  • Administrators

[ref]MaLd0n[/ref], [ref]erroruser[/ref], please do one with overclocked settings :whistle:geek::mrgreen:

[ref]onemanosx[/ref],

with i9 i forgot the overclock :mrgreen:

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

Hi guys been trying all night to get it working on my i7 8700K...But keep getting that error...I followed the tutorial very carefully but still no hope.This is my error message below.

 

 Last login: Mon Feb  4 17:22:54 on console

chills-iMac:~ chillfactor$ cd ~/Library/ssdtPRGen/

-bash: cd: /Users/chillfactor/Library/ssdtPRGen/: No such file or directory

chills-iMac:~ chillfactor$ cd ~/Library/ssdtPRGen.sh-Beta/

chills-iMac:ssdtPRGen.sh-Beta chillfactor$ ./ssdtPRGen.sh -p 'i7-8700K' -f 3700 -turbo 4700

 

 

 

ssdtPRGen.sh v0.9 Copyright © 2011-2012 by † RevoGirl

v6.6 Copyright © 2013 by † Jeroen

v21.5 Copyright © 2013-2019 by Pike R. Alpha

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

Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

./ssdtPRGen.sh: line 3877: /Users/chillfactor/Library/ssdtPRGen/Data/Versions.cfg: No such file or directory

 

System information: Mac OS X 10.14.2 (18C54)

Brandstring: "Intel® Core i7-8700K CPU @ 3.70GHz"

 

Override value: (-p) processor model, now using: i7-8700K!

Override value: (-f) clock frequency, now using: 3700 MHz!

Override value: (-turbo) maximum (turbo) frequency, now using: 4700 MHz!

 

Notice: Downloading extractACPITables.zip ...

Notice: Downloading User Defined.cfg ...

Notice: Downloading Sandy Bridge.cfg ...

Notice: Downloading Ivy Bridge.cfg ...

Notice: Downloading Haswell.cfg ...

Notice: Downloading Broadwell.cfg ...

Notice: Downloading Skylake.cfg ...

 

Error: Unknown processor model ...

Visit http://ark.intel.com to gather the required data:

Processor Number

TDP

Low Frequency Mode (use AppleIntelInfo.kext)

Base Frequency

Max Turbo Frequency

Cores

Threads

Aborting ...

Done.

 

 

chills-iMac:ssdtPRGen.sh-Beta chillfactor$ /code]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...