Jump to content

[Guide] Mavericks on HP Probook/Elitebook laptops with Clover UEFI Bootloader


pokenguyen
 Share

18 posts in this topic

Recommended Posts

Introduction

 

hp_elitebook_3.jpg

 
New Hp laptops series have UEFI implemented in BIOS, and it provides much more advantages over current BIOS-based bootloaders like Chimera/Chameleon.

- Faster BIOS boot time
- Easier OS X install/Upgrade with native methods
- Create and boot to Recovery HD, [sTRIKETHRU]which enables Find My Mac option[/sTRIKETHRU].
- Patching kexts on the fly
- Bootmenu customization
- Can boot to Windows UEFI (which recognizes > 4 partitions GPT drive)
- Don't need to mess with master boot records


The guide is for:

- 6-series laptop: HP Probook 4x30s, 6x60b, Elitebook 8x60p, 2x60p using 6-series chipset
- 7-series laptop: HP Probook 4x40s, 4x0, 6x70b, Elitebook 8x70p, 2x70p using 7-series chipset.
*Only HP Elitebook/Probook 6xx0b without Radeon card is supported
* HP Probook 4xx0s with/without Radeon card is supported

You can download the latest Clover files here:
https://www.dropbox.com/sh/083x2j1mvmfh4l9/ZSYm2_iQRf

*Always search in the first post before asking questions*

Known issues

 
- - Distorted bootscreen with 7-series laptops using 1366x768 display + UEFI native (without CSM) setting. Changing Clover resolution to 1024x768 can fix it.

- Sleep is not reliable on 6-series laptops. It can cause the system to auto restart some minutes after wake.

- Use HaltEnabler or other SLP_SMI_EN keys in config.plist may brick your laptop, the only way to solve is reflash your ROM! They are disabled by default but AVOID IT AT ALL COST

- There is 10s-15s delay before going to sleep. It's a function (or a bug?) in Mavericks, even on real Mac (confirmed by RehabMan)

- Find My Mac does not work properly. Don't lock your mac because it's hard (or unable) to unlock again.

- NVRam in 7-series laptops only remembers the last boot partition value, others (like Find My Mac, Boot theme) are lost after restart. You can install EmuVariableUefi-64 to have Emulation nvram.

- Battery status is slow to update on some 4540s. If you have the problem, remove EmuVariableUefi-64.efi.
 
 

Install OS X Mavericks


1. Create partition for Clover bootloader:

- Create a FAT32 partition on USB drive (GPT or MBR partition table), with size at least 100MB and extract all files from Clover.zip to that partition.
- Select the right config.plist in config.zip and copy to EFI/Clover/.


2. Create Mavericks Installer partition (need a Mac):

- Use Disk Utility to create a Mac OS Extended (Journaled) partition, size at least 6GB on USB drive (it can be the same drive with 1st step, or another drive), name it "Untitled".
- Download Mavericks Install app from AppStore.
- Launch terminal and run the following script:

sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
- Your Mavericks Installer partition will be renamed "Install OS X Mavericks"

 


3. Enable these options in BIOS:

6-series laptop: UEFI Boot.
7-series laptop: UEFI Native without CSM or UEFI Hybrid with CSM (if you have Windows Legacy)

Disable Wake on LAN.

4. Plug all the flashdrives in step 1 and 2 to USB 2.0 ports. Restart and press F9 to choose Boot devices > Boot from EFI file > choose your Clover bootloader partition > EFI > Boot > BOOTX64.efi

5. Clover bootloader screen shows up, select "Boot OS X Install from Install OS X Mavericks" (your Mavericks Installer partition).

6. Install screen will appear, use Disk Utility to format your drive as GPT, create a Mac OS X Extended (Journaled) partition and Install Mavericks. The installer will extract necessary files to "Install OS X Mavericks" (not your target partition). This takes a lot of time at the end, though you only see "a minute remaining". This will end PHASE 1.

7. Restart and press F9 to choose Boot devices > Boot from EFI file > choose your Clover bootloader partition > EFI > Boot > BOOTX64.efi

8. Clover bootloader screen shows up, select "Boot OS X Install from Install OS X Mavericks" (your Mavericks Installer partition, not your install target partition).

9. Install screen will appear and continue installation. This time, installer will install files to your target partition and create Recovery HD partition. This will end PHASE 2.

10. Restart and press F9 to choose Boot devices > Boot from EFI file > choose your Clover bootloader partition > EFI > Boot > BOOTX64.efi

11. Clover bootloader screen shows up, select "Boot OS X from YourPartition".

12. If everything goes well, you can boot straight to Mavericks desktop.

13. Download HP Probook Installer here http://www.tonymacx86.com/hp-probook/87816-hp-probook-installer-6-1-4x30s-4x40s-support.html and install with these options:

OS X support kexts: select only the version that matches your laptop (4x30s, 4x40s, etc).

DSDT generator/patcher:

- ProBook model: your Probook Model
- Fan behavior: your prefered fan methods, need HPFanReset.efi to work.
- Display type: your display

SSDT generator/patcher: Generate SSDT.aml for your CPU Management
Optional patches:

- Intel USB3.0 patch: allows the use of vanilla AppleUSBXHCI.kext instead of GenericUSBXHCI.kext. This USB3 patch is valid only if you have a 7-series chipset.


Note: you must select one option from each of the first three groups to generate a patched DSDT.

Optional hardware-specific fixes:

- AHCI 3rd party kext: You can apply this option later if it turns out your DVD drive is not recognized by the system. It is not needed on every laptop.
- EDID generator: Inject correct display EDID to your system.

Misc OS X fixes:

- Color profiles: Recommended.
- Sleep fix: disables OS X version of "hybrid sleep" where upon entering sleep, a "hibernation image" is written to the boot drive. Recommend for SSD.
- blinkscreen: This option will very quickly "blink" the screen when you login, fixing the brightness issues:

Intel HD 3000: Screen brightness levels are not available before the first display sleep on
Intel HD 4000: The display is dimmed before the first display sleep on


Extra tools: All optional. Select the ones you want.

After making your selections, click 'Continue' and allow the ProBook Installer to work.

