Jump to content
About Just Joined group Read more... ×
RehabMan

Haswell early reboot, Mavericks, locked MSRs, and HP Envy 15-J063CL (i7-4700MQ)

469 posts in this topic

Recommended Posts

Advertisement

I just got the same computer.  Looking forward to trying this!

 

Where can I find the patched AppleIntelCPUPowerManagement?  I searched here and osx86, but couldn't find it.

Share this post


Link to post
Share on other sites

I usually patch it myself with perl script AICPMPatch.pl by el coniglio, but wouldn't a pre-patched one be in Pandora? I really don't know for sure since I don't use the tools here too much.

Share this post


Link to post
Share on other sites

Hallo RehabMan!

 

For brightness keys working, you could have a look at IOWMIfamily.kext at github Dolnor. It has in sourses a "HPWMI" . At Donovan6000blog :http://donovan6000.blogspot.co.at/2013/08/acpi-controlled-keys.html you can find a compiled version and some hints to make it work on HP.

 

Have you ever done a test like Cinebench 11.5? I am interested on gfx-results of HD4600 and the rendering points of i7 4700MQ.

 

Have fun.

Share this post


Link to post
Share on other sites

Can I ask how many P-state are working with your patched kernel and 10.8.5's AICPM ?

Right now there is no way to archive a fully working speedstep on hashwell systems using the new xnu power management. So it could be a solution for us, if it work better.

Share this post


Link to post
Share on other sites

Can I ask how many P-state are working with your patched kernel and 10.8.5's AICPM ?

Right now there is no way to archive a fully working speedstep on hashwell systems using the new xnu power management. So it could be a solution for us, if it work better.

I updated post #1 to include some pstate data.  I tried to build a  MacBookPro11,2 smbios.plist, but was stuck at x8, probably because there is no data in x86platformplugin for that board-id.  At this point, I'm not sure which one is better.

 

With MacBookPro8,3 I reach more states at the lower end (between 8 and 24), but I'm using Sandy Bridge style PM.

With iMac13,2 there is a jump from 8 to 24 (none in between), but using x86platformplugin.

 

Unfortunately there is no data for MacBookPro11,x because those systems use PM in the kernel instead.  Of course, the ideal situation is to somehow patch the kernel to where xmp would work in the kernel just like a real Haswell MacBookPro.

 

At this point, I'm not sure how one or the other affects battery life.  I haven't even put the battery in yet...

Hallo RehabMan!

 

For brightness keys working, you could have a look at IOWMIfamily.kext at github Dolnor. It has in sourses a "HPWMI" . At Donovan6000blog :http://donovan6000.blogspot.co.at/2013/08/acpi-controlled-keys.html you can find a compiled version and some hints to make it work on HP.

 

Have you ever done a test like Cinebench 11.5? I am interested on gfx-results of HD4600 and the rendering points of i7 4700MQ.

 

Have fun.

Thanks I'll check it out.  But right now I have a more fundamental problem: the brightness slider doesn't work in SysPrefs->Displays.  More experimentation/debugging for that later...

Following up on the Cinebench question, using MacBookPro8,3 right now with Sandy PM:

 

Cinebench Resuls, MBP8,3

Cinebench 11.5:

OpenCL: 34.05 fps

CPU: 6.69 pts

 

Cinebench R15:

OpenCL: 20.12 fps

CPU: 609 cb

Share this post


Link to post
Share on other sites

With MacBookPro8,3 I reach more states at the lower end (between 8 and 24), but I'm using Sandy Bridge style PM.

With iMac13,2 there is a jump from 8 to 24 (none in between), but using x86platformplugin.

 

Unfortunately there is no data for MacBookPro11,x because those systems use PM in the kernel instead.  Of course, the ideal situation is to somehow patch the kernel to where xmp would work in the kernel just like a real Haswell MacBookPro.

 

At this point, I'm not sure how one or the other affects battery life.  I haven't even put the battery in yet...

 

