Coder Social home page Coder Social logo

profzei / matebook-x-pro-2018 Goto Github PK

View Code? Open in Web Editor NEW
365.0 21.0 48.0 191.64 MB

💻 macOS on Huawei Matebook X Pro 2018

License: Apache License 2.0

Shell 3.69% ASL 96.11% HTML 0.20%
macos hackintosh opencore bigsur macos-big-sur huawei-matebook huawei matebook matebook-x-pro macos-monterey

matebook-x-pro-2018's Introduction

macOS  on Huawei Matebook X Pro 2018

Huawei macOS Sonoma

Hits

⚠️⚠️ Advertisement ⚠️⚠️

Announcement - April 2023

My config supports native macOS loading drivers for our Thunderbolt 3 controller: the Thunderbolt hotplug is working without the need to plug in a device at boot!

What has been achieved so far:

  • Loading native macOS drivers for Thunderbolt Controller
  • Booting with Thunderbolt device connected
  • Thunderbolt Hotplug with Cold Boot
  • Thunderbolt Hotplug with Warm Boot
  • Thunderbolt Hotplug with no Device Connected at Boot
  • Sequence of multiple Thunderbolt Hotplug/unplug during same working session
  • Sleep with Thunderbolt Device Connected
  • Wake with Thunderbolt Device Connected
  • Shutdown with Thunderbolt Device Connected

What still needs to be done: see Changelog »

I published a YouTube video for documenting this success!

Thunderbolt_Hotplug

Warning

  • I'm sorry but I decided to remove all my releases: in this way I wanted to make it easier for people who have already copied what is on this site stating they made 'significant and unquestionable original changes' (instead of collaborating by suggesting pull requests)!
  • I'll update this repo but only as my personal online report for how well this laptop could be turned as a full working hackintosh with full support for Thunderbolt devices
  • I thank all those who have supported me during these two years of work, but seeing so many people copying (and then apologizing when confronted with a fait accompli!) templates + all the content of the related pages (even putting a link for a possible donation for their hard work!) + all the content of the ACPI folder of the EFI releases, has deeply disgusted me!

This repository is currently compatible with macOS Sonoma, Ventura, Monterey, Big Sur and OpenCore 1.0.0

macOS Status
Stable 14.3.1 (23D60) » latest Currently maintained
Stable 13 (22A380) » 13.6.6 (22G630) Compatible
Stable 12.0.1 (21A559) » 12.5.1 (21G83) Compatible
Stable 11.0.1 (20B29) » 11.6.8 (20G730) Compatible
Stable 10.15 (19A583) » 10.15.7 (19H15) Compatible
Stable 10.14 (18A389) » 10.14.6 (18G87) No longer maintained

If you find my work useful:

  • please consider giving it a star ⭐️ to make it more visible.
  • please consider donating via PayPal. donate

Configuration 💻

Specifications Details
Computer model Huawei Matebook X Pro 2018 Space Gray
Processor Intel Core i7-8550U Processor @ 1.8 GHz
Memory 8 GB LPDDR3 2133 MHz
Hard Disk LiteON SSD PCIe NVMe 512 GB [CA3-8D512]
Integrated Graphics NVIDIA GeForce MX150 / Intel(R) UHD Graphics 620
Screen JDI 3k Display @ 3000 x 2000 (13.9 inch)
Sound Card Realtek ALC256
Wireless Card Intel Dual Band Wireless-AC 8265/8275
Bluetooth Card Intel Bluetooth 8265/8275

Device Firmware Bios version: 1.37

Benchmarks
System configuration GPU - OpenCL Performance 4731

Compare with these.

Changelog

2024 - June - 09

See Current status »

About this Mac

DISCLAIMER ⚠️

  • For best results, read the entire README before you start and follow the install instruction throughly.
  • I am not responsible for any damages you may cause.
  • This is not a support forum.
  • Should you find an error or improve anything — whether in the config or in the documentation — please consider opening an issue or pull request.
  • Complete EFI packs are available in the Releases » page (please, refer to the rightside menu).
  • EFI is configured with Ventura, Monterey or Big Sur in mind: if you are using it on Catalina (or Mojave), read the whole guide to make the necessary changes.
  • EFI is configured for loading macOS from internal NVMe SSD both in dual-boot configuration with Windows and as a single OS (macOS installation on external SSDs are not taken into account)
  • EFI is not suitable, as it is, to be used for installing macOS: please refer to Wiki section for a detailed guide for installing macOS ».

Disclaimer

This repository is for personal purposes only.

Introduction

This repo contains the files needed for getting macOS working on a Huawei MateBook X Pro (2018 Edition) laptop with OpenCore.

  • This is intended to create a "fully" functional (as far as possible) hackintosh for the Huawei Matebook X Pro.
  • The project can be considered stable.
  • With each new release of macOS we need to resolve each new "minor issue" we run into. All of the steps I made to get to this point were a result of countless hours of reading along with trial and error, however I'm glad to say that I learned a lot in the meantime. I am by no means an expert so any effective help (suggestions, observations, ...) to tune this project is very appreciated!
  • If you would like to get started with creating a hackintosh on your MBXP but have non experience, I would highly recommend following Dortania's OpenCore Install guide » and then returning here for troubleshooting or last improvements.

Summary

  • The compatibility is very good for the most part, most of the stuff works like it would on a real MacBook, including camera, audio, touchpad, iCloud services.
  • The experience is pleasant, as the laptop is smooth and responsive under macOS Ventura.
  • Battery life is quite great (from personal experience it lasts from 8 to 10 hours for light works depending on its age with a behaviour very similar to Windows 10 as shown in the macOS menu bar screenshots below).
  • The Intel WiFi card is soldered onto the motherboard, which means it can't be replaced with a Broadcom one, but the Intel card is now functional (it is fine for most use cases).

MBXP Battery Menu bar

Generate your own SMBIOS Information