14. (Optional) Restore vanilla AppleIntelCPUPowerManagement.kext, AppleRTC.kext (they're backed up in desktop) by using Kext Wizard.

15. Download latest Clover here: http://sourceforge.net/projects/cloverefiboot/files/Installer/ (Download latest version in folder, not in "Looking for the latest version?") Run the installer with Customized options:

Install for UEFI motherboards
Themes: Choose your desired themes
Drivers64UEFI:
- EmuVariableUefi-64
- OsxAptioFixDrv-64
Install RC scripts on target volume
Install Clover Preference Pane


16. Clover installer will automatically mount your EFI partition and copy Clover bootloader files there. Copy following files to EFI partition of your internal drive (don't mistake with EFI partition of other drives):

- Copy patched DSDT.aml and SSDT.aml created by PBI from /Extra folder to /EFI/Clover/ACPI/patched/
- Copy config.plist from USB to /EFI/Clover/
- Copy HFSPlus.efi and HPFanReset.efi in /EFI/CLOVER/drivers64UEFI/ from your USB to /EFI/CLOVER/drivers64UEFI/ in EFI partition, remove VBoxHfs-64.efi


17. Install Clover Configurator here: http://www.osx86.net/files/file/49-clover-configurator/ , open config.plist with CC and edit those values:

- ACPI > GeneratePStates/CStates: uncheck
- Gui > Theme: set your theme name
- SMBIOS: create your new SMBIOS with random Serial Number


18. Recheck if config.plist, dsdt.aml and ssdt.aml are placed correctly in EFI partition of internal drive.

19. Restart, you should see Clover screen and option to boot to Mavericks. Enjoy!
 

Update OS X Mavericks


10.9.1: Run the update and restart, then run PBI again and select OS X Support Kexts > your laptop.
 
 

Install Windows UEFI as dual boot


Install Windows UEFI (and other UEFI OSes) are quite easy because you don't need to mess up with Boot records. See FAQ for more detail.

**To Install Windows 7 UEFI on 7-series laptops, you must select UEFI hybrid (with CSM) in BIOS.

1. Create your Windows UEFI install USB key by following the guide here:
http://www.eightforums.com/tutorials/15458-uefi-bootable-usb-flash-drive-create-windows.html

2. Use Disk Utility or GParted to create a partition with Mac OS X Extended format on hard drive for Windows. This will prevent OS X from convert your drive to GPT/Hybrid MBR.

3. Restart and press F9 to choose Boot devices > Boot from EFI file > choose your Windows Install USB key > EFI > Boot > BOOTX64.efi

4. Use Windows installer to format the partition you prepared as NTFS. Complete install and now you will boot to Windows by default, Clover disappears.

5. Restart and press F9 to choose Boot devices > Boot from EFI file > choose your EFI partition (which contains Clover bootloader) > EFI > Clover > CLOVERX64.efi

6. You can now see Clover bootloader with new entry "Boot Microsoft UEFI Menu from EFI".

7. Boot to OS X and use Clover Configurator to mount EFI partition of your Windows UEFI drive (in case you have installed Windows to second drive, select disk1s1). Go to EFI/Microsoft/Boot/ and rename bootmgfw.efi to bootmgfw-orig.efi

8. In EFI partition containing Clover bootloader, remove EFI/Boot/bootx64.efi and copy EFI/Clover/CLOVERX64.efi to EFI/Boot/ and rename it to BOOTX64.efi

9. Restart.
 

Migrate from Chimera/Chameleon bootloader to Clover


CAUTION: You can't use Clover UEFI on MBR drive.

1. Boot to OS X, download latest Clover here: http://sourceforge.net/projects/cloverefiboot/files/Installer/ (Download latest version in folder, not in "Looking for the latest version?"). Run the installer with Customized options:

Install for UEFI motherboards
Themes:
Choose your desired themes
Drivers64UEFI:
- EmuVariableUefi-64

- OsxAptioFixDrv-64
Install RC scripts on target volume
Install Clover Preference Pane


2. Clover installer will automatically mount your EFI partition and copy Clover bootloader files there. Copy following files to EFI partition of your internal drive (don't mistake with EFI partition of other drives):

- Copy patched DSDT.aml and SSDT.aml created by PBI from /Extra folder to /EFI/Clover/ACPI/patched/
- Extract config.plist from config.zip and copy it to /EFI/Clover/
- Copy HFSPlus.efi and HPFanReset.efi in /EFI/CLOVER/drivers64UEFI/ from your USB to /EFI/CLOVER/drivers64UEFI/ in EFI partition, remove VBoxHfs-64.efi


3. Use Clover Configurator here: http://www.osx86.net/files/file/49-clover-configurator/ to edit some values in your config.plist:

- ACPI > GeneratePStates/CStates: uncheck
- Gui > Theme: set your theme name
- SMBIOS: create your new SMBIOS with random Serial Number


4. (Optional) Restore vanilla AppleIntelCPUPowerManagement.kext, AppleRTC.kext by using Kext Wizard.

5. Recheck if config.plist, dsdt.aml and ssdt.aml are placed correctly in EFI partition of internal drive.

6. Restart to BIOS and enable these options in BIOS:

6-series laptop: UEFI Boot.
7-series laptop: UEFI without CSM.


7. Save settings and exit, you should see Clover screen and option to boot to Mavericks.

*If you get problems with new Clover bootloader, turn off UEFI settings in BIOS and you will get Chameleon/Chimera back*

Config Clover

 

I suggest that you always update to the latest Clover Configurator to avoid removed keys in latest Clover

1. Mount EFI partition

The recommend way is using Clover Configurator to mount EFI partition (Extra > MountEFI). Note that you have to unmount existing EFI partition first.

To mount EFI partition, you can use the following command in terminal:
diskutil list
mkdir /Volumes/EFI
sudo mount -t msdos /dev/disk0s1 /Volumes/EFI  
--Note:  if diskutil tells you your mavericks install is on disk1, disk2, etc change /disk0s1 appropriately.
2. SSDT

SSDT CpuPm and Cpu0Ist have to be dropped to avoid conflict with new CPU SSDT tables. You shouldn't drop all OEM SSDT tables because some tables is benefitcal like SataAhci or PtidDevc SSDT (it can slow down sata in rare chance).


       <key>DropTables</key>
        <array>
            <dict>
                <key>Signature</key>
                <string>SSDT</string>
                <key>TableId</key>
                <string>CpuPm</string>
            </dict>
            <dict>
                <key>Signature</key>
                <string>SSDT</string>
                <key>TableId</key>
                <string>Cpu0Ist</string>
            </dict>
        </array>
SSDT can be generated automatically by select Generate in config.plist:

- GeneratePStates
- GenerateCStates


If you want to use SSDT.aml, remove Generate and put your SSDT.aml to EFI/Clover/ACPI/patched/

3. Fast Boot

To reduce the BIOS checking time (HP logo on screen) significantly by 5-6s, you can turn on Fast Boot in BIOS (it will be disabled if you installed HP Protect Tools in Windows). Please note that this will disable mouse devices and booting to USB devices from Clover bootscreen. To enable Full Boot temporarily, press ESC at boot and select Continue Startup.

To bypass the Clover bootscreen, set Boot/Timeout to 0. You can trigger the Clover bootscreen by pressing any key right after HP logo disappears.

4. Legacy OS boot

If you have Legacy OSes installed, you can enable Clover to boot legacy OS by editing your config.plist:

- Gui > Scan > Custom: check Legacy
- Boot > Legacy: LegacyBiosDefault


For 7-series laptops, you also have to select UEFI with CSM in BIOS.

5. Disable wake up by USB devices

To prevent USB devices from waking up your sleep, add this to your Devices section in config.plist

- USB Inject
- Add ClockID


6. Patching Kexts on-the-fly

Clover can patch your kexts in kernel cache on-the-fly in KextsToPatch section. Clover will find bits value in your specified kexts and replace it. AppleRTC and AppleIntelCPUPowerManagement are patched by default in Kernel and Kext Patches:

- AppleRTC
- ASUS AICPUPM

You can patch other kexts in Config.plist. Note that the config.plist uses 64-base value, while Clover Configurator shows your hexa value.

Trim Enabler
CC: 4150504C4520535344 -> 000000000000000000
config.plist
           <dict>
                <key>Comment</key>
                <string>Trim Enabler</string>
                <key>Find</key>
                <data>
                QVBQTEUgU1NE
                </data>
                <key>Name</key>
                <string>IOAHCIBlockStorage</string>
                <key>Replace</key>
                <data>
                AAAAAAAAAAAA
                </data>
            </dict>

11335437705_7a9f7d4d12_o.jpg
7. Custom Entry

You can customize entries in Clover bootscreen. A typical entry looks like this:


               <dict>
                    <key>Disabled</key>
                    <false/>
                    <key>FullTitle</key>
                    <string>OS X Mavericks</string>
                    <key>Hidden</key>
                    <false/>
                    <key>Hotkey</key>
                    <string>m</string>
                    <key>InjectKexts</key>
                    <false/>
                    <key>NoCaches</key>
                    <false/>
                    <key>SubEntries</key>
                    <true/>
                    <key>Type</key>
                    <string>OSX</string>
                    <key>Volume</key>
                    <string>Your MacHDD UUID</string>
                </dict>
Note that the Volume value is your drive UUID in Clover bootloader, not UUID shown in OS X. You can find it in /Library/Logs/CloverEFI/boot.log. A guide for Custom Entry can be found here: http://clover-wiki.zetam.org/Configuration/GUI#Custom-/-Entries, it's recommended to create custom entries by Clover Configurator.

11096021326_2a9d6a965f_o.jpg

The custom entry will be added in Clover boot screen if it's matched. Other entries will be scanned if you set Scan Entries to true.

Hidden entries can be shown by pressing F3 in Clover bootscreen. Here are some useful custom entries.

Disable UEFI Internal entry:
               <dict>
                    <key>Disabled</key>
                    <true/>
                    <key>FullTitle</key>
                    <string>UEFI Internal</string>
                    <key>Hidden</key>
                    <false/>
                    <key>SubEntries</key>
                    <true/>
                    <key>Type</key>
                    <string>Other</string>
                </dict>
Inject kexts for Recovery partition:
               <dict>
                    <key>Disabled</key>
                    <false/>
                    <key>FullTitle</key>
                    <string>OS X Recovery</string>
                    <key>Hidden</key>
                    <true/>
                    <key>InjectKexts</key>
                    <true/>
                    <key>NoCaches</key>
                    <false/>
                    <key>SubEntries</key>
                    <true/>
                    <key>Type</key>
                    <string>OSXRecovery</string>
                </dict>
Modified Windows custom entry
              <dict>
                    <key>Disabled</key>
                    <false/>
                    <key>FullTitle</key>
                    <string>Windows 8.1 Professional</string>
                    <key>Hidden</key>
                    <false/>
                    <key>Hotkey</key>
                    <string>w</string>
                    <key>Path</key>
                    <string>\EFI\Microsoft\Boot\bootmgfw-orig.efi</string>
                    <key>SubEntries</key>
                    <true/>
                    <key>Type</key>
                    <string>Windows</string>
                    <key>Volume</key>
                    <string>Your EFI partition UUID</string>
                </dict>
 

Frequently Ask Question


1. Spotlight Console spamming

When you mount a FAT32 or faulty partition in Mavericks, especially EFI partition, Spotlight will try to index your partition and fail, which lead to tons of console errors. To disable permanently spotlight in a specific partition, go to that partition and create .metadata_never_index file by using the following command in terminal:

touch .metadata_never_index
2. Recovery partition

If you don't have a Recovery partition, you can create one by using RecoveryHDUpdater:
https://plus.google.com/104196173613585151128/posts/6fPkZSoiDHs

To boot to Recovery partition, place all your essential kexts (FakeSMC, VoodooHDA, network kexts) in EFI/CLOVER/kexts/10.9

3. Sleep

Turn off Wake on Ethernet in System Preferences and BIOS. If you have trouble with auto-wake caused by USB devices, turn off Wake on USB in BIOS, or disable wake by USB in your config.plist (see above).

Some HP laptops have fingerprint sensor. If you disable it in BIOS, your system will auto wake after sleep. Enable it in BIOS will fix this

4. Reinstall or Update Clover bootloader

Make sure you unmount EFI partition before reinstall/update Clover. Run the installer with your settings. [sTRIKETHRU]Then go to EFI/CLOVER/drivers64UEFI/ and remove VBoxHfs-64.efi.[/sTRIKETHRU]
Always check the information of new Clover version before updating.

5. Install Chameleon

Set up your Chameleon bootloader, Extra partition, patch AICPM and AppleRTC kexts, then turn off UEFI in BIOS.

6. How to know if you're installing Windows UEFI

In 7-series laptops, if your Windows installation can boot with UEFI (without CSM) option in BIOS, you're installing Windows UEFI.
In 6-series laptops, use gdisk to check if your drive is GPT/Protective MBR. Only Windows UEFI can install to GPT/Protective MBR drive.

7. Can't install Windows UEFI because it says this is a MBR drive

If you use Disk Utility to create a FAT partition, your drive will be converted to GPT/Hybrid MBR. To fix this, delete or reformat that FAT partition to Mac OS Extended, or use gdisk in Linux usb to convert your drive to GPT/Protective MBR.
Credit

All my thanks to RehabMan, philip_petev, Slice and all Clover developers, HP Probook members, who spent hours of coding to help me complete my Hackintosh laptops. This is my first guide and I want all your comments to complete it. Sorry for my bad English though

http://www.insanelymac.com/forum/topic/282787-clover-v2-instructions/
  • Like 9
Link to comment
Share on other sites

  • 3 weeks later...

Goodday,

 

 Using a HP 470 G0, I can't seem to do a UEFI install/boot with UEFI native (without CSM) of Windows 7. This is with either the windows recovery disk (created from the HP's recovery tools) or a Windows 7 x64 downloaded from http://msft.digitalrivercontent.net/win/X17-59186.iso, I get a 0xc000000d BCD error. The moment I change to UEFI hybrid (with CSM), they both boot fine and allows installation. Both however also fails (after installation using UEFI hybrib mode) when I switch to UEFI native (without CSM) , with a plain black screen.

 

I would prefer to stay in native UEFI, and would also prefer any advice or help to fix this, but I beg the question: what will I loose with the hybrid mode? it appears that both Windows 7 and MacOSX (Mavericks) boots fine using UEFI hybrid.

 

 

Thanks

Hendrik

Link to comment
Share on other sites

  • 1 month later...

Goodday,

 

 Using a HP 470 G0, I can't seem to do a UEFI install/boot with UEFI native (without CSM) of Windows 7. This is with either the windows recovery disk (created from the HP's recovery tools) or a Windows 7 x64 downloaded from http://msft.digitalrivercontent.net/win/X17-59186.iso, I get a 0xc000000d BCD error. The moment I change to UEFI hybrid (with CSM), they both boot fine and allows installation. Both however also fails (after installation using UEFI hybrib mode) when I switch to UEFI native (without CSM) , with a plain black screen.

 

I would prefer to stay in native UEFI, and would also prefer any advice or help to fix this, but I beg the question: what will I loose with the hybrid mode? it appears that both Windows 7 and MacOSX (Mavericks) boots fine using UEFI hybrid.

 

 

Thanks

Hendrik

Sorry,  Windows 7 UEFI only works with CSM enabled, native mode only works with Windows 8+.

Link to comment
Share on other sites

  • 1 month later...

Thank you so much for this guide! For the last two weeks I've been going through failed attempts usually resulting in a system that doesn't know how to boot. I was booting clover uefi from a usb drive but hated having to do that, and installing it had been an impossible feat for me. I rarely login and comment, but I just had to express my thanks. You've spared me untold amounts of stress today friend :)

Link to comment
Share on other sites

  • 4 weeks later...

Thank you so much for this great guide .....

 

as i dont have any of the listed Models but i will use your guide partially..

i have been working on my HP EliteBook 8440p for about 4 days now... i started with 10.7.2 for compatibility and lot of past users experience...

it was little hard at the beginning to boot and have it working as i didn't interact with OS X on PC since 10.5 (more than 3 or 4 years ago )and it was a desktop... lots have been changed specially UEFI..

now i am already using 10.8.3 fully functional except IDT Audio !! .. lots have done it but i just didn't figure it up or may be cause i missed my Kexts any how... i will start a new installation now on my HDD with the instructions above off course may be i will ignore the Config file and DSDT as now look for boot options and creating a backup disk,

i already have a GPT and Win8.1 and i wasn't lucky getting them to boot from EFI partition as IMO ( this UEFI firmware isn't the best its little buggy) but i knew from my past installations that i have to partition the HDD right  cause now i get errors with my EFI partition created by windows 8 so i will install OSX first at the beginning of the drive last install i put it after windows partition ...

any how what is now well knows and missing lots of support is HP Elitebooks 8440P   ???!! yes thats true as i discovered that many misunderstand this part there is a lot of Kexts out there for this model but that not real the fact is 8440p is a great machine but it  have lots of different specs the most important thing is the Graphics card..

all Tuts out there are about NVS3100  as lots of users like me don't have it  i have Intel HD Graphics ( not 3000 - 4000  just HD)  and that was a big mystery as i used the guide for 1st gen to install graphics and always failed till i discovered that this Intel HD Graphics is different too its more specific model have less functions  as it only supports CL no QE according to the guide ... also audio according to my experience i found that IDT on my Laptop is (IDT 92HD75B3X5)  as i got this from dump codec in linux   (id:  111d7603) well i were tired getting it to work !!!  i tried lots of voodoohda  patched and lots of applehda patched .. i tried to patch my own but guide was missing important links !!  any how.... 

am writing this becuase i actually looking to make this laptop be on the list too as i think its a great laptop for me its doing well and doing all i need at least for now ...

at last i will post my specs in hurry to let any body who read this know this info is related to which model 

i5 520M - Intel HD Graphics (built in ) - IDT audio..

and thats the main devices to get this laptop fully function will not talk about screen brightness as it doesn't work and i don't need it  

well i think that was long enough... at last thank for the guide i will try to get a perfect install instructions for my model and post it here ... :)

fingers crossed ;)

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Sorry, but our HP Probook team does not have 1st gen laptops like 8440p, we can't test and add them to our supported model, and maybe never will because users are migrating to Haswell models (we are working to add them in next versions).

Link to comment
Share on other sites

  • 2 months later...

Laptop Specs :

GENERAL

Brand : HP

Model Name Pavilion

Graphics [integrated] Intel HD 4000

Graphics AMD/ATI 8670M 2GB

Model ID 15-e019TX

PROCESSOR

Processor Core i3 (3rd Gen)

Variant 3110M

Chipset Mobile HM76 Express

Brand Intel Clock Speed 2.4 GHz

Cache 3 MB

MEMORY

System Memory 4 GB DDR3

UEFI Based Laptop

 

 

PROBLEM

 

I tried installing Mavericks but instead of ur method i directly used a USB image that i got from olarila and tried to install it on the above laptop the problem is that i get a lapic kernel panic which i fixed using the kernellapic patch available in clover 

but even after using this patch the installation doesn't start i get stuck on a black screen with nothing on my laptop working!

no Mouse is shown or any other sign of a working screen.

Force Shut down leads to a partial brick which i tried fixing by removing the CMOS wire and connecting it back to have a CMOS Reset after which the laptop works .

 

I need support for this particular model coz its a recent manufactured model and doesn't have support online [searched on various search engines and forums]

 