I read somewhere that on real imacs PM is working in that way. They use only the lowest and the highest P-state and of course Turbo mode. For this reason most people uses mac mini or old mac pro SMBIOS. 

Have you tried MacBook retina SMBIOS ? They come with MountainLion if I remember right and the new PM come after 10.8.5/10.9

 

 

 

Share this post


Link to post
Share on other sites

I read somewhere that on real imacs PM is working in that way. They use only the lowest and the highest P-state and of course Turbo mode. For this reason most people uses mac mini or old mac pro SMBIOS. 

Have you tried MacBook retina SMBIOS ? They come with MountainLion if I remember right and the new PM come after 10.8.5/10.9

Yes, I'm aware of the limited pstates in iMac (it is 'by design' as that's the way real Macs work...)

 

I'm going to try to find out how each of the boardids in x86platformplugin line up with Mac models and see if there is something in there more appropriate. One nice thing (depending on your perspective) about MacBookPro8,3 is that you don't end up with the "Remote Disc" in Finder, as you do on the iMac13,2, probably because the system expects to find a real DVD drive.

Share this post


Link to post
Share on other sites

@ Rehabman

 

Thanks fore Cinbech results, I have long been looking for. On 11.5  I get with HD4000 since 10 8.4 about 21 fps. Result of HD4600 is really nice (same as 8600 GTS with RampageDev tweaks) and seems by fare good enough to do some photo and video editing tasks. Your results also minimize the for sure surrealistic wish to get dedicated gfx cards besides the Optimus and Enduro (censored) to work on lappies. :)

 

Thanks.

Share this post


Link to post
Share on other sites

Got a KP using your patched kernel and stock AppleIntelCpuPowerManagement.kext

Could not understand why. The expected behavior is an unloaded AICPM because of the new in-kernel PM.

At this point I think that Apple uses the old PM way, maybe on old cpus. But again, why a KP? I mean if there is a whitelist of AICPM supported cpus, this kext should not be loaded on haswell system. 

Share this post


Link to post
Share on other sites

Got a KP using your patched kernel and stock AppleIntelCpuPowerManagement.kext

Could not understand why. The expected behavior is an unloaded AICPM because of the new in-kernel PM.

At this point I think that Apple uses the old PM way, maybe on old cpus. But again, why a KP? I mean if there is a whitelist of AICPM supported cpus, this kext should not be loaded on haswell system.

Read more carefully. This is not a patched kernel. This a kernel built from sources. The sources Apple is publishing *do not* include xcpm. Note that xcpm only applies to systems with Haswell CPUS. If you do not have a Haswell CPU, then you don't need this kernel, but you stil may need patched AppleIntelCPUPowerManagement or patched BIOS (if you can patch your BIOS then you don't need any of this...)

 

So, when using this kernel, AppleIntelCPUPowerManagement *is* loaded. If your BIOS locks the 0xE2 MSR (I suspect it does), then you need a patched AppleIntelCPUPowerManagement.

Share this post


Link to post
Share on other sites

Read more carefully. This is not a patched kernel. This a kernel built from sources. The sources Apple is publishing *do not* include xcpm. Note that xcpm only applies to systems with Haswell CPUS. If you do not have a Haswell CPU, then you don't need this kernel, but you stil may need patched AppleIntelCPUPowerManagement or patched BIOS (if you can patch your BIOS then you don't need any of this...)

 

So, when using this kernel, AppleIntelCPUPowerManagement *is* loaded. If your BIOS locks the 0xE2 MSR (I suspect it does), then you need a patched AppleIntelCPUPowerManagement.

Gigabyte's boards are "unlocked", they did not need patched BIOS nor patched AICPM (at least until ML). Maybe what I want to do is not possible. I have an haswell system. And since my board is unlocked I thought It was only necessary your kernel (that has xcpm disabled).

 

Share this post


Link to post
Share on other sites

Gigabyte's boards are "unlocked", they did not need patched BIOS nor patched AICPM (at least until ML). Maybe what I want to do is not possible. I have an haswell system. And since my board is unlocked I thought It was only necessary your kernel (that has xcpm disabled).

