Home

Awesome

lenovo-miix-520-hackintosh

README | 中文文档

macos on lenovo miix 520 is almost perfect. support macos 10.14.x, 10.15.x, 11.0.x .

Thanks jamesxxx1997 for translating into English.

Index

  1. Hardware configuration
  2. System Screenshot
  3. What is working
  4. What is not working
  5. Bug and solution
    • Bug1 : touchpad and touchscreen cannot use simultaneously
    • Bug2 : after wake from sleep , keyboard type cover not working
  6. Release version
  7. Comon FAQ
    • 1:Pre-install preparation
    • 2:Why touchscreen cannot use after installation?
    • 3:Why after wake up from sleep mode , keyboard type cover not working?
    • 4:Can I update the system
    • 5:Can I use SD card reader?
    • 6:How to use wifi and Bluetooth?

1.Hardware configuration

2.System screenshot

<div align=center><img src="https://raw.githubusercontent.com/acai66/lenovo-miix-520-hackintosh-CLOVER/master/Resource/images/OpenCoreBootloader.png" width="95%" /></div> <div align=center><img src="https://raw.githubusercontent.com/acai66/lenovo-miix-520-hackintosh-CLOVER/master/Resource/images/about.png" width="95%" /></div>

3.What is working

  1. Sound card / iGPU / wifi card:OK
  2. usb:OK
  3. battery status:OK
  4. brightness control:OK
  5. CPU frequency control:OK
  6. Sleep when lid closed/Awake when lid opened:OK
  7. Touchscreen , active stylus:OK
  8. bluetooth:OK
  9. wake up by usb mouse and keyboard:OK
  10. SD card reader : need to add by yourself , see 常见问题解答8

4.What is not working

  1. I2C pressure sensitivity (No solution)
  2. Camera (No solution)
  3. iMessage(solution)
  4. Fingerprint reader (No solution)

5.bug and solution

bug1: Touchpad and touchscreen cannot use simultaneously

This bug might come from the VoodooI2CHID.kext , for it will load the touchpad with this driver , which makes touchpad unusable ;

The solution to this problem is modify VoodooI2CHID.kext , making this kext cannot recognize the touchpad . Delete the code below in the VoodooI2CHID.kext/Contents/Info.plist

<key>VoodooI2CHIDDevice Multitouch HID Event Driver</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.alexandred.VoodooI2CHID</string>
<key>DeviceUsagePairs</key>
<array>
<dict>
<key>DeviceUsage</key>
<integer>4</integer>
<key>DeviceUsagePage</key>
<integer>13</integer>
</dict>
<dict>
<key>DeviceUsage</key>
<integer>5</integer>
<key>DeviceUsagePage</key>
<integer>13</integer>
</dict>
<dict>
<key>DeviceUsage</key>
<integer>2</integer>
<key>DeviceUsagePage</key>
<integer>13</integer>
</dict>
</array>
<key>IOClass</key>
<string>VoodooI2CMultitouchHIDEventDriver</string>
<key>IOProbeScore</key>
<integer>200</integer>
<key>IOProviderClass</key>
<string>IOHIDInterface</string>
</dict>

The VoodooI2CHID.kext , which is in the clover uploaded to github , has deleted this code. I introduce this bug in order to remind myself to modify the VoodooI2CHID.kext when the VoodooI2C is updated.

bug2: After wake from sleep , keyboard type cover not working (will work again after unplug/replug)

This is a weird bug , might be associated with keyboard type cover hardware. After some research,I found that many people encounter with mouse,keyboard not working after wake up, and will work again after unplug/replug. The solution to this problem is installing sleepwatcher to monitor sleep/wakeup,run a script to reconnect usb device when after wake,this script is aimed at miix 520 keyboard type cover. If you want to solve this bug on other computer using this script,you need to modify /usr/local/acai/patch, the 0x14500000 is miix 520 keyboard type cover usb location.

The procedure is listed below:

  1. install brew , run the code below in the terminal

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  2. install sleepwatcher , run the code below in terminal

    brew install sleepwatcher

  3. download the patch zip : 解决唤醒后需要拔插键盘问题的方案.zip

  4. navigate to the zip kext directory , run the code below in terinal

    sudo sh ./patch.sh

6.release version

v2.5 -- 2020-12-15

v2.5 beta -- 2020-07-02

v2.4 -- 2020-05-22

v2.3 -- 2020-04-09

v2.2 -- 2020-03-13

v2.0 -- 2020-01-02 -- machine translation

v1.9 -- 2019-08-23

v1.8 -- 2019-07-16

v1.6 -- 2019-05-15

v1.5 -- 2019-04-05

v1.4 -- 2019-03-29

v1.3 -- 2019-01-26

v1.2 -- 2018-12-30

v1.1 -- 2018-10-14

v1.0 -- 2018-10-11

7. Comon FAQ

1: Pre-install preparation

  1. Create USB installer , using a flash drive which have capacity bigger than 8GB;
  2. A partition in hard drive for mac;The ESP(EFI system partition) should bigger than 200mb;
  3. Bios setting : boot mode is uefi ; disabled the secure boot
  4. A disk image for macos mojav
  5. Create install media with a tool that burn the disk image to USB drive , recommend etcher
  6. After creating usb drive , replace the OC file , which is in the Esp partition of USB drive , with the OC in github
  7. After the installation , add clover boot options for all entries。

2: Why touchscreen cannot use after installation?

A: This bug might result from voodooi2c.kext interruption with system i2c kext or fail to inject kext. After installation , please restart again , if the touchscreen still can not use , please manually remove the AppleIntelLpssI2C.kext and AppleIntelLpssI2CController.kext and run kext utility to rebuild your kextcache , then test the touchscreen again.

3: Why after wake up from sleep mode , keyboard type cover not working?

A: please look up to the “bug and solution” part in readme

4: Can I update the system

A: Theoretically , you can update system without a doubt.

5: Can I use SD card reader?

A: The SD card reader kext isn’t added by default , for it is not stable , having issues with boot or something. The SD card reader kext is Sinetek-rtsx.kext is said to have issues. If you have problem with it , please compile the kext by yourself,Sinetek-rtsx

6: How to use wifi and Bluetooth?

A: Testing support for intel wifi card, but for better experience it’s recommend wifi card like bcm94352z Lenovo version, and it is not recommend to use usb wifi dongle for unstability.