-->Donations via PayPal [External Link Removed for Guests] :guitar
-->Installation/Post Installation Tutorial [Local Link Removed for Guests]
-->Useful Links [Local Link Removed for Guests]
-->Olarila Images - Updated images [Local Link Removed for Guests]
-->Guides and Tutorials [Local Link Removed for Guests]
-->Clover Folder for All Chipsets [Local Link Removed for Guests]
-->DSDT Patch Requests [Local Link Removed for Guests]

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

User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1355
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

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

Post by onemanosx » 05 Jan 2019, 05:50

Update: Creating injector kext with CPUFriend script [Local Link Removed for Guests]

What is CPUFriend?

[External Link Removed for Guests]
[External Link Removed for Guests]

Step A. Creating SSDT Using Pike's Script

1. Go to Pike’s Github and download ZIP master [External Link Removed for Guests]

Image

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

Image

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

Code: [Local Link Removed for Guests]

cd ~/Library/ssdtPRGen/
Hit Enter

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

Code: [Local Link Removed for Guests]

./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.

Image

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 [External Link Removed for Guests]
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

Code: [Local Link Removed for Guests]

cd ~/Desktop/CPUFriend-master/ResourceConverter
Hit Enter

5. Type

Code: [Local Link Removed for Guests]

./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/ResourceConverter folder

Step C: Combining CPUFriend data into Pike's SSDT

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

Image

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.

Image

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.




Data.zip
Credits:
[External Link Removed for Guests]
Pike
You do not have the required permissions to view the files attached to this post.
Last edited by onemanosx on 10 Aug 2019, 05:22, edited 10 times in total.
[External Link Removed for Guests]
[External Link Removed for Guests]

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)
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1355
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

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

Post by onemanosx » 05 Jan 2019, 09:17

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

Code: [Local Link Removed for Guests]

./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/ResourceConverter 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 [External Link Removed for Guests] and fill in the details for an i5-8600 as an example.

Code: [Local Link Removed for Guests]

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

Code: [Local Link Removed for Guests]

i5-8600,65,800,3100,4300,6,6
Last edited by onemanosx on 03 Mar 2019, 02:20, edited 4 times in total.
[External Link Removed for Guests]
[External Link Removed for Guests]

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)
User avatar
MaLd0n
Site Admin
Site Admin
Posts: 14603
Joined: 05 Dec 2010, 19:35
CPU: i9-9900K
Motherboard: GA Z390 M GAMING
GPU: RX 590 8 GB
Location: Rio de Janeiro, Brazil
Contact:

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

Post by MaLd0n » 05 Jan 2019, 11:02

:guitar :cap
--Donations via PayPal [External Link Removed for Guests] :guitar

--Donated? Send me one Private Message
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1355
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

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

Post by onemanosx » 05 Jan 2019, 11:46

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
05 Jan 2019, 11:02
:guitar :cap
A good sleep is all I need :lol: :lol:
[External Link Removed for Guests]
[External Link Removed for Guests]

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)
User avatar
erroruser
Olarila Staff
Olarila Staff
Posts: 492
Joined: 24 Apr 2018, 21:12
CPU: i9 9900k
Motherboard: asus z390-a
GPU: rx 590

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

Post by erroruser » 05 Jan 2019, 16:06

:superman :superman :superman :superman
Asus z390-A, i9 9900k, Corsair Vengeance RGB PRO 16GB DDR4 3200MHz, sapphire rx 590, 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
User avatar
Sampath007
Olarila Staff
Olarila Staff
Posts: 67
Joined: 10 Feb 2018, 15:03
CPU: i7-8550u
Motherboard: Acer Nitro 515-31
GPU: UHD 620
Location: india,Chennai
Contact:

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

Post by Sampath007 » 05 Jan 2019, 16:59

:superman :superman :superman :superman
User avatar
vinvilli
Posts: 3
Joined: 01 Feb 2015, 01:01
CPU: i7-4960X
Motherboard: P9PROx79
GPU: GTX 770
Location: India
Contact:

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

Post by vinvilli » 06 Jan 2019, 06:16

Thank You onemanosx, for Detailed links and instructions :guitar
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1355
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

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

Post by onemanosx » 06 Jan 2019, 06:43

vinvilli, :guitar :cap You're welcome!
[External Link Removed for Guests]
[External Link Removed for Guests]

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)
agussuratno
Posts: 1
Joined: 06 Jan 2019, 10:58
CPU: Intel Core i3-3217U 1.8 GHz
Motherboard: Intel® HM76 Chipset
GPU: Intel HD Graphics 4000 + eGPU
Contact:

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

Post by agussuratno » 06 Jan 2019, 11:08