It is likely you don't have smbios.plist/ssdt/boot.plist setup correctly.

 

But my understanding is people with unlocked MSRs were having success with xcpm in the kernel...

Share this post


Link to post
Share on other sites

I don't like how xcpm works . Want to try to archive a fully speedstep using old AICPM system.

I see. There are clues about what is wrong in the information printed at KP. There are quite a few variables that must line up:

- proper SSDT for your CPU

- proper smbios

- no cstates/pstates generated from bootloader

- drop OEM SSDTs

- no NullCPU (although that will not cause KP if you forget)

- patched BIOS or patched AppleIntelCPUPowerManagement (or unlocked MSRs in BIOS)

Share this post


Link to post
Share on other sites

I have this CPU inside my MSI GE60 laptop, was using Atom kernel before. PowerManagement did not worked fine, temperature was always near 88C. Going to try this kernel now, will report how things are going.

I suspect it's offtopic, but anyway - just 2 quick questions: were you able to run vanilla kernel with MacBookAir6,2 smbios? Was your BIOS patched? I was using MacBookAir6,1 and it seems I tried every possible flag combination in Clover, but it kept crashing (I was unable to flush the patched bios, since BIOS update software rejects it). Thanks for the kernel and thanks in advance for answers :)

Share this post


Link to post
Share on other sites

Using this kernel I get a KP with a patched AppleIntelCPUPowerManagement.kext

As I state in post#1, if your BIOS locks the MSRs, you must use patched AppleIntelCPU*.

I have this CPU inside my MSI GE60 laptop, was using Atom kernel before. PowerManagement did not worked fine, temperature was always near 88C. Going to try this kernel now, will report how things are going.

I suspect it's offtopic, but anyway - just 2 quick questions: were you able to run vanilla kernel with MacBookAir6,2 smbios? Was your BIOS patched? I was using MacBookAir6,1 and it seems I tried every possible flag combination in Clover, but it kept crashing (I was unable to flush the patched bios, since BIOS update software rejects it). Thanks for the kernel and thanks in advance for answers :)

I have not tried MacBookAir6,2. But this laptop cannot run the vanilla kernel because of locked MSRs (thus kernel w/o xcpm). And HP's BIOS is RSA encrypted, so pmpatch is not a possibility.

Share this post


Link to post
Share on other sites

As I state in post#1, if your BIOS locks the MSRs, you must use patched AppleIntelCPU*.

 

I have not tried MacBookAir6,2. But this laptop cannot run the vanilla kernel because of locked MSRs (thus kernel w/o xcpm). And HP's BIOS is RSA encrypted, so pmpatch is not a possibility.

 

Are you telling me to patch AppleIntelCPUPowerManagementClient.kext?

Share this post


Link to post
Share on other sites

No. See post #1.

 

I am not understanding your post

 

I am already using a patched AppleIntelCPUPowerManagement.kext

 

Its giving me a KP

 

Edited by ameris_cyning

Share this post


Link to post
Share on other sites

I am not understanding your post

 

I am already using a patched AppleIntelCPUPowerManagement.kext

 

Its giving me a KP

Just saying "I'm getting a KP" is meaningless. Without a photo, I can't give you any ideas. There are other reasons AICPUPM will KP besides MSR lock (bad SSDT, duplicate pstate info, Processor objects missing in DSDT, etc.)

Share this post


Link to post
Share on other sites

You are not crashing in AppleIntelCPUPowerManagement.kext.

 

You are crashing in AppleIntelCPUPowerManagementInfo.kext. That is Pike's replacement for MSRDumper.kext. I suggest you remove it.

I feel like a {censored} moron

 

You are right.

 

 

It works perfect

 

Damn do I feel like a {censored} fool

HOLY {censored}

 

My temps were at 90+ Celsius

 

And that was idling

 

I was using a iMac14,2 SMBios

 

EDIT 3

 

iMac SMBIOS's only generated one state, 8

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

Announcements

  • Similar Content

    • By tosziro
      Hello,
       
      I successfully installed MacOS Catalina on this machine it booted after it. Keyboard, ethernet, touchpad, battery status was working. Only that was broken was wifi...
       
      Sadly after reboot out of the blue it stop to work completly. Displays kernel panic. I didnt change anything.
      panic 2cpu 2 caller userspace watchdog timeout no successful checkins from com.apple.logd in 120 seconds
       
      This is my first Hackintosh.  I have complety no idea what should I do now. :-(
      Maybe you could help me, Im attaching my EFI config... I used OpenCore to install.
       
      Intel Core i7-4702MQ Intel HD Graphics 4600 / Nvidia 760M  
      Thank you.
      EFI.zip
    • By zazman
      Bonjour,
       
      Je rencontre un souci depuis la dernière maj supplémentaire catalina 10.15.4, même chose pour la 10.15.5 aujourd'hui : après le début de l'update, lorsque le pc redémarre, je ne vois pas le volume d'installation dans les volumes de l'écran de boot clover (v5118). j'ai juste Preboot dans les volumes cachés au démarrage, et j'ai essayé de les afficher, le préboot de l'install apparait bien mais le boot n'aboutit jamais par ce biais. du coup, je suis bloqué en 10.15.4. Auriez-vous une idée du problème ?
    • By Alex009988
      Hello. I am often enquired about my Acer Aspire 8942G. So I decided to create a topic about this deal.
      Installation.
      I use MBR and Mavericks is installed on the second hard disk, which have two partitions. One with Mavericks, the second with NTFS-partitions.
      I prefer to install(restore) mac with the help of R-drive image under Windows. But it don't means that you must do so either. Do as you prefer
      Note. Usually people start with Chameleon. You should use only two extra kexts, namely FakeSMC and NullCPUPowerManager for the first start.
      And use these keys at the Chameleon -v -f GraohicsEnabler=No
      Necessary kexts(patched kext and hackintosh kext
      AMD5000Controrrel
      AppleHDA
      AppleSmartBatteryManager
      BCM5722D
      FakeSMC
      AppleRTC
      DisplayMergeNub
      VoodooPS2Controller.
      Note; S/L/E means System/Library/Extensions I have written it as it occasionally confuses the beginners
      Note 2; you can find driver for LAN and sound from previous system here
      http://www.insanelymac.com/forum/files/file/79-bcm5722d/
      http://www.insanelymac.com/forum/files/file/73-applehda-for-alc670-for-ml-and-mavericks/
      http://www.insanelymac.com/forum/files/file/92-applesmartbatterymanager/
      Graphics, DSDT and FaakeSMC, AppleHDA
      1) This patched Framebuffer we use
      Personality: AlouattaConnectorInfo count in decimal: 4Disk offset in decimal 5913920000000 02 00 00 00 40 00 00 00 09 00 00 00 10 00 00 04 - LVDS0000010 00 04 00 00 04 07 00 00 00 00 00 00 12 04 01 02 - DP0000020 00 08 00 00 04 02 00 00 00 00 00 00 11 02 02 01 - HDMI0000030 10 00 00 00 10 00 00 00 00 00 00 00 00 10 03 03 – VGA0000040 Plus you have to use GraphicsInjector or the best solution as I think is VideoBios within DSDT. Only with this method, "Display Sleep" works(I've already give the DSDT with that)
      http://www.insanelymac.com/forum/topic/287995-how-to-launch-ati-card-by-dsdt/
      2) My dsdt is big, and it start up many of the equipment. I think it is enough had so as to improve something else, as it were. But you can suggest to me some correction.
      For instance, some optimization and so on
      Note, if your Acer doesn't boot with my DSDT, than it happens you use a little bit another model with small distinction, For example another processor such as Core i5 instead of i7. It happens because the addressing differs from mine at one place of the DSDT,
      Find and correct it, on your DSDT. If you encounter this problem, write about here if you cannot cope with that on you own.
      PS I have the DSDT from Acer Asoire 8942G which has Core i5, but I don't lay it out because it is old a little and I should finish it in this case.
      3) FakeSMC
      I attached correct the Fake for our laptops, it emulates not only SMC, AppleHDAHardwareConfigDriver and ApppleGraphicsPowerManager(correct id) are being put right as well.
      It also detects many sensors by means of HWSensors, the other sensors I wasn't be able to make it as it is super very hard but possible. You can read this topic just for the interest
      http://www.tonymacx86.com/dsdt/93613-help-me-editing-dsdt-acpisensors.html
      4) See here what patches what made for AppleHDA
      http://www.insanelymac.com/forum/topic/290092-how-to-patch-applehda-with-the-help-of-bootloader/
       
      Settings of bootloaders. Chameleon, XPC, bareBoot and Clover
      You can find settings of bootloader at the folder Extra_files
      Note; you must past your serial number. You can use Chameleon Wizaed for it.
      Note 2; With Chameleon you should make patch of all kexts manually, in Clover and bareboot these patches are writhen at their settings in order to not repatch drivers after each update.
      Though you must replace AppleSmartBatteryManager after each update
      Note 3, As you can see at the XPC I use all patches except for Graphics patch. For some reasons, Graphics patch doesn't work at xpc. Hope that developer of this bootloader will solve the problem soon. As a consequence, I make patch of AMD5000Controller manually with the help of hexedit.
      02000000000100000901000012040303000400000406000000710000110201010004000004060000007100002103020200040000040600000071000022050404
      That we replace on
      02000000400000000900000010000004000400000407000000000000120401020008000004020000000000001102020110000000100000000000000000100303
      Extra_files
      These two files are necessary for VoodooPS2Controller, and should be founded in indicated folders
      VoodooPS2Daemon
      /usr/bin/
      org.rehabman.voodoo.driver.Daemon.plist
      /Library/LaunchDaemons
      Here is edid, you can use DisplayProductID or DisplayNergeNub, Although being together, they mustn't hinder each other.
      See more exactly here
      http://www.insanelymac.com/forum/topic/290130-fixedid-v19-application-to-generate-overrides-automatically-for-apple-displays/
      DisplayProductID-9236
      /System/Library/Displays/Overrides/DisplayVendorID-daf
      Strugle with out-of-work DVDPlayed caused by BatteryKext
      http://www.insanelymac.com/forum/topic/283052-appledvdplayer-and-applesmartbatterymanager/?p=1899352
      Unsolved problems
      1) Glimmer on LDVS
      http://www.insanelymac.com/forum/topic/287289-blinking-strips-of-ati-card/
      2) Pops durings waking up with AppleHDA, it happens only in Mavericks
      http://www.insanelymac.com/forum/topic/289812-applehda-patching-in-109-mavericks/?p=1932852g
      3) VoodooSDHC no longer works completely, at the Mavericks. At the Mountain Lion, it works very buggy.
      http://www.insanelymac.com/forum/topic/136470-any-drivers-for-jmicron-jmb38x/?p=1927090
      4) Small spam at the kernel log made by the SmartBattery.
      http://www.tonymacx86.com/mountain-lion-laptop-support/69472-battery-manager-fix-boot-without-batteries-19.html#post628276
      5) Some indicators. Indicator of wifi doesn't work completely. Touchpad indicator can be only switched on/off under Windows.
      dsdt.aml.zip
      S:L:E.zip
      Extra_files.zip
    • By haoyouandme
      Hello:
      I install hackintosh Catalina 10.15.4, I need some help: 
      If I shut down my Hackintosh, it will reboot.
      If I sleep my Hackintosh, it never wakes up until I force to reboot it or shutdown it.
      Can you help me to solve this problem?
       
      CPU: I9-9900ES (QQZ5)
      Motherboard: Asrock Z390 Pro4
      GPU: Sapphiretech AMD 5700xt
      Memory: Samsung DDR4 16GB
      SSD: Intel 545s 128G SATA
      Power: Cooler master MWE Bronze 650
      EFI.zip
×