For privacy reasons, all SMBIOS information has been wiped out in the configuration file EFI/OC/config.plist. You need to generate your unique SMBIOS info by yourself (recommend to use CorpNewt's GenSMBIOS), and inject them into your config.plist.

  • With every EFI update you retrieve from here, please, remember to transfer your Device details under PlatformInfo -> Generic in your config.plist.
  • For more details on dual booting settings, please, see also below OpenCore and Windows Activation notes.

Status

  • Intel(R) UHD 620 Graphics card
  • Intel(R) Wireless-AC 8265/8275 & Intel(R) Bluetooth
  • Power Management with support for HWP (Intel Speed Shift & Intel SpeedStep)
  • Sleep and Wake (support for native macOS hibernatemode3)
  • Hibernation (support for native macOS hibernatemode25 with HibernationFixup.kext)
  • Battery support with better memory access and integration of Battery Information Supplement
  • Automatic Backlight control (with more granular levels)
  • Backlight shortcuts (F1 [brightness level down] - F2 [brightness level up])
  • Volume shortcuts (F4 [mute] - F5 [audio level down] - F6 [audio level up])
  • Audio for Realtek ALC256 card (via AppleALC.kext and layout-id 97)
  • Speakers (4 Channels) & Internal Mic
  • Headphone jack [2 in 1] (via ALCPlugFix)
  • HDMI 2.0 up to two 4K @60 Hz monitors (via LSPCON)
  • Native Color Profile for Display JDI 3k
  • TouchPad (via GPI0 interrupt mode) and native macOS gestures
  • Touchscreen
  • Updated support for LiteON SSD PCIe NVMe
  • PCI Devices latency support and complete description for System Information app
  • USB Ports Mapping (Type-A & Type-C) with proper power levels
  • Thunderbolt Port (with full native support!)
  • HD Camera
  • NVRAM native support

BIOS Settings

  • Main -> Thunderbolt Device -> Security Level -> No Security
  • Main -> Advanced -> PXE Device Enable -> Disable
  • Main -> Advanced -> Fingerprint Enable -> Disable
Notes
  1. Intel Bluetooth could not support some Bluetooth devices like some Bluetooth mouse since it is only a firmware injector; please, report any issues not here but only on OpenIntelWireless/IntelBluetoothFirmware Gitter Chat
  2. Touchscreen support is disabled by default since release v. 1.8.0. Why? It seems that all VoodooI2C versions after 2.4 are affected to a greater or lesser extent by Multi_GPI0 issues. The solution proposed so far by VoodooI2C developers is only a workaround and not a real fix: proposing to use the GPI0 pinning for touchpad and polling method for touchscreen is not a real fix because this approach increases interrupts and causes a degrade in battery life. This being the case and not needing to use the touchscreen in my daily work, for the moment I have disabled this function pending improvements that can only come from VoodooI2C developers.
  3. If you would like to increase benchmark values for your Intel UHD 620 Graphics card, you need to set rps-control key in DeviceProperties -> PciRoot(0x0)/Pci(0x2,0x0), but keep in mind that rps-control property has been removed to lower down GFX Request:
...
<key>DeviceProperties</key>
<dict>
    <key>Add</key>
    <dict>
        ...
        <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
        <dict>
            ...
            <key>rps-control</key>
            <data>AQAAAA==</data>
            ....
        </dict>
        ...
    </dict>
</dict>
...
Notes: external Display support

Intel UHD 620 Graphics card works well with external display from both USB type-C ports.

  • Suggestion: prefer USB type-C to DisplayPort cable over USB type-C to HDMI one where possible
  • Removed for PciRoot(0x0)/Pci(0x2,0x0) the key force-online (which was set to <data>AQAAAA==</data>). Why?
    • With latest WhateverGreen releases our available connector types are 1 LVDS (internal monitor) and 2 DP; using an external monitor connected with a USB C-type to DP cable I verified the correct recognition and functioning of my BenQ PD2500Q even after the system wake-up. This force-online key could instead be useful for connections using a USB-C type to HDMI cable.
    • Eliminating this key reduces tons of warning messages like [IGFB] [ERROR] [AGDC] Failed with status -536870212 for stream access aux in system log during boot phase: that warning is correct/normal since it reports that the display is not connected for the remaining ports (i.e. FB1 and FB2 in our case using only FB0 i.e. internal display); eliminating those warnings reduces log-file size (in debug-mode) from 2.6 to 1.6 MB thus reducing slightly boot loading time. Reference
  • force-online and force-online-framebuffers work around (possible) HDMI black screen issues after waking from sleep
...
<key>DeviceProperties</key>
<dict>
    <key>Add</key>
    <dict>
        ...
        <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
        <dict>
            ...
            <key>force-online</key>
            <data>AQAAAA==</data>
            <key>force-online-framebuffers</key>
            <data>Af////////8=</data>
            ....
        </dict>
        ...
    </dict>
</dict>
...
Notes: NVMe SSD support
  1. Very rarely some users reported the following kernel panic after sleep:
panic(cpu 0 caller 0xffffff800b6ce860): nvme: "Fatal error occurred. CSTS=0xffffffff
...

It's certainly a NVMe error, but it is not due to EFI released in the present repo:

In case you run into such an issue, it is recommended adding forceRenderStandby=0 boot-args in your config.plist to disable RC6 Render Standby.

  1. If your laptop has a Samsung PM981 NVMe SSD or any unsupported SSD listed in dortania/bugtracker#192, then it's obviously not supported here. I have no way to make my EFI work on broken IONVME compatibility SSDs.

Obvious solutions:

  • buy another (internal) NVMe SSD
  • or install macOS on an external SSD drive

Even if your macOS installed on an external SSD drive, you need to add a new ACPI patch to disable PM981 (or other non-supported NVMe SSDs) detection on macOS:

DefinitionBlock ("", "SSDT", 2, "HUAWEI", "_DRP05", 0)
{
	External (OSDW, MethodObj)

    External (_SB_.PCI0.RP05, DeviceObj)

    Scope (\_SB.PCI0.RP05)
    {
        OperationRegion (DE01, PCI_Config, 0x50, One)
        Field (DE01, AnyAcc, NoLock, Preserve)
        {
                ,   1, 
                ,   3, 
            DDDD,   1
        }
    }

    Scope (\)
    {
        If (OSDW ())
        {
            \_SB.PCI0.RP05.DDDD = One
        }
    }
}
Notes: Bios version

Starting from BIOS version 1.33 and newer, Huawei added to default DSDT.aml a new method, called _QBF, related to battery thermal management.

As default, in config.plist in ACPI -> Add section it has been added SSDT-BIOS.aml (as enabled) for introducing method _QBF also for BIOS versions up to 1.30: proper BIOS version check has been implemented.

Notes: OpenCore and Windows Activation

For dual-booting systems, Windows Activation may fail due to different hardware UUID generated by OpenCore

  • According to OpenCore Official Configuration, you are highly recommended to inject the original Windows system UUID to PlatformInfo -> Generic - >SystemUUID in EFI/OC/config.plist: run wmic csproduct get UUID command in Windows PowerShell app
Notes: AirportItlwm support in macOS Catalina (or Mojave)

If you use this release in macOS Catalina you need to make the following changes in the config.plist to make AirportItlwm.kext support active:

  • DmgLoading set to Signed
  • SecureBootModel set to Default
Notes: Thunderbolt support

As reported in NotebookCheck review our Matebook X pro (2018) is utilizing only half the PCIe lanes for its single Thunderbolt 3 port (TB). Thus, its PCIe x2 Thunderbolt 3 port is only capable of providing a maximum of 20 Gbps instead of 40 Gbps when compared to a standard Thunderbolt 3 port with PCIe x4 lanes.

The connector type is Usb-C and it can do multiple protocols (TB, USB 2/3/3.1, DP, etc...) with different backing controllers. The problem on Hackintoshes is mostly about TB on Usb-C, because the firmware and power management of Apple's TB-controllers works entirely different than those for other OS'es. So even if it's the same hardware found on Windows laptops, they don't "just work" because of the different firmware.

The ACPI-part for handling Thunderbolt 3 port and its power management has been implemented:

  • it enables not only the PCIe-to-PCIe bridge-mode of the TB controller but also the native drivers which make it possible to completely poweroff the controller after using the TB port, saving battery life and prevent the controller from preventing the CPU goes into deeper C-State
  • the ICM is disabled on boot to let OSX' drivers take over the job
  • the TB port works when any device is plugged into it at the boot time: this means no hot-plug
  • the TB 3 XHC Controller is working fine when any device is plugged into it at boot time
  • the TB drivers are loaded even if no device is plugged into it at boot time
  • the TB 3 XHC Controller bus is loaded even if no device is plugged into it at boot time

Thunderbolt Controller: drivers loaded

Thunderbolt Controller: PCI section

Thunderbolt Controller with OWC Envoy Express

Since I was given an OWC Envoy Express Thunderbolt 3 Controller is enabled in my default config.plist.

Steps for disabling support for Thunderbolt controller (\_SB.PCI0.RP09):

  • disable SSDT-JHL6240-AR2.aml
  • enable SSDT-DTB3.aml
  • disable all TB3: * binary patches

Real-time power management for Thunderbolt controller with Discrete GPU (NVIDIA GeForce MX150) removed at PCI level are shown:

Thunderbolt Controller with disabled Discrete GPU at PCI level

Thunderbolt Controller with disabled Discrete GPU at PCI level

For reference, see Thunderbolt 3 Fix and ThunderboltPatcher for related attempts to fix TB by patching its firmware.

What's not working due to Incompatible Hardware
  • Discrete graphics card (NVIDIA GeForce MX150) is not working, since macOS doesn't support Optimus technology
    • Have used SSDT-DDGPU.aml to disable it in order to save power.
    • Removed it at PCI level reducing time for putting machine to sleep and for resuming it from sleep (i.e. laptop is more reactive during these phases!)
    • \_SB.PCI0.RP01 is not present anymore in IORegistryExplorer tree (this is proof for having disabled GPU at PCI level!)

Discrete GPU removedat PCI level

  • Fingerprint sensor is not working
    • Fingerprint readers on Macbooks are managed by T2 chip which has not been very throughly reverse engineered yet
    • Have used SSDT-XHC.aml to disable it (in order to save some power).

Bootloader Firmware

  • Default bootloader: OpenCore 1.0.0 Official release.
    • Support macOS 10.15 ~ latest macOS release
    • As theme for OpenCanopy, a cleaner version with custom graphics has been provided by @R-Teer
    • See more info in Wiki section about migration from Clover.
  • No longer maintained: Clover r5118 Official release r5103 Dids release

Install Settings

If you try to use latest EFI Release for installing macOS onto your Matebook X Pro, you'll realize it didn't work... Why?

Because our EFI is very fine tuned to overcome some InsydeH2O firmware's limits and therefore it is not suitable for installation process as it is.

Please refer to Wiki section for a detailed guide for installing macOS.

Post - Install Settings

Enable Tap (with one finger) for Touchpad

Starting from VoodooI2C v. 2.4.1, the click down action is emulated to force touch, which causes the failure of click down and drag gestures.

For example, you can turn off Force Click in System Preferences -> Trackpad or choose three finger drag in System Preferences -> Accessibility -> Mouse & Trackpad -> Trackpad Options

Suggested configuration:

Touchpad Settings

Enable Apple Services

To use iMessage and other Apple services, you need to generate your own serial numbers. This can be done using CorpNewt's GenSMBIOS:

  • If Serial numbers have been correctly generated, these services (iMessage, FaceTime, ...) should work for you
  • If not, clean up and generate new serial number for your SMBIOS.

Default SMBIOS settings of this repo is MacBookPro15,2 MacBookPro14,1 MacBookPro16,3

  1. Launch Terminal app
  2. Copy the following script, paste it into the Terminal window, then press Enter
    git clone https://github.com/corpnewt/GenSMBIOS && cd GenSMBIOS && ./GenSMBIOS.command 
  3. Type 1 for downloading/updating MacSerial script
  4. Type 3, then press Enter
  5. Type MacBookPro15,2 10, then press Enter
  6. Then, go Apple Check Coverage page to check your generated serial numbers. If the website tells you that the serial number is not valid, that is fine. Otherwise, you have to generate a new set.
  7. Next you will have to copy the following values to your config.plist:
    • Serial Number -> PlatformInfo/Generic/SystemSerialNumber
    • Board Number -> PlatformInfo/Generic/MLB
    • SmUUID -> PlatformInfo/Generic/SystemUUID. Reboot and Apple services should work.
<key>PlatformInfo</key>
<dict>
    ...
    <key>MLB</key>
    <string>M0000000000000001</string>
    ...
    <key>SystemSerialNumber</key>
    <string>W00000000001</string>
    ...
    <key>SystemUUID</key>
    <string>00000000-0000-0000-0000-000000000000</string>
    ...
</dict>
  1. If they don't work, follow this in-depth guide. It goes deeper into clearing Keychain (missing this step might cause major issues), and much more.
Sleep & Hibernation settings

On a MacBook there are some stages of sleep:

  • Sleep or memory sleep: this is what happens when you let the computer idle for some time (power to display is turned off);
  • Standby or Safe Sleep: memory state is written to RAM and after a certain period memory power could be turned off;
  • Hibernation: all power is off and all state has been written to a disk image (/private/var/vm/sleepimage); you know this has happened if when you open the lid you see OpenCanopy boot picker, and then see a progress bar while it is loading state from disk.

Sleep stages for macOS

We could summarize sleep settings as the following:

  1. if sleep == 0, the computer will not sleep or hibernate any more
    • For MacBooks, the effective setting automatically changes whenever the charger is plugged in:
      • Normally, sleep minutes are simply equal to displaysleep minutes, which you can set in System Preferences -> Energy Saver
      • But under the Power Adapter tab, checking Prevent computer from sleeping automatically when the display is off option will override sleep minutes to 0
  2. if standby == 1 and hibernatemode == 3, the computer will wait another standbydelay seconds before really entering hibernation
  3. autopoweroff is just an extra implementation to fulfill regulatory requirement and has the same impact equivalent to 2)
  4. either 2) or 3) takes effect if one of them is reached at first
  5. if standby == 1 and hibernatemode == 25, the computer will enter hibernation immediately after sleep minutes.