HP Pavilion 15 Notebook e019TX 

Link to comment
Share on other sites

  • 1 month later...

Thanks for the great guide. I succesfully installed Mavericks on a new hard drive on my 8470p. I took the old hard drive that was running Mountain Lion using Chameleon and moved it to the secondary bay. I'm now trying to dual boot between ML and Mavericks, but on the Clover menu on the boot up i can only see the Mavericks hard drive and the recovery hd. Am I missing something so I can boot from the ML disk?

 

Thanks!

Link to comment
Share on other sites

  • 3 weeks later...

Thanks for this manual. I'm trying this out on my HP EliteBook 8470p. 

Don't know if your clover files mentioned above are different then the one I created with BootDiskUtility, but it doesn't work.

I used the Utility to setup Clover, because your files are offline.

Could you please update the link or send them by PM?

 

Thanks!

Link to comment
Share on other sites

  • 2 months later...

Hi,

 

I have a fully working ML install on my ProBook 5330m, dual-booting with Windows 8.1.

Is there a way to upgrade my existing ML install to Mavericks using this guide? Any steps I should omit or add?

I'm slightly concerned at the piece where the Mavs installer creates a Recovery partition, as my HDD is partitioned exactly as I would like it!

My GPT disk looks a little something like this:

1. 128MB reserved

2. 200MB EFI

3. 70GB Win8.1 OS

4. 350MB MS Reserved

5. 100GB Win8.1 Data

6. 60GB OSX

I've got Clover installed on the EFI and it's working perfectly well, so I can follow the guide as far as creating the Mavs install USB but I get a little fuzzy around step 6 to 9.

 

At step 6 - it says to use Disk Util to partition the drive. I'm assuming as I already have the required HFS+ partition, I don't need to do this?

When I "Install Mavs" where do I install it to? The existing ML partition or the USB drive with the extracted installer files on? I'm guessing you mean Install Mavs on to the target partition but Phase 1 doesn't acually do this, but instead just starts extracting files READY to do this in Phase 2? Is that right?

 

So then in phase 2 is there any way to prevent the creation of the Recovery partition? Does it use part of the existing HFS+ partition? (That would be OK) but I don't want it thinking it has exclusive access to the disk and wiping out any of my Windows partitions!

 

Sorry for all the questions and thank for a great guide!

Link to comment
Share on other sites

  • 2 months later...
  • 2 years later...

 

Introduction

 

hp_elitebook_3.jpg

 

New Hp laptops series have UEFI implemented in BIOS, and it provides much more advantages over current BIOS-based bootloaders like Chimera/Chameleon.

- Faster BIOS boot time

- Easier OS X install/Upgrade with native methods

- Create and boot to Recovery HD, [sTRIKETHRU]which enables Find My Mac option[/sTRIKETHRU].

- Patching kexts on the fly

- Bootmenu customization

- Can boot to Windows UEFI (which recognizes > 4 partitions GPT drive)

- Don't need to mess with master boot records

The guide is for:

- 6-series laptop: HP Probook 4x30s, 6x60b, Elitebook 8x60p, 2x60p using 6-series chipset

- 7-series laptop: HP Probook 4x40s, 4x0, 6x70b, Elitebook 8x70p, 2x70p using 7-series chipset.

*Only HP Elitebook/Probook 6xx0b without Radeon card is supported

* HP Probook 4xx0s with/without Radeon card is supported

You can download the latest Clover files here:

https://www.dropbox.com/sh/083x2j1mvmfh4l9/ZSYm2_iQRf

 

*Always search in the first post before asking questions*

Known issues

 

- - Distorted bootscreen with 7-series laptops using 1366x768 display + UEFI native (without CSM) setting. Changing Clover resolution to 1024x768 can fix it.

 

- Sleep is not reliable on 6-series laptops. It can cause the system to auto restart some minutes after wake.

 

- Use HaltEnabler or other SLP_SMI_EN keys in config.plist may brick your laptop, the only way to solve is reflash your ROM! They are disabled by default but AVOID IT AT ALL COST

 

- There is 10s-15s delay before going to sleep. It's a function (or a bug?) in Mavericks, even on real Mac (confirmed by RehabMan)

 

- Find My Mac does not work properly. Don't lock your mac because it's hard (or unable) to unlock again.

 

- NVRam in 7-series laptops only remembers the last boot partition value, others (like Find My Mac, Boot theme) are lost after restart. You can install EmuVariableUefi-64 to have Emulation nvram.

 

