Jump to content
duduclx

[GUIDE] HP EliteBook 820 840 G2 I5-5300U HD5500 El Capitan [ENG]

15 posts in this topic

Recommended Posts

Hello,
 
I will explain how i have installed Os X EL Capitan 10.11 on HP ElibteBook 820 G2.
 

H9W31ET-ABU_4_390x286.jpg

 

Before start this installation, or buy this computer, you have to know that it's hard to find a compatible wifi/BT module.
This guide still not 100% perfect.
This allow to install:
- El Capitan Public Beta 1 (10.11.0)
- El Capitan Public Beta 2 and above (10.11.0)
 
Yosemite 10.10.x doesn't support Broadwell processor and so can't be installed.
 
Working:

- Wifi and Bluetooth doesn't work, you have to find a compatible wifi/bt card with NGFF M2 slot.

this one is compatible:
Dell DW1560 part code: 6xRYC
- SD card reader.
- Display port on the dock station
 
Needed materials:
- a mac or hackintosh
- usb drive
- external hard drive (if you do fusion on post-install)

 

Other solution:

You can use HP Probook Installer Clover Edition 6.4 or up to install El Capitan.

It doesn't add anything more than working with my guide.

It will define you mac as a MacBookAir7,2.
 
1/Create Bootable USB Installer


1.a/ mac osx installer

Must have mac os x el capitan installer (from apple store) in the Applications folder
Format your usb key with hfs+ journalised format and guid partition
Open terminal and enter:

sudo /Applications/Install\ OS\ X\ El\ Capitan\ Public\ Beta.app/Contents/Resources/createinstallmedia --volume /Volumes/ELCAPITAN --applicationpath /Applications/Install\ OS\ X\ El\ Capitan\ Public\ Beta.app --nointeraction

Changer "/Volumes/ELCAPITAN" par "/Volumes/le-nom-de-votre-disque-dur"
 
1.b/ Install clover bootloader

Open last clover version
Choose to install it on your usb key
Choose personnalise and check:

  • install for UEFI motherboard
  • install Clover in ESP
  • Themes/applestyle
  • Drivers64UEFI/EmuVariableUefi-64
  • Drivers64UEFI/OsxAptioFix2DRV-64

Open EFI Volume and

:go to EFI/CLOVER/kexts/10.11 and EFI/CLOVER/kexts/others and paste:

:go to EFI/CLOVER/drivers64EUFI and paste:

1.c/ Edit clover configuration file:

 

Open /EFI/CLOVER/config.plist with clover configurator.

 

ACPI:

under Fixes, click New way and checkr:

- New Way

- FixRegions

- addHDMI
DSDT name: dsdt.aml
sous SSDT:

- Plugin Type: 1

- SortedOrder: ssdt.aml
 
Boot:
check:
- dart=0 (do not check for El capitan Public Beta 2 and up)
- gux_defer_usb2 (do not check for El capitan Public Beta 2 and up)
- kext-dev-mode-1
- rootless=0 (do not check for El capitan Public Beta 2 and up)
Default Boot Volume: LastBootedVolume
Legacy : PBR
XMPDetection: Yes
Timeout: 3
 
Devices:
USB:

- Inject
- Add ClockID

- FixOwnership

Properties:

- UseIntelHDMI
 
Gui:
- Mouse:
Double Click : 500
Speed : 8
check Enabled
- Scan:
in Custom check:
- Entries
- Tool
- Legacy
screen resolution, select 1366x768
 
Graphic:

ig-platform-id: 0x16260006
check Inject Intel
 
Kernel and Kexts patches, check:

- Kerel LAPIC

- KernelPm

- Apple TRC
- Asus AICPUPM

under KextstoPatch, click on + and add:
Name* : disabled:AppleIntelBDWGraphicsFramebuffer
Find* : [HEX]: 4139C4763E
Replace* [HEX] : 4139C4EB3E
Comment: Disable minStolenSize

 

click again on + and add:

Name* : disabled:IOAHCIBlockStorage
Find* : [HEX]: 004150504C452053534400
Replace* [HEX] : 0000000000000000000000
Comment: Enable TRIM for SSD
 
RTVariables:
BooterConfig: 0x28
CsrActiveConfig: 0x67
 
SMBIOS:
click on the magic wand and choose MacBookAir6,2
 
System Parameters
Inject Kexts: Detect
cocher Inject System ID
 
save and close.

 

 

 

2/ Configurer le Bios


At boot, press F10 to enter bios menu.
Onglet sécurité, uncheck:

  • commande de la gestion du système
  • outils disque dur / Enregistrer la partition MBR

Onglet avancés:
Dans la partie Options d’amorçage, cocher uniquement les options suivantes:

  • amorçage rapide
  • périphérique d’amorçage USB
  • mode de démarrage UEFI Hybride (avec CSM)

Dans la partie Configurations des périphériques, cocher uniquement les options suivantes:

  • Support USB legacy
  • Taille mémoire vidéo 512Mo
  • Prévention d’exécution des données
  • vitesse SATA max 6Gbps
  • Mode du périphérique AHCI
  • processeur multicoeur
  • veille prolongée désactiver

Dans la partie Options des périphériques intégrés, cocher uniquement les options suivantes:

  • périphérique Wlan
  • controleur Lan intégré
  • wake on lan désactivé
  • camera intégré
  • périphérique audio
  • microphone

Dans la partie options de port, cocher uniquement les options suivantes:

  • port usb

Dans la partie options de HP Touchpoint Manager, tout décocher

 

 

3/ Installer le système Mac sur le disque dur


3.a/ préparation du disque dur
 
At startup, press F9 and select the usb key/drive to boot.

When installer started, format format your internal hard disk to mac journalised with guid partition with disk utility.
 
NB: You can create the Fusion drive at this point, see part 7.

3.b/ install on internal hard disk drive
 
Make the install on your internal hard disk drive.
At reboot, boot on the usb key and when clover is loaded, boot on the internal disk drive.

 

 

4/ post installation


4.a/ Install clover bootloader on internal disk drive

Repeat 1.b et 1.c

or install clover on internal disk drive, then copy/paste your EFI folder on the EFI partition of the internal disk drive.

 

4.b/ Install missing drivers
 
Copy following kexts in /Bibliotheque/Extensions:

then install VoodooHDA.

Check root:wheel permission on files, do:
Open Terminal and type:

cd /Library/Extensions
ls -la

If it's not root:whell, then enter:

chmod -R 755 <kext name>
sudo chown -R root:wheel <kext name>

About VoodooHDA, after install, reboot, go to system preference / VoodooHDA and select Apple....HDEF@1B to have working internal speaker and headphone/micro.

If it's noisy, you can reduise noise by set gain to 0.

Also, you can edit voodooHDA info.plist and set:

<key>iGain</key>
<integer>0</integer>

 

 

 

5/ DSDT

 


5.a/ dsdt dump
 

Copy Patchmatic in the folder /usr/bin
Open terminal and enter:

mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract
iasl -da -dl *.aml

close the terminal.

5.b/ dsdt patch:
 
Open MaciASL
Go to preferences / sources and add:

http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master

Close preference window
Open dsdt.dsl
click on compile
you should find error on line 61:

cut line 43:

External (_SB_.ISCT.SAOS, MethodObj)    // Warning: Unresolved method, guessing 1 arguments

paste under this line (60):

External (_SB_.ISCT, UnknownObj)

click on patch
select and apply following patchs :

  • [audio] Audio Layout 12
  • [bat] HP ProBook-4x0s-G1
  • [sys] AC Adapter Fix
  • [sys] Shutdown Fix v2
  • [igpu] Brightness fix (haswell)

in the patch texte zone, paste:

#Maintained by: RehabMan for: Laptop Patches
#graphics_HD5500_yosemite.txt

#
# Use this patch if your laptop has Haswell graphics
#

