Contribute
Register

Install OS X Yosemite 10.10.3 in HP Envy 15 k111tx

Status
Not open for further replies.
Joined
May 9, 2015
Messages
4
Motherboard
HP ENVY 15 k111tx
CPU
Intel Core i7-4510U CPU @ 2.00GHz 2.60GHz
Graphics
NVIDIA GeForece GTX 850M 4GB
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. Android
This guide is only for HP Envy 15 k111tx. This can also be used to install OS X for similar HP Laptops. I am the user of this particular laptop. This guide is created using the other guides and posts on www.tonymacx86.com itself. Special thanks to "RehabMan" for his great work.


The files you'll be using are attached below. Make sure you have all attached files and an 8GB Pen Drive before you begin. Please also download "Clover Configurator" from external source. You will need it.


Here is the guide.


1. You need a Mac OS X running computer. It can be a genuine Mac, a hackintosh, or even a virtual machine.
2. Download "Install OS X Yosemite" app from Apple App Store. It is free.
3. Insert Pen Drive.
4. Open "Disk Utility".
5. Select your pen drive and select partition tab. Click on drop down menu and select 2 partitions.
- 1st Partition: Name CLOVER, Format: MS-DOS (FAT), Size: >300MB
- 2nd Partition: Name Setup, Format: Mac OS Extended (Journaled)
6. Click "Options..." Button and select "GUID Partition Table". Click "OK", "Apply" then "Partition".
7. Run CLOVER v2.3 r3202 (Attached Below), Click Continue, Continue, Continue, Change Install Location to "CLOVER" drive. Click "Customize" .
- check "Install for UEFI booting only", "Install Clover in the ESP" will automatically select
- check "Themes".
- check "OsxAptioFixDrv-64" from Drivers64UEFI.
Click Install. Enter Password.
8. Copy HFSPlus.efi (Attached Below) to /EFI/CLOVER/drivers64UEFI
9. Copy the attached ".kext" files to /EFI/CLOVER/kexts/other
10. Open the downloaded file "OS-X-Clover-Laptop-Config-master.zip" and copy "config_HD4600_4400_4200.plist" to /EFI/CLOVER as "config.plist" and remove the original config.plist installed by Clover Installer.
11. Open "Terminal" and run the command "sudo "/Applications/Install OS X Yosemite.app/Contents/Resources/createinstallmedia" --volume /Volumes/Setup --applicationpath "/Applications/Install OS X Yosemite.app" --nointeraction" Where "Setup" is the name of volume. It will take some time. It will rename the drive, rename it again manually using command "sudo diskutil rename "Install OS X Yosemite" Setup"
12. You have successfully created a bootable pen drive.
12.1 (Optional Step). If you wish to multiboot (WITHOUT LOSING ANY DATA) OS X Yosemite and Windows 8.1 (assuming you already have windows 8.1 installed in UEFI mode on your Laptop) then follow the following steps:
a) Run Windows 8.1 and open "Disk Management".
b) Shrink Volume from a disk to create a new volume to install Yosemite (Minimum 30 GB)
c) Create a simple "NTFS" volume from "Unpartitioned Space".
13. Now plug the USB on your HP Envy 15 k111tx. Press the "Power" button and immediately press "F9" button to open boot menu.
14. Select EFI Boot on your USB Drive. It will load CLOVER. Select drive "Setup" and press "Enter". Wait at least 10 Minutes. It will load and give recovery options. If it doesn't try enabling "Legacy Support" from BIOS Setup and again boot USB using UEFI, it will definitely work. (Enabling "Legacy Support" doesn't disable "UEFI" but i don't know why we need to enable that otherwise it loads but the screen appear very very unclear. Wait at least 10 Minutes everytime you reach loading Apple Screen)
15. When you finally reach the recovery options, select "Disk Utility" and press "Continue". The "Disk Utility" will open.
16.For SINGLE BOOT users, select your hard drive and select "Partition" tab. From drop down menu, Select any number of partitions you want to make. Name them all as you wish but first partition Format must be "Mac OS Extended (Journaled)". Click "Options.." button and select "GUID Partition Table". Click OK, Apply, Partition.After completing the partition close "Disk Utility".
For MULTIBOOT users, select your hard drive's newly created partition from Windows 8.1 from the left pane. Click "Erase" tab, Enter a name you want to give to mac partition, Format must be "Mac OS Extended (Journaled)", click "Erase" button, then "OK". NONE OF YOUR DATA WILL BE DELETED. After completing the partition close "Disk Utility".
17. Now select "Install OS X Yosemite" option from recovery menu and press "Continue" button.
18. OS X Yosemite Installer will start. Install it normally like you install a software on a "Mac OS Extended (Journaled)" formatted partition.
19. It will take some time but when it says "about a second remaining", do not restart or shut down your laptop, it will take about 20 Minutes from there. Keep patience. It will expand the installation files. Your laptop will restart automatically.
20. Again boot from your pen drive and again select "Setup" partition from CLOVER boot menu. After loading it will start installing Yosemite to your destination drive. This will take around 20 Minutes. Your computer will again restart.
21. Again boot from USB drive but on CLOVER boot menu, select your Yosemite installed hard drive partition and complete the installation. You will reach "Desktop".
22. Now run "CLOVER Installer" you downloaded earlier and install it on your mac partition same as you did for the USB.
23. Mount EFI Partition using "CLOVER Configurator". You need to download it externally.
24. Copy all the kexts, HFSPlus.esi and config.plist as you did for the setup.
25. Now you have successfully installed Yosemite and CLOVER bootloader on your hard drive, you no more need USB Drive to boot Yosemite. When you start your computer you will reach CLOVER Bootloader and options to boot Yosemite. For MULTIBOOT users, you probably won't get CLOVER bootloader directly, you have to select "Boot from EFI file" from BIOS boot menu and search for "CLOVERX64.efi" and select it. You will find it in /EFI/CLOVER/CLOVERX64.efi
26. Now its time for Drivers, DSDTs and SSDT. Plug in Ethernet Cable and configure LAN Settings to make internet working.
27. To start, the developer tools for Yosemite must be installed. Run Terminal, and type:

Code:
git

You will be prompted to install the developer tools. Since you have internet working, you can choose to have it download and install them automatically. Do that before continuing.

After the developer tools are installed, we need to get a couple of projects from RehabMan github.

In Terminal:
Code:
mkdir ~/Projects
cd ~/Projects
git clone https://github.com/RehabMan/Laptop-DSDT-Patch laptop.git
git clone https://github.com/RehabMan/HP-Envy-K-DSDT-Patch envy.git

Now it is time to install some more tools and all the kexts that are required...

In Terminal:
Code:
cd ~/Projects/envy.git
./download.sh
./install_downloads.sh


To finish the setup, we need a correctly patched DSDT/SSDT.

In Terminal:
Code:
cd ~/Projects/envy.git
./disassemble.sh
make patch
make
make install

28. Restart Laptop.
29. Install Power Management tools.
Code:
cd ~/Projects/envy.git
curl -o ./ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/master/ssdtPRGen.sh
chmod +x ./ssdtPRGen.sh
./ssdtPRGen.sh
When it asks if you want to copy to /Extra just respond 'n'. Same for opening ssdt.dsl... respond 'n'.

The results are at ~/Library/ssdtPRgen/SSDT.aml.

Copy that file to EFI partition, /EFI/Clover/ACPI/patched/SSDT.aml

Code:
cd ~/Projects/envy.git
sudo ./mount_efi.sh /
cp ~/Library/ssdtPRgen/ssdt.aml /Volumes/EFI/EFI/Clover/ACPI/patched/SSDT.aml
Also, be aware that hibernation (suspend to disk or S4 sleep) is not supported on hackintosh.

You should disable it:
Code:
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage

Final config.plist

Up to now, you've been using the same config.plist we were using for installation. After all the APCI files are in place (previous two steps), you're ready to use the final config.plist from the Envy repo.

First, mount the EFI partition:
Code:
cd ~/Projects/envy.git
sudo ./mount_efi.sh /
Then copy the file:
Code:
cd ~/Projects/envy.git
cp config.plist /Volumes/EFI/EFI/Clover/config.plist
You could also copy the file manually using Finder.



Attachments.
1. Clover - http://sourceforge.net/projects/cloverefiboot/
2. HFSPlus.efi - https://github.com/JrCs/CloverGrowerPro/raw/master/Files/HFSPlus/X64/HFSPlus.efi
3. kexts - http://www.insanelymac.com/forum/topic/205771-appleintele1000ekext-for-108107106105/
https://github.com/RehabMan/OS-X-FakeSMC-kozlek
https://github.com/RehabMan/OS-X-Generic-USB3
http://www.tonymacx86.com/attachmen...dv6-7202se-compatible-hpraidinjector.kext.zip
https://github.com/RehabMan/OS-X-Realtek-Network
https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller
4. config.plist - https://github.com/RehabMan/OS-X-Clover-Laptop-Config/archive/master.zip
 
Status
Not open for further replies.
Back
Top