Jump to content

Recommended Posts

Posted

Updated: for Haswell laptops with early reboot problem, use this kernel patch

10.10

perl -pi -e 's|\xe2\x00\x00\x00\x02\x00\x00\x00|\x00\x00\x00\x00\x02\x00\x00\x00|g' kernel
perl -pi -e 's|\xe2\x00\x00\x00\x4c\x00\x00\x00|\x00\x00\x00\x00\x4c\x00\x00\x00|g' kernel
perl -pi -e 's|\xe2\x00\x00\x00\x90\x01\x00\x00|\x00\x00\x00\x00\x90\x01\x00\x00|g' kernel

10.9.x

perl -pi -e 's|\x74\x6c(\x48\x83\xc7\x28\x90\x8b\x05..\x5e\x00\x85\x47\xdc)\x74\x54(\x8b\x4f\xd8\x45\x85\xc0\x74\x08\x44\x39\xc1\x44\x89\xc1)\x75\x44(\x0f\x32\x89\xc0\x48\xc1\xe2\x20\x48\x09\xc2\x48\x89\x57\xf8\x48\x8b\x47\xe8\x48\x85\xc0\x74\x06\x48\xf7\xd0\x48\x21\xc2\x48\x0b\x57\xf0\x49\x89\xd1\x49\xc1\xe9\x20\x89\xd0\x8b\x4f\xd8\x4c\x89\xca)(\x0f\x30\x8b\x4f\xd8\x0f\x32\x89\xc0\x48\xc1\xe2\x20\x48\x09\xc2\x48\x89\x17\x48\x83\xc7\x30\xff\xce)\x75\x99(\x5d\xc3)\x90{7}|\x74\x73${1}\x74\x5b${2}\x75\x4b${3}\x66\x81\xf9\xe2\x00\x74\x02${4}\x75\x92${5}|g' mach_kernel

10.8.5

perl -pi -e 's|\x74\x69(\x48\x83\xc7\x28\x90\x8b\x05\xfe\xce\x5f\x00\x85\x47\xdc)\x74\x51(\x8b\x4f\xd8\x45\x85\xc0\x74\x05\x44\x39\xc1)\x75\x44(\x0f\x32\x89\xc0\x48\xc1\xe2\x20\x48\x09\xc2\x48\x89\x57\xf8\x48\x8b\x47\xe8\x48\x85\xc0\x74\x06\x48\xf7\xd0\x48\x21\xc2\x48\x0b\x57\xf0\x49\x89\xd1\x49\xc1\xe9\x20\x89\xd0\x8b\x4f\xd8\x4c\x89\xca)(\x0f\x30\x8b\x4f\xd8\x0f\x32\x89\xc0\x48\xc1\xe2\x20\x48\x09\xc2\x48\x89\x17\x48\x83\xc7\x30\xff\xce)\x75\x9c(\x5d\xc3)\x90{7}(\x90{3})|\x74\x70${1}\x74\x58${2}\x75\x4b${3}\x66\x81\xf9\xe2\x00\x74\x02${4}\x75\x95${5}${6}|g' mach_kernel

Source

http://racerrehabman.wordpress.com/2013/11/25/maverickshaswell-kernel-patch-for-early-reboot/

 

Updated: Clover boot loader can generate SSDTs for all CPUs, including Ivy Bridge

http://Olarila.com/forum/viewtopic.php?f=28&t=3198

	<key>ACPI</key>
<dict>
	<key>SSDT</key>
	<dict>
		<key>DropOem</key>
		<true/>
		<key>Generate</key>
		<dict>
			<key>CStates</key>
			<true/>
			<key>PStates</key>
			<true/>
		</dict>
	</dict>
</dict>

 

Updated: for Sandy and Ivy Bridge CPUs, Chameleon GeneratePStates is not working since 10.7.4 update, you can use this script to generate an SSDT with P and C states

Run the commands in terminal

curl -o ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/master/ssdtPRGen.sh
chmod +x ssdtPRGen.sh
./ssdtPRGen.sh

Put SSDT.aml in Extra folder, enable the option DropSSDT, disable GeneratePStates and GenerateCStates

	<key>DropSSDT</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>No</string>
