Coder Social home page Coder Social logo

hp-elite-x2-g1-hackintosh's Introduction

HP Elite X2 1012 G1 Hackintosh

Note: This is not a guide, merely an aid as to what this model requires. For a full guide, see here: OpenCore Install Guide

Hardware Specs:

MODEL    HP Elite X2 1012 G1
CPU:     Intel M7 6Y75
RAM:     8GB 1866MHz LPDDR3
GPU:     HD 515
AUDIO:   Conexant CX20724
Touch:   Wacom HID Based Display(WCOM4814)
WIFI:    Fenvi BCM94360NG

What's working

  • macOS Mojave 10.14.6, Catalina 10.15.7 and macOS 11.0.1
  • USB/C Hot-plug
  • USB-C DP/HDMI Output
  • Mic, speakers and headphones
  • CPU Power Management
  • Trackpad gestures
  • HiDPI
  • Bluetooth and Wifi
  • Touchscreen and pen
    • Using the Wacom Bamboo Ink Pen, all Wacom AES based pens should work with the HP Elite X2 G1 and G2
  • Battery readouts
    • Includes cycle count
  • Front webcam

What's not working

  • Battery temperature
    • This would require either sending a PR or creating a new plugin to read _BIF readouts including those not in the ACPI spec
  • GPU Based DRM
    • No iGPU has working DRM
    • Chrome plays Netflix just fine
  • Micro SD card reader
    • The G1's Intel based so no drivers, unsure what the G2 runs
  • Rear webcam
    • Rear camera's I2C based
    • Also why are you taking photos with a 12" tablet
  • Fingerprint reader
    • My model didn't ship with one, but in general they won't work

Untested

  • Thunderbolt
  • Hibernation
    • Currently unknown where issue lies
  • Pen pressure and tilt in macOS Sierra and newer
  • Smartcard reader
    • Don't own or work with smartcards
  • WWAN Card
    • Personally don't own any WWAN hardware so can't test
  • Accelerometer and Gyro
  • Light Sensor

BIOS Settings

For the most part it's pretty stock, main guys you need to change:

Built-In Device Options:

  • Video memory size = 64MB
    • Our framebuffer in macOS requires 34MB minimum, otherwise it'll crash

Power Management Options:

  • Wake on USB = False
    • Will get random XHC spams with this enabled

ACPI

For those curious, I've also provided an ACPI dump of my laptop(BIOS ver. 1.48 Rev.A):

Required SSDTs:

SSDT ACPI Patches Comments
SSDT-BAT A lot Fixes Battery Readouts
SSDT-EC-USBX N/A Creates a fake EC and adds USB Power Properties
SSDT-GPRW GPRW to XPRW Fix random XDCI spams
SSDT-HP-FixLidSleep N/A Fixes e005 keyboard spam
SSDT-PLUG N/A Adds plugin-type to \_PR.CPU0, allows XCPM to load
SSDT-PNLF N/A Adds Backlight control support
SSDT-PTS _PTS to XPTS Reroutes USB Shutdown calls
SSDT-SBUS-MCHC N/A Allows AppleSMBus and co to load
SSDT-SLPB N/A Fixes Sleep button support
SSDT-TBHP _RMV to XRMV Fixes USB-C Hot-plug
SSDT-TPL0 PS0/PS3 to XPS0/XPS3 Attempts to fix I2C touchscreen *
  • Need to look into proper _PS0/_PS3 fixes for I2C

For a full list of ACPI patches, see here: patches.plist

Removing XOSI Renames:

Thanks to DhinakG, XOSI renames are no longer needed. Instead only needing the following patch:

Comment | String |  Enable Touchscreen in macOS
Find    |  Data  |  95 4F 53 59 53 0B DC 07
Replace |  Data  |  95 4F 53 59 53 0B 00 00

Kexts

Hardware specific kexts:

Configuration Specifics

DeviceProperties:

  • PciRoot(0x0)/Pci(0x1F,0x3)
    • layout-id | Data | 03000000
  • PciRoot(0x0)/Pci(0x2,0x0)
    • APPL,ig-platform-id | Data | 00001E19
      • Apple uses 03001E19 on lower end MacBooks(M3)
      • M7 failed to boot with this so try either and see which works best for you

Kernel:

  • Quirks:
    • AppleCpuPmCfgLock set to True

NVRAM:

  • 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102
    • rtc-blacklist: 58597F80818283B0B1B2B3DEDF
      • Required to avoid CMOS errors

PlatformInfo:

  • Generic -> SystemProductName:
    • MacBook9,1

Miscellaneous Faixes

Battery Status

Grab CoconutBattery, and set the format:

%ww %r

The above will show both wattage and time remaining

HiDPI

See here: HiDPI Fix-up

TO-DO

Low Priority:

  • Look into temperature monitoring in SSDT-BATS
  • Add info on XOSI alternative
  • Install El Capitan 10.11 and test pen pressure

hp-elite-x2-g1-hackintosh's People

Contributors

khronokernel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hp-elite-x2-g1-hackintosh's Issues

Mac os partition registered but not showing in OC boot picker

Hello I've been installing mac os for a long time and I've never seen anything like this problem opencore doesn't see mac partition I've tried millions of times with :
Scan policy to 0
Hide auxiliary false
Turned hfsplus to openhfsplus and vboxhfs
My specs are:
M5
8gb of ram
256 gb of ssd (sandisk(windows installed))
64 gb USB drive and 32 gb
Please respond fast ๐Ÿ™
Thanks khronokernel for this configuration of opencore

Question about CPU PM

I'm not sure whether my board is faulty or this CPU behaves like that, but it has a strange CPU power management.
Under full load the frequency drops to 1-1,1 GHz and becames laggy, but boosts when the CPU usage is much lower.
Maybe there are some BIOS settings I need to change? Tried switching Power Control etc. but couldn't find the culprit.
Currently using Big Sur but was happening in Catalina as well.

Screenshot 2020-11-07 at 14 48 17

Screenshot 2020-11-07 at 15 03 07

Battery cycles

Hi cant seem to get battery cycles to work.
Can you help?? My os is Monterey
Regards

keyboard is not working

same model with hardware specs:

MODEL HP Elite X2 1012 G1
CPU: Intel M7 6Y75
RAM: 8GB 1866MHz LPDDR3
GPU: HD 515
AUDIO: Conexant CX20724
WIFI&BLUETOOTH: dw1560

Keyboard is not working, touchpad(mouse) is OK.
ACPI aml files and patchs already inported.
did u just inject VoodooI2C and VoodooI2CHID to make all the input device work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.