For our Huawei Matebook X Pro sleep/standby function works flawlessly (both via software and via clamshell) like hibernation (suspend to disk or S4 sleep).

In order to get automatic sleep working properly like real Macs, the following settings are mandatory:

sudo pmset -a powernap 0 
sudo pmset -a proximitywake 0
sudo pmset -a tcpkeepalive 0
sudo pmset -a womp 0
  • powernap will wake up the system from time to time to check mail, make Time Machine backups, etc...
  • proximitywake can wake your machine when an iDevice is near.
  • tcpkeepalive has resolved periodic wake events after setting up iCloud.
  • womp is wake on lan.

After every update, ALL these settings should be reapplied manually!

Suggested configuration in System Preferences -> Bluetooth -> Advanced for Bluetooth devices for avoiding random wake events during sleep:

Bluetooth settings

Default macOS setting for MacBooks is hibernatemode 3 i.e. sleep mode:

  • standby causes kernel power management to automatically hibernate a machine after it has slept for a specified time period
  • standbydelay specifies the delay, in seconds, before writing the hibernation image to disk and powering off memory for standby

Concretely, the way I like to configure my Matebook X Pro is for it to do first a standby-only sleep, so that it quickly goes to sleep, with the chance of a very quick wake-up phase, and then, if I leave the laptop sleeping for a certain number of hours (say in my case 1 hour), it could write the RAM contents to disk and power off the computer, so as to save battery in case of an extended sleep (entering therefore hibernation phase).

