An overview of the

This article mainly records the problems encountered during the last few days of researching oc guidance, and shares the EFI link

Post a full body photo of your laptop

Why buy it

Since it looks like an apple, it should be the most like an apple so far. At the beginning, it was bought to install an apple system, because he thought it was modeled after the macbookAir, but its performance and screen were much better than the air. The screen was 2560×1440, and the color was full

The machine configuration

  • CPU: Intel i5 6200u
  • Memory: 16G magnesium light single strip
  • Hard disk: 256 g
  • Wifi: Broadcom DW1560
  • Screen: Sharp screen 2560×1440

Why study black apples

Although I have bought white apples, I have never given up on black apples. Maybe it is for fun on the one hand and for the unremitting pursuit of perfection on the other. Always want to save trouble, TB directly buy a installation services, or to find ready-made online, it’s a pity that my computer is too non-mainstream, small companies have closed down, not many black it, online service is not available, technical personnel and even don’t know how to use u disk boot into the system, decisive refund, only yourself, but ah ~

Why upgrade OC

The clover I used before was not very perfect in some places. Sometimes the sleep was restarted directly, and the brightness could not be automatically saved. It was always the maximum brightness. The heart is always uncomfortable, looking at the recent OC release 0.7, the in the mind feel basically stable, it is time to upgrade to OC, although not done, fortunately there is a document, roll up sleeves open work!

Configuration OC

Configure the config file by referring to the official website

In general, this configuration is not troublesome, according to the oc official document process step by step configuration is good, my is the SKYlake version of the laptop CPU, so the document will choose the following one

Document address:Official document Installation guide

The documentation is all in English, but it’s easy to understand. Basic level 4 is enough. The tool I need to prepare is propTree, which is written in Python, very straightforward, just follow the document’s id, I use the pre-compiled SSDT for all documents, which is the easyway way

Verify the config configuration

  1. Verify config’s website: opencore.slowgeek.com/

Note: the oc of this site is only 0.6.6 and does not support OC0.7. There are some missing attributes or errors reported. It may be removed in the new version, so ignore them

  1. Use the OCC editing tool: This tool supports the latest OC

If all the hooks are displayed, you can basically guide into the system

Perfect the details

Although it can be guided into the system, some functions still need to be improved. Start to enter the improvement stage and gradually move towards 99% perfection

Custom usb

Using the HackinTool tool, click USB

The desktop generates SSDT-UIac. aml, SSDT-ec-usbx. aml, usbports. kext. Put the AML file into oc/acpi, and the kext file into the kexts directory

Graphics card ID injection

This link is the need to try, my graphics card is HD520, but the document recommended injection ID has two, my or notebook, so naturally will choose the first 00001619

However, after the test, if the first one is injected, the screen will appear after wake up from sleep, try the second one, 02001619, but it will not appear. Even though it is written on the document that this ID is applicable to NUC, there is no way to use this one

Internal and external volume adjustment

Inject alCID, which is the id of the audio interface, as shown below

The value of this ID also needs to be finally determined by trying one by one, starting from 1. If the injection is not correct, there may be strange problems. For example, if I injected a 5 before, it will start to play, but when I plug in the earphone and unplug it, it will not play

My audio model is ALC269VB so find the corresponding ids and try them one by one from here

Alcid Query address: github.com/acidanthera…

Battery power

In clover’s era, we needed to split bytes and modify SSDT or DSDT, but now there is a much simpler way to do it: ecenabler. kext+ AcpiBatteryManager. kext+ lidpatch.aml

  • Ecenabler.kext: It allows reading of Embedded Controller fields longer than 1 byte (8bit), thus greatly reducing the ACPI modification required for operating battery state (if required).
  • Acpibatterymanager. kext: Is responsible for displaying battery information. After the test, this driver is not the latest one, but the best one
  • LIDpatch. Aml: Solves the problem that plugging and removing batteries can take effect immediately

AppleALC Native power management

Load the native power management, mainly to solve the problem of sleep does not wake up, check whether it is enabled:

Methods: www.bilibili.com/read/cv6353…

Solve the problem of sleep sleep dead and sleep to wake up

After the test, it is normal to sleep for a short time, but sleep death will occur for a long time. After the test, the above methods still failed to work, so I try to use new methods to solve the problem. My solution is: hibernateFixup.kext + RTCMemoryFixup + SSDT-PTSWAKTTS.aml + SSDT-GPRW.aml

  • Ssdt-ptswakts. aml: This patch is a comprehensive solution to sleep. It should be used with renaming. There are four renaming options for this patch:
  • _PTS to ZPTS(1,N)
  • _WAK to ZWAK(1,N)
  • _PTS to ZPTS(1,S)
  • _WAK to ZWAK(1,S)

We need to look for the keywords _PTS and _WAK in the DSDT description file to see if the method is named N or S, and select the corresponding name to rename it as follows:

  • Ssdt-gprw.aml: This patch addresses the problem of waking up when you sleep. It should be used with the renaming

In the beginning, I directly used the oc-little library to rename plist. It should be that the name was not correctly written at the beginning, acPI always reported errors, and the patch was not successfully loaded. Later, after appropriate, the search value and replacement value were incorrectly written, so the name was not successfully renamed, or I need to manually convert by myself

Manual conversion: Open ocC conversion text input the text to be replaced, and convert it to hexadecimal

Custom theme

After the above customization can basically run perfectly, is the interface is too ugly, all run code, began to beautify

Tutorial:

  • Text tutorial: heipg.cn/tutorial/op…
  • Video tutorial: www.bilibili.com/video/BV1cB…

Note:

  • The default zoom ratio of boot is 01. If there is black edge on the high score screen, you need to change it to 02 in the following position to config. plist → NVRAM → 4d1ede05-38C7-4a6A-9cc6-4bCCa8B38c14 → UIScale → 02

  • Customizing the background involved using icNPack-Builder, a tool that converts PNGS into ICNS icon files. I converted a 4K image directly

  • Config.plist → NVRAM → 7c436110-ab2A-4bbB-a880-fe41995C9f82 → boot-args → remove -v run code

Customized effect:

To be perfect

  • Box cover sleep and open cover wake up
  • Sd card recognition

Results demonstrate

Airbook based on OC0.7 custom EFI black Apple perfect display

EFI download address

Airbook OC edition EFI download

Time consuming

  • It took a day to customize the config file according to the official website (0~95%)
  • Various improvements took a week ~~~~~ (95%~99%)

Reference documents:

  • Opencore official document installation guide
  • Opencore official download link
  • Oc – little patch library
  • XJN big guy’s blog
  • Black fruit minions – Excise Opencore
  • Black Apple Planet – download drivers, software and various introductory tutorial documentation is complete

conclusion

S founded in the arm, the black apple gradually into decline, and black and to cherish, this is a time-consuming and torture people, no high patience and interest does not recommend STH over and over again, in fact, sometimes even with perfect not hardware is ok, such as desktops, I before 8100 processor, graphics card uhd630, install bigsur, Add 4K, the magic effect will drop frames, change back to 10.15 on the smooth smooth. My black Apple desktop stopped at 10.15.7, my laptop stopped at 10.14.6, and my ios stopped at 14.4.2. Welcome big guy to give me directions, box cover sleep should how to do, dozen what patch good make. There are SD card how to identify, online two SD card driver tried to do not work.

EFI is fixed in this version for the time being, so I don’t want to spend more time and money on it