into method label _DSM parent_adr 0x00020000 remove_entry;
into device name_adr 0x00020000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
    Return (Package(0x08)\n
    {\n
        "device-id", Buffer(0x04) { 0x16, 0x16, 0x00, 0x00 },\n
        "AAPL,ig-platform-id", Buffer(0x04) { 0x02, 0x00, 0x16, 0x16 },\n
        "hda-gfx", Buffer(0x0A) { "onboard-1" },\n
        "model", Buffer(0x17) { "Intel HD 5500" },\n
    })\n
}\n
end;

Click on Apply, then Close.
go to File / save as
name it dsdt-patched and save it as Disassembled ASL file
save it again but with ACPI Machine Language Binary format.

5.c/ chargement du Dsdt
 
paste dsd-patchedt.aml in:
EFI/Clover/ACPI/patched

and rename it dsdt.aml

 

 

6/ SSDT.


Download Broadwell SSDT Generator
Copy Broadwell SSDT Generator on your desktop
rename it SSDTGen
open terminal and enter:

cd ~/Desktop/SSDTGen
chmod +x ssdtPRGen.sh
./ssdtPRGen.sh

Copy the new ssdt.aml file in EFI/Clover/ACPI/patched

 

 

7/ Fusion drive


7.a/ create a copy
 
Restart and go to bios then activate pciE M2 SSD/HDD
Reboot on osx.
Make a complete copy on external hard disk drive.

  • plug the external disk drive
  • formate it as mac journalised with partition guid
  • make copy using superduper or copy carbon cloner
  • mount EFI from external hard drive with clover configurator
  • copy your EFI folder in it.
  • reboot on external hard disk drive.

7.b/ create fusion drive
 
format SSD drive to mac journalised.
open terminal and enter:

diskutil list

here is an outpu exemple, you may need to change value to yours, ex:

disk0 (SSD)
disk0s1 (EFI SSD)
disk0s2 (usable SSD)
disk1 (HDD)
disk1s1 (EFI HDD)
disk1s2 (usable HDD)
disk2 (external disk drive)

we will merge usable disk only,it will erase all data from SSD and HDD.

in terminal, enter: (if your diskxsx are different, change it in command line)

diskutil cs create fusion disk0s2 disk1s2

copy the final UUID, ex 5965TY-5678-5473-RRHY64DFG

enter:

diskutil coreStorage createVolume <UUID> jhfs+ <name of your future fusion drive> 100%

if we enter diskutil again in the terminal, we can see a new disk3 logical (LGV)

7.C/ make fusion drive bootable
 
Install Clover on the new fusion drive
Copy your EFI at the root of the fusion drive (/)

Use clover configurator, momount each disk: Disk0s1, Disk1s1 and paste EFI  in it.

You should have the same EFI on each disk. (disk0s1, disk1s1 and disk3 the fusion one)
at each clover modification, you must copy it to each EFI partition.

Reboot on your new fusion drive.

 


 
8/ ENJOY !!
 

9/ Ressources and thanks

 

All greatings to Rehabman

Share this post


Link to post
Share on other sites
Advertisement

I've just seen something strange.

In dsdt patch, i use ig-platform-id 0x16160002 (the good one, hd5500)

In clover, i use 0x16260006 which is hd6000 but allow build-in display port.

I need to patch framebuffer to allow one and dual display port from the dock station.

If you need files, test, debug, it's will be a pleasure.

Cheers

Share this post


Link to post
Share on other sites

 

mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract
iasl -da -dl *.aml

hi,i can't pass this step.

 

getting the below:

 

RehabMan HDD$ patchmatic -extract

Usage: patchmatic <dsl-input> <patches-file> <dsl-output>

 where:

   <dsl-input>     name of ASCII DSL input file (output from iasl -d)

   <patches-file>  name of file containing patches to apply to <dsl-input>

   <dsl-output>    name of patched output file (to be compiled with iasl)

 

then :

 

:RehabMan HDD$ iasl -da -dl DSDT.aml

-bash: iasl: command not found

 

my laptop hp elitebook 840 g2

please help

Share this post


Link to post
Share on other sites

I have the same system and did the install with PBI. I finally got my aus=dio to work with the VoodooHDA package. My issues is that the Sd card reader does not work and my bluetooth only works after coming back from sleep. I am using the Dell DW1560 wifi/bt card.

Share this post


Link to post
Share on other sites

 

mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract
iasl -da -dl *.aml

hi,i can't pass this step.

 

getting the below:

 

RehabMan HDD$ patchmatic -extract

Usage: patchmatic <dsl-input> <patches-file> <dsl-output>

 where:

   <dsl-input>     name of ASCII DSL input file (output from iasl -d)

   <patches-file>  name of file containing patches to apply to <dsl-input>

   <dsl-output>    name of patched output file (to be compiled with iasl)

 

then :

 

:RehabMan HDD$ iasl -da -dl DSDT.aml

-bash: iasl: command not found

 

my laptop hp elitebook 840 g2

please help

 

 

put iasl in /usr/bin

 

I have the same system and did the install with PBI. I finally got my aus=dio to work with the VoodooHDA package. My issues is that the Sd card reader does not work and my bluetooth only works after coming back from sleep. I am using the Dell DW1560 wifi/bt card.

 

i don't like PBI, i tried it, and then do it manually.

now, i have fully patched appleHDA, with HDMI audio.

 

i have the same DW1560 aka BCM94352z.

bluetooth is not working.

 

still have issue with DisplayPort on the Slim Dock Station.

I have to test, but i leave it at my office.

triple screen (built-in screen, built-in DP, built-in VGA at the same time) is working.

 

still have partial Imessage working (sometime yes, sometime not), and still need a correct smbios to have a "perfect" ssdt.aml

 

i will update the guide soon.

Share this post


Link to post
Share on other sites

I got my bluetooth to work in 2 different ways.

 

First uncheck USB 3 in Bios. reboot, Bluetooth should work

 

Second way if to put the computer into sleep and the wake it up, Bluetooth works.

 

Still having issues with SD card reader not working.

Share this post


Link to post
Share on other sites
On 9/15/2015 at 12:53 AM, duduclx said:

I've just seen something strange.

In dsdt patch, i use ig-platform-id 0x16160002 (the good one, hd5500)

In clover, i use 0x16260006 which is hd6000 but allow build-in display port.

I need to patch framebuffer to allow one and dual display port from the dock station.

If you need files, test, debug, it's will be a pleasure.

Cheers

fusion drive is optional or mandatory? what is the purpose of fusion drive? 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By benmills1
      Hi, i can someone help me with installing mac OS Mojave on my HP ENVY - 15-as102na?
      I have an imac to use for setting up my usb & installing MacOS Mojave.There are various kext files etc that i'm not sure about and need some help as some are hardware specific.
      I tried previously but got stuck on an apple logo and couldn't get past that, and tried today and had problems with Clover.
      Once i get mac os on my 128gb m.2 ssd ( which i'll upgrade to either a 256gb or 512gb depending on how well this hackintosh works)
      I have a free 2.5" inch hdd bay where i'd like to install windows on in the future.
      I think i may have to replace my wireless card ( based on a few google results) which i'm fine with as long as i can see it working without just so i know i won't waste money
      Specs:
      Cpu: i5 7200u
      GPU: HD 620
      8GB ram
      Wifi card- Intel Wireless 7265 ( Intel® 802.11ac (2x2) )
      Motherboard - HP 81D2 & BIOS version is f.56
      https://support.hp.com/gb-en/document/c05311862
      Thanks
    • By fusion71au
      This is a brief guide on how to create a vanilla El Capitan (also same process for Sierra) OS X Installer USB with an updated prelinked kernel containing FakeSMC.

      It is tailored for those users who want to understand the “nuts and bolts” of how to create an installer and also to help brush up on their terminal skills (rather than have one made for them with the numerous automated “tools” available or even Apple’s createinstallmedia) :
       
       
      Specifically, it is also a “Proof of Concept” which shows that installation is possible without even having to rely on boot loader kext injection.

      Prerequisites
      Existing Yosemite installation (or Mavericks - see post#4 for steps 7,8) “Install OS X El Capitan.app" downloaded to the Applications folder Pacifist FakeSMC.kext - Slice or Kozlek branch Bootloader - Clover or Chameleon 8GB or larger USB drive (16GB recommended), formatted HFS+ (MBR or GUID) named “Installer”  
      Procedure
      1.  Boot into Yosemite with the kext-dev-mode=1 boot flag
      2.  Open OS X terminal and type the following lines, followed by <Enter> after each line.
          The image restore and file copying may take a while to complete, and at the end of the process, the Installer volume is renamed to “OS X Base System"....
       
      sudo -s hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg asr restore -source /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg  -target /Volumes/Installer -erase -format HFS+ -noprompt -noverify rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages cp -av /Volumes/OS\ X\ Install\ ESD/Packages /Volumes/OS\ X\ Base\ System/System/Installation cp -av /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg /Volumes/OS\ X\ Install\ ESD/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System diskutil unmount /Volumes/OS\ X\ Install\ ESD exit 3.  Right click on the “OS X Base System” Volume and click “Get Info”
       

      4.  Click on the lock icon and untick “Ignore ownership on this volume”
       

      5.  Extract/Copy the El Capitan Kernels folder into /System/Library/ of the USB with Pacifist.  NB It is found in the "Essentials.pkg" in /System/Installation/Packages
       

      6.  Delete or Rename the original /System/Library/PrelinkedKernels/prelinkedkernel —> OG.prelinkedkernel
       

      7.  Copy FakeSMC.kext and other necessary kexts (e.g. VoodooPS2Controller.kext for laptops) into the /Library/Extensions folder of the installer USB using Finder.
       

      8.  Back in terminal, type the following lines, followed by <Enter> after each line to rebuild the prelinkedkernel…..
       
      sudo -s chmod -R 755 /Volumes/OS\ X\ Base\ System/Library/Extensions chown -R 0:0 /Volumes/OS\ X\ Base\ System/Library/Extensions touch /Volumes/OS\ X\ Base\ System/System/Library/Extensions kextcache -u /Volumes/OS\ X\ Base\ System exit Any errors should be noted but the output below is normal e.g.


      9. Install your Bootloader targeting the OS X Base System volume
       
       
       
       
      10.  Boot your system with the USB without injected kexts into the OS X Installer GUI....
       
       
       
       
       
      Post Install
      The original prelinked kernel in a fresh install of El Capitan will also lack FakeSMC ie it will only be linked to Apple signed kexts.  In order to boot into El Capitan the first time around without boot loader kext injection, the PLK needs to be rebuilt for the El Capitan volume like we did for the installer:
       
      1.  Boot into Yosemite with the kext-dev-mode=1 boot flag
      2.  Delete or Rename the original /System/Library/PrelinkedKernels/prelinkedkernel for the El Capitan volume —> OG.prelinkedkernel
      3.  Copy FakeSMC.kext and other necessary kexts (e.g. VoodooPS2Controller.kext for laptops) into the /Library/Extensions folder of El Capitan using Finder
      4.  Back in terminal, type the following lines, followed by <Enter> after each line to rebuild the prelinkedkernel.  In this example, the El Capitan volume is named "El_Capitan" - change if you have named it something else...
      sudo -s chmod -R 755 /Volumes/El_Capitan/Library/Extensions chown -R 0:0 /Volumes/El_Capitan/Library/Extensions touch /Volumes/El_Capitan/System/Library/Extensions kextcache -u /Volumes/El_Capitan exit 5. Install your Bootloader targeting the El Capitan volume.  This step is only necessary if you are installing El Capitan on a new drive without existing boot loader (not required if installing on a disk with existing boot loader beside Yosemite).
      6. Reboot your system without injected kexts into El Capitan!
       
       
      Other links
      The All-In-One Guide to Vanilla OS X for beginners
       
      Updates for Sierra and High Sierra   Custom Prelinkedkernel Generator Tool I have made a custom prelinkedkernel generator "PLK.tool" for Sierra + El Capitan.  Instructions:   1.  Download and extract the attached BaseSystem_PLK.tool.zip into your ~/Downloads folder.   2.  Copy any extra kexts necessary for booting your hack to ~/Downloads/BaseSystem/ExtraKexts (e.g. FakeSMC, VoodooPS2Controller), making sure SIP is disabled. 3.  Copy BaseSystem.dmg to ~/Downloads/BaseSystem  4.  Open terminal and run the following commands... cd ~/Downloads/BaseSystem chmod +x PLK.tool ./PLK.tool ---> supply your admin password ---> will place your new custom prelinkedkernel on the desktop.       macOS High Sierra bypass Firmware and MBR checks in post#13.
      BaseSystem_PLK.tool_ElCap.zip
      BaseSystem_PLK.tool_Sierra.zip
      BaseSystem_PLK.tool_Mojave.zip (need to run in Mojave to avoid dependency errors)
      BaseSystem_PLK.tool_Catalina.zip
    • By fusion71au
      Clover r5051 ISO compiled with GCC and minimal config.plist compatible for use in VMWare Workstation.
       
      Tested with unlocked Workstation 15 running OSX 10.9 -->10.15 guest in Windows X64 host.
       
      Installation
      1. Download and unzip "EFI_Clover_r5051 for VMware.zip". Mount Clover-v2.5k-5051-X64.iso by double clicking on it.
      2. Mount your VM's EFI System Partition eg in terminal
      sudo diskutil mount disk0s1   3. Copy EFI folder from step 1 into the EFI partition
      4. Shutdown the VM, add bios.bootDelay = "3000" to your VM's vmx file
      5. Reboot your VM, press <F2> to access the VMware Boot Manager and add CLOVERX64.efi to the boot menu.
       
      Substitute your own unique and valid MLB and ROM variables in the /EFI/CLOVER/config.plist (Rt Variables section) to activate iMessage/Facetime on your VM.
    • By Majed DH
      Hi everyone. 
      I have HP 15-da0xxx series laptop. i got macos mojave installed on it. but I was trying to get my intel graphics working but i couldn't change dmvt preallocation. 
      So I updated the bios (unfortunately). And since then i could not boot any version of clover. 
      I tried two versions that were working and even an installer that worked before is not working:
       
      I searched alot about the error and found nothing relared to macos or hackintosh..  would it be solved by patching the dsdt? 

      Any suggestions people ? 
    • By amadeusex
      Hi there y' all.
       
      I'm selling my hp z820 with the specs listed below since i accidentally bought me another one (that's what i told to my wife anyway).
       
      The machine runs flawlessly High High Sierra 10.13.6 and also has Win7 pro and Win10 pro licences tied to the machine.
       
      The machine is in Athens Greece
       
      I'm asking for 850 euros shipped within the European Union.
       
            Features     • Make: HP • Modell: Workstation Z820   • Processor: 2x Intel XEON Quad-Core E5-2670 • Chipset: Intel C602    • Memory: 64 GB ECC RAM • Sound: Realtek ALC262   • Graphics Card: nVidia Quadro K600   • SAS - Controller: LSI SAS2308 with RAID (0, 1, 5, 10) • SSD - 256 GB • DVD RW   • 2x Ethernet-LAN (RJ-45): 2 (Dual Gigabit - 1000Mbit/s)   • FireWire: 2x (1x Front + 1x Back) • USB 2.0: 5x (1x Front + 4x Back) • USB 3.0: 4x (2x Front + 2x Back)   • PS/2 • serial RS232 • Line-In • Line-Out • Microphone • FireWire (6polig)    • PSU: 1125 Watt    • (WxHxD): 203mm x 444mm x 525mm • Weight: 21,1kg   The machine is configured to also run MacOS 10.13.6 High Sierra without any hiccups and complete working power management.   Geekbench 4 64-bit  MacOs Results
      https://browser.geekbench.com/v4/cpu/12062123
      Geekbench 4 64-bit  Win10 Results
      https://browser.geekbench.com/v4/cpu/11972736
      The pictured drive trays are not included - the original placeholders will be mounted!


×