In order to get this configuration, I suggest the following settings:

  • add to config.plist in NVRAM -> Add -> 7C436110-AB2A-4BBB-A880-FE41995C9F82 -> boot-args section the value hbfx-ahbm=129 which controls auto-hibernation feature introduced by HibernationFixup kext (in particular it is an arithmetic sum of EnableAutoHibernation = 1 and DisableStimulusDarkWakeActivityTickle = 128 flags) Reference for deeper insight
  • run in Terminal
sudo pmset -a standby 1 
sudo pmset -a hibernatemode 3
sudo pmset -a standbydelaylow 3600
sudo pmset -a standbydelayhigh 3600
  • reboot your laptop

The following image is a screenshot about my current settings:

macOS pmset current settings

Note: Keep in mind that, with the above settings, after 3600 seconds the laptop wake up itself only partially (display remains off) for switching from standby sleep to hibernation sleep: it is standard behaviour since all Macs use maintenance wake (dark wake - display remains off) to switch laptop from regular sleep into hibernation. It is not an issue! Reference

macOS hibernatemode3

Note: Hibernation mode can be enabled only via console command sudo pmset -a hibernatemode 25 and is fully supported by Matebook X Pro (obviously using HibernationFixup kext).

If, however, you would like to disable it, then

sudo pmset -a hibernatemode 0
sudo pmset -a autopoweroff 0
sudo rm -rf /private/var/vm/sleepimage
sudo touch /private/var/vm/sleepimage
sudo chflags uchg /private/var/vm/sleepimage

You can verify your power settings by typing in terminal sudo pmset -g live .

If you ever want to reset these settings: sudo pmset -a restoredefaults

About power consumption, HWMonitor reports for the idle state both before and after sleep phase the same value for "CPU package total" (0.65-0.70 W). Sleep discharge rate is about 1% every 4:30 hours (during night).

Power Management settings

With CPUFriend.kext and SSDT-PM.aml we achieved a very good power management on battery for Intel Core i7-8550U (without compromising performance) as reported in the following macOS menu bar screeshots:

  • a mean 10% rate discharge for hour
  • temperature range from 30°C to 40°C for light/medium CPU workload
  • a mean CPU package total value of about 0.65-0.70 W for idle state

MBXP Battery Menu bar MBXP Battery Menu bar

Suggested configuration for Battery and Power Adapter settings in System Preferences -> Battery are reported in the following:

Battery settings Power Adapter settings

It is also suggested to force pci-aspm-default property for activating on macOS Active-State Power Management for PCIe devices like:

  • PciRoot(0x0)/Pci(0x1c,0x0) which is PCI-Express bus for nVIDIA card
  • PciRoot(0x0)/Pci(0x1c,0x4) which is PCI-Express bus for NVMe SSD (LiteOn in my case...)
  • PciRoot(0x0)/Pci(0x1d,0x0) which is PCI-Express bus for Thunderbolt Controller and therefore optimize power consumption for these buses.

We need to point out that macOS is obviously designed for working well/optimally only on Mac hardware, so in our hackintoshes it could be advisable to force a such property whenever possible...

<key>PciRoot(0x0)/Pci(0x1c,0x0)</key>
    <dict>
        ...
        <key>pci-aspm-default</key>
        <data>AgAAAA==</data>
        ...
    </dict>
    ...
<key>PciRoot(0x0)/Pci(0x1c,0x4)</key>
    <dict>
        ...
        <key>pci-aspm-default</key>
        <data>AgAAAA==</data>
        ...
    </dict>
    ...
<key>PciRoot(0x0)/Pci(0x1d,0x0)</key>
    <dict>
        ...
        <key>pci-aspm-default</key>
        <data>AgAAAA==</data>
        ...
    </dict>

This feature is working well on my system. It has not been inserted as default in config.plist for helping people to install EFI releases on Huawei Matebook X Pro lacking a discrete nVIDIA GPU (typically with i5 architecture and Intel only GPU). Reference

Activate Surround Sound via MIDI

By default macOS only uses 2 out of our MBXP 4 speakers: if you want to achieve a surround sound system on macOS, you need to create an Aggregate Device. But then macOS does not allow you to control the volume of the sound: yes, it is real and is a general behaviour of MacBookPro machines.

For a detailed guide on how to activate surround sound via MIDI on internal speakers and native audio shortcuts, see Wiki section

Fix Headphone jack switch

Refer to my custom ALCPlugFix instructions for properly setting/fixing headphone jack switch for Matebook X Pro.

Undervolt using VoltageShift

Undervolting is a great way to maximise performance, lower power consumption and reduce temperatures.

For a detailed guide on how to undervolt our MBXP using VoltageShift from the EFI folder instead of disabling SIP, see Wiki section

Optional Settings

Add custom shortcuts to F7, F9 & F10 hotkeys

With the latest update and inclusion of the new SSDT-KBD.aml we are now able to reconfigure the shortcuts to custom settings.

For a detailed guide on how to enable original F7, F9 & F10 hotkeys using native Automator app, please see Wiki section.

Otherwise, you can follow these suggestions [credit @R-Teer]:

  • There are various freeware software tools to achive this such as Karabiner Elements or Ukelele.
  • Personally I use the application BetterTouchTool, which is paid but incredibly useful and allows custom trackpad gestures amongst other features.
  • My current settings are as follows:

BetterTouchTool Settings

Fix keyboard layout

