kinoute / Hack-HP-EliteBook-850-G5

A HP EliteBook 850 G5 Hackintosh running macOS Mojave 10.14.6.
43 stars 17 forks source link

Patch for newer BIOS #6

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi, i have Elitebook 840 G4 and same issue with newer Bios that won´t boot. Can you tell me how you fixed it to run newer BIOS. Thanks

kecinzer commented 3 years ago

New BIOS causes this in DSDT RTC device:

Device (RTC) { Name (_HID, EisaId ("PNP0B00") /* AT Real-Time Clock */) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x01, // Alignment 0x02, // Length ) IRQNoFlags () {8} }) Method (_STA, 0, NotSerialized) // _STA: Status { If ((STAS == One)) { Return (0x0F) } Else { Return (Zero) } } }

We need to return 0x0F. This can be fixed by ACPI rename or better way - by SSDT file. You can look at my repository. https://github.com/kecinzer/hpelitebook850g5-opencore/commit/65338feaa5d3cd005f8ba19ecc5250816d44d776

ghost commented 3 years ago

Hi, this worked great, i used ACPI rename method, could you help me patching my ssdt? i have no idea what to do? i attached my opencore ACPI Folder ACPI.zip

kecinzer commented 3 years ago

I think you just need that aml file from commit that I linked from my repo. As from you ACPI I can see that you use very old files.

ghost commented 3 years ago

you mean this file? https://github.com/kecinzer/hpelitebook850g5-opencore/commit/65338feaa5d3cd005f8ba19ecc5250816d44d776#diff-bc3b0c9ff89ab25292012e33f8def7992c2658aafcce6edf62bbaa893ffdbd9c

ghost commented 3 years ago

EFI/OC/ACPI/SSDT-SET-STAS.aml???

ghost commented 3 years ago

ok i added it, if you want to have a look, this is my repo https://github.com/DominikHackintosh/HP-EliteBook-840-G4-Hackintosh-Big-Sur/tree/master/EFI/OC

ghost commented 3 years ago

thank you it is really perfect!!!!

sinzii commented 3 years ago

New BIOS causes this in DSDT RTC device:

Device (RTC) { Name (_HID, EisaId ("PNP0B00") /* AT Real-Time Clock */) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x01, // Alignment 0x02, // Length ) IRQNoFlags () {8} }) Method (_STA, 0, NotSerialized) // _STA: Status { If ((STAS == One)) { Return (0x0F) } Else { Return (Zero) } } }

We need to return 0x0F. This can be fixed by ACPI rename or better way - by SSDT file. You can look at my repository. kecinzer/hpelitebook850g5-opencore@65338fe

Hey can I fix the issue using this method for the CLOVER EFI?