How To Dual Boot Windows 8.1 and Yosemite 10.10.1 On HP Haswell i7-4510u HD4400 Envy x360

10/17/2015 How To Dual Boot UEFI Windows and Mac OS X using Clover Boot Loader.

09/29/2015 How to fix USB 3.0 Ports problems after wake Yosemite 10.10.5.

yosemite

For bench marks references 

Geekbench

NovaBench Score

2015-02-24 For those who don’t have ways to patch the kernels for Early Reboot Problems on HP laptops.

Use Clover to patch kernel on the fly without patching the kernel.

<key>KernelAndKextPatches</key>
<dict>
<key>AppleRTC</key>
<true/>
<key>AsusAICPUPM</key>
<true/>
<key>Debug</key>
<false/>
<key>KernelCpu</key>
<false/>
<key>KernelHaswellE</key>
<false/>
<key>KernelLapic</key>
<true/>
<key>KernelPm</key>
<true/>

Patched Kernels: Yosemite, Mavericks and Mountain Lion.

2015-02-07 I think the best is to patch kexts yourself but some may have problems getting things working. I attached my working files for this particular Laptop only. The wifi kexts are universal and they’re patched for AR9285 and BCM943225HMB and working. DSDT & SSDT are patched to show battery and backlight slider – sleep/wake with lid closed/opened. No 2 hours wake over night.

My Yosemite kexts-dsdt-ssdt and config

I got a new laptop – HP Envy 15-u011dx x360 with i7-4510u processor and HD4400 Haswell 1920×1080 Graphics Display. After having the problems with the Battery and fixed, I decided to try installing Yosemite 10.10.1 to my external USB hard drive to see how it come out, and it did come out very nicely. I’m going to make this tutorial that works for every PC or Windows Laptop that Yosemite or Mavericks support.

For those who never had OS X installation before, you should try to install Mavericks 10.9.x first before Yosemite, because it’s easier than Yosemite. I couldn’t create the 8GB USB Yosemite flash drive installer with Windows 8.1, I had to use Mac to create one.

The best way to install Mac OS X is to understand what we need to do manually. There are many distros out there for easy installation, but actually they’re not. All laptops or computers are different, but the drivers (kexts) for components are the same. The best is to learn how to install kexts instead of using apps bundle installers. Installing kexts is simple, boot loaders for multi OS are only 2 main ones: Chameleon and Clover.  For UEFI system these days, Clover is the best to use, although I used to like Chameleon, it’s simpler to use.

The way I dual boot is keeping everything original on my laptop, all partitions from manufacturer, no reformat, re-installation of Windows 8.1. But there is a draw back, I can’t install straight to a shrunk partition, the GUID Windows partition structure doesn’t allow Mac OS X to erase the shrunk partition, it will give error “Not Enough Space”. Therefore, an external USB hard drive is needed to install the Yosemite OS X to, then restore to the Shrunk partition, it works for some reason that I don’t understand (restore can erase the partition). Mac OS X is great because anyone can load to an external USB hard drive and boot from it to any laptops or computer, unlike Windows 8.1. So get yourself an external USB hard drive that cost very little and install Mac OS X like Mavericks or Yosemite or both on it and experiment with them before RESTORE to a shrunk partition on the internal hard drive. I love Mac OS X, but I still have Windows for some applications, dual boot Windows 8.1 and Yosemite is the best on any Windows Laptop.

[title]Understand Dual Booting and Operating Systems[/title][body]

When we buy a Windows laptop these days (2015), we will get Windows 8.1 64 bit and UEFI booting system. Forget the mambo jumbo technical terms, it’s just a different booting system. When we turn on the computer, the computer will boot into Windows 8.1 for us to use. The Windows 8.1 is installed on the internal hard drive or 500GB or 1TB and the format is NTFS. Now, Mac OS X : Yosemite 10.10 or Mavericks 10.9 format is HFS, so they different from each other. Windows can’t see HFS and Mac OS X can’t see Windows unless both have the right software, then they can see each other.

