Jump to content

How to: Intel Pentium G3XXX and Celeron G1XXX (Haswell) works with speedstep Yosemite 10.10 and Mavericks 10.9


stinga11
 Share

237 posts in this topic

Recommended Posts

  • 2 weeks later...

The Pentium Haswell only works with mountain lion 10.8.5. But with clover and a little bit of work it is possible have a pentium haswell working in the latest version of Mac OS X.

 

1. The first thing we do it Is enter into our bios setting and change the following options:
 
CPU enhanced halt (C1E) to ENABLED
C3 State Support to DISABLED
C6/C7 State Support to DISABLED
CPU Thermal Monitor to ENABLED
CPU EIST Function to DISABLED
 
2. For this solution is required use Clover. 
 
a. Well here is the magic with this CPUID we convert our pentium into a IVY BRIDGE CPU.
	<key>KernelAndKextPatches</key>
	<dict>
		<key>FakeCPUID</key>
		<string>0x0306A0</string>
	</dict>

b. This arguments is for use XNU Power Management instead AICPM.

	<key>Boot</key>
	<dict>
		<key>Arguments</key>
		<string>-xcpm</string>
	</dict>

c. The only three definitions that speedstep works are: (Macmini6,2) (iMac13,1) (iMac13,2)

	<key>SMBIOS</key>
	<dict>
		<key>ProductName</key>
		<string>Macmini6,2</string>
	</dict>

d. This table needs to be removed or otherwise is not possible to use the Macmini6,2 definition. (This step is not necessary if the iMac definition is used)

	<key>ACPI</key>
	<dict>
		<key>DropTables</key>
		<array>
			<dict>
				<key>Signature</key>
				<string>MCFG</string>
			</dict>
		</array>
	</dict>

I leave a config.plist already edited for the people with no experience with Clover. attachicon.gifconfig.plist.zip

 

3. The only thing left to do is create a ssdt for our processor.

 

a. Download the Piker-Alpha/ssdtPRGen.sh

curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh

b. The next step is to set the execute/search bits by entering this terminal command:

chmod +x ~/ssdtPRGen.sh

c. Run the ssdtPRGen.sh for first time.

./ssdtPRGen.sh -c 2

d. Obviously ssdtPRGen.sh it does nothing because it do not have the necessary information. Download the Haswell.cfg edited with pentium information descompress and put into the ~/library/ssdtPRGen/Data. You can use the terminal for open the folder.

open ~/library/ssdtPRGen/Data 

attachicon.gifHaswell.cfg.zip

 

 

4. Run again the ssdtPRGen.sh using the name of your processor If your have a G3258 run:

./ssdtPRGen.sh -c 2 -p G3258

Or if you have a G1850

./ssdtPRGen.sh -c 2 -p G1850

Once finished you will have the ssdt.aml on the ~/Library/ssdtPRGen/. Move it to /EFI/CLOVER/ACPI/patched

 

If your motherboard is series 8 rename to SSDT-2.aml but if is series 9 rename to SSDT-4.aml

 

 

Note: The list of Pentium and celeron Haswell processors are not complete I only added the Processors that has a 53W of TDP. If you want to add another processor to the list, edit it for yourself the Haswell.cfg

I can't wait to try this out on my g3258 along with my MSI PC Mate z97. Anyone here has the same board as me?

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

 

Sorry for waking this thread again.

I have a G3220 CPU and have managed to install and run El capitan quite good on my machine.

But the "only" problem left seems to be that my CPU is stuck at 792Mhz and won't go over that.

 

I have read this thread a couple of times and can't work it out.

 

Here are specs:

 

MB: MSI Z87-G45

CPU: Pentium G3220 (used fake CPUID = 0x0106e0  Ivy Bridge i5)

GPU: 2 x Gainward Nvidia GTX570

RAM: Kingston 2x4 GB 1333 Mhz

SSD: Intel 530 series 120GB

 

Are there any chances to get the cpu to run at a higher frequency?

I would be very grateful if someone is willing to help me out.

 

