This EFI is almost based on hpelitebook850g5-opencore project. Thanks @kecinzer for your hard work!
- Name: HP EliteBook 840 G5
- CPU: i7-8650U
- RAM: 16384MiB
- GPU: Intel UHD Graphics 620
- SSD: Samsung PM981 512Gb
- WLAN: Intel
- Bios ver: 1.10
- OpenCore: 0.6.2
- macOS: Catalina 10.15.7
- Wifi/bluetooth. Thanks for amazing kext from OpenIntelWireless
- Smooth trackpad like real one
- All ports work
- Sleep
- SSD PM981 is not working at all. So i must replace it with the gigabyte one
- iMess, facetime. I don't use them so i've not tried to fix
- Camera, fingerprint
- Set up bios in 850g5 link above
- Just complete Creating the USB
- Replace EFI folder in USB with EFI folder in this repository
- Boot into usb -> recovery -> format disk -> install
- After installation completed. Follow Post-Install
If have any issues, follow this debugging steps
Good lucks! :)