Contribute
Register

[Guide] HP Envy Haswell series J/K using Clover UEFI

Status
Not open for further replies.
First of all, you are a MAN.
I've successfully installed 10.10.3 yosemite on my HP ENVY using your guides.

BIOS settings

To start, set BIOS to Windows 8 defaults.

Then insure:
- UEFI boot is enabled
- secure boot is disabled
- enable Legacy Boot (but UEFI first) and you may experience less boot time glitches

If you own the laptop, please help with any additional required BIOS settings that may be required.

On my envy, i don't have ability to disable UEFI. It looks like it is always enabled.
All you need is to enable legacy boot.
Virtualisation technology can be enabled.

Preparing USB and initial Installation

This guide for creating USB and installing using Clover UEFI works well for this laptop: http://www.tonymacx86.com/yosemite-...oting-os-x-installer-laptops-clover-uefi.html
Confirm, this guide works perfect, i've successfully installed 10.10.3 two weeks ago.
Note: when you've installed EFI on hdd/ssd, don't forget to copy kexts, config plist, HFSPlus.efi same as you used for usb installer.
On HDD i've installed EFI without "EmuVariableUefi-64.efi" and it woks perfect.

Post Installation

Since you have RealtekRTL8111.kext already injected by Clover, you should have internet access simply by using an Ethernet cable to your router. Plug it in and make sure you have internet access before continuing.
In my case, I had ethernet discovered as en2 (you can check in About this mac -> System report -> Ethernet cards). So i had an access to the Internet, but App store didn't work.
To fix this, you should delete your Ethernet connection System preferences -> Network.
Go to S/L/Caches delete com.apple.kext.caches. Reboot and check your ethernet connection type again. It should be en0. Also i've set 11111111111111111 as MLB value in clover configurator (RT Variables section).
That helps me.

Not tested/not working

The following features have issues, or have not been tested:
- Messages/FaceTime (not tested, see guide: http://www.tonymacx86.com/general-help/110471-how-fix-imessage.html)
- some special Fkeys not working (??)
- card reader is not working

I got iMessage and FaceTime working. I've read a lot of topics, 3-4 pages guides ect.. All of them required to call Apple at the end and don't work without it.
If you see message like "Your apple id can't be use now, here is code... contact support". That means you have connection with iMessage server! Why you can't login? Because apple can not recognise 2 values MLB and ROM. These combination are not registered in their system. I take MLB/ROM values from a real mac (any mac model, it can be different from model in your SMBIOS, but it should be a real mac), and entered in RT Variables section. Save, reboot. Login to iMessages successful.
Both mac and my hack works perfect and i'm able to logout and login again.

DO NOT TELL ANYBODY YOUR MLB AND ROM! If a lot of computers will use it, probably all of them will be blocked by Apple.

Maybe there is another solution, but that works for me.
To get these values from mac, i used iMessage_debug utility. Search by google to find it.

Other post-install tasks

Trackpad: Be sure to visit the options in SysPrefs->Trackpad and change them to your liking.

Trackpad three finger support: You can configure three finger swipes in SysPrefs->Keyboard->Shortcuts. Instead of pressing keys for a given function, do the three finger swipe (up/down/left/right).

Disable trackpad when using an external mouse: The latest script installs the VoodooPS2Daemon. It allows you to disable the built-in trackpad when a USB mouse is plugged in. Just check the box in SysPrefs->Accessibility->"Mouse & Trackpad".

Highly recommend to use bluetooth trackpad or magic mouse. You'll got better UX in osX with them :)

On my note, prt sc button disable/enable touchpad. Weird, because envy don't have this feature in windows)

Keyboard Mapping

The mapping for Control, Option, and Command are according to the physical layout of the keys on an actual MacBook keyboard, not the labels on the keys. Control=Control, Windows=Option, and Alt=Command. If you want a more PC friendly keyboard layout, use Karabiner (formerly KeyRemap4MacBook).
System preferences -> keyboard -> modifier keys..
Here you can swap command/function/control/caps lock keys. I've changed function and command keys places, like i had on vmware.


I've just ordered wifi card BCM94352HMB. It will deliver to me in 2 weeks. When i replaced it, i'll start from the beginning this guide, and let you know more about dsdt / ssdt patches, wifi.
To make my usb working i used GenericUSBXHCI.kext. Can't test without it now, because i use mac on usb hdd for now.

Sound. All speakers works, built in mic, headset. Sometimes i see strange behaviour when i plug in/plug out headset. But i didn't use your scripts for dsdt/ssdt, so it can be mistake in mine ones.

Anyway, many thanks to you. :thumbup:
 
First of all, you are a MAN.
I've successfully installed 10.10.3 yosemite on my HP ENVY using your guides.

I'll look forward to your trying this guide as written... Because someone who has done it without a detailed guide, is more likely to provide solid feedback on what is broken or needs clarification.

On my envy, i don't have ability to disable UEFI. It looks like it is always enabled.

I mentioned it just to make sure. Most people will already have it enabled, and will just need to enable legacy (thought to reduce boot time glitches), and disable secure boot.

Virtualisation technology can be enabled.

VT-x is always ok. VT-d should be disabled, although this guide uses dart=0, so it should not be a factor.

Confirm, this guide works perfect, i've successfully installed 10.10.3 two weeks ago.

Let me know if you can install without using GenericUSBXHCI.kext. And whether USB3 flash drives work. When I had the laptop, I was always using GenericUSBXHCI.kext and USB2 flash drives.

Note: when you've installed EFI on hdd/ssd, don't forget to copy kexts, config plist, HFSPlus.efi same as you used for usb installer.

Yes, this is covered in my guide...

On HDD i've installed EFI without "EmuVariableUefi-64.efi" and it woks perfect.

I should add this to the main guide -- without EmuVariable is useful to get proper crash reports. Although I should warn against "testing" the "lock" feature of "Find my Mac" (you'll be unable to unlock).

In my case, I had ethernet discovered as en2 (you can check in About this mac -> System report -> Ethernet cards).

Should not happen with a fresh install. Must have been some USB WiFi involved there...

I got iMessage and FaceTime working. I've read a lot of topics, 3-4 pages guides ect.. All of them required to call Apple at the end and don't work without it.

Yes, that is part of the guide I linked.

I take MLB/ROM values from a real mac (any mac model, it can be different from model in your SMBIOS, but it should be a real mac), and entered in RT Variables section.

Yes, that is the "go to" solution in the guide I linked.

Highly recommend to use bluetooth trackpad or magic mouse. You'll got better UX in osX with them :)

I don't own either but I've heard that with proper/compatible bluetooth, they work well...

On my note, prt sc button disable/enable touchpad. Weird, because envy don't have this feature in windows)

This is coded into the VoodooPS2Controller.kext. I've changed the mapping a bit on my u430, such that PrtSc maps to select-style screen shot. A similar change could be made for this laptop, assuming an appropriate key can be found for trackpad toggle.

To make my usb working i used GenericUSBXHCI.kext. Can't test without it now, because i use mac on usb hdd for now.

Please test without GenericUSBXHCI.kext (AppleUSBXHCI.kext will be used instead). No idea if it will work on this laptop, but I added the patches that I'm using on my u430 (with success) into this repo. At the time I had the Envy, Yosemite wasn't around, and GenericUSBXHCI.kext was relatively stable. With Yosemite, all that has changed, thus the attempt at a transition to AppleUSBXHCI.kext.

Sound. All speakers works, built in mic, headset. Sometimes i see strange behaviour when i plug in/plug out headset. But i didn't use your scripts for dsdt/ssdt, so it can be mistake in mine ones.

Headset problems can probably be fixed (CodecCommander.kext related, maybe). My patched AppleHDA files may not be up-to-date with respect to recent work at gygabyte666's thread. If you have better files, let me know.
 
Please test without GenericUSBXHCI.kext (AppleUSBXHCI.kext will be used instead). No idea if it will work on this laptop, but I added the patches that I'm using on my u430 (with success) into this repo. At the time I had the Envy, Yosemite wasn't around, and GenericUSBXHCI.kext was relatively stable. With Yosemite, all that has changed, thus the attempt at a transition to AppleUSBXHCI.kext.

i've just deleted this kext from clover, repaired permissions, rebuild cache, reboot.
All my usb detected as 3.0. USB 3.0 flash drive works ok. So I think we don't need it :problem:
 
i've just deleted this kext from clover, repaired permissions, rebuild cache, reboot.
All my usb detected as 3.0. USB 3.0 flash drive works ok. So I think we don't need it :problem:

Test sleep. Also see if you can reach the installer without GenericUSBXHCI.kext. And whether the same with a USB3 stick. See if it is dependent on which USB port is used...
 
Test sleep. Also see if you can reach the installer without GenericUSBXHCI.kext. And whether the same with a USB3 stick. See if it is dependent on which USB port is used...

Sleep works perfect. I've created 2 install usb (2.0 and 3.0 16gb drives). Both works well without GenericUSBXHCI.kext (boot installer from 3.0 flash much faster). Each usb port works.
Note: i've noticed that sometimes, i can't boot from HDD if i plug it into energy saved usb. But this problem present also with
GenericUSBXHCI.kext. Don't reproduce with installer (flash drive).
 
Sleep works perfect. I've created 2 install usb (2.0 and 3.0 16gb drives). Both works well without GenericUSBXHCI.kext (boot installer from 3.0 flash much faster). Each usb port works.

Great. So I can advise in post #1 to not use GenericUSBXHCI.kext for the installer USB...

Note: i've noticed that sometimes, i can't boot from HDD if i plug it into energy saved usb. But this problem present also with GenericUSBXHCI.kext. Don't reproduce with installer (flash drive).

No idea what you mean by "energy saved usb"...

HDD boot happens from SATA not USB.
 
Great. So I can advise in post #1 to not use GenericUSBXHCI.kext for the installer USB...



No idea what you mean by "energy saved usb"...

HDD boot happens from SATA not USB.

I'm booting from hdd via usb (hdd in the pocket) for now. HDD in sata everything is ok.
I have 4 usb 3.0 in my laptop. 1 of them works even if computer is not powered. That what i mean "energy saved"
 
Status
Not open for further replies.
Back
Top