Jump to content
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

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

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By MardukPVP
      Hello guys,

      recently I have tried to install macOS mojave on my Mi Notebook pro (i5 - 8250u model) but have faced one big problem.
      My guide was from Razorkey (https://www.tonymacx86.com/threads/guide-xiaomi-mi-notebook-pro-high-sierra-10-13-6.242724/). As a newbie I have almost no experience in installing macOS on a PC / Laptop... so I hope you can help me .

      But first things first I configurated the BIOS settings on my Mi - Notebook Pro. Therein I just disabled secure boot (because there are quite few options to tick).

      After that I headed over to my secondary Windows - PC and installed a High Sierra virtual machine (thanks to this tutorial: https://techsviewer.com/install-macos-high-sierra-vmware-windows-pc/). At that point everything worked fine.

      Then I downloaded the Mojave patcher and downloaded the full 6GB macOS Installer, put it into applications and formatet my 16GB USB Stick into the journaled + GUID with the name USB meanwhile.
      Next I typed 
      sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/USB 
      into the terminal and at that point everything looked like it would work pretty fine. I downloaded Clover Config, mountet the EFI partition and pushed the EFI folder from this site: https://github.com/daliansky/XiaoMi-Pro to the EFI partition on my 16GB USB drive.

      In the folloing I restarted my Notebook, selected the MacOS installer and it bootet into the MacOS installer. By doing that I only noticed that the progress bar turned green at a certain time (attatchment). Even though everything bootet pretty fine, i formattet my only ssd (Samsung) into APFS + GUID and startet the installation.
      At the point of two minutes my notebook suddenly rebootet and it brang me into the same clover selection menue as before (with only one method [macOS Installation]). Unfortunately there was no further installation method.

      When I was trying to reboot the laptop into the installer i got a error [your computer restarted because of a problem...] and i would have to do everything again.


      I hope someone can help me fixing this problem  . Thanks in advance.




    • By dannymozzer_
      Hi,
       
      I've been trying to install Mavericks 10.9, I know it's older now, but It's honestly the version I want to use, the specs of the PC are:
      Asus P8H61-MX USB3
      i3-3220
      8GB DDR3 Memory
      GTX 750 ti
      500GB HDD
       
      I've been following this guide: https://www.insanelymac.com/forum/topic/280756-guide-the-all-in-one-guide-to-vanilla-os-x-including-chameleon-dsdt-for-beginners-updated-for-yosemite/
      But, after booting, this is the error screen I get, any guidance on what Kexts, SMBios settings, etc. I need? I can tell I'm probably missing something here.

      Thanks,
      Dan
    • By bradipi15
      Ciao ragazzi ho un problema strano... 
      Praticamente quando avvio il pc usando il dsdt, appena connetto la tavoletta grafica huion h640p, il pc si riavvia... 
      Se invece tolgo il dsdt, funziona tutto perfettamente... 
    • By Fede1132
      Hi guys i have a problem install macOs Mojave on my PC, I have this configuration:

      CPU: Ryzen 7 2700X;
      GPU1: GTX 970 Strix(For game rendering and 144Hz Monitor);
      GPU2: GTX 750ti Strix(For 2nd monitor rendering to get 100% performances from 1st 144Hz Monitor);
      MotherBoard: MSI x470 GAMING PLUS
      Hard Disk 1 (Windows 10): Samsung EVO M.2;
      Hard Disk 2 (For Storage): RAID (1) between two hard disks;
      Hard Disk 3 (For Mojave): Kingston SSD 120GB;

      I have created my USB with this:
       
      Create Bootable USB Code: sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/USB -- /Applications/Install\ macOS\ Mojave.app -- nointeract && say Done. Clover Settings: Boot: Verbose; dart=0; nv_disable=0; kext-dev-mode=1; GraphicsEnabler=No; XMPDetection = No. Cpu: C6. Devices: (Not Enabled = [ ] - Enabled = [-] - Full Enabled [✓]) Inject (Full Enabled); Add ClockID (Full Enabled); FixOwnership (Full Enabled); Gui: (Not Enabled = [ ] - Enabled = [-] - Full Enabled [✓]) Enabled (Full Enabled); Screen Resolution: 1920x1080; Kernel and Kext Patches: (Not Enabled = [ ] - Enabled = [-] - Full Enabled [✓]) Apple RTC (Full Enabled); KernelPm (Full Enabled); SMBIOS: iMac(18,3); System Parameters: Inject Kexts = Yes; Inject System ID; Used Kexts: FakeSMC FakePCIID NVIDIA WEB LILU BIOS: VT-d = Disabled; XHCI Hand-Off = Enabled; Legacy USB Support: Enabled; Hard Disk: AHCI Mode; Selection Mode: Legacy + EUFI; Clover Install Log:
      Full Error Log:
       
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
        Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Install Clover in USB stick UEFI mode https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace Folder CLOVER INSTALLATION.zip   --Install System and boot with USB STICK! --Install Clover in UEFI mode and replace with my folder  Mavericks / Yosemite CLOVER Mavericks-Yosemite.zip El Capitan / Sierra CLOVER El Capitan-Sierra.zip   --Reboot and activate video!   Bingo!   Now you need a fine tune! I prefer DSDT way, apply all patches in one file, many people prefer many SSDTs or Clover patches! If you need DSDT edit... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Post Ioreg, extract with Ioreg Explorer http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222606 -Run it, post files generate in your desktop http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222609    --DSDT My DSDT DSDT.Asus Z97M-PLUS.zip   Patches  -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -EHCx -DARWIN -LPC -XHCI -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -HDMI -ALS0 -SHUTDOWN -LAN -PNLF --SSDT Generate your SSDT Power Management, use ssdtPRGen Piker-Alpha https://github.com/Piker-Alpha run in terminal curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh chmod +x ~/ssdtPRGen.sh sudo ~/ssdtPRGen.sh ssdtPRGen.command.zip
       
      --SSDT i74790K
      SSDT.i7 4790K.zip
       
      --IOREG
      iMac.ioreg.zip
       
      Clear NVRAM, Purge and Kextcache Olarila.command.zip   stock coolerand Rio 40º    --FakeSMC http://www.hwsensors.com/releases --Audio http://www.insanelymac.com/forum/topic/314406-voodoohda-289/ --USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads --LAN http://www.insanelymac.com/forum/topic/304235-intelmausiethernetkext-for-intel-onboard-lan/   Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
×