Jump to content

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


Recommended Posts

Posted

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)

Posted

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)

  • Administrators
Posted
:guitar:cap

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted
:guitar:cap

 

A good sleep is all I need :lol::lol:

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)

Posted
: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

Posted

[ref]vinvilli[/ref], :guitar:cap You're welcome!

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)

Posted

[ref]agussuratno[/ref], :guitar:guitar You're welcome!

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)

  • Administrators
Posted

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

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

[ref]brynts[/ref], never experienced that in all of my 4 hack machines.

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)

  • Administrators
Posted

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

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

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

  • Administrators
Posted

with out cpufriend

:cap

:mrgreen:

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

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

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)

  • Administrators
Posted

[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:

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

[ref]onemanosx[/ref],

with i9 i forgot the overclock :mrgreen:

 

:lol::lol::lol::lol::lol::bye:meeting

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)

Posted

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]

Posted

Did you do step 7 from the guide?

 

2129925653_ScreenShot2019-02-05at8_26_16AM.thumb.png.8634907d20ccb85e70cbb44ddfe6f238.png

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)

Posted

Good. You can hit the Enter/Return key at Terminal, if you have not done so

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)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...