Jump to content

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


duduclx
 Share

17 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

  • Like 1
Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 months later...

 

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

Link to comment
Share on other sites

  • 1 month later...

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.

Link to comment
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.

Link to comment
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.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 1 year later...
  • 4 months later...
  • 1 month later...
  • 2 months later...
  • 3 months later...
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? 

Link to comment
Share on other sites

  • 1 year later...
  • 10 months later...
On 3/5/2020 at 4:34 AM, kidooe said:

sorry if that's old post im uploading fully functional DSDT for Hp elitebook 840 g2
feel free to use and response back if you found any issues.

 

 

DSDTpatched.aml

 

Hi

I am trying to install Catalina on a Elitebook 840 G2. 

 

I am not able to get your file (error when cliking on it)

 

Is there any one who has now installed Cataline on this Notebook and could share his EFI folder ?

 

Thanks

Link to comment
Share on other sites

 Share

×
×
  • Create New...