This guide will give you the information you need to install Mountain Lion 10.8.2 on your HP Envy laptop. I installed this on my HP Envy 17-3200 CTO. I cannot guarantee that this will work on other versions of the HP Envy without some modification.
EDIT: The suggestions here should work all the way up to Yosemite. Some changes have been made to allow handoff/continuity to work. Atheros Wifi/BT is out, Azurewave AW-CE 123H wifi/BT is in. Feel free to post questions about any version of OS X and I'll do my best to help you out.
What you need to start:
1. Copy of OS X 10.8 Mountain Lion.dmg. I used the GM version.
2. Some working copy of OS X (does not have to be ML) on some computer to make the USB Installer.
3. An 8 GB USB Flash Drive
4. Some means to access the hard drive on your HP Envy on which you are installing ML, such as MacDrive or another installation of OS X. (This is not absolutely essential but, without this, all copying of files, post-installation, will have to be done by terminal commands which are more difficult, and I will not explain in this guide what terminal commands are required.)
5. The files available for download with this guide.
6. Kext Wizard and Kext Utility for Mountain Lion.
7. USB Mouse and Keyboard.
8. Compatible wifi and bluetooth adapters. (I use the Atheros AR5B195 mini PCI-e Wireless Wifi card ($14.95 on Ebay) and the HP Broadcom BCM94313HMGB WiFi Bluetooth 4.0 Mini Half PCI-E PCI BCM20702 for bluetooth ($8.99 on Ebay.) The bluetooth chip goes next to the hard drives and the wifi card is located near the CPU fan. They are quite easy to install.
Creation of USB Installer:
1. Mount 10.8.dmg file by clicking on it.
2. Use the ShowAllFiles app included in the downloaded files to show hidden files.
3. Mount the BaseSystem.dmg in the Mac OS X Install ESD window by clicking on it.
4. Insert your USB Flash Drive into a USB port.
5. Open Disk Utility and select the USB Flash Drive. Select partition on the right sid e and create a single partition with a GUID partition (not MBR). Format the drive giving it any name you choose and Mac OS Extended (Journaled) format type. Apply.
6. Select Mac OS X Base System on the left side. Select Restore on the right side. Mac OS X Base System should be in the source window on the right side. Drag your USB Flash Drive partition (not the entire drive) to the destination window and select restore. It will ask you if you want to erase the partition and for your password, select yes and provide password. Restore process should take about 3-4 minutes.
7. Your USB Flash Drive partition should now be named Mac OS X Base System. In that window, navigate to System/Installation. Delete the Packages alias (shortcut). Copy the entire Packages folder from your OS X Install ESD windows to your USB System/Install folder. The copy time should be about 7 minutes.
8. Copy mach_kernel and kernel cache from OS X Install ESD to the root directory of your USB drive.
9. Copy Extra folder from downloaded files to the root directory of your USB drive. Remove the DSDT.aml and SSDT.aml files from the Extra folder if you are installing on an HP Envy other than my model (HP Envy 17-3200 CTO). You will need to make your own post-installation.
10. Copy the OSInstall.mpkg file in the patch folder in the downloaded files to System/Installation/Packages folder on your USB Drive. Replace the one that is already there.
11. Copy the OSInstall file in the patch folder in the downloaded files to:
/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/OSInstall on your USB Drive. Replace the one that is already there.
12. Install all kexts in the S/L/E folder of the downloaded files to S/L/E on your USB Drive using kext wizard.
13. Delete AppleHDA.kext
14. Repair permissions for S/L/E by dragging the Extensions folder over Kext Utility. Take the Extensions.mkext file created by Kext Utility and move it to:
15. Install Chameleon to USB drive. Select customize during the installation process, and select the following options: Modules: Kernel Patcher and Resolution; Settings: Resolution: 1920x1080x32. Leave everything else alone.
16. Cross your fingers, connect USB Mouse and Keyboard and try booting from the USB Drive. I did not need to type in any boot arguments to boot up. Follow instructions to install to an empty drive or partition of your choosing.
17. Following successful installation, boot into drive where you can access your newly installed ML installation. If you try to boot up into your new ML installation, you will likely get a KP. From this other drive, copy the Extra folder from your USB Flash drive to the root directory of your new ML installation. Also either copy or, preferably, install using Kext Wizard, all of the kexts in S/L/E folder of your downloaded files (or green kexts in S/L/E on your USB Flash drive) to S/L/E in your new ML installation. You should now be able to boot into your new ML installation drive/partition.
18. You can disconnect your USB Mouse and Keyboard and go into advanced bluetooth settings and uncheck the boxes for bluetooth setup assistant to open when USB mouse or keyboard not found.
19. If you do not already have a bootloader installed on the drive where you installed ML, install Chameleon to your ML installation in the same way you installed it on your USB Flash Drive. If you already have a bootloader installed, you can skip this step.
20. Install the Combo Update for 10.8.2, which you can get from the Apple website. Install but do not restart. After successful installation of 10.8.2, reinstall all green S/L/E kexts as you did before using kext wizard. Also, delete AppleHDA.kext from S/L/E. Then restart.
21. If everything worked correctly for you, you should now have 10.8.2 running. Go into Extra/Chimes and copy the mac script to login items in your users & groups preferences. If you click on the mac script file, you should hear the mac startup chime but only in your front speakers, not the subwoofer.
22. To activate your subwoofer, go into Utilities/Audio Midi Setup. You should see, among other things, speaker (analog) and speaker (multi). Speaker (multi) is your subwoofer. To get all speakers to play together, we need to create a multiple output device. Select the plus sign in the bottom left corner and select multi-output device. Select Speaker (analog) and speaker (multi). In the left column, expand the multi-output device by clicking on the arrow next to the device listing. Speaker (analog) will show a volume on the right side of 0.8. Leave that alone. Speaker (multi) will show the same volume level. We need to reduce that to 0.4 so that it does not create a buzzing sound. There should always be about a 2:1 ratio between speaker (analog) and speaker (multi). Once the volume levels are set, right click on the multi-output device and select "use this device for sound output." You will notice that the volume control in the menu bar becomes grayed out. That cannot be helped, unfortunately. Now test your sound out and see if you have all speakers working. To adjust your volume, you either need to go into Audio Midi Setup or you can download a free app called PTHVolume, which works in ML, but will not automatically load on startup. You need to start it manually from system preferences every time you boot up. It sucks, I know but that's the only solution so far, and that goes for real macs too, not just this set up.
23. At this point, you should have all of your hardware working and you can set up the rest as you like. The battery should show up if you decide to install iStat menu items. If you do not have speedstep working, you will need to create your own dsdt.aml and ssdt.aml. I created my dsdt.aml using Chameleon Wizard. I created my own ssdt.aml using MaciASL. Take the extracted files from those two apps and put them in your Extra folder.
24. Please note that sleep should work. However, to get sleep to work, the laptop must be unplugged or disconnected the AC Adapter. Sleep should work both by closing the lid and by selecting sleep from the menu which you can access either by clicking on the apple menu or by pressing the power button.
Let me know how this worked for you.
NOTE: The size of the files for this is too large for a single post on this forum. You can download the files from here: