xuzhimin1993 / matebook-x-pro-2020-hackintosh

matebook x pro 2020 hackintosh
23 stars 5 forks source link

matebook-x-pro-2020-hackintosh

matebook x pro 2020 hackintosh

Original link: https://github.com/RepoWeaver/MateBook-X-Pro-2020-OpenCore The author has deleted this warehouse, unfortunately

要中文的请翻译一下,打字好累.......

You Must Change SMBIOS to use iCloud Services,Select MacBookPro16,2 for smbios model

It is not recommended to use opencore to boot win, it is recommended to set efi/refind/refind_x64.efi as the first boot, then you can use refind to start win and Mac normally

config.plist is applicable to unlocked cfg and dvmt, config-lockCFG.plist is used without unlocking cfg and dvmt, see below for unlocking tutorial

Simplify and compile bluetooth, wifi and sound card according to the source code, only support local use, thanks to the author and everyone

Currently working on my Personal Machine, so only stable versions will be released

Compatible macOS Versions:

big sur Monterey Ventura

macOS Ventura Support Completed, Will keep maintaining

If you find my work useful:

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 (2020 Edition) laptop with OpenCore.

Summary

(With the use of turbo boost disabled) http://tbswitcher.rugarciap.com/

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.

About this Mac Monterey Working on

- Big Sur/Monterey/Ventura is running well (Config in Releases)

## Configuration
| Specifications | Details | | :--- | :--- | | Computer model | Huawei Matebook X Pro 2020 | | Processor | Intel Core i5-10210U / i7-10510U | | Memory | 16 GB LPDDR3 2133 MHz | | Hard Disk | WDC PC SN73(NO support Samsung pm981/a) | | Integrated Graphics | NVIDIA GeForce MX250 / Intel(R) UHD Graphics 620 | | Screen | 3K Display @ 3000 x 2000 (13.9 inch) | | Sound Card | Realtek ALC256 | | Wireless Card | Intel AC9560 | | Bluetooth Card | Intel Bluetooth |
## Status - [x] **Intel(R) UHD 620** Graphics card - [x] **Intel(R) Wireless-AC** & **Intel(R) Bluetooth** - [x] **Power Management** with support for HWP (Intel Speed Shift & Intel SpeedStep) - Battery Life improvements - [x] **Sleep** and **Wake** (support for native macOS `hibernatemode3`) - [x] **Hibernation** (support for native macOS `hibernatemode25` with `HibernationFixup.kext`) - [x] **Battery support** with better memory access and integration of [Battery Information Supplement] - [x] **Backlight control** - [x] **Fixed Black Screen on boot** (Won't have to close and open lid anymore 🎉) - [x] **Proper Power Management after wake from sleep** - [x] I've noticed that when plugging in a display through a hub you may need to plug in twice (This has always happened, just pointing out something) - [x] Backlight shortcuts (F1 [brightness level down] - F2 [brightness level up]) - [x] Volume shortcuts (F4 [mute] - F5 [audio level down] - F6 [audio level up]) - [x] **Audio** for **Realtek ALC256** card (via `AppleALC.kext` and `layout-id 76`) - [x] **Speakers** (4 Channels) & Internal Mic - [x] **Headphone** jack [2 in 1] (via `ALCPlugFix`) - [x] **HDMI 2.0** up to two 4K @60 Hz monitors (via LSPCON) - [x] **Native Color Profile** for Display 3K - [x] **TouchPad** and **native macOS gestures** - [x] Touchscreen (Disabled) - [x] PCI Devices latency support and complete description for System Information app - [x] **USB Ports Mapping** (Type-A:1 & Type-C:2) with proper power levels - [x] **Thunderbolt Port** (limited support,Plug in when booting) - [x] HD Camera - [x] NVRAM native support #### BIOS Settings - [x] Disable Secure Boot Notes 1. **Intel Bluetooth** could not support some Bluetooth devices 2. **Touchscreen support is disabled by default** (Battery improvement,To enable, please disable SSDT-TPLT.aml) ## Note From espitgn: There is the possibility of disabling CFG Lock and enabling dvmt 64. There is a power management improvement disabling CFG Lock which is quite good. The procedure (Customising BIOS) is quite easy to follow. About unlocking cfg and dvmt ⚠️Note: After changing the data, close the software and verify that it is correct before changing the dmvt. When you modify it at the same time for personal testing, the second one will not be saved. Unzip InsydeH2OUVE_x86_WINx64_200.00.01.00.zip and open the software, file-load runtime in the upper left corner, double-click Variable in the left column, Find cpusetup and double-click, search for 0030 vertically, 0E horizontally, the original value 01, change it to 00, then put a check mark in front of cpusetup, click the purple save icon in the upper left corner, and verify whether the value is still 00 after restarting, cfg Unlocked successfully Unlock dmvt, file-load runtime in the upper left corner, double-click Variable in the left column, Find SaSetup and double-click, search for 0100 vertically, 07 horizontally, the original value is 01, and change it to 02. Then search for 0100 vertically, 08 horizontally, the original value 02, change it to 03, then tick Sasetup, click the purple save icon in the upper left corner, and verify whether the values ​​​​are 02 and 03 after restarting, the dmvt is unlocked successfully I recommend using “InsydeH2OUVE” to modify dvmt and unlock cfg These guides work without issue on the MateBook X Pro 2020 (tested with BIOS 1.21 versions). Each guide shows the changes to do in config.plist as well. ### Fixing Sleep (taken from Profzei): Open up terminal and make the following changes: ``` sudo pmset -a hibernatemode 0 sudo rm -rf /private/var/vm/sleepimage sudo touch /private/var/vm/sleepimage sudo chflags uchg /private/var/vm/sleepimage sudo pmset -a standby 0 sudo pmset -a autopoweroff 0 sudo pmset -a powernap 0 sudo pmset -a proximitywake 0 ``` ### Headphone Hot Plug: Install [ALCPlugFix](https://github.com/profzei/Matebook-X-Pro-2018/tree/master/ALCPlugFix) ## Credits Many great people. - [ALL]