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.
For bench marks references
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.
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.
[/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.
[/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
[/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.
[/body10]
67 Comments
Hello Idog! I havent written for a long time, but I was here.) Now I have issues with DSDT-SSDT patch.
I learned your tutorial (HP Envy Haswell DSDT-SSDT Battery-Pnlf-Hpet-Device-Ids Patching ) so I have similar HP haswell laptop (Pavilion Core I5 4210U HD4400). I got 6 SSDT.aml and 1 DSDT.aml (ssdt3 is my graph-file) and after conversion to .dsl I had same errors (6126, 6114) but I fixed it due to yours tutorials.
Now the battery is initialized when I plug the charger indicator is activated, but percent digits still constant(((. But the main danger is that win 8.1 began to show message : Battery is connected but not charging.
Problem is solved by disconnecting the battery and power supply and pressing the power button a few seconds. After that, the battery starts to work normal. What can I do wrong? May I put here my .dsl files?
Nothing is wrong with your Mac OS X, it’s the battery problems with HP. If it’s still under warranty, make sure HP fix it for you. After they change the battery, mine is working perfectly. I think they got the wrong patch of batteries.
//www.dognmonkey.com/techs/hp-envy-15-u011dx-x360-battery-failure.html
Thank you for your post about battery, I’ve read it. But I have this problem only when MAC X is started. Now (after disconnecting the battery, power supply and pressing the power button) battery is working well (only windows).
Here is my original .aml files. Can your try patch it too? If my corrected .dsl is necessary I can put it.
Sorry, Here is the correct link.
Did you load the ACPIBattery.kext from Rehabman?
https://bitbucket.org/RehabMan/os-x-acpi-battery-driver/downloads
Yes I did!
I’ll take a look at your dsdt & ssdt this weekend
Thank you very much! I also try to do everything again and more accurately like in your tutorials.
I will wait for information from you.
Try these DSDT and SSDT. Rename them and put them in the patched folder.
https://www.dropbox.com/s/azilzyudey0xl08/dsdt_ssdt_hp_i5_4210u.zip?dl=0
You also need to create SSDT using ssdtPRGen. Instruction is here
//www.dognmonkey.com/techs/how-to-generate-ssdt-for-ivybridge-yosemite.html