Skip to content

Installation

Steve Zheng edited this page Mar 12, 2023 · 26 revisions

Before Install

  • This is a Windows instruction

  • This instruction includes a bunch of software, and I am not sure whether they are safe or not

  • Make sure your SSD is not PM981. You have to install macOS on a hard disk other than PM981.

    • PM981 SSD's model number starts with MZVLB, and PM961 SSD's model number begins with MZVLW.
  • Please refer to the detailed installation tutorial Xiaomi Mi Notebook Pro High Sierra 10.13.6

  • or video tutorial Xiaomi NoteBook PRO HACKINTOSH INSTALLATION GUIDE !!!.

Step 1 - Download macOS image

  • There are so many macOS image resources if you google it. Choose one you like from the search results. No recommendation given here.

Step 2 - Format U-disk with the macOS image

Step 3 - Download XiaoMi-Pro EFI

Step 4 - Modify SSD's EFI partition

  • First, you have to make sure your SSD's EFI partition is larger than 200MB. 250MB is a safe size.
    • If your EFI/ESP partition is smaller than 200MB, you can use DiskGenius to merge EFI and MSR partition.
    • If the total size of EFI/ESP and MSR partition is still smaller than 200MB, you need to create a new EFI partition with >200MB size.
  • Download and install DiskGenius from https://www.diskgenius.com
  • Then, backup BOOT and CLOVER folder from your EFI/ESP partition to other places
  • Delete BOOT and CLOVER folders and copy these two folders from the EFI release you downloaded in Step 3
    • If there's no CLOVER folder, that's OK; Ignore the capitalization of BOOT folder, lowercase is OK Copy EFI 

Step 5 - Adjust boot entry

  • Download Bootice from https://www.majorgeeks.com/mg/getmirror/bootice_64_bit,1.html
  • Select your SSD in Destination Disk(not your U-disk!), click Parts Manage, select the ESP/EFI partition in the new window, and click Assign Drive Letter Mount EFI 
  • Remember the new letter given to the EFI/ESP partition EFI Letter 
  • Go to UEFI bar, click Edit boot entries, click Add and open EFI/CLOVER/CLOVERX64.efi in the new file browser, click Up to move the new entry to the top, and close the window
    • If there's no reaction after adding the new entry, please reopen the software. Add Clover Entry 
  • Go back to Physical disk bar, click Parts Manager, select ESP partition, and click Remove Drive Letter
    • If Remove Drive Letter can not be clicked, reopen the software and redo this Remove EFI Letter 

Step 6 - Disable Secure Boot in BIOS

  • Reboot the device and press F2 to get into BIOS panel
  • Click Security, click Set Supervisor Password to create a password, and click Secure Boot Mode to disable it
    • Pleeeease remember this password deep inside your mind, there is no way to reopen BIOS panel if you forget the password! Disable Secure Boot 
  • Press F10 to save settings and exit

Step 7 - Install macOS

  • Boot your device, and use arrow key to choose Boot macOS Install from Install macOS ~
    • If you can not see something like the following picture, please redo Step 5 Choose macOS Install 
  • Wait until a macOS Utilities window shows up. Double click Disk Utility. Open Disk Utility 
  • If you are installing macOS on an entire separate SSD
    • Click the window button at top left and choose Show All Devices Show All devices 
    • Select your target SSD and click Erase. Format should be APFS. Format SSD to APFS 
  • If you are installing macOS on a partition, select the target partition and click Erase. Format should be APFS.
    • If an error message MediaKit reports not enough space on device for requested operation appears, please redo Step 4
  • Close this windows by clicking the red button at the top left, and double click Install macOS Install macOS 
  • Wait until finish, the device will reboot several times

Step 8 - Fix Time

  • In macOS, go to System Preferences - Date & Time - Time Zone, and check Set time zone automatically using current location
    • If your device has no network, please click your location on the following map Set Time Zone 
  • In Windows, please download time fix scripts from https://www.tonymacx86.com/attachments/time-fix-windows-zip.94625 and run Windows Universal Time - On.reg

Appendix

Useful Commands

Show hidden files
defaults write com.apple.finder AppleShowAllFiles -bool true

Allow software from any sources
sudo spctl --master-disable

Enable font smoothing on macOS 10.14+
defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO