This repo contains information for getting macOS working on a Xiaomi Notebook 14 Horizon Edition laptop.
This is intended to create a "fully" functional (as far as possible) hackintosh for the Xiaomi Notebook 14. If you would like to get started with creating a hackintosh on your laptop but have non experience, I would highly recommend following Dortania's OpenCore Install guide and then returning here for troubleshooting. With each new release of macOS we need to resolve each new "minor issue" we run into. The installation is not perfect yet since it's a continuos work-in-progress, but I'm glad to say that I learned a lot in the meantime. All of the steps I made to get to this point were a result of countless hours of reading along with trial and error. I am by no means an expert so any help to get this project functional is very appreciated!
If internet is not working at installation then create offline installer.
For privacy reasons, all SMBIOS information has been wiped out in the configuration file EFI/OC/config.plist
. Generate your own SMBIOS Information
You can follow this guide to install MacOS In your Mi Notebook 14 YouTude Guide For Installing
This repository is for personal/educational purposes
- Xiaomi Notebook 14 Hackintosh
Build the latest beta EFI by running the following command in Terminal:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/uttusharma/Xiaomi-Notebook14-Hackintosh/master/makefile.sh)"
Or run the following command in Terminal:
git clone --depth=1 https://github.com/uttusharma/Xiaomi-Notebook14-Hackintosh
cd Xiaomi-Notebook14-Hackintosh
./makefile.sh
Make sure to run ocvalidate
after build finish. since build script will pull latest opencore version config.plist
must be validated first.
Some advanced usages are:
# Build EFI with kexts and OpenCore in Debug version
./makefile.sh --debug_KextOC
# Ignore errors when the script is running
./makefile.sh --ignore_err
# Preserve work files during the building stage
./makefile.sh --no_clean_up
# Use GitHub API
./makefile.sh --gh_api
# Build the latest beta EFI with pre-release kexts
./makefile.sh --pre_release=Kext
# Build the latest beta EFI with pre-release OpenCore
./makefile.sh --pre_release=OC
Specifications | Detail |
---|---|
Computer model | Xiaomi Notebook 14 Horizon Edition 2020 (MX350/GTX) |
Processor | Intel Core i3-10110U/ i5-10210U/ i7-10510U |
Memory | 8GB/16GB Samsung DDR4 2400MHz |
Hard Disk | Samsung NVMe SSD Controller |
Graphics | Intel UHD Graphics 10th Gen, NVIDIA MX350 |
Monitor | BOE NV156FHM-N61 FHD 1920x1080 (15.6 inch) |
Sound Card | Realtek ALC256 |
Wireless Card | Intel Wireless 9560 |
Touchpad | I2C ELAN2304 |
Components\OS | BigSur | Monterey 12.04.0 |
---|---|---|
Touchpad/Gestures | ✅ | ✅ |
Keyboard | ✅ | ✅ |
Audio | 🟢 | 🟢 |
Microphone | 🟢 | 🟢 |
Wifi | ✅ | ✅ |
Bluetooth | ✅ | ✅ |
Sleep/Wake | 🟨 | 🟢 |
Power Management | ✅ | ✅ |
Graphic Acc. | ✅ | ✅ |
Backlight | ✅ | ✅ |
Brightness Key | ✅ | ✅ |
Hibernation | 🤷♂️ | 🟨 |
✅ : Working out of the box
🟢 : Some additional steps required to make it work
🟡 : Working but not perfectly i.e buggy currently
❌ : Not working currently
🤷♂️ : Haven't tested properly yet
What's not working: 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.
- Have used
- 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).
- Have used
- Fingerprint readers on Macbooks are managed by T2 chip which has not been very throughly reverse engineered yet
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 release page, please, remember to transfer your Device details under
PlatformInfo -> Generic
in yourconfig.plist
.
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:
Enable Apple Services
Default SMBIOS settings of this repo is MacBookPro16,3
MacBookPro14,1
MacBookPro15,2
-
Launch
Terminal
app -
Copy the following script, paste it into the
Terminal
window, then pressEnter
git clone https://github.com/corpnewt/GenSMBIOS && cd GenSMBIOS && ./GenSMBIOS.command
-
Type
2
, then pressEnter
-
Drag your
config.plist
inside theTerminal
window -
Type
3
, then pressEnter
-
Type
MacBookPro16,3
, then pressEnter
Microphone Fix
Download Combojack.
- Follow given documentation to install combojack.
- Go to system Preferences > Sound > Input and choose Line In as input device.
- Insert headphone, combojack pop-up will appear, select headset from the list.
- If you still face any issue disable ambient noice cancellation.
- you are good to go.
MacOS HiDPI
MacOS HiDPI One-Key-HiDPI REPO
For Dual Boot
Note: After resetting NVRAM, you need to do the steps from 4 to 6.-
Make sure that
Microsoft
is in the same folder asBOOT
andOC
-
Boot to Windows from BOOT MENU
-
Download EasyUEFI
-
Open EasyUEFI and click
Manage EFI Boot Options
-
Click the
Create a new entry
icon (second icon from the center column) -
Do the following:
- Select the Type:
Linux or other OS
and write as description:OpenCore
- Select
EFI
as target partition - Click
browse
and locate theOpenCore.efi
file and clickOK
- Click
OK
again to add the entry - Once the entry is added, click on OpenCore and start clicking the
arrow up
button (first button from the center column) until OpenCore appears on the top of the table.
- Select the Type:
-
After doing this restart your laptop and you will see opencore booting as priority option.
-
Boot to Big Sur
-
Download OpenCore Configurator (OCC)
-
Open your Config.plist with OCC
-
Go to Misc and click Entries tab
-
Click
+
button on the right bottom. A new entry will be created and you will see a browse button -
Click the browse button and for windows users, go to your EFI folder and locate
bootmgfw.efi
(\EFI\Microsoft\Boot\bootmgfw.efi) and click open -
Change the entry name from
bootmgfw
toWindows
You need to rebuild the kext cache after every system update. Use Kext Utility.app
or type sudo kextcache -i /
in Terminal.app
. Then restart. If this still doesn't work, try to press F9.
Starts from VoodooI2C v2.4.1, the click down action is emulated to force touch, which causes the failure of click down and drag gestures. You can turn off Force Click
in SysPref - Trackpad
or choose three finger drag
in SysPref - Accessibility - Mouse & Trackpad - Trackpad Options
.
If you have black screen for five minutes and get no response from the device, please force restart your laptop(Long press power button) and choose Boot macOS Install from ~
entry.- [Xiaomi Notebook 14 Hackintosh]
You can view Changelog for detailed information.
- Special Thanks to daliansky for providing XiaoMi-Pro-Hackintosh.
- Thanks to profzei.
- Thanks to itsabhishekolkha.
- Thanks to Acidanthera for providing AppleALC, AppleSupportPkg, HibernationFixup, Lilu, NVMeFix, OcBinaryData, OpenCorePkg, VirtualSMC, VoodooInput, VoodooPS2, and WhateverGreen.
- Thanks to apianti, blackosx, blusseau, dmazar, and slice2009 for providing Clover.
- Thanks to daliansky for providing OC-little.
- Thanks to hieplpvip and syscl for providing sample of DSDT patches.
- Thanks to OpenIntelWireless for providing IntelBluetoothFirmware.
- Thanks to RehabMan for providing EAPD-Codec-Commander, EFICheckDisabler, OS-X-Clover-Laptop-Config, OS-X-Null-Ethernet, and SATA-unsupported.
- Thanks to VoodooI2C for providing VoodooI2C.
- Thanks to One-Key-HiDPI