Giter Club home page Giter Club logo

xiaomi-pro-hackintosh's Introduction

Build Status release wiki Chat

macOS Big Sur & Catalina & Mojave & High Sierra on XiaoMi NoteBook Pro 2017 & 2018

English | 中文

Contents

Configuration

Specifications Detail
Computer model Xiaomi NoteBook Pro 15.6''(MX150/GTX)
Processor Intel Core i5-8250U/i7-8550U Processor
Memory 8GB/16GB Samsung DDR4 2400MHz
Hard Disk Samsung NVMe SSD Controller PM961/PM981
Integrated Graphics Intel UHD Graphics 620
Monitor BOE NV156FHM-N61 FHD 1920x1080 (15.6 inch)
Sound Card Realtek ALC298 (layout-id:30/99)
Wireless Card Intel Wireless 8265
SD Card Reader Realtek RTS5129/RTS5250S

Current Status

  • Ethernet may not work on macOS10.15, view #256
  • In macOS10.15, you need to update Wireless-USB-Adapter Driver
    • If you are not using macOS10.15, it's still recommended to update the driver above
  • Discrete graphic cardis not working, since macOS doesn't support Optimus technology
    • Have used SSDT-DDGPU to disable it in order to save power
  • Fingerprint sensor is not working
    • Have used SSDT-USB to disable it in order to save power
  • Intel Bluetooth may cause sleep problems and does not support some Bluetooth devices
  • Intel Wi-Fi (Intel Wireless 8265) could work by additional configurations
    • Buy a USB Wi-Fi dongle or supported wireless card
    • Use itlwm and HeliPort to drive Intel Wi-Fi
    • View #330, some test drivers are provided there
  • Realtek USB SD Card Reader (RTS5129) is not working
    • Have used SSDT-USB to disable it in order to save power
  • Everything else works well

Clover

  • Support macOS10.13 ~ macOS10.15.6, but not macOS11+
  • Should Clean NVRAM after using OpenCore
    • Press Fn+F11 in Clover boot page

OpenCore

  • Support macOS10.13 ~ macOS11.0 beta 2 (20A4300b)
  • Software in Windows may lose activation due to different hardware UUID generated by OpenCore
    • According to OpenCore Official Configuration, you can try to inject the original firmware UUID to PlatformInfo - Generic - SystemUUID in /OC/config.plist
  • Should Clean NVRAM after using Clover
    • Press Space in OpenCore boot page, and then select Reset NVRAM entry
  • Limited theme

Installation

First-time installation

donot_clone_or_download

get_release

Build

  • Build the latest beta EFI by running the following command in Terminal:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/daliansky/XiaoMi-Pro-Hackintosh/master/makefile.sh)"
  • Or run the following command in Terminal:
git clone --depth=1 https://github.com/daliansky/XiaoMi-Pro-Hackintosh.git
cd XiaoMi-Pro-Hackintosh
./makefile.sh
  • Some advanced usages are:
# Ignore errors when the script is running
./makefile.sh --IGNORE_ERR
# Bundled with Chinese verison Docs
./makefile.sh --LANG=CN
# Preserve work files during the building stage
./makefile.sh --NO_CLEAN_UP
# Bypass GitHub API
./makefile.sh --NO_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

Upgrade

  • A complete replacement of BOOT and CLOVER(or OC) folders is required. Delete these two folders and copy them from the release pack.
  • You can also update Clover EFI by running the following command in Terminal:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/daliansky/XiaoMi-Pro-Hackintosh/master/install.sh)"

Improvements

  • Use ALCPlugFix to fix unworking jack after replug
  • Use itlwm and HeliPort to drive Intel Wi-Fi
  • Use DVMT_and_0xE2_fix to set DVMT to 64mb and unlock CFG
  • Use xzhih's one-key-hidpi to improve quality of system UI
    • Support 1424x802 HiDPI resolution
    • On macOS > 10.13.6, to enable higher HiDPI resolution (<1600x900), you need to use DVMT_and_0xE2_fix to set DVMT to 64mb first and then change the value for framebuffer-flags to CwfjAA== in config.plist - Devices (DeviceProperties) - Properties (Add) - PciRoot(0x0)/Pci(0x2,0x0)
  • Use one-key-cpufriend to modify CPU power management

FAQ

My touchpad isn't working after update.

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.

I can't click to drag files using the trackpad.

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.

My screen turns to black and has no response during the updating process.

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.

My device is locked by Find My Mac and can't be booted, what should I do now?

For Clover users, press Fn+F11 when you are in Clover boot page. Then Clover will refresh nvram.plist, and lock message should be removed.
For OC users, press Esc to enter the boot menu during startup. Then, press Space key and choose Reset NVRAM.

[Clover] I opened the FileVault, and I can't find macOS partition in Clover boot page, how can I solve it?

It is not recommended to open FileVault. You can press Fn+F3 in the Clover boot page and choose the icon with FileVault. Then you can boot in the system and close FileVault.

[Clover] I can't boot in Windows/Linux by using Clover, but able to boot by press F12 and select OS.

Many people met this problem by using the new version of AptioMemoryFix.efi. A workaround is to delete AptioMemoryFix.efi (or OcQuirks.efi, OpenRuntime.efi, and OcQuirks.plist) in /CLOVER/drivers/UEFI/ and replace it with the old version provided in #93.

Also make sure Sandbox and Hyper-V functions in Windows 10 are disabled.

[OC] How to skip the boot menu and automatically boot into the system?

First, in macOS, open SysPref - Startup Disk. Choose the target system.
Then, open /EFI/OC/config.plist, and turn off ShowPicker.
When you want to switch OS, press Esc during startup to call the boot menu.

[OC] How to enable startup chime?

Turn on AudioSupport and PlayChime in /OC/config.plist - UEFI - Audio.

Please refer to detailed FAQ in wiki FAQ.

Changelog

You can view Changelog for detailed information.

A reward

All the project is made for free, but you can reward me if you want.

Wechat Alipay
wechatpay_160 alipay_160

Credits

For more detail, please go to Reference page.

Support and discussion

xiaomi-pro-hackintosh's People

Contributors

stevezhengshiqi avatar daliansky avatar menchen avatar qeeqez avatar alkanna avatar huimingz avatar

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.