Thanks in advance

Link to comment
Share on other sites

  • 2 weeks later...

I've been looking at some cheap Braswell boxes and wonder what Path to take to get Yose or Mav running on it. 

 

I just made a new build using the G3220 53W (Plan to use for about 5 months then go i5) and am trying to get it working and came across here :) While I was waiting on my parts coming I got 10.10 to run on a celeron 847 1.1ghz and thought this would be just as easy  :rolleyes: 

 

Thanks for guide. Works great!

Which Celeron and Which Mobo & GPU? How did you get it working on the Celeron - Please share? 

 

thks man, mine hackintosh its sucesfully, Pentium g3250, mb gigabyte ga-b85m-d3v 4 gb ram. thks a lot. from México.

Do share what which GPU or without it? 

Link to comment
Share on other sites

  • 3 weeks later...

I've been looking at some cheap Braswell boxes and wonder what Path to take to get Yose or Mav running on it. 

 

Which Celeron and Which Mobo & GPU? How did you get it working on the Celeron - Please share? 

 

Do share what which GPU or without it? 

It was an Asus C8HM70-I/HDMI Motherboard and was bored waiting on my G3220 build parts coming (now has i5) so I put in my old Mac Pros 7300GT card into the PCI-E slot and fired it up in the case I had waiting. I cloned my existing OS X to a spare HD and I was using Mac Pro 1,1 as well and I think I just cloned the chameleon boot loader from that and it all fired up fine within 15 minutes of me building it. I used a usb wifi dongle with it

 

What amazed me the most was how great it was to use. Really smooth and snappy. I did put my ATI 4870 in to try but I needed that for Mac. I swear it was like night and day between having windows on it and this was on a 500GB hd and not a SSD. Unbelievable!  With windows it felt like hell using it but it was like a nice internet machine with Mac OS

Link to comment
Share on other sites

  • 2 weeks later...

Sup guys, thanks for this post. 

 

I currently have the G3258 running on stock clock speeds. My overclock runs at 4.3ghz.

 

How do i change the configuration to speed-step all the way to 4.3ghz -- something like this?

## Haswell desktop processor data.

gDesktopHaswellCPUList=(
G3258,53,800,4300,4300,2,2
)

However, what to do with the Max TDP?

  • Do I increase it?
  • Leave it stock, at 53w?

Thanks for the work guys! :)

 

Edit: stehor and Quadie think it'll be fine running my overclock of 4.3ghz at 1.3v on the stock TDP value of 53.

Edited by br33zy
Link to comment
Share on other sites

Great Job stinga11! Thank you for your post. :D

I am new in Hackintosh world. I coud build my first Hackintosh Pc and reading you post i coud make it.

 

My PC>>>>

Mother: Gigabyte B85M-HD3

Procesor: Intel Celeron G1820 2,7GHz

Memory: 2GB 1333MHz DDR3

Video Card: Zotac Geforce 9800 GT 512MB

HD: Toshiba 120GB SATA III

 

I installed El Capitan 10.11.4 and it works great. I can't imagine how it will work with i5 and 16GB of ram.

:thumbsup_anim:  :thumbsup_anim:  :thumbsup_anim:

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

The -c argument appears to have been replaced with -cpus. Also, when I generated my SSDT I get this on the terminal:

 

"Number logical CPU's: 4 (Core Frequency: 3200 MHz)"

 

Would that cause any issues considering that the G3258 only has two physical cores and no Hyperthreading?

Link to comment
Share on other sites

The -c argument appears to have been replaced with -cpus. Also, when I generated my SSDT I get this on the terminal:

 

"Number logical CPU's: 4 (Core Frequency: 3200 MHz)"

 

Would that cause any issues considering that the G3258 only has two physical cores and no Hyperthreading?

-c argv was replaced with -target. 

 

Wrong CPU number, you have to add the right information for your processor. More details can be found in the conversations above.

 

syscl

  • Like 1
Link to comment
Share on other sites