<key>GeneratePStates</key>
<string>No</string>

 

Updated: several PCs (desktop and laptop) with Sandy and Ivy Bridge chipset need AppleIntelCPUPowerManagement to be patched

http://Olarila.com/forum/viewtopic.php?f=9&t=1003


Updated: Chameleon boot loader can generate SSDTs with P and C states automatically, simply enable the options GeneratePStates and GenerateCStates

	<key>GeneratePStates</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>

You still need to make sure that the kext AppleLPC is loaded. If it's not, adjust ID of device LPC with DSDT patch

http://Olarila.com/forum/viewtopic.php?f=19&t=634


What SMBIOS use for your hardware

http://Olarila.com/forum/viewtopic.php?f=2&t=1302


Application to monitor temperature, frequency and voltage of the processor: HWMonitor

http://sourceforge.net/projects/hwsensors/files/

FakeSMC plugins:

CPUSensors - monitor processor

GPUSensors - monitor video card

LPCSensors - monitor motherboard (Super I/O)

ACPISensors - other not supported by LPCSensors (only works with DSDT edits, install only if you make those changes)


The value reported by the CPU is not the actual temperature, but the difference to Tjmax, which is the temperature the CPU would turn itself off to avoid damage. The Tjmax is calculated automatically, but may be incorrect, causing the temperature shown in degrees Celsius to be also wrong. In this case you can set the value manually by editing the key Tjmax in the file Info.plist of CPUSensors kext.


How to edit Info.plist

http://Olarila.com/forum/viewtopic.php?f=18&t=1704


The original kext responsible for power management is AppleIntelCPUPowerManagement, but few motherboards work with this kext without any adjustment, so the installation guides suggest using some kext that disables AppleIntelCPUPowerManagement to avoid kernel panic or overheating of the processor.

http://Olarila.com/files/10.6/PM/NullCPUPowerManagement.kext.zip


Since Leopard 10.5.8 sleep only works if the AppleIntelCPUPowerManagement is running, using a disabler kext breaks the sleep. To solve the problem the kext SleepEnabler was created, it enables AppleIntelCPUPowerManagement when the computer is going to sleep.

http://code.google.com/p/xnu-sleep-enabler/downloads/list

PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI

Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000

My OS X Files 

Posted

I was trying to create my SSDT file, but getting this error in terminal.


My CPU:

Intel® Core™ i5-2400 Processor (6M Cache, up to 3.40 GHz)

Max Turbo Frequency 3.4 GHz

Max TDP 95 W


In Terminal i get this message:

Last login: Wed Aug 15 20:02:19 on console

Macintoshs-Mac-Pro:~ Macintosh$ sudo ./ssdtPRGen.sh 95 3400

Password:

sudo: ./ssdtPRGen.sh: command not found

Macintoshs-Mac-Pro:~ Macintosh$


Any suggestion?

Posted

Put ssdtPRGen.sh in your user's home folder, or cd to the folder where you put the script before running it.


Example

cd Downloads
sudo ./ssdtPRGen.sh 95 3400

-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

I put SSDT in Extra Folder.


Added Stings in org.chameleon.Boot.plist as below:

DropSSDT

Yes

GeneratePStates

Yes

GenerateCStates

Yes


Is that correct? In the tutorial it says: Enable the option DropSSDT, disable GeneratePStates and GenerateCStates. Disable from where?

Posted

No, it's wrong.


Disable means set

   <key>GeneratePStates</key>
  <string>No</string>
  <key>GenerateCStates</key>
  <string>No</string>

or just remove those keys, since their default value is No.

-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

No AppleLPC loaded in terminal, i used "kextstat" command.



I already followed that process even AppleLPC not loaded.Bro i have downloaded LPC SANDY BRIDGE from patches section and patched with DSDT EDIT.


Note: I opened again SSDT.aml with DSDT Edit and try LPC SANDYBRIDGE patch.

Posted
Man, pay attention, apply LPC patch in DSDT, not SSDT.


Isn't there a complete patch for your mobo in http://Olarila.com/forum/packs.php ?

 

Brother i have been searching DSDT for my mobo, before i start installation OS X. But i could not able to find it. I have checked DSDT patched section before. There is only G1.Sniper but you may know there are three version of Gigabyte G1.Sniper like Sniper 1, Sniper 2, Sniper 3 and Sniper M3. I believe in DSDT patch section there is G1. Sniper for 1366 socket, not sure.


My mobo is Sniper M3 Socket 1155 Z77 Chipset. Till now i am not using any DSDT, NullCPUManagment or Any Patches for AppleIntelPowerManagment. But i would like to build my Hackintosh which will work OOB from all corners with Olarila Forum help, all though i am new and lack of knowledge in Hackintosh.


What i should do now, I am looking forward helpful hand from you all in future as i am getting now.


Thanks.

Posted

Read this topic, watch the video to learn how to apply a patch in DSDT, and apply the patches you need, starting with LPC for desktop Sandy Bridge.


http://Olarila.com/forum/viewtopic.php?f=19&t=634

-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
Read this topic, watch the video to learn how to apply a patch in DSDT, and apply the patches you need, starting with LPC for desktop Sandy Bridge.


http://Olarila.com/forum/viewtopic.php?f=19&t=634

 

Sure. Bro I would like to do step by step not like use all the patches then compile, can i? Use DSDT Edit to Extract from ACPI Table. Use Desktop LPC Sandy Bridge patch+Compile+Save on Desktop. If it goes fine without error then the next patch. I think it will be easy like not mass with all together.

Posted


Sure. Bro I would like to do step by step not like use all the patches then compile, can i? Use DSDT Edit to Extract from ACPI Table. Use Desktop LPC Sandy Bridge patch+Compile+Save on Desktop. If it goes fine without error then the next patch. I think it will be easy like not mass with all together.

 

I have started with LPC Desktop LPC Sandy Bridge patch and get this errors, Could you please check.

1852316075_DSDTEdit.jpg.600cb37fe32b7cfc9e7a21f1355fd700.jpg

Posted

hello


start with DTGP


good hack

PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI

Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000

My OS X Files 

Posted
hello


start with DTGP


good hack

 

Thanks for your reply. I have started with DTGP but still one error like _HID suffix must be all hex digits(GH), Do i need to apply all the patches together and then compile and save aml? If so Bro can u let me know what all patches i need to download from http://Olarila.com/forum/patches.php section. Example in Desktop section: DTGP, LPC Sandy Bridge ect.


I am totally new so please tell me all i need those patch to build my Hackintosh OOB, Thanks bro. Thanks once again.

Posted
still one error like _HID suffix must be all hex digits(GH)

Search the forum for the error message, this has been answered a lot of times.

 

I am totally new

This is a good reason for you to read with attention. The DTGP question, for example, is very clear in the guide

DTGP is required by many patches, so you will probably need it.

http://Olarila.com/forum/viewtopic.php?f=19&t=634

 

so please tell me all i need those patch to build my Hackintosh OOB

No one will do it, you have to figure it out by yourself, reading and testing, I told you that already.

-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

Believe me or not i have never used Mac before. Brothers i am going my max level best to make it possible, of course by help from all of you. I am really glad you guys are always guiding me even i post all silly questions :)


Big Big Big thanks to all of you. Good Hack Olarila.COM.

Posted

Open the file ssdt-pr.dsl with DSDT Editor, compile and save as SSDT.aml in the Extra folder.

Enable the option DropSSDT, disable GeneratePStates and GenerateCStates.


Chameleon can generate P and C states automatically, simply enable the options

 

ive generated my ssdt.aml. but i i dont understand that above . could you explain me please?. so in chameleon i have enable it and where i have to disable it??

Posted

hello


use chameleon wizard to set the config in org.chameleon.boot.plist


good hack

PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI

Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000

My OS X Files 

Posted

oh i see... so if i have generated my ssdt.aml then i have to choose in my chameleon enable dropssdt and disable c-p state (and if dont have ssdt.aml, i have to enable c p states..)


thank you..

i have generated my ssdt,

patch my applecpupowermanagement (im using sandy bridge),

run kexstat and see applelpc loaded, remove nullcpupwmngmt and sleep enabler.

but i got kp said kernel in bactrace is applecpupowermanegement..

so could you please tell mee what is wrong?? :D


 

  • IMG_20121117_164708.jpg

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