If you have a keyboard that is not identified correctly, i.e. some keys are swapped (common if you don't have a US layout), you can force macOS to re-detect keyboard layout by deleting the .plist file where settings are stored running the following command:

sudo rm /Library/Preferences/com.apple.keyboardtype.plist

Then reboot: macOS will prompt a guided process to identify your keyboard.

Increase Launchpad icons number

By default (for a 13 inch MacBook Pro), the Launchpad shows the icons in 5×7 format.

Type in Terminal the following commands:

defaults write com.apple.dock springboard-rows -int 6
defaults write com.apple.dock springboard-columns -int 9;killall Dock

Relaunch the Launchpad to see the icons are changed now.

Finally you can revert to the default setting with the following commands:

defaults delete com.apple.dock springboard-rows
defaults delete com.apple.dock springboard-columns
defaults write com.apple.dock ResetLaunchPad -bool TRUE;killall Dock

(Warning: the last command also will remove any custom folders you have created)

Monitor temperatures and power consumption with HWMonitor

HWMonitor is relatively old and no longer supported, but it gets the job done.

Make macOS zsh Terminal colorful

The default macOS Terminal looks very lame since it lacks in visibility: things should be colorful like Ubuntu. In the following steps, a proper solution for that is given without installing any custom theme:

  • Choose any black theme first as the color combination of my snippet is dark theme friendly
  • Open Terminal and type:
cd
touch zshrc
open zshrc
  • Append the following code in the file:
export CLICOLOR=1
export LSCOLORS=GxBxCxDxCxegedabagaced
  • Save the file and quit your default editor
  • In Terminal type:
mv zshrc .zshrc
  • Quit Terminal (cmd + q)
  • Now open a new Terminal window and the changes will be reflected

How did the customization worked?

By setting CLICOLOR=1 you are enabling colors.

LSCOLORS is the variable where you will define which file should display what color: it is used to color the directory and file list. It provides you 11 positions, each with FB (foregroundColor backgroundColor) combination. Thus it contains 22 characters. Below is the details of which position means what:

  1. directory
  2. symbolic link
  3. socket
  4. pipe
  5. executable
  6. block special
  7. character special
  8. executable with setuid bit set
  9. executable with setgid bit set
  10. directory writable to others, with sticky bit
  11. directory writable to others, without sticky

The colors for each position are placed as FB format; below is the list which color means what:

  • a: black
  • b: red
  • c: green
  • d: brown
  • e: blue
  • f: magenta
  • g: cyan
  • h: light grey
  • A: bold black, usually shows up as dark grey
  • B: bold red
  • C: bold green
  • D: bold brown, usually shows up as yellow
  • E: bold blue
  • F: bold magenta
  • G: bold cyan
  • H: bold light grey; looks like bright white
  • x: default foreground or background

The colors mentioned above are ANSI colors, but according to the version of your macOS or terminal, they may differ a little.

Remove Eject icon from macOS menu bar

Apple no longer sells any Mac with a built-in optical drive, but many users still rely on CDs, DVDs, and Blu-ray discs for both work and entertainment.

How do I get rid of this icon?

  • Press and hold the Apple/Command key
  • Click and drag the Eject menu icon off the menu bar
  • Once you start dragging the Eject icon, you can release the Apple/Command key
  • When you see a small "x" icon appear, then release the mouse button: it will remove the Eject icon from your menu bar.

How to add Eject icon to menu bar

  • From the macOS desktop, make sure Finder is the active application and then select Go -> Go to Folder from the menu bar. Alternatively, you can use the keyboard shortcut Shift-Command-G
  • Enter the following location: /System/Library/CoreServices/Menu Extras/
  • Find and double-click on Eject.menu
Dual Booting: fix Windows time

Windows uses local time by default while macOS uses universal time. You can switch Windows to use universal time. Open up a command prompt in Windows as an administrator and copy and paste this in:

reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_QWORD /f

That will make Windows use universal time instead of local time. Then update your clock via the built-in internet time setting to update the time.

Terminal Commands

--> macOS specific

Disable Gatekeeper:

sudo spctl --master-disable

Disable Logging:

sudo rm /System/Library/LaunchDaemons/com.apple.syslogd.plist

Make dock animation faster and without delay:

defaults write com.apple.dock autohide-delay -float 0
defaults write com.apple.dock autohide-time-modifier -float 0.5
killall Dock

Show all Files in Finder:

defaults write com.apple.finder AppleShowAllFiles -bool true
killall Finder

Show User Library in Big Sur:

setfile -a v ~/Library
chflags nohidden ~/Library

Sidecar:

defaults write com.apple.sidecar.display AllowAllDevices -bool true
defaults write com.apple.sidecar.display hasShownPref -bool true

Update PreBoot Volume:

sudo diskutil apfs updatePreboot /

--> Hackintosh specific

Check working XCPM configuration:

sysctl machdep.xcpm.mode
   // If it returns '1', then it means the XCPM is active.

Check if the X86PlatformPlugin.kext is loaded:

kextstat|grep -y x86plat

Check loaded/injected kexts:

kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'

Debug ACPI Hotpatches:

log show --predicate "processID == 0" --start $(date "+%Y-%m-%d") --debug | grep "ACPI"

Debug Sleep/Wake-up issues

  • Clean all the logs: sudo log erase --all
  • Enter sleep mode: pmset sleepnow
  • Wait a few minutes so the logs can collect some data and then wake up the machine
  • Run log show --style syslog | fgrep "[powerd:sleepWake]"
pmset -g assertions
pmset -g

Check sleep log: pmset -g log | egrep '\b(Sleep|Wake|Start)\s{2,}'

Save last boot info:

log show --predicate 'process == "kernel"' --style syslog --source --debug --last boot > sys_log.txt

Update tracker

Item Version Remark
MacOS 14.5
OpenCore 1.0.0 Default Bootloader
Lilu 1.6.7 Kext/process/framework/library patcher
WhateverGreen 1.6.6 Handle Graphics card
AppleALC 1.8.9 Handle/fix onboard audio
CodecCommander 2.7.2 Fix headphone audio switch
CPUFriend 1.2.7 Power management
HibernationFixup 1.4.9 Handle hibernate status
IntelBluetoothFirmware 2.4.0 Handle Bluetooth
AirportItlwm 2.3.0 alpha Handle native Wi-Fi card
BlueToolFixup 2.6.8 Fix Bluetooth for macOS 12+
NullEthernet 1.0.6 Fake Ethernet card
NoTouchID 1.0.4 Disable TouchID
NVMeFix 1.1.1 Fix for NVMe SSDs
RestrictEvents 1.1.3 Block unwanted processes
VoodooI2C 2.8 Handle I2C device
VoodooI2CHID 2.8 Touchpad I2C satellite
VoodooPS2Controller 2.3.3 Enable keyboard, alternative trackpad driver
VirtualSMC + plugins 1.3.2 SMC chip emulation
USBInjectAll 0.7.7 Inject USB ports
VoltageShift 1.25 Undervoltage tool

Dev. Notes

In Wiki section are stored some significant/advanced technical guides.

USB port mapping scheme

Proper SSDT-XHC.aml is used for USB Host Controller (XHCI-Device-ID: <2f 9d 00 00>): this file is configured to map only the necessary ports (tested with IOReg) with the correct connector type and prevent it from shutdown issues.

Port Address Physical Location Internal/External
HS01/SS01 00000001/0000000D Left Port type-C (Power Source) - next to 3.5mm jack port E
HS02/SS02 00000002/0000000E Right Port type-A E
HS03 00000003 Left Port type-C Thunderbolt E
HS05 00000005 Bluetooth USB Port I
HS07 00000007 Integrated HD Camera module I
Boot arguments

A very minimal set of boot arguments has been achieved for actual config.plist:

  1. igfxrpsc=1 enables RPS control patch and improves IGPU performance
  2. itlwm_cc=IT changes/enables the country code to IT-Italy for AirportItlwm.kext
Fixing Xcode issue

If you encounter an issue with Xcode, you could kill it with the following commands:

killall Xcode
xcrun -k
xcodebuild -alltargets clean
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache"
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache"
rm -rf /Applications/Xcode.app
rm -rf ~/Library/Caches/com.apple.dt.Xcode
rm -rf ~/Library/Developer
rm -rf ~/Library/MobileDevice
rm -rf ~/Library/Preferences/com.apple.dt.Xcode.plist
rm -rf ~/Library/Preferences/com.apple.dt.xcodebuild.plist
sudo rm -rf /Library/Preferences/com.apple.dt.Xcode.plist
sudo rm -rf /System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.bom
sudo rm -rf /System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.plist
sudo rm -rf /System/Library/Receipts/com.apple.pkg.XcodeSystemResources.bom
sudo rm -rf /System/Library/Receipts/com.apple.pkg.XcodeSystemResources.plist
sudo rm -rf /private/var/db/receipts/com.apple.pkg.Xcode.bom
Fixing Command Line Tools

It may occur Big Sur (or Xcode) updates remove the CLT which are, for example, required by Homebrew. Simply removing their folder and reinstalling them worked; open your Terminal app and type the following commands:

sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Fixing Notification banner

It may occur some notifications won't appear in Big Sur (check you don't have "Do not Disturb" on...). Simply deleting ~/Library/Preferences/com.apple.ncprefs.plist and then restart your machine.

Changing Mac computer name
  • Open your Terminal app and perform the following tasks to change the workstation hostname using the scutil command