MacOS Sierra 10.12 this method NOT working :( . Any ideas?

I've heard that kextstopatch and AppleALC(one of my favourite kexts) failed on macOS. 

 

I have a very similar specs, MSI H87+G1840. So here's the dirty patch to make Ivy Bridge code run on Haswell now, wait for your feedback since the desktop with G1840 is far from me now. If you can provide the kernel for further assemble will be better :)

sudo perl -pi -e 's|\x74\x11\x83\xF8\x3C|\x74\x11\x83\xF8\x0A|g' /System/Library/Kernels/kernel

syscl

Link to comment
Share on other sites

I've heard that kextstopatch and AppleALC(one of my favourite kexts) failed on macOS. 

 

I have a very similar specs, MSI H87+G1840. So here's the dirty patch to make Ivy Bridge code run on Haswell now, wait for your feedback since the desktop with G1840 is far from me now. If you can provide the kernel for further assemble will be better :)

sudo perl -pi -e 's|\x74\x11\x83\xF8\x3C|\x74\x11\x83\xF8\x3A|g' /System/Library/Kernels/kernel

syscl

 

Sorry. Can't say anything about kextstopatch because i can't install Sierra on my PC(( As for AppleALC - from S/L/E it works but i have only one report. Also Apple changed codec verification. If you mask codec under ADI1984B (0x11D4198B) you should apply additional patch

 

Find - 8A19D411

Replace - 00000000

Name - AppleHDA

 

But i can't test it and make changes to AppleALC codec database without working MacOS Sierra :(

 

About kernel - you want me to send you 10.12 native kernel? 

And please can you be more specific about this patch

sudo perl -pi -e 's|\x74\x11\x83\xF8\x3C|\x74\x11\x83\xF8\x3A|g' /System/Library/Kernels/kernel

How is it work? What should i do to apply it on my Install USB made with createinstallmedia. 

 

Thanks.

Link to comment
Share on other sites

Sorry. Can't say anything about kextstopatch because i can't install Sierra on my PC(( As for AppleALC - from S/L/E it works but i have only one report. Also Apple changed codec verification. If you mask codec under ADI1984B (0x11D4198B) you should apply additional patch

 

Find - 8A19D411

Replace - 00000000

Name - AppleHDA

 

But i can't test it and make changes to AppleALC codec database without working MacOS Sierra :(

 

About kernel - you want me to send you 10.12 native kernel? 

And please can you be more specific about this patch

sudo perl -pi -e 's|\x74\x11\x83\xF8\x3C|\x74\x11\x83\xF8\x0A|g' /System/Library/Kernels/kernel

How is it work? What should i do to apply it on my Install USB made with createinstallmedia. 

 

Thanks.

The method is the same as we did on 10.10.x and 10.11.x to make Haswell Pentium and Celeron work. That is fake cpu id to fool OS X think Haswell(0x0306C3) as IvyBridge(0x0306A0). Since the kernel patch does not work on macOS till now, we have to do the dirty patch in terminal. Sorry for my typo in #64, the correct one should be 

sudo perl -pi -e 's|\x74\x11\x83\xF8\x3C|\x74\x11\x83\xF8\x0A|g' /System/Library/Kernels/kernel

I mistyped it, sorry. 

 

More details can be found here: http://www.insanelymac.com/forum/topic/301585-haswell-e-mach-kernel-patch-5960x-5830k-and-5820k-1010-10101-yosemite/

 

It's better to use 10.11.x or older system to apply that patch in your Install USB, suppose your Install USB name install_osx, then apply the patch by typing

sudo perl -pi -e 's|\x74\x11\x83\xF8\x3C|\x74\x11\x83\xF8\x0A|g' /Volumes/install_osx/System/Library/Kernels/kernel 

Maybe I can patch that kernel for you(but I have no PCs to test, wait for your feedback)

 

Still busy these day:(  But I want to thank you and vit9696, the AppleALC is invaluable and elegant kext to power AppleHDA up! Thanks!

 

Best 

syscl

  • Like 1
Link to comment
Share on other sites

The method is the same as we did on 10.10.x and 10.11.x to make Haswell Pentium and Celeron work. That is fake cpu id to fool OS X think Haswell(0x0306C3) as IvyBridge(0x0306A0). Since the kernel patch does not work on macOS till now, we have to do the dirty patch in terminal. Sorry for my typo in #64, the correct one should be 

sudo perl -pi -e 's|\x74\x11\x83\xF8\x3C|\x74\x11\x83\xF8\x0A|g' /System/Library/Kernels/kernel

I mistyped it, sorry. 

 

More details can be found here: http://www.insanelymac.com/forum/topic/301585-haswell-e-mach-kernel-patch-5960x-5830k-and-5820k-1010-10101-yosemite/

 

It's better to use 10.11.x or older system to apply that patch in your Install USB, suppose your Install USB name install_osx, then apply the patch by typing

sudo perl -pi -e 's|\x74\x11\x83\xF8\x3C|\x74\x11\x83\xF8\x0A|g' /Volumes/install_osx/System/Library/Kernels/kernel 

Maybe I can patch that kernel for you(but I have no PCs to test, wait for your feedback)

 

Still busy these day:(  But I want to thank you and vit9696, the AppleALC is invaluable and elegant kext to power AppleHDA up! Thanks!

 

Best 

syscl

 

Sorry, but it didn't work :(

 

Here it is vanilla kernel from 10.12 kernel.zip maybe you can find something useful  

Link to comment
Share on other sites

Sorry, but it didn't work :(

 

Here it is vanilla kernel from 10.12 attachicon.gifkernel.zip maybe you can find something useful  

Please try this one, actually there's something indeed different from previous kernel(10.11.x). 

kernel.zip

 

We have to find assembler code of 10.12 mach_kernel like this

ffffff80006cb69b	83f83a          	cmpl	$0x3a, %eax

and replace it with 83f83c to make the Haswell platform can run Ivy Bridge's code

ffffff80006cb69b	83f83c          	cmpl	$0x3c, %eax

Wish it could work.

 

syscl

Link to comment
Share on other sites

Please try this one, actually there's something indeed different from previous kernel(10.11.x). 

Wish it could work.

 

syscl

 

Hello. Replaced kernel in System/Library/Kernels and got KP. Here is KP photo. Should i do anything else except replacing kernel?

post-1069282-0-16274500-1466089001_thumb.jpg

Link to comment
Share on other sites

Hello. Replaced kernel in System/Library/Kernels and got KP. Here is KP photo. Should i do anything else except replacing kernel?

attachicon.gifIMG_20160616_175228.jpg

Oops, try to remove

<key>KernelAndKextPatches</key>
	<dict>
		<key>FakeCPUID</key>
		<string>0x0306A0</string>
	</dict>

And update Clover to the latest version(there's more improvements on macOS). 

 

syscl

Link to comment
Share on other sites

Oops, try to remove

<key>KernelAndKextPatches</key>
	<dict>
		<key>FakeCPUID</key>
		<string>0x0306A0</string>
	</dict>

And update Clover to the latest version(there's more improvements on macOS). 

 

syscl

 

I'll try to remove FakeCPUID. Should i delete -xcpm key from bootargs? Clover is already updated to r3561

Link to comment
Share on other sites

Please try this new one.

 

syscl

 

Got another KP. Much more later then first one...

Anonymous UUID:       745F22C3-5BCB-01B2-5A06-B39863639E90

Thu Jun 16 18:38:31 2016

*** Panic Report ***
panic(cpu 0 caller 0xffffff801c375b0e): launchd exited -- no exit reason available -- (signal 4, exit status 0 )

uuid info:
 0x118035000	uuid = <13c9a7ee-7ece-33f6-ab7e-d47fcee54f17>
 0x10c874000	uuid = <00bfd91d-08c7-3483-b05d-ffaadd28554d>
 0x10c8c9000	uuid = <f3a36220-3968-3e23-8cb4-00e5864fb868>
 0x10c8d7000	uuid = <7e95724e-e897-3bc8-b06c-57a5b4621f64>
 0x10cd8d000	uuid = <bdfba3f0-890d-383b-aa68-5d7fa6725227>
 0x10cd99000	uuid = <89363826-3560-38cb-8865-3bb467fc587d>
 0x10cdb8000	uuid = <37ebc22f-dde4-3b13-bc6b-7216ca653996>
 0x10cdc5000	uuid = <b374d147-2e5b-3ca9-9afd-610a657e598b>
 0x10cddd000	uuid = <249aae02-0678-349c-9f18-5bb612541529>
 0x10cdf3000	uuid = <2bc87b3a-0162-3cc1-a24d-87a6cf2962d6>
 0x10ce09000	uuid = <a7da8280-52e0-3c8f-a0f0-131c71d3cc4d>
 0x10ceaa000	uuid = <87e3154d-970e-353f-8513-d19ff710bf28>
 0x10cf22000	uuid = <9e37ae23-f24e-33be-814f-b02ad9f5896e>
 0x10cf30000	uuid = <9ded0b0f-3a87-3a78-b4f4-2e6aa922da10>
 0x10cf36000	uuid = <0a6a09a7-b600-30e1-9588-62d3cd0d26f5>
 0x10cf43000	uuid = <ef293f52-6dc0-31a6-9c50-7c05f6bd649b>
 0x10cf54000	uuid = <e7a8c2b3-893b-3e18-a663-8b930bbd5bba>
 0x10cf5f000	uuid = <e952de8c-cc1c-3ac8-b773-d44060df8c30>
 0x10cf6d000	uuid = <6b431711-a93e-3516-9689-ca9f08440dcf>
 0x10cf94000	uuid = <c7934e6e-9a72-3090-984b-0a87becc808f>
 0x10cf9c000	uuid = <7eb6bc9c-e7de-3f0f-890e-0fc478a6f034>
 0x10d052000	uuid = <2d62ff0d-0769-3165-9290-456447d64016>
 0x10d061000	uuid = <21318394-1e51-3d72-8571-3992b7cdf805>
 0x10d06a000	uuid = <dfca3bd7-9663-314e-8432-e6bacf3684a1>
 0x10d095000	uuid = <0067cc81-fbf1-3578-b790-8bd37aa77998>
 0x10d0a5000	uuid = <5a761f17-564f-3de9-b5b6-d587b6a885fe>
 0x10d0e9000	uuid = <fb0b1a10-f9e8-3e1a-bd77-b40584366d05>
 0x10d126000	uuid = <4512b7c3-84e6-3dac-a895-8d34ee3416c1>
 0x10d181000	uuid = <fbc0b819-3762-3a47-870d-6ce338225a9f>
 0x10d1ac000	uuid = <cf0ce85c-ae12-3bcc-a0c1-a0966ec5ad7b>
 0x10d226000	uuid = <b14f9266-4e35-3b5e-ae4b-1c299a7df409>
 0x10d241000	uuid = <265f9e25-b375-3ef9-82e7-4c5d726ad28a>
 0x10d256000	uuid = <d312cd8f-f520-3473-90de-ab2e1369b4cb>
 0x10d268000	uuid = <d5d842d1-087e-308d-ace6-7149883c71d3>
 0x10d280000	uuid = <460ea58c-ede2-3589-bb58-a018fcc2b26d>
 0x10d28d000	uuid = <d2516d36-10de-3e68-9bcc-2f3177e7c363>
 0x10d298000	uuid = <e9dea033-e98b-3c46-a934-68b199d4d892>
 0x10d2a9000	uuid = <4e37b968-f90a-3462-b765-12a603622ed9>
 0x10d2e0000	uuid = <2877b4b0-9844-3dd0-9eb1-9a840d1dff7b>
 0x10d2ed000	uuid = <b36306a5-8796-3b34-aab4-0bc30dd36a72>
 0x10d33b000	uuid = <fea61d43-2a11-33b2-afac-49d5423c2407>
 0x10d347000	uuid = <ca3cd152-3ac0-3ff6-af90-63c17c01277e>
 0x10d387000	uuid = <b1c56346-1f2b-3c05-9068-2a20f3af778d>

Thread 0 crashed

RAX: 0x000000010ccaf358, RBX: 0x000000010ccaf310, RCX: 0x000000010ccaf348, RDX: 0x000000000000007c
RSP: 0x00007fff53389970, RBP: 0x00007fff53389970, RSI: 0x0000000000000000, RDI: 0x000000010ccaf358
R8:  0x0000000040000000, R9:  0x0000000000000008, R10: 0x0000000000000030, R11: 0x000000010d269ec0
R12: 0x0000000000000000, R13: 0x00007fff53389e80, R14: 0x0000000000000000, R15: 0x0000000000000000
RFL: 0x0000000000010283, RIP: 0x000000010d25bd90, CS:  0x000000000000002b, SS:  0x0000000000000023

Thread 0: 0xffffff802d638b60
	0x000000010d26a27a
	0x000000010d26a19a
	0x000000010d269ef0
	0x000000010c8d85be
	0x000000010c8d8514
	0x0000000118039d4c
	0x0000000118039f25
	0x000000010cf25584
	0x000000010c8d8074
	0x000000010ceabc64
	0x000000010ceabc13
	0x000000010c8caa02
	0x000000011804a063
	0x000000011804a266
	0x0000000118045bf0
	0x0000000118045b87
	0x0000000118044c60
	0x0000000118044cf5
	0x00000001180372f6
	0x000000011803b459
	0x0000000118036249
	0x0000000118036036
	0x0000000000000001

Mac OS version: Not yet set
Kernel version: Darwin Kernel Version 16.0.0: Fri Jun  3 13:56:38 PDT 2016; root:xnu-3705.0.0.1.10~1/RELEASE_X86_64
Kernel UUID: 79D0A860-C130-3371-AB9B-3772AE60777B
System model name: iMac13,1 (Mac-00BE6ED71E35EB86)
Model: iMac13,1, BootROM IM131.010A.B09, 2 processors, Intel Core i5, 2,69 GHz, 4 GB, SMC 2.11f14
Graphics: NVIDIA GeForce GT 240, NVIDIA GeForce GT 240, PCIe, 512 MB
Memory Module: BANK0/DIMM0, 4 GB, DDR3, 1600 MHz, Micron Technology, 16KTF51264AZ-1G6M1M1
Network Service: Ethernet, Ethernet, en0
PCI Card: NVIDIA GeForce GT 240, Display Controller, PCI Slot 0
PCI Card: Realtek RTL8168G/8111G PCI Express Gigabit Ethernet, Ethernet, Ethernet
Serial ATA Device: OCZ-VERTEX3, 120,03 GB
Serial ATA Device: ST500DM002-1BD142, 500,11 GB
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: USB 3.0 Bus
USB Device: Composite Device
USB Device: USB OPTICAL MOUSE
Thunderbolt Bus: 

Netkas told something today about same panic on processors without SSE4 instructions

 

 

Bad news for everyone who still uses 65-nm intel cpu based on conroe arch (for example MP1,1/2,1).

SSE4 is being used now in system application and these cpus a missing it.

For example, trying to run macOS 10.12 on MP1,1/MP2,1 will give a panic because launchd process (init process, if it dies – kernel in panic) dies with signal 4 (illegal instruction).

Your only hope is when 10.12 released and sources code for kernel becomes available, if somebody will implement sse4,1 emulator (similar to sse3 emulation in the past)

 

http://netkas.org/?p=1448

 

But i don't understand. According to Intel http://ark.intel.com/ru/products/78955/Intel-Celeron-Processor-G1820-2M-Cache-2_70-GHz Celeron G1820 have SSE4.1/4.2 instructions...

Link to comment
Share on other sites

 Share

×
×
  • Create New...