- Battery status is slow to update on some 4540s. If you have the problem, remove EmuVariableUefi-64.efi.

 

 

Install OS X Mavericks

1. Create partition for Clover bootloader:

- Create a FAT32 partition on USB drive (GPT or MBR partition table), with size at least 100MB and extract all files from Clover.zip to that partition.

- Select the right config.plist in config.zip and copy to EFI/Clover/.

2. Create Mavericks Installer partition (need a Mac):

- Use Disk Utility to create a Mac OS Extended (Journaled) partition, size at least 6GB on USB drive (it can be the same drive with 1st step, or another drive), name it "Untitled".

- Download Mavericks Install app from AppStore.

- Launch terminal and run the following script:

sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
- Your Mavericks Installer partition will be renamed "Install OS X Mavericks"

 

3. Enable these options in BIOS:

6-series laptop: UEFI Boot.

7-series laptop: UEFI Native without CSM or UEFI Hybrid with CSM (if you have Windows Legacy)

Disable Wake on LAN.

 

4. Plug all the flashdrives in step 1 and 2 to USB 2.0 ports. Restart and press F9 to choose Boot devices > Boot from EFI file > choose your Clover bootloader partition > EFI > Boot > BOOTX64.efi

 

5. Clover bootloader screen shows up, select "Boot OS X Install from Install OS X Mavericks" (your Mavericks Installer partition).

 

6. Install screen will appear, use Disk Utility to format your drive as GPT, create a Mac OS X Extended (Journaled) partition and Install Mavericks. The installer will extract necessary files to "Install OS X Mavericks" (not your target partition). This takes a lot of time at the end, though you only see "a minute remaining". This will end PHASE 1.

 

7. Restart and press F9 to choose Boot devices > Boot from EFI file > choose your Clover bootloader partition > EFI > Boot > BOOTX64.efi

 

8. Clover bootloader screen shows up, select "Boot OS X Install from Install OS X Mavericks" (your Mavericks Installer partition, not your install target partition).

 

9. Install screen will appear and continue installation. This time, installer will install files to your target partition and create Recovery HD partition. This will end PHASE 2.

 

10. Restart and press F9 to choose Boot devices > Boot from EFI file > choose your Clover bootloader partition > EFI > Boot > BOOTX64.efi

 

11. Clover bootloader screen shows up, select "Boot OS X from YourPartition".

 

12. If everything goes well, you can boot straight to Mavericks desktop.

 

13. Download HP Probook Installer here http://www.tonymacx86.com/hp-probook/87816-hp-probook-installer-6-1-4x30s-4x40s-support.html and install with these options:

 

OS X support kexts: select only the version that matches your laptop (4x30s, 4x40s, etc).

 

DSDT generator/patcher:

- ProBook model: your Probook Model

- Fan behavior: your prefered fan methods, need HPFanReset.efi to work.

- Display type: your display

 

SSDT generator/patcher: Generate SSDT.aml for your CPU Management

Optional patches:

- Intel USB3.0 patch: allows the use of vanilla AppleUSBXHCI.kext instead of GenericUSBXHCI.kext. This USB3 patch is valid only if you have a 7-series chipset.

Note: you must select one option from each of the first three groups to generate a patched DSDT.

 

Optional hardware-specific fixes:

- AHCI 3rd party kext: You can apply this option later if it turns out your DVD drive is not recognized by the system. It is not needed on every laptop.

- EDID generator: Inject correct display EDID to your system.

Misc OS X fixes:

- Color profiles: Recommended.

- Sleep fix: disables OS X version of "hybrid sleep" where upon entering sleep, a "hibernation image" is written to the boot drive. Recommend for SSD.

- blinkscreen: This option will very quickly "blink" the screen when you login, fixing the brightness issues:

Intel HD 3000: Screen brightness levels are not available before the first display sleep on

Intel HD 4000: The display is dimmed before the first display sleep on

Extra tools: All optional. Select the ones you want.

 

After making your selections, click 'Continue' and allow the ProBook Installer to work.

 

14. (Optional) Restore vanilla AppleIntelCPUPowerManagement.kext, AppleRTC.kext (they're backed up in desktop) by using Kext Wizard.

 

15. Download latest Clover here: http://sourceforge.net/projects/cloverefiboot/files/Installer/ (Download latest version in folder, not in "Looking for the latest version?") Run the installer with Customized options:

Install for UEFI motherboards

Themes: Choose your desired themes

Drivers64UEFI:

- EmuVariableUefi-64

- OsxAptioFixDrv-64

Install RC scripts on target volume

Install Clover Preference Pane

16. Clover installer will automatically mount your EFI partition and copy Clover bootloader files there. Copy following files to EFI partition of your internal drive (don't mistake with EFI partition of other drives):

- Copy patched DSDT.aml and SSDT.aml created by PBI from /Extra folder to /EFI/Clover/ACPI/patched/

- Copy config.plist from USB to /EFI/Clover/

- Copy HFSPlus.efi and HPFanReset.efi in /EFI/CLOVER/drivers64UEFI/ from your USB to /EFI/CLOVER/drivers64UEFI/ in EFI partition, remove VBoxHfs-64.efi

17. Install Clover Configurator here: http://www.osx86.net/files/file/49-clover-configurator/ , open config.plist with CC and edit those values:

- ACPI > GeneratePStates/CStates: uncheck

- Gui > Theme: set your theme name

- SMBIOS: create your new SMBIOS with random Serial Number

18. Recheck if config.plist, dsdt.aml and ssdt.aml are placed correctly in EFI partition of internal drive.

 

19. Restart, you should see Clover screen and option to boot to Mavericks. Enjoy!

 

Update OS X Mavericks

10.9.1: Run the update and restart, then run PBI again and select OS X Support Kexts > your laptop.

 

 

Install Windows UEFI as dual boot

Install Windows UEFI (and other UEFI OSes) are quite easy because you don't need to mess up with Boot records. See FAQ for more detail.

 

**To Install Windows 7 UEFI on 7-series laptops, you must select UEFI hybrid (with CSM) in BIOS.

 

1. Create your Windows UEFI install USB key by following the guide here:

http://www.eightforums.com/tutorials/15458-uefi-bootable-usb-flash-drive-create-windows.html

 

2. Use Disk Utility or GParted to create a partition with Mac OS X Extended format on hard drive for Windows. This will prevent OS X from convert your drive to GPT/Hybrid MBR.

 

3. Restart and press F9 to choose Boot devices > Boot from EFI file > choose your Windows Install USB key > EFI > Boot > BOOTX64.efi

 

4. Use Windows installer to format the partition you prepared as NTFS. Complete install and now you will boot to Windows by default, Clover disappears.

 

5. Restart and press F9 to choose Boot devices > Boot from EFI file > choose your EFI partition (which contains Clover bootloader) > EFI > Clover > CLOVERX64.efi

 

6. You can now see Clover bootloader with new entry "Boot Microsoft UEFI Menu from EFI".

 

7. Boot to OS X and use Clover Configurator to mount EFI partition of your Windows UEFI drive (in case you have installed Windows to second drive, select disk1s1). Go to EFI/Microsoft/Boot/ and rename bootmgfw.efi to bootmgfw-orig.efi

 

8. In EFI partition containing Clover bootloader, remove EFI/Boot/bootx64.efi and copy EFI/Clover/CLOVERX64.efi to EFI/Boot/ and rename it to BOOTX64.efi

 

9. Restart.

 

Migrate from Chimera/Chameleon bootloader to Clover

CAUTION: You can't use Clover UEFI on MBR drive.

 

1. Boot to OS X, download latest Clover here: http://sourceforge.net/projects/cloverefiboot/files/Installer/ (Download latest version in folder, not in "Looking for the latest version?"). Run the installer with Customized options:

Install for UEFI motherboards

Themes: Choose your desired themes

Drivers64UEFI:

- EmuVariableUefi-64

- OsxAptioFixDrv-64

Install RC scripts on target volume

Install Clover Preference Pane

2. Clover installer will automatically mount your EFI partition and copy Clover bootloader files there. Copy following files to EFI partition of your internal drive (don't mistake with EFI partition of other drives):

- Copy patched DSDT.aml and SSDT.aml created by PBI from /Extra folder to /EFI/Clover/ACPI/patched/

- Extract config.plist from config.zip and copy it to /EFI/Clover/

- Copy HFSPlus.efi and HPFanReset.efi in /EFI/CLOVER/drivers64UEFI/ from your USB to /EFI/CLOVER/drivers64UEFI/ in EFI partition, remove VBoxHfs-64.efi

3. Use Clover Configurator here: http://www.osx86.net/files/file/49-clover-configurator/ to edit some values in your config.plist:

- ACPI > GeneratePStates/CStates: uncheck

- Gui > Theme: set your theme name

- SMBIOS: create your new SMBIOS with random Serial Number

4. (Optional) Restore vanilla AppleIntelCPUPowerManagement.kext, AppleRTC.kext by using Kext Wizard.

 

5. Recheck if config.plist, dsdt.aml and ssdt.aml are placed correctly in EFI partition of internal drive.

 

6. Restart to BIOS and enable these options in BIOS:

6-series laptop: UEFI Boot.

7-series laptop: UEFI without CSM.

7. Save settings and exit, you should see Clover screen and option to boot to Mavericks.

 

*If you get problems with new Clover bootloader, turn off UEFI settings in BIOS and you will get Chameleon/Chimera back*

 

Config Clover

 

 

I suggest that you always update to the latest Clover Configurator to avoid removed keys in latest Clover

 

1. Mount EFI partition

 

The recommend way is using Clover Configurator to mount EFI partition (Extra > MountEFI). Note that you have to unmount existing EFI partition first.

 

To mount EFI partition, you can use the following command in terminal:

diskutil list
mkdir /Volumes/EFI
sudo mount -t msdos /dev/disk0s1 /Volumes/EFI  
--Note:  if diskutil tells you your mavericks install is on disk1, disk2, etc change /disk0s1 appropriately.
2. SSDT

 

SSDT CpuPm and Cpu0Ist have to be dropped to avoid conflict with new CPU SSDT tables. You shouldn't drop all OEM SSDT tables because some tables is benefitcal like SataAhci or PtidDevc SSDT (it can slow down sata in rare chance).

 

 

       <key>DropTables</key>
        <array>
            <dict>
                <key>Signature</key>
                <string>SSDT</string>
                <key>TableId</key>
                <string>CpuPm</string>
            </dict>
            <dict>
                <key>Signature</key>
                <string>SSDT</string>
                <key>TableId</key>
                <string>Cpu0Ist</string>
            </dict>
        </array>
SSDT can be generated automatically by select Generate in config.plist:

- GeneratePStates

- GenerateCStates

If you want to use SSDT.aml, remove Generate and put your SSDT.aml to EFI/Clover/ACPI/patched/

 

3. Fast Boot

 

To reduce the BIOS checking time (HP logo on screen) significantly by 5-6s, you can turn on Fast Boot in BIOS (it will be disabled if you installed HP Protect Tools in Windows). Please note that this will disable mouse devices and booting to USB devices from Clover bootscreen. To enable Full Boot temporarily, press ESC at boot and select Continue Startup.

 

To bypass the Clover bootscreen, set Boot/Timeout to 0. You can trigger the Clover bootscreen by pressing any key right after HP logo disappears.

 

4. Legacy OS boot

 

If you have Legacy OSes installed, you can enable Clover to boot legacy OS by editing your config.plist:

- Gui > Scan > Custom: check Legacy

- Boot > Legacy: LegacyBiosDefault

For 7-series laptops, you also have to select UEFI with CSM in BIOS.

 

5. Disable wake up by USB devices

 

To prevent USB devices from waking up your sleep, add this to your Devices section in config.plist

- USB Inject

- Add ClockID

6. Patching Kexts on-the-fly

 

Clover can patch your kexts in kernel cache on-the-fly in KextsToPatch section. Clover will find bits value in your specified kexts and replace it. AppleRTC and AppleIntelCPUPowerManagement are patched by default in Kernel and Kext Patches:

 

- AppleRTC

- ASUS AICPUPM

You can patch other kexts in Config.plist. Note that the config.plist uses 64-base value, while Clover Configurator shows your hexa value.

 

Trim Enabler

CC: 4150504C4520535344 -> 000000000000000000

config.plist

           <dict>
                <key>Comment</key>
                <string>Trim Enabler</string>
                <key>Find</key>
                <data>
                QVBQTEUgU1NE
                </data>
                <key>Name</key>
                <string>IOAHCIBlockStorage</string>
                <key>Replace</key>
                <data>
                AAAAAAAAAAAA
                </data>
            </dict>
11335437705_7a9f7d4d12_o.jpg

7. Custom Entry

 

You can customize entries in Clover bootscreen. A typical entry looks like this:

 

 

               <dict>
                    <key>Disabled</key>
                    <false/>
                    <key>FullTitle</key>
                    <string>OS X Mavericks</string>
                    <key>Hidden</key>
                    <false/>
                    <key>Hotkey</key>
                    <string>m</string>
                    <key>InjectKexts</key>
                    <false/>
                    <key>NoCaches</key>
                    <false/>
                    <key>SubEntries</key>
                    <true/>
                    <key>Type</key>
                    <string>OSX</string>
                    <key>Volume</key>
                    <string>Your MacHDD UUID</string>
                </dict>
Note that the Volume value is your drive UUID in Clover bootloader, not UUID shown in OS X. You can find it in /Library/Logs/CloverEFI/boot.log. A guide for Custom Entry can be found here: http://clover-wiki.zetam.org/Configuration/GUI#Custom-/-Entries, it's recommended to create custom entries by Clover Configurator.

 

11096021326_2a9d6a965f_o.jpg

 

The custom entry will be added in Clover boot screen if it's matched. Other entries will be scanned if you set Scan Entries to true.

 

Hidden entries can be shown by pressing F3 in Clover bootscreen. Here are some useful custom entries.

 

Disable UEFI Internal entry:

               <dict>
                    <key>Disabled</key>
                    <true/>
                    <key>FullTitle</key>
                    <string>UEFI Internal</string>
                    <key>Hidden</key>
                    <false/>
                    <key>SubEntries</key>
                    <true/>
                    <key>Type</key>
                    <string>Other</string>
                </dict>
Inject kexts for Recovery partition:

               <dict>
                    <key>Disabled</key>
                    <false/>
                    <key>FullTitle</key>
                    <string>OS X Recovery</string>
                    <key>Hidden</key>
                    <true/>
                    <key>InjectKexts</key>
                    <true/>
                    <key>NoCaches</key>
                    <false/>
                    <key>SubEntries</key>
                    <true/>
                    <key>Type</key>
                    <string>OSXRecovery</string>
                </dict>
Modified Windows custom entry

              <dict>
                    <key>Disabled</key>
                    <false/>
                    <key>FullTitle</key>
                    <string>Windows 8.1 Professional</string>
                    <key>Hidden</key>
                    <false/>
                    <key>Hotkey</key>
                    <string>w</string>
                    <key>Path</key>
                    <string>\EFI\Microsoft\Boot\bootmgfw-orig.efi</string>
                    <key>SubEntries</key>
                    <true/>
                    <key>Type</key>
                    <string>Windows</string>
                    <key>Volume</key>
                    <string>Your EFI partition UUID</string>
                </dict>
 

Frequently Ask Question

1. Spotlight Console spamming

 

When you mount a FAT32 or faulty partition in Mavericks, especially EFI partition, Spotlight will try to index your partition and fail, which lead to tons of console errors. To disable permanently spotlight in a specific partition, go to that partition and create .metadata_never_index file by using the following command in terminal:

 

touch .metadata_never_index
2. Recovery partition

 

If you don't have a Recovery partition, you can create one by using RecoveryHDUpdater:

https://plus.google.com/104196173613585151128/posts/6fPkZSoiDHs

 

To boot to Recovery partition, place all your essential kexts (FakeSMC, VoodooHDA, network kexts) in EFI/CLOVER/kexts/10.9

 

3. Sleep

 

Turn off Wake on Ethernet in System Preferences and BIOS. If you have trouble with auto-wake caused by USB devices, turn off Wake on USB in BIOS, or disable wake by USB in your config.plist (see above).

 

Some HP laptops have fingerprint sensor. If you disable it in BIOS, your system will auto wake after sleep. Enable it in BIOS will fix this

 

4. Reinstall or Update Clover bootloader

 

Make sure you unmount EFI partition before reinstall/update Clover. Run the installer with your settings. [sTRIKETHRU]Then go to EFI/CLOVER/drivers64UEFI/ and remove VBoxHfs-64.efi.[/sTRIKETHRU]

Always check the information of new Clover version before updating.

 

5. Install Chameleon

 

Set up your Chameleon bootloader, Extra partition, patch AICPM and AppleRTC kexts, then turn off UEFI in BIOS.

 

6. How to know if you're installing Windows UEFI

 

In 7-series laptops, if your Windows installation can boot with UEFI (without CSM) option in BIOS, you're installing Windows UEFI.

In 6-series laptops, use gdisk to check if your drive is GPT/Protective MBR. Only Windows UEFI can install to GPT/Protective MBR drive.

 

7. Can't install Windows UEFI because it says this is a MBR drive

 

If you use Disk Utility to create a FAT partition, your drive will be converted to GPT/Hybrid MBR. To fix this, delete or reformat that FAT partition to Mac OS Extended, or use gdisk in Linux usb to convert your drive to GPT/Protective MBR.

Credit

 

All my thanks to RehabMan, philip_petev, Slice and all Clover developers, HP Probook members, who spent hours of coding to help me complete my Hackintosh laptops. This is my first guide and I want all your comments to complete it. Sorry for my bad English though

 

http://www.insanelymac.com/forum/topic/282787-clover-v2-instructions/

 

Hi pokenguyen, I would like to know if you could send me the files that where contained on the dropbox link in this topic. 
 
Thanks in advance.
Link to comment
Share on other sites

  • 1 month later...
 Share

×
×
  • Create New...