sudo scutil --set HostName ""
sudo scutil --set ComputerName "MacBook Pro"
sudo scutil --set LocalHostName MacBook-Pro

where

  1. HostName is your fully qualified hostname
  2. ComputerName is the user-friendly computer name you see in Finder
  3. LocalHostName is the name usable on the local network i.e. the Bonjour hostname of your Mac
  • Flush the DNS cache by typing dscacheutil -flushcache
  • Restart the device.
Fix AppleID issue on macOS Catalina
  • If you encounter the problem with AppleID which cannot login and logout, this problem happened on both Hackintosh and Macintosh.
  • Fix this issue with the following commands:
sudo -v
killall -9 accountsd com.apple.iCloudHelper
defaults delete MobileMeAccounts
rm -rf ~/Library/Accounts
killall -9 accountsd com.apple.iCloudHelper
sudo reboot

Credits

Standing on the shoulders of giants! Based on the works of many great people.

The greatest thank you and appreciation to Zero-zer0, GZXiaoBai and Benbender whose work is very inspiring!

And to everyone else who supports and uses my repo.

Other Matebook X Pro repositories [Old]
  • Gnodipac886's MatebookXPro-hackintosh repo: this project was initially based on the hard work done by Gnodipac886 guy, but now it can be considered as a different project due to many and original very significant personal improvements in ALL the sections.

License

This repo is licensed under the APACHE-2.0 License

OpenCore is licensed under the BSD-3-Clause License


matebook-x-pro-2018's People

Contributors

imgbotapp avatar kian1991 avatar myselfghost avatar profzei avatar r-teer avatar tetrois avatar venipa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

matebook-x-pro-2018's Issues

Updating to 10.15.6

After the progress bar I get this message in the updater

Unable to install MacOs on the computer
An error occurred while generating the kernel cache
Then I have to do reboot

// using opencore
10.15.5 supplemental update

Bluetooth doesn't work properly

I just tried connecting my P30 Pro via Bluetooth and everything went smooth.

When I tried to send a file with Bluetooth I realized that the connection was gone.

It'll connect for like 5 seconds and drop it immediately.

I use your Clover folder with catalina plist on 10.15.4 install.

Delay when booting

Hi mate, finally got back into hackintoshes with your build, everything so far is working fantastic

Have a very small issue with a delay when booting. Clover seems to be hanging for around 6-8 seconds right after the huawei OEM boot logo. It seems like clover is preloading? is there any way to minimise the effect of this delay? I've never had delays with clover in the past.

Im using the new catalina clover plist and running 10.15.5

Left USB-C Thunderbolt port not working properly

I am observing some interesting behaviour with the thunderbolt port. When I boot up with nothing plugged in and try to connect a storage device to that port no device is connected. However, USB HID devices work (keyboard, mouse) as expected.

More interestingly, if I start with the computer off and the storage device plugged in and then boot into OSX, the device will be connected and will show up. If I unplug and plug back in the storage device it will not show up as a connected device.

Intel WiFi Speed!

Hi

When I do speed test I get about 30 mbps down and 12 mbps up on my 500/500 mbps plan. Any update/fix to get better speed?

10.15.5 Supplemental Update

After the supplement update which released yesterday I can‘t get MacOS to boot
Is anyone having the same problems?

Log output on startup and shutdown

Hi,

Thank you for the update. Everything seems to work fine for now, but i get log output on startup and shutdown. I have found some failed operations in the log files, but don't know if that's normal or not. I've attached the log file.

sys_log_roshaanv.txt

Battery percentage not working on Catalina 10.15.6

Hi, I first tried the Clover version of your repo where the brightness control buttons were not working, then I switched to the OpenCore version, cleaned extension cache and nvram and used the cleaning sh file for Clover.

Brightness keys are working now but the battery always shows 100% and if connected to AC it always shows charging even if it is fully charged. Matebook X Pro 2018 i7 16GB RAM.

Did anyone else encounter this problem?
I am on OpenCore 0.6.0 and used the release 1.3.0 version of your repo.

Disable the touch screen

Hey, thanks for all the efforts. I have a question about how to disable the touch screen. My screen has a crack on it and some random clicks may happen if I switch it on.

So how can I turn it off? Which kext file should I delete?

Thanks!

Implementing battery thresholds

First, thank you for your great work !

There is one feature of our Matebook that I miss from Windows/Linux : setting battery thresholds.

What is it ?

When you use your laptop plugged in the AC power for a long time, it’s healthier to keep your battery mid-charged. So, if you rarely use your Matebook in battery mode, setting a threshold greatly increases your battery’s lifespan in the long-run.

How does it work ?

There is a minimum and a maximum values stored inside the Embedded Controller (EC) within the ACPI tables. For example, if you set it to 50 / 60, your battery will charge up to a value between 50% and 60% and then, the computer will only drain power from AC, letting your battery idle.