Thank you @onemanosx, for detailed links and instructions
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1355
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

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

Post by onemanosx » 06 Jan 2019, 11:28

agussuratno, :guitar :guitar You're welcome!
[External Link Removed for Guests]
[External Link Removed for Guests]

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)
FedeBad95
Posts: 7
Joined: 14 Sep 2018, 05:24
CPU: i7 8700k
Motherboard: Z370 Taichi
GPU: GTX 1080

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

Post by FedeBad95 » 06 Jan 2019, 16:46

Hi guys I did everything to guide but at the final step I can not fill it out and save who can help me? thanks again I am attaching files
You do not have the required permissions to view the files attached to this post.
User avatar
MaLd0n
Site Admin
Site Admin
Posts: 14603
Joined: 05 Dec 2010, 19:35
CPU: i9-9900K
Motherboard: GA Z390 M GAMING
GPU: RX 590 8 GB
Location: Rio de Janeiro, Brazil
Contact:

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

Post by MaLd0n » 06 Jan 2019, 16:48

FedeBad95, u don't need it
--Donations via PayPal [External Link Removed for Guests] :guitar

--Donated? Send me one Private Message
FedeBad95
Posts: 7
Joined: 14 Sep 2018, 05:24
CPU: i7 8700k
Motherboard: Z370 Taichi
GPU: GTX 1080

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

Post by FedeBad95 » 06 Jan 2019, 17:52

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
06 Jan 2019, 16:48
FedeBad95, u don't need it
Ok Thanks
brynts
Posts: 3
Joined: 02 Jan 2019, 10:13
CPU: i7 - 3630QM
Motherboard: ASUS N46VZ
GPU: GeForce GT 650M/HD 4000

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

Post by brynts » 14 Jan 2019, 11:18

what should I do if no _DSM in my ssdt.aml?
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1355
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

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

Post by onemanosx » 14 Jan 2019, 12:01

[ref]brynts[/ref], never experienced that in all of my 4 hack machines.
[External Link Removed for Guests]
[External Link Removed for Guests]

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)
User avatar
MaLd0n
Site Admin
Site Admin
Posts: 14603
Joined: 05 Dec 2010, 19:35
CPU: i9-9900K
Motherboard: GA Z390 M GAMING
GPU: RX 590 8 GB
Location: Rio de Janeiro, Brazil
Contact:

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

Post by MaLd0n » 14 Jan 2019, 12:07

[ref]brynts[/ref], if u don't like .aml/.dsl, generate a kext injector instead
--Donations via PayPal [External Link Removed for Guests] :guitar

--Donated? Send me one Private Message
User avatar
erroruser
Olarila Staff
Olarila Staff
Posts: 492
Joined: 24 Apr 2018, 21:12
CPU: i9 9900k
Motherboard: asus z390-a
GPU: rx 590

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

Post by erroruser » 03 Feb 2019, 16:09

Completed with cpufriend
geekscore.jpg
with out cpufriend
:cap
You do not have the required permissions to view the files attached to this post.
Asus z390-A, i9 9900k, Corsair Vengeance RGB PRO 16GB DDR4 3200MHz, sapphire rx 590, 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
User avatar
MaLd0n
Site Admin
Site Admin
Posts: 14603
Joined: 05 Dec 2010, 19:35
CPU: i9-9900K
Motherboard: GA Z390 M GAMING
GPU: RX 590 8 GB
Location: Rio de Janeiro, Brazil
Contact:

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

Post by MaLd0n » 03 Feb 2019, 16:10

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
03 Feb 2019, 16:09
with out cpufriend
:cap
:mrgreen:
--Donations via PayPal [External Link Removed for Guests] :guitar

--Donated? Send me one Private Message
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1355
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

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

Post by onemanosx » 04 Feb 2019, 08:25

MaLd0n, erroruser, please do one with overclocked settings :whistle :geek: :mrgreen:
[External Link Removed for Guests]
[External Link Removed for Guests]

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)
User avatar
MaLd0n
Site Admin
Site Admin
Posts: 14603
Joined: 05 Dec 2010, 19:35
CPU: i9-9900K
Motherboard: GA Z390 M GAMING
GPU: RX 590 8 GB
Location: Rio de Janeiro, Brazil
Contact:

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

Post by MaLd0n » 04 Feb 2019, 10:06

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
04 Feb 2019, 08:25
MaLd0n, erroruser, please do one with overclocked settings :whistle :geek: :mrgreen:
onemanosx,
with i9 i forgot the overclock :mrgreen:
--Donations via PayPal [External Link Removed for Guests] :guitar

--Donated? Send me one Private Message
Post Reply

Return to “Guides and tutorials”