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!
    Today Im trying to install 10.10.2, but I think you missed one main step in your tutotial: you copy packages folder, but what about BaseSystem.chunklist and BaseSystem.dmg? I erased Mavericks and now I have: Yosemite install won’t start: undefined error: 0. So I try to reinstall 10,9 and copy BaseSystem.chunklist and BaseSystem.dmg to Yosemite USB installer.

    • Why don’t you use the Mavericks OS to create the USB drive, so much easier. Turn on “show all files”, open InstallESD, you will see the BaseSystem, restore the basesystem to USB drive, delete the packages alias and copy the packages, You need to create a folder Kernels, then copy the Kernel to it. That’s it.

    • I use the Mavericks OS for create 10.10.2 USB drive. I did everything like you (Turn on “show all files”, open InstallESD, you will see the BaseSystem, restore the basesystem to USB drive, delete the packages alias and copy the packages). But I didnt create Kernel folder, because I hadnt patched kernel for 10.10.2.

    • When I put BaseSystem.chunklist and BaseSystem.dmg I successfully installed Yosemite! But my battery is undetected now! ( I use same patched dsdt-ssdt and ACPIbattery.kext) . Backlight works, but after reload previous value is not saved (max backlight level).

    • Yes, I use your pathed kext (AppleIntelFramebuferAzul.kext and AppleIntelHD5000Graphics.kext). So problem with graph lagging is solved! But battery…

    • Reinstall all the kexts then use kextutil to update the cache to see if it works. I update from10.10.1 to 10.10.2, I didn’t have any problems with the battery after the graphics installation

    • Please @idog and @artem, could you give a more detailed information on this as i have wiped out my mavericks and i get this same undefined error:0 when trying to install yosemite.
      Please i dont understand what you mean by copying BaseSystem.chunklist and BaseSystem.dmg to the yosemite usb installer because it was the 3.hfs file in the basesystem.dmg that was restored to the usb drive using bootdiskutility.
      Do you mean i should copy the basesystem.dmg file now to the root folder of my usb stick.
      Please shed more light on these.
      Both the basesystem.dmg and basesystem.chunklist importance in yosemite installation.
      Because i dont want to have to install mavericks again.

      Thanks

    • Yosemite bootdisk should be made with Mac OSX, it’s not very easy to do with windows, since you can’t extract the Kernel (at least in my case).

    • Thanks for the help @idog
      I have been able to install mavericks and yosemite on my dell inspiron 15 3521 and it works good.
      Dont have bluetooh or wireless working yet as my wireless card is DW 1704 and i have read it isnt compatible but i have ordered a compatible wireless card so fingers crossed.
      Will give feedback on the success when it arrives.
      My Graphics (Ivy Bridge hD 4000), Battery, Sound(VoodooHDA.kext) are all good.
      I must say your tutorials were the best i came across on the internet and i read quite a number,
      Pls keep up the good work.
      Just as @artem said, it will be nice for you to give us a video on essential apps for mac as i am also quite new to mac.

      Thanks a lot

    • Thanks Joey, I’m glad you get yours working. I think IVY BRIDGE HD4000 is the best laptop for Mac OS X. Easy to install and update without much problems. If you can get the BCM943225HMB, it’s the best for wifi and bluetooth. The AR9285 wifi is good, but the bluetooth doesn’t work well, doesn’t work when woke up.

      Cheers,

      Louis

  • Hello Idog!
    I figured out almost all problems of updates to Yosemite 10.10.2.
    1, Battery: I dont know why ACPIBattery. kext doesnt work right away. I installed VOODOObattery. kext and Mac x detected my battery, after that I removed VOODOObattery and install ACPIBattery. Now battery works right.
    2, Backlight: I dont know why backlight level are reseted after reboot to 100% ( very bright, eyes hurt). But I found good app “Bringhtness Slider” from app store. This utility allows you to assign hotkeys the backlight and remembers the previous value. Autorun is enabled when you log in.
    What do you think about this recipe?
    All the main works well now. And Im ready to know your list of app for Mac)

    • Normally if the backlight level doesn’t come back, it’s the clover config file and the cache of the system. Did you boot with cache or without cache?

    • I boot with cache and backlight level are reseted.
      PS. When If I plug HDMI then system are freezing((

Leave a Reply

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