Joaotcs / Hackintosh-Elitebook-8x0-g5

14 stars 6 forks source link

8x0 G6 and 8x0 G5 #7

Open mahdose opened 3 years ago

mahdose commented 3 years ago

I am working on EliteBook 8x0 G6, as far as I know G5 and G6 are typically same form factor except of minor changes. I tried your EFI and I got panics. Any help? my repo can be found here

labrouss commented 3 years ago

you need to include the panic string but most common issue for panics is the NVME drive. Not all are supported and most common unsupported is PM981

Στις Παρ, 12 Φεβ 2021 στις 2:22 μ.μ., ο/η MAHDOSE notifications@github.com έγραψε:

I am working on EliteBook 8x0 G6, as far as I know G5 and G6 are typically same form factor except of minor changes. I tried your EFI and I got panics. Any help? my repo can be found here https://github.com/mahdose/Hackintosh-HP-EliteBook-840-G6

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Joaotcs/Hackintosh-Elitebook-8x0-g5/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD5OEDZL6X5ULXTCA4OOJDS6UMRJANCNFSM4XQTAP3Q .

lonacluka commented 3 years ago

Heres my working efi that could be a good start for you. based on kecinzer 840 g5 repo, but tweaked for my hp 840 g6 - trackpad and iGPU i think nothing else changed. MacbookPro15,2 based. Just fix your serlial/SMBIOS data. https://easyupload.io/999ake

Joaotcs commented 3 years ago

just edit trackpad and Igpu and it should work. But audio will not work (at least the earphone port, if I am not mistaken. incorporated mic will also not work on G6).

mahdose commented 3 years ago

Heres my working efi that could be a good start for you. based on kecinzer 840 g5 repo, but tweaked for my hp 840 g6 - trackpad and iGPU i think nothing else changed. MacbookPro15,2 based. Just fix your serlial/SMBIOS data. https://easyupload.io/999ake

Thank you so much! Saved so much time, I added to USB EFI and could boot, formatted disk as APFS but unfortunately freeze at 14 minutes remaining with no logs to show. I have the Samsung NVMe MZVLB256HAHQ-000H1 and I tried to replace NVMeFix kext to latest version and no luck. I used Lenovo NVMe firmware update utility and it tells I have latest version already (2018) :( Not sure this is because of this model of Samsung NVMe disk or something else :(

Any clue?

labrouss commented 3 years ago

Hi,

From a quick search MZVLB256HAHQ-000H1 looks like it’s PM981. I can’t tell about the NVMEfix cause I replaced mine PM981 since there was no fix at the time with a crucial P1 1TB.

This freeze at around 15 mins, in my case was caused by the NVME drive and later once I replaced that, from the dell Broadcom WiFi 1820A (BCM94350ZAE)

Kind regards, Konstantinos

On 14 Feb 2021, at 18:46, MAHDOSE notifications@github.com wrote:

 Heres my working efi that could be a good start for you. based on kecinzer 840 g5 repo, but tweaked for my hp 840 g6 - trackpad and iGPU i think nothing else changed. MacbookPro15,2 based. Just fix your serlial/SMBIOS data. https://easyupload.io/999ake

Thank you so much! Saved so much time, I added to USB EFI and could boot, formatted disk as APFS but unfortunately freeze at 14 minutes remaining with no logs to show. I have the Samsung NVMe MZVLB256HAHQ-000H1 and I tried to replace NVMeFix kext to latest version and no luck. I used Lenovo NVMe firmware update utility and it tells I have latest version already (2018) :( Not sure this is because of this model of Samsung NVMe disk or something else :(

Any clue?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

lonacluka commented 3 years ago

Probably nvme. Replace if you can, and if nvmefix.kext doesn't fix it. Audio works (alc215=id 18), including headphone port, except integrated microphone that doesn't work.

lonacluka commented 3 years ago

Also for MacbookPro15,2 ssdt-plug is different since cpu is PR00 for plugintype=1. If my cpufriend is not working good for you try to make your own https://github.com/stevezhengshiqi/one-key-cpufriend

I used both BCM94350ZAE and BCM94360NG but in the end returned to itlwm (intel) since broadcom didn't work good with my samsung galaxy buds microphone on both bigsur and Windows 10.

mahdose commented 3 years ago

Hi, From a quick search MZVLB256HAHQ-000H1 looks like it’s PM981. I can’t tell about the NVMEfix cause I replaced mine PM981 since there was no fix at the time with a crucial P1 1TB. This freeze at around 15 mins, in my case was caused by the NVME drive and later once I replaced that, from the dell Broadcom WiFi 1820A (BCM94350ZAE) Kind regards, Konstantinos

That's pretty much good feedback. I use native Intel WiFi and unsure if NVMe is the reason or just because I am using Big Sur 11.1 USB (maybe something different I do miss or changed from Big Sur 11.0 and Big Sur 11.1 / 11.2)

mahdose commented 3 years ago

Also for MacbookPro15,2 ssdt-plug is different since cpu is PR00 for plugintype=1. If my cpufriend is not working good for you try to make your own https://github.com/stevezhengshiqi/one-key-cpufriend

I used both BCM94350ZAE and BCM94360NG but in the end returned to itlwm (intel) since broadcom didn't work good with my samsung galaxy buds microphone on both bigsur and Windows 10.

I might be noob in this, How can I determine if CPUFriend is working or not? I have 8th Gen i5 CPU and and would this be the reason of freeze during installation?

lonacluka commented 3 years ago

No, the problem is your SSD. First thing you have to do is get another ssd, it is the reason for your freezes.

After you get another ssd, then we can continue ;)

lonacluka commented 3 years ago

https://dortania.github.io/OpenCore-Post-Install/universal/pm.html#enabling-x86platformplugin first step "Enabling X86PlatformPlugin" is done, with my ssdt-plug.aml

if you also have i5-8265u then you dont have to do anything else (after changing your ssd nvme drive).

Joaotcs commented 3 years ago

Sorry m8, but your pm981 is not good... I have PM961 and it works. DO NOT BUY: Micron 2200S, PM981 OR PM991

Joaotcs commented 3 years ago

Try to sell and buy another one

mahdose commented 3 years ago

Probably nvme. Replace if you can, and if nvmefix.kext doesn't fix it. Audio works (alc215=id 18), including headphone port, except integrated microphone that doesn't work.

I managed to get it finally work on non Intel NVMe, now for the mic thing, is there any solution?

lonacluka commented 3 years ago

Integrated microphone doesn't work on ALC215.

Only solution is (Bluetooth) headphones, or waiting for somebody smarter that us to buy the same laptop, fix it, and send push request with the fix to AppleALC repo :)

paoloz-652 commented 3 years ago

Heres my working efi that could be a good start for you. based on kecinzer 840 g5 repo, but tweaked for my hp 840 g6 - trackpad and iGPU i think nothing else changed. MacbookPro15,2 based. Just fix your serlial/SMBIOS data. https://easyupload.io/999ake

Hi Luka. Can you please share the EFI folder again? is it based on Opencore? I have tried, it kind of boot but trackpad works randomly and Graphic's still 7 MB. WiFi's not working as well... Elitebook 840G6, i7. Thanks. Would like to have Mojave, nothing beyond. Thanks. Paolo

Joaotcs commented 3 years ago

I once had a G6 I have done a modification of my own EFI. It worked, but not having the microphone killed me, sold the PC and bought a G5... Use Hackintool to mod config.plist to your proper iGPU... Or read Whatevergreen tutorial.

lonacluka commented 3 years ago

I created a new repo so we dont spam @Joaotcs anymore. https://github.com/lonacluka/hp_840_g6_hackintosh

I'm not planning to update it regularly like kecinzer and Joaotcs did :) So if anyone has something new/fix raise an Issue, make a PR..or if you have more will and time then I do, I can transfer ownership no problem.

Agreed, microphone not working is really annoying since everything else works (almost) perfectly. Doesn't bother me so much since I almost always use laptop with my bluetooth headphones (works perfectly with integrated Intel).

p.s. I changed my username, since the account was created for a school project and had a dumb username :) p.p.s My mistake, Bluetooth Mic doesn't work with Intel, but worked on Broadcom NG

lonacluka commented 3 years ago

@paoloz-652 you probably didn't set iGPU to 64mb from default 32mb value in your bios/efi

lonacluka commented 3 years ago

@Joaotcs I knew it I wasn't crazy and that bluetooth mic worked somehow before :) The thing is mic works only after reboot from Windows, but stops working after sleep: https://github.com/OpenIntelWireless/IntelBluetoothFirmware/issues/262

Also rebooting from Windows breaks brightness keys (f3,f4) for some reason so yeah, really annoying. Brightness keys dont bother me so much but the issue with the mic is really annoying. I will probably go back to Broadcom or try to swap this laptop for G5 like you did. Hope they fix IntelBluetooth and/or ALC215 codec soon.

mahdose commented 3 years ago

@lonacluka @Joaotcs well, I managed to get HP EliteBook G5 745 (AMD) HD Camera with internal mic module and installed on EliteBook 840 G6, the camera is detected within System Information as UVC Camera VendorID_3034 ProductID_22598 but doesn't work (at any app) and mic is not configured yet, here what layout id should I add to get mic work? Note that I still use internal speakers with ALC215 as Output audio (not sure in this case do I need to change entire system for speakers and mic) or mic will work with another layout ID / AppleALC ?

Joaotcs commented 3 years ago

@Joaotcs I knew it I wasn't crazy and that bluetooth mic worked somehow before :) The thing is mic works only after reboot from Windows, but stops working after sleep: OpenIntelWireless/IntelBluetoothFirmware#262

Also rebooting from Windows breaks brightness keys (f3,f4) for some reason so yeah, really annoying. Brightness keys dont bother me so much but the issue with the mic is really annoying. I will probably go back to Broadcom or try to swap this laptop for G5 like you did. Hope they fix IntelBluetooth and/or ALC215 codec soon.

Ohh, i Didnt really tested that! Thats good news.

@lonacluka @Joaotcs well, I managed to get HP EliteBook G5 745 (AMD) HD Camera with internal mic module and installed on EliteBook 840 G6, the camera is detected within System Information as UVC Camera VendorID_3034 ProductID_22598 but doesn't work (at any app) and mic is not configured yet, here what layout id should I add to get mic work? Note that I still use internal speakers with ALC215 as Output audio (not sure in this case do I need to change entire system for speakers and mic) or mic will work with another layout ID / AppleALC ?

Waste of money. The mic problem is motherboard related. About camera, it either works or not

mahdose commented 3 years ago

@Joaotcs well, this doesn't cost me a cent, I use working spare parts from defective laptops for testing purposes. As far as I know the internal mic is embedded within the HD camera module but was not sure it's part of motherboard :( So there is no means to use G5 modular speakers / mic+camera module to get it work?

Joaotcs commented 3 years ago

You can make camera work, if you pick a certain type of camera that is compatible. About mic, I doubt cuz it's related to connections to motherboard.

mahdose commented 3 years ago

You can make camera work, if you pick a certain type of camera that is compatible. About mic, I doubt cuz it's related to connections to motherboard.

Oh! Just realized it's an embedded motherboard chip :( my bad! just wondering why it's that complex to allow this work for ALC215 specifically :(

Anyway thanks to highlight this!

lonacluka commented 3 years ago

I was lucky and my cam model works.

If youre using bluetooth headphones consider switching to broadcom wifi/bluetooth. This one works with no additional kexts - bcm94360ng (50$ aliexpress). You will only have to set pci-aspm-default = 0 because it freezes on BigSur (and Windows and Linux) sometimes. Weirdly on Catalina never froze. https://osxlatitude.com/forums/topic/11322-broadcom-bcm4350-cards-under-high-sierramojavecatalinabig-sur/

lonacluka commented 3 years ago

edit: figured it out

6bit screen - no bueno with kaby lake/whiskey lake

stevedat commented 2 years ago

Alternative way for me is to use VoodooHDA.kext to get headphone mic working on Bigsur 11.0 and below. 830 G6 started having added from v1.4.6image