Under Windows, this feature is handled by Huawei’s built-in « PC Manager ». Under Linux, it has been implemented through scripts writing custom values to the EC tables (https://github.com/nekr0z/linux-on-huawei-matebook-13-2019/blob/master/batpro) or through cleaner ACPI methods (https://github.com/aymanbagabas/Huawei-WMI).

How can we make it work under MacOS ?

From what I understand from nekr0z’s script, to implement this feature, all we have to do it to write the minimum and maximum thresholds to the 0xe4 and 0xe5 registries of the EC’s tables (nekr0z/linux-on-huawei-matebook-13-2019#2 (comment)).

People successfully implemented this feature for other laptop brands using RehabMan’s kext OS-X-ACPI-Poller (https://github.com/RehabMan/OS-X-ACPI-Poller). An example with Lenovo laptops : https://www.insanelymac.com/forum/topic/342280-battery-charge-thresholds-and-related-controls/

This method seems to be very similar to RehabMan’s approach to controlling fans through custom EC values : https://www.tonymacx86.com/threads/new-fan-control-dsdt-for-silent-fan-at-higher-temps.72043/

I’ve spent some time collecting all of the useful details, but actually implementing this feature for the Matebook X Pro is way beyond my personal abilities… ATM, I use a Linux USB installation to set the threshold from there, and I then reboot to MacOS. But this is far from convenient, and the values get reset from time to time…

I think adding this feature to your guide would be very nice and useful for many users. Would you be interested to have a look at it ? Even though I’m a total beginner with Hackintosh, I would do my best to help you, of course.

Sound issue

Hi! I am having problem with the sound output device. When I plug a headset I have two headphones entries on System Preferences -> Sound, and after some random time, the sound switches between these outputs automaticaly. So I need to switch between these to get sound. I don´t if it there is any error on the sound kexts or what.

Is the OC method for Big Sur valid for 2019 MBXPro Version?

Hi!

I was able to successfully install Catalina on my MBXPro 2019 i7 using your amazing guide here https://github.com/profzei/Matebook-X-Pro-2018/wiki/Upgrade-to-macOS-Big-Sur but using the clover folder from the forked repo you did from laozhiang using the CLOVER method, but I'm facing ramdom kernel panic related with iGPU so now I'm wondering if it is possible to reinstall Catallina with OC proccess in order to fix it or at least have a better OS installation not prone to mess up on OS updates, since I read some drivers from Clover are not compatible with OC I'm posting this here due to your repo is the most active and complete on this days.

Thanks for all your Work.

Regards

How to activate intel wifi card?

What should I do in order to test this awesome project?
https://github.com/zxystd/itlwm

Did you disable the Intel wifi card so that I first need to enable it in order to make itlwm work?

I'd appreciate a noob friendly step by step what to do so that my intel wifi is in working mode.

Thanks for your hard work :)

Won't boot to install. Black Screen after "Boot macOS Install from maxOS Base System"

So, I'm following the instructions from the below guide, but using the BOOT and CLOVER files from this repo instead of those in gnodipac's

https://github.com/gnodipac886/MatebookXPro-hackintosh/blob/master/install-without-windows.md

Spec's
i7-8550u
16GB Ram
Toshiba 512GB M.2

Trying to install Catalina 10.15.4 downloaded using gibMacOS, and using the makeinstall.bat also in gibMacOS. Then swapping the Boot and Clover files from this repo into the EFI folder on the flash drive... If I use gnodipac's files from his repo, it pops the Apple logo and stops. Never shows a loading bar or does anything (left it for like 45 minutes). If I use the one's from this repo, it goes to black screen and wont do anything else (also left for about 45 minutes).

Am I missing something? I've followed the guide to a T to this point.

Airdrop

Would airdrop be possible at all now there is a functioning kext for the Intel WiFi, or is this likely impossible?

Bluescreen when booting to windows!

When I boot using OpenCore to windows 10 I got bluescreen with stopcode ACPI_BIOS_ERROR.

Mac osx Catalina works perfect, I think its DSDT problem and windows doesn't like the DSDT patch! any help to fix booting to windows using OpenCore 0.5.9?

Opencore Not listed in F12 boot menu

I'm having problems adding opencore to the bootmenu am j missing smth? Added the EFI stuff etc it just shows windows boot manager.

Opencore documentation does not provide enough information.

OpenCore not longer showing under EFI Boot Devices! (Solved)

Hi,
After updating windows 10 to v 2004 and config.plist to support OpenCore v. 0.6.1
OpenCore not longer showing under EFI Boot Devices, its just showing Windows Boot Manager, and its booting now direct to windows. But when changing bootmgfw.efi to bootmgfw-orig.efi, OpenCore list appears again but only shows mac partition and can normally boot to macintosh. But windows partition disappears instead. What happened!, can anyone help me on what I can do to get OpenCore back to work as it was before, which I could select OpenCore for Macintosh and Windows Boot Manager for windows 10 by holding F12.

Solved here: #50 (comment) Thanks to R-Teer

Kernel Panic when asleep

After the laptop is put to sleep for a while, kernel panics happen and the system reboots. Not sure if its related to having the laptop in clamshell mode, with 2 external displays attached. The laptop will sleep for a while, but sometimes the panics will randomly happen.

On Catalina 10.15.2

Screen Shot 2020-06-20 at 9 56 48 AM

Kernel panic while in sleep. Thunderbolt power on failed

panic(cpu 2 caller 0xffffff7f87c5f399): "UPSB(MacBookPro14,1): thunderbolt power on failed 0xffffffff\n"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/IOPCIFamily/IOPCIFamily-370.100.21/IOPCIBridge.cpp:1398
Backtrace (CPU 2), Frame : Return Address
0xffffff82079fba60 : 0xffffff800711f5cd
0xffffff82079fbab0 : 0xffffff8007258b05
0xffffff82079fbaf0 : 0xffffff800724a68e
0xffffff82079fbb40 : 0xffffff80070c5a40
0xffffff82079fbb60 : 0xffffff800711ec97
0xffffff82079fbc60 : 0xffffff800711f087
0xffffff82079fbcb0 : 0xffffff80078c27cc
0xffffff82079fbd20 : 0xffffff7f87c5f399
0xffffff82079fbd40 : 0xffffff7f87c46fcf
0xffffff82079fbda0 : 0xffffff7f87c4750e
0xffffff82079fbdc0 : 0xffffff7f87c456f6
0xffffff82079fbe10 : 0xffffff7f87c5001f
0xffffff82079fbe30 : 0xffffff80078148a4
0xffffff82079fbea0 : 0xffffff80078146aa
0xffffff82079fbec0 : 0xffffff8007161565
0xffffff82079fbf40 : 0xffffff8007161091
0xffffff82079fbfa0 : 0xffffff80070c513e
Kernel Extensions in backtrace:
com.apple.iokit.IOPCIFamily(2.9)[BE052F4D-9B80-3FCD-B36D-BACB7DEE0DF2]@0xffffff7f87c3e000->0xffffff7f87c76fff

BSD process name corresponding to current thread: kernel_task
Boot args: -cdfon -igfxmlr darkwake=1 gfxrst=1

Mac OS version:
19F101

Trackpad doesn't work anymore

Hi,

First of all, thank you for your work on Matebook Hackintosh. I really appreciate it.
Now to my problem: Everytime I replace the old files with the new ones (11.05.2020) the Trackpad stops working. I then have to copy over the old files to get it working again. I don't know if this is the case for only my Matebook or others too. I also get log output when I start or shutdown my Matebook.

EDIT: Added a picture of the log on startup where it mentioned a voodooi2c warning. Could perhaps say something about the problem. The quality isn't great, because I extracted the picture from my smartphone's slo-mo recording in low light. If there is a way to get the log file, let me know and I will add it.

voodoo error

Any ideas where the problem might be?

Processor speed limit. Not allowing to boost

Has anyone noticed the processor not hitting boost frequencies?

Screen Shot 2020-07-06 at 10 57 52 PM

Im assuming this is something to do with the "Balance" power management. Does anyone know how I could go about increasing the power limits? Im fine with the cpu hitting 80 degrees under load

Thunderbolt Port

Goodwork man! I have a question about your update, can the thunderbolt port work with eGPU?

Can't boot install USB X Pro 2019 i5 8265u

I am get stuck on "ApplePS2Controller: notification consumer published: ApplePS2Mouse". Researching this now. I need to start from scratch again as if I am being honest, I am not 100% sure what drivers/kexts etc I had copied over when getting the above.

Is it advised to copy only the Boot and Clover folders from this repo to the EFI folder on the usb installer? If so, is choosing the Catalina locked config the correct choice? I am attempting to install Catalina of course! Thanks.

Trackpad Occasionally Stops Working After Sleep

Once I close the lid to sleep my MBXP (2018), there is a chance that once I reawaken it, the trackpad stops working. This isn't a reproducible issue but it is annoying since it requires a full restart. I have already tried to update VoodooI2CHID.kext and VoodooI2C.kext to v2.4.4 but that hasn't fixed the issue. It might be of use to note that if I plug in an external mouse, I am able to control my cursor. I am on Catalina 10.15.6

Delay when weak from screen off

Hi, there

Recently, I have found that my screen have about 5-10 seconds delay when weak from screen off. It's a little problem but still a little annoying. During this delay, I can see that the screen's led were light up, but screen shows a black screen, (sometimes gray screen). During this black screen I'm able to hear the system tone and I can enter my password than goes to desktop in dark. Which means system was weaken immediately while screen doesn't. I guess there might be something wrong with the graphics card driver.

I have executed your commend about "Power management: Hibernation". Do you have the same problem? pls let me known, thanks!

Touchpad is not recognized correctly in Big Sur beta 11

I've installed Big Sur beta 11 effortlessly with this repo. Thanks.
However, System Preference > Trackpad is trying to find bluetooth trackpad.
The touchpad doesn't seem to recognized correctly and it is not working properly, too.
I've reset NVRAM and also updated VoodooI2C, but it didn't help.
I had no problem with Catalina. Am I too early to install Big Sur?

Re-enable touch screen functions

Hi Prof, great work as always. I have just updated to the new opencore setup and have successfully upgraded to 10.15. 6

Is there a way to reenable the touch screen whist keeping the track pad improvements? The track pad is working much better with multitouch but I use the touchscreen frequently in applications such as logic and other VST softwares for music production and it would be great to have the option to use it again

Sound problems

Hi mate!
First of all, great work! I'm having problem with sound devices. In system preferences I have two devices as you can see in the image:
image
At first I thought it was just a glitch, but then when it comes to have calls with zoom, hangout or whathever, at cetain time the sound goes to the other device, so I have to switch between them everytime the sound stops. Also the headset microphone does not work (plugged via jack port).

Audio shortcuts don't work.

They've never worked for me but looks like they should (?)
I'm just using the Multi-output device.
Any advice is welcome :)

performance of igpu(can not stick on 1.1 Ghz)

Hi,
I'm the guy(i5-8250U+UHD620+MX150) from gnodipac886 's issues page. After trying your config, I found my other small issues such as usb_c as well as bluetooth now function well, which cannot work properly before. Thank you a lot!
But, the IGPU never comes to 1.1Ghz since 5days ago, what make me really confused is that, it do really reach 1.1G for 5 continues reboots after first install your config(I replace your CPUFriendDataProvider.Kext whit OneKey version), but it just disappear after 6th boot next day and never come back again. So does the power of cpu package, It can never goes over 15W since that, Even though I didn't change anything. now what ever I do I can never reach 1.1G, including re_install clover, re_copy EFI, re_install MacOS, which really confusing me nowadays.
Do have any idea? what's the main reason that block the IGPU frequency, I guess there must be tiny difference between I7 & I5 's ssdt. Thanks~

Brightness on lowest level turns screen backlight off

When brightness is set to the lowest possible level the screen backlight is turned completely off.

Expected behaviour: The lowest setting should set minimal brightness but not turn the backlight off.

Steps to reproduce: Manually set brightness to lowest possible, the screen backlight will turn off.

HW: MXP 2018 (MACH-W19), Intel Core i5-8250U, no dGPU, 8GB RAM, Liteon-ssd, Clover bootloader.

Have Intel Auto Kext Loader load kext from directory that script is in

I really appreciate the work that you're doing here! Keep up the good work.

Problem:

  • I would like to place the AppleIntelWifi folder that holds the kext and IntelKextAutoLoader in a folder other than ~/Desktop. Perhaps the script can be updated to cd directly into the directory that the script is located in, so that cd Desktop/AppleIntelWifi isn't hardcoded.

Suggestion:

In IntelKextAutoLoader.sh

#!/usr/bin/env sh
# Auto Loader for AppleIntelWiFi.kext
#

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

sudo chmod -R 755 *.kext

sudo chown -R root:wheel *.kext

sudo kextload AppleIntelWiFi.kext

It's a small suggestion, but would be nice for users who don't want a folder hanging around on their desktop. The Network README will also need to be updated.

SSD Samsung PM981

Is this SSD supported? I want to try hackintosh, but i don't know if exists kext for ssd Samsung PM981

Maybe you know(audio on similar model)

Hi, man. Congrats for your awesome work. I've done something similar for matebook 13(alc256 too). Unfortunately we got camera and audio jack not working. For the camera I know that maybe it's just not compatible and it's ok.

But for the audio even we made layout by dumping codec from Linux, we got headphones jack not working. So I wanna know if your has been worked out of the box(even bad) after layout choosing , because ours headphones jack it's totally ineffective, no one signal, nothing(even with combojack fix)

Thanks in advance

Where do I place all the files?

Hello,

I have a quick question about where to place the files on the installation USB. I followed the guide of the gnodipac886 repository. Do I need to take the files from gnodipac886 as a basis or can I use this repository as a standalone?

Thanks!

Kernel panic when waking from sleep. Failure while calling power state change callbacks.

panic(cpu 0 caller 0xffffff800669167c): Sleep transition timed out after 180 seconds while calling power state change callbacks. Suspected bundle: com.apple.iokit.IOUSBHostFamily. Thread 0x83e5b.
Failure code:: 0x00000008 00000014

Backtracing specified thread
Backtrace (CPU 0), Frame : Return Address
0xffffff820690b900 : 0xffffff80060458f8 
0xffffff820bacbc40 : 0xffffff8005f413f1 
0xffffff820bacbcb0 : 0xffffff8005f3fc2f 
0xffffff820bacbd00 : 0xffffff80060429f9 
0xffffff820bacbd40 : 0xffffff800604225b 
0xffffff820bacbd70 : 0xffffff800662cae8 
0xffffff820bacbda0 : 0xffffff800662f9f9 
0xffffff820bacbe00 : 0xffffff8006614d8a 
0xffffff820bacbea0 : 0xffffff80066146b4 
0xffffff820bacbec0 : 0xffffff8005f61565 
0xffffff820bacbf40 : 0xffffff8005f61091 
0xffffff820bacbfa0 : 0xffffff8005ec513e 

BSD process name corresponding to current thread: kernel_task
Boot args: -cdfon -igfxmlr darkwake=1 gfxrst=1

Mac OS version:
19F101

Matebook X Pro 2020 model

Hey, Thank you for doing such great work! I really appreciate it. I recently bought a new Matebook x pro 2020 model(green color) and tried to use this method but it didn't work.

CPU: Intel I7-10510u
Graphics: Nvidia Geforce MX250/Intel UHD Graphics(No number like 620 or 630 etc)
3K display @ 3000x2000
16GB RAM
512 Gb WDC SSD

Trackpad not working after updated to 10.15.6 (solved)

Trackpad not working after updated to 10.15.6

Edit: Working now after updating VoodooI2CHID.kext and VoodooI2C.kext to latest versions.

Edit 2: Does not work after sleep again and fixed it by changing wakedelay to 10 in VoodooPS2Trackpad.kext located in plugins file in VoodooPS2Controller.kext

Can't boot

I am using the last build but I'm getting stuck at the boot. Verbose capture.
It seems to be a common error in Hackintosh, 'cause I found a lot of threads about this. There isn't a common solution, but it seems to be a problem with the map of the ports or something like that. So maybe an error on a DSDT file?

Sidecar not working

My 2019 iPad Pro does not show up on Sidecar when connected over wire. It used to work wired on Gnodipac's build and I believe your old Clover build as well. Wifi/BT both working and able to connect to iPad for transferring music/files, but not showing up in Sidecar dropdown. Have tried in both type C ports.

image

Reboot when cover the screen

Hi, there

Recently, I have found that my computer has come across some problems. macOS will reboot when the screen off. Before I weak it up, the system has already rebooted and show me a failure information at desktop. Windows as well as applications has already recovered like before failure. Here is my panic log.txt.
image

I have executed your commend about "Power management: Hibernation", it seems that there is something wrong with IOUSBHostFamily. the system went to failure after 180 seconds screen off. Do you have any idea about this? Thanks!

Sound problem

Hi mate!
I recently downloaded the last build and I am getting an awfull sound, like there is a speaker not working.

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.