Dual boot is to be able to select 2 different Operating systems to boot from the same hardware (hard drive): Windows and Mac OS X. Since Windows is proprietary and it was designed to boot only in an internal hard drive and Mac OS X can be installed in an external hard drive like USB hard drive. So, I can load Yosemite on an External USB hard drive to play with without installing into the internal hard drive (hard drive inside the laptop).

Since the system is UEFI, the bios only boot from an EFI partition on the hard drive (where all the important needed to go to the correct OS). This EFI partition is not shown in any computer (hidden). To boot to Yosemite, we have to be able to install Yosemite onto a hard drive partition (either external or internal) and use a special boot loader like Chameleon or Clover. Chameleon can’t be used with EFI folder, Clover can, so we’re going to use Clover boot loader for our UEFI laptop. The goal is not to modify the original set up from the manufacturer on our laptop. Let’s have a flow chart:

1. Download Mavericks 10.9 – Yosemite 10.10 – Chicken and the egg here – If you don’t have a mac and an Apple ID, you can’t download any of these because it’s only free for Apple hardware. So Google them.

2. Create an installer from these OS X’s to install to Windows: normal 8GB USB flash drive.

3. Install Mavericks or Yosemite to an external USB hard drive: If you can’t afford a $49 500GB USB hard drive, don’t bother.

4. Create a partition in Windows 8.1 and Restore the External USB to it.

5. Install Clover boot loader to the EFI folder for accessing Windows and Mac OS X Operating System.

Lazy people will use distros – pre-made installer – Yes it’s seem easy and convenient, but you’ll never learn anything and when something goes wrong, you have no idea how to fix it.

[/body]

[title1]Prepare Windows For Mac OS X Installation[/title1][body1]

Regardless on what version of OS X, we need to find out if our laptop is compatible with Mac OS X Yosemite.

Check device ids

Back Up Hard Drive Fully

Create Windows 8.1 USB flash drive

[/body1]

[title2]Create Yosemite USB Base Installer[/title2][body2]

Details On How To Create A USB Flash Drive With Windows 8.1

[/body2]

[title3]Install Yosemite To External USB Hard Drive[/title3][body3]

[/body3]

[title4]Post Yosemite Installation On External USB Hard Drive[/title4][body4]

[/body4]

[title5]Restore Working Yosemite External USB Hard Drive To Internal Hard Drive[/title5][body5]

[/body5]

[title6]Patch DSDT and SSDT for Battery and Backlight Slider[/title6][body6]

Details on how to patch DSDT & SSDT.

For the Battery to work – use the battery patch for HP Pavilion n012tx.

battery   batterypatch

bacl;ight control

[/body6]

[title7]Sleep/Wake Problems[/title7][body7]

Install GenericUSBXHCI.kext from Rehabman and use the argument. Without these arguments, lid close won’t sleep and wake at all.

<key>Arguments</key>
<string>-v kext-dev-mode=1 dart=0 -gux_defer_usb2 -gux_no_sleep -gux_no_idle</string>

Patch DSDT to use Apple USB3.0 and fix all the sleep/wake problem. 

[/body7]

[title8]Fix Preview’s Lagging, Slow and Washout Images Problems[/title8][body8]

Although the system shows HD4400 graphics kext is loaded with full QE/CI and acceleration, but the Preview app is still extremely slow to close and the image is washed out blank. Thanks to Rehabman’s FakePCIID.kext and FakePCIID_HD4600_HD4400.kext, the Preview works perfectly again. It’s amazing. Just put the 2 kexts to the EFI/Clover/kexts/10.10 folder.

fix preview with 2 kexts

[/body8]

[title9]Replace Intel Wifi & Bluetooth With HP BCM943225HMB Wifi-Bluetooth Combo [/title9][body9]

Since everything is working well, now, it’s time to replace the Intel Wifi-Bluetooth combo with proven working HP Broadcom BCM943225HMB Wifi – Bluetooth combo. In order for the Yosemite to recognize the Wifi and load Bluetooth reliably, we need to inject device ids 4357 and 217D to IO80211Family.kext and IOBluetoothFamily.kext.

Just follow the HP tutorial on how to replace the hardware, very clear and straight forward.

Convert Hex to Decimal

bluetooth brcm id   Wifi BRCM

hex to decimal   hex to decimal

brcm 4357   brcm bluetooth

brcm bt inject

speed test   air drop

[/body9]

[title10]How To Install BCM94352HMB Dual Band Wifi and Bluetooth 4.0 Combo Card for Fast Internet[/title10][body10]

There are many types of BCM94352HMB, but most of them would work if you mask the correct pins on the wifi combo card. 

pin 51 masked     BCM94352HMB mini in HP X360

bcm94352_win8_1     yosemite10105_x360_bcm94352

z_5Ghz_win7_x360     

[/body10]

67 Comments

  • Hello Idog!
    What are the benefits of installing Yosemite? If I havent bluetooth I cant use some new feature like incoming phone call and other… I think the main difference is the slim design?
    And I have one more question about Mac X. Can you record video or put some list of must-have app for Mac X on intel PC? Im beginner in Mac, so Im looking for daily soft for ordinary task like system utilities, archivers, text and image editors, players, and so on … Of course a lot of information in google, but I would like to know your opinion.

    • I think the Yosemite is nicer in gui and it runs quite well, especially with battery life. Yes, I’ll make a video on Apps that I think it’s great for MAC.

      • Thanks, I will be waiting for a video! I downloaded 10.10.2 from app store. Do I need a special kernel for this release?

      • You don’t need any kernel, just use the Clover with kexttopatch KernelPm set to true. You will need the patched hd5000kext and azulfbkext to get QE/CI back
        //www.dognmonkey.com/techs/yosemite-10-10-2-update-on-haswell-hd4400.html

      • I watched this tutorial, but what about FakePCIID.kext and FakePCIID_HD4600_HD4400.kext ? Is it still needed in EFI/Clover/kexts/10.10 folder ?

      • those 2 kexts are for the slow preview fix in 10.10.1, 10.10.2 is totally different. Make sure you have the 2 patched kexts. I left those kexts in the 10.10. folder.

    • Hello Idog!
      I installed Intel utility for CPU monitoring, frequency varys from 0.8 to 2.3 GHz. I think thats right.
      Some information about Wi-fi: Because Im using OSx 10.9 airdrop doesnt work with my I-devices like Iphone. And I havent magic mouse or other bluetooth devices… So I put Atheros AR5B95 (2.3$ from nearest store). Atheros works normal in win 8.1 and OSx (toledaARPT.kext).
      Now my Realtek cardreader doesnt work, but its not so impotant like problem with HDMI-port. When I plug HDMI – system is freezing! And the next problem is that my RAM indicator shows 20Gb RAM, but I have only 12 ?!

      • Airdrop on Maclaptop never works on iphone. As long as the bluetooth sees the iphone, it’s working. My i7 haswell HD4400 HDMI doesn’t freeze up, but the i5-3317u does freeze up with yosemite. I’m not sure about the 20GB RAM. Why don’t you install Yosemite, it’s much nicer. Now you have a mac, you can do everything very easily.

      • I watched your video about the installation 10.10. In this video you had a kernel panic and you started installator again and then you replaced some kernel files. But now I have pathed DSDT files ( by you) for haswell CPUs, so Do I need to change the kernel after installation too?

      • I didn’t have the key KernelPm = true in the Clover config.plist. Just put the key there and it should be good.
        KernelAndKextPatches < !dict> < !key>KernelPm< !/key> < !true/> < !/dict> ! remove the “!”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.