artur-pt Posted July 30, 2012 Posted July 30, 2012 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
CruseRocks Posted August 15, 2012 Posted August 15, 2012 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?
oldnapalm Posted August 15, 2012 Posted August 15, 2012 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
CruseRocks Posted August 15, 2012 Posted August 15, 2012 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?
oldnapalm Posted August 15, 2012 Posted August 15, 2012 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
CruseRocks Posted August 15, 2012 Posted August 15, 2012 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.
oldnapalm Posted August 16, 2012 Posted August 16, 2012 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 ? -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
CruseRocks Posted August 16, 2012 Posted August 16, 2012 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.
oldnapalm Posted August 16, 2012 Posted August 16, 2012 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
CruseRocks Posted August 16, 2012 Posted August 16, 2012 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.
CruseRocks Posted August 17, 2012 Posted August 17, 2012 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.
artur-pt Posted August 17, 2012 Author Posted August 17, 2012 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
CruseRocks Posted August 17, 2012 Posted August 17, 2012 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.
oldnapalm Posted August 17, 2012 Posted August 17, 2012 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
CruseRocks Posted August 18, 2012 Posted August 18, 2012 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.
Leonald Posted August 27, 2012 Posted August 27, 2012 so if chameleon can do this automatically Active options and will be ready?
karisx Posted November 17, 2012 Posted November 17, 2012 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??
artur-pt Posted November 17, 2012 Author Posted November 17, 2012 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
karisx Posted November 17, 2012 Posted November 17, 2012 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??
artur-pt Posted November 17, 2012 Author Posted November 17, 2012 hello try this one p-sates=yes and c-states=No Dropssdt=Yes i5_2430M_SSDT.aml.zip 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
karisx Posted November 18, 2012 Posted November 18, 2012 still no luck bro. hmm,, or maybe i have to patch the lpc although is loaded?? or rtc ??
artur-pt Posted November 18, 2012 Author Posted November 18, 2012 hello something is wrong with the appleintelcpupowermanagement.kext patch revise the procedure and use one of the last chameleon with in /Extra/modules u use lapic_kernel ? if no do the procedure with chameleon to avoid the use of cpus=1 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
java_lava Posted December 27, 2012 Posted December 27, 2012 Hello, i have troubles for generate the ssdt.dsl file I put the scrip on desktop change the directory using the cd command cd Desktop run the command sudo ./ssdtPRGen.sh 95 3400 (that is for my i5 2400) Prompt by the password and wrote my password Here is where i have the trouble ... I can not see the file generated Ideas? Greetings
java_lava Posted December 27, 2012 Posted December 27, 2012 Hello, i have troubles for generate the ssdt.dsl file I put the scrip on desktop change the directory using the cd command cd Desktop run the command sudo ./ssdtPRGen.sh 95 3400 (that is for my i5 2400) Prompt by the password and wrote my password Here is where i have the trouble ... I can not see the file generated Ideas? Greetings All is ok, I have the file generated, forget put the last command open /tmp Grettings
Charlie Brown Posted December 30, 2012 Posted December 30, 2012 Thanks for the script, Artur. At the end, the generated SSDT is quite similar to the multishit's suggested SSDTs. Also patched AICPUPM, but still not much luck getting sleep working as well as more than one or two states. In most of the tests, I only get 1.6 in HWMonitor, some combinations get me 3.3 also, but nothing in between. Oh well, anyway, thanks again. I guess this is the SSDT to keep, although I still have those "P-State stepper error"s. Oh yeah, btw, I also had the exact problems that 2 guys had along this thread: a KP mentioning AICPUPM and the ACPI plugin. I got them when trying to solve the stepper errors I have permanently. My only solution was to bring the SMBIOS to MacPro3,1. Of course, I didn't try all of the possibilities, but so far, this is the only one now which allows me to boot into the system (after patching AICPUPM, generating SSDT and some things more, probably). And I also am guessing that MacPro3,1 in some way messes the steps. What bothers me is that I see guys all the time using other SMBIOS. Oh well, time will tell. P8P67-M 0901 BIOS - Core i5-2500K - XFX Radeon 6790 MacPro3,1; DSDT baixada da net, ainda não customizada; SSDT_PR gerada; AICPUPM patch so far, still no steps, no sleep, no hibernate, no wifi ML 10.8.2; Win7 x64; Win8; also a stalled Ubuntu
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now