Contribute
Register

[Guide] HP ProBook/EliteBook/Zbook using Clover UEFI hotpatch (10.11)

Status
Not open for further replies.
Just updated the github project.

This changes the way the second battery object is dealt with. Previously BAT1._STA was renamed and replaced in SSDT-BATT*. There were quite a few patches to handle the different DSDTs for the different models supported. It was messy.

The new way, disables both battery objects (by assigning BAT0._HID and BAT1._HID to a bogus value), and creates a new battery object, BATC, which combines both batteries (if present) into a single power source. This results in a much simpler set of patches (all the _STA patches are gone), and one other side effect...

If you actually have multiple batteries present in your laptop (or battery in docking station?), the system will see it as one large battery, which is better than the second battery not being seen at all...

The update required changes to kexts, config.plist, and ACPI, so be sure to follow post #1 regarding github updates.

Please provide feedback, especially if you have two batteries.

Note: Inspired by recent work here: http://www.tonymacx86.com/threads/t450-battery-status-help.190668/
 
Updated my Elitebook 850 G2 as per Post#1.

Everything is working fine. Only one battery and no docking station but the meter is working as it should. Showing discharge on battery and charge when on AC power.

About to update my 4540s to the current project status.
 
Updated my Elitebook 850 G2 as per Post#1.

Everything is working fine. Only one battery and no docking station but the meter is working as it should. Showing discharge on battery and charge when on AC power.

About to update my 4540s to the current project status.

If you want to test other scenarios, test removing the battery while the computer is running (plugged into AC of course), booting without battery installed, and plugging the battery back in. Or even battery status after sleep/wake, as well as removing or adding the battery while the laptop is sleeping.
 
4540s Battery Test:

1.) Battery In w/ AC Power - Battery Indicator Shows %age and AC Power Indicator - Power Source: Power Adapter
2.) Battery In w/out AC Power - Battery Indicator Shows %age and Time Remaining on Battery Power represented in H:MM
3.) Battery Out w/AC Power - Battery Indicator shows X: No Battery Available | Power Source: Power Adapter
4.) Battery Out w/AC Power (Sleep selected/Blinking Power LED) - Wakes from sleep fine - Battery Indicator shows X: No Battery Available | Power Source: Power Adapter
5.) System Booted w/ Battery Out w/ AC Power - Login Screen Battery Indicator shows X: Once Logged in Battery Indicator shows X: No Battery Available | Power Source: Power Adapter
6.) Battery In w/AC Power (Battery inserted while sleeping) - Wakes from sleep fine - Battery Indicator Shows %age and AC Power Indicator - Power Source: Power Adapter

No abnormal or unexpected behavior noticed.
 
4540s Battery Test:

1.) Battery In w/ AC Power - Battery Indicator Shows %age and AC Power Indicator - Power Source: Power Adapter
2.) Battery In w/out AC Power - Battery Indicator Shows %age and Time Remaining on Battery Power represented in H:MM
3.) Battery Out w/AC Power - Battery Indicator shows X: No Battery Available | Power Source: Power Adapter
4.) Battery Out w/AC Power (Sleep selected/Blinking Power LED) - Wakes from sleep fine - Battery Indicator shows X: No Battery Available | Power Source: Power Adapter
5.) System Booted w/ Battery Out w/ AC Power - Login Screen Battery Indicator shows X: Once Logged in Battery Indicator shows X: No Battery Available | Power Source: Power Adapter
6.) Battery In w/AC Power (Battery inserted while sleeping) - Wakes from sleep fine - Battery Indicator Shows %age and AC Power Indicator - Power Source: Power Adapter

No abnormal or unexpected behavior noticed.

Super...! And as expected (because I tested the same on my 4540s here). Thanks for testing.

Hope to hear from someone that has two batteries connected...
 
Added support (it is the same as EliteBook 8x0 G1 Haswell). Please test.

To make it complete, will need custom USB information, post #1 "USB customization". But that you can't do until after you install.

Installation 10.11.5 ProBook 650G1 FullHD

I have Grafik glitches with boot the new created install USB Stick. I use your config_HD4600_4400_4200.plist
 

Attachments

  • IMG_0041.jpg
    IMG_0041.jpg
    944.7 KB · Views: 125
Last edited:
If you search with google you will find articles from Microsoft on how to transition a Windows install from MBR/legacy to GPT/UEFI.
Going to try that, Will update you after.
 
Installation 10.11.5 ProBook 650G1 FullHD

I have Grafik glitches with boot the new created install USB Stick. I use your config_HD4600_4400_4200.plist

Please Look at the Attached Files

You likely forgot to enable CSM/legacy in BIOS.
 
I've got some minor "problems" like the backlight setting and the sound volume is always reseted after a reboot / turning the laptop off/on. Also after every reboot iCloud pops up and asks for my password, it keeps forgetting it :D Messages doesnt work at all but it doesnt really bother me, even tho I would fix it if I could..

I've attached my Problem Reporting Files
 

Attachments

  • Branimir_02062016.zip
    3.7 MB · Views: 54
I've got some minor "problems" like the backlight setting and the sound volume is always reseted after a reboot / turning the laptop off/on. Also after every reboot iCloud pops up and asks for my password, it keeps forgetting it :D Messages doesnt work at all but it doesnt really bother me, even tho I would fix it if I could..

I've attached my Problem Reporting Files

Your files in ACPI/patched are not up-to-date with respect to the current project.

As for your NVRAM problem, it could be that native UEFI NVRAM is broken (for OS X anyways...). Many Skylake computers suffer from this problem.

You can test it...
Code:
sudo nvram test_nvram=ThisIsATest

Then reboot, and after... check to see if the value you set in NVRAM survived...
Code:
nvram test_nvram

It should display:
Code:
test_nvram	ThisIsATest

If it doesn't then your UEFI NVRAM services are broken, and you need to use emulated NVRAM:
- install EmuVariableUefi-64.efi
- install "RC scripts to boot volume"

Repeat the test.

As far as Messages, there is an iMessage guide linked from post #1. That or fixing NVRAM may also help with your iCloud issue.
 
Status
Not open for further replies.
Back
Top