Skip to content

Commit

Permalink
config: Remove force-online* properties to fix HDMI
Browse files Browse the repository at this point in the history
* OC: Disable loading AudioDxe.efi and ExFatDxe.efi to speed up boot
  • Loading branch information
stevezhengshiqi committed Jan 14, 2021
1 parent 0203f41 commit e55325b
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 28 deletions.
6 changes: 0 additions & 6 deletions CLOVER/config_cml.plist
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,10 @@
<dict>
<key>AAPL,ig-platform-id</key>
<data>CQCbPg==</data>
<key>complete-modeset-framebuffers</key>
<data>AAAAAAAAAAE=</data>
<key>device-id</key>
<data>mz4AAA==</data>
<key>enable-max-pixel-clock-override</key>
<data>AQAAAA==</data>
<key>force-online</key>
<data>AQAAAA==</data>
<key>force-online-framebuffers</key>
<data>AAAAAAAAAAE=</data>
<key>framebuffer-con1-busid</key>
<data>AQAAAA==</data>
<key>framebuffer-con1-enable</key>
Expand Down
4 changes: 0 additions & 4 deletions CLOVER/config_kbl.plist
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@
<data>FlkAAA==</data>
<key>enable-max-pixel-clock-override</key>
<data>AQAAAA==</data>
<key>force-online</key>
<data>AQAAAA==</data>
<key>force-online-framebuffers</key>
<data>AAAAAAAAAAE=</data>
<key>framebuffer-con0-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con0-flags</key>
Expand Down
10 changes: 10 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

**English** | [中文](Changelog_CN.md)

## XiaoMi NoteBook Pro EFI v1.5.1
## 1-13-2021

### Remove
- Remove `force-online*` properties to fix HDMI

### OC
- OC: Disable loading `AudioDxe.efi` and `ExFatDxe.efi` because they slow down the boot speed dramatically


## XiaoMi NoteBook Pro EFI v1.5.0
## 1-12-2021

Expand Down
10 changes: 10 additions & 0 deletions Changelog_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

[English](Changelog.md) | **中文**

## XiaoMi NoteBook Pro EFI v1.5.1
## 1-13-2021

### 移除
- 移除 `force-online*` 属性来修复 HDMI

### OC
- OC: 禁用 `AudioDxe.efi``ExFatDxe.efi` 因为它们显著拖慢引导速度


## XiaoMi NoteBook Pro EFI v1.5.0
## 1-12-2021

Expand Down
Binary file modified Docs/FAQ.pdf
Binary file not shown.
Binary file modified Docs/常见问题解答.pdf
Binary file not shown.
6 changes: 0 additions & 6 deletions OC/config_cml.plist
Original file line number Diff line number Diff line change
Expand Up @@ -310,16 +310,10 @@
<dict>
<key>AAPL,ig-platform-id</key>
<data>CQCbPg==</data>
<key>complete-modeset-framebuffers</key>
<data>AAAAAAAAAAE=</data>
<key>device-id</key>
<data>mz4AAA==</data>
<key>enable-max-pixel-clock-override</key>
<data>AQAAAA==</data>
<key>force-online</key>
<data>AQAAAA==</data>
<key>force-online-framebuffers</key>
<data>AAAAAAAAAAE=</data>
<key>framebuffer-con1-busid</key>
<data>AQAAAA==</data>
<key>framebuffer-con1-enable</key>
Expand Down
8 changes: 2 additions & 6 deletions OC/config_kbl.plist
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,6 @@
<data>FlkAAA==</data>
<key>enable-max-pixel-clock-override</key>
<data>AQAAAA==</data>
<key>force-online</key>
<data>AQAAAA==</data>
<key>force-online-framebuffers</key>
<data>AAAAAAAAAAE=</data>
<key>framebuffer-con0-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con0-flags</key>
Expand Down Expand Up @@ -1282,7 +1278,7 @@
<key>AudioOut</key>
<integer>0</integer>
<key>AudioSupport</key>
<true/>
<false/>
<key>MinimumVolume</key>
<integer>20</integer>
<key>PlayChime</key>
Expand All @@ -1299,7 +1295,7 @@
<string>HfsPlus.efi</string>
<string>OpenRuntime.efi</string>
<string>OpenCanopy.efi</string>
<string>AudioDxe.efi</string>
<string>#AudioDxe.efi</string>
<string>#ExFatDxe.efi</string>
</array>
<key>Input</key>
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@

## Current Status

- **HDMI** can not be plugged before startup (v1.5.1+)
- You have to re-plug it if you plugged it before startup
- **Ethernet may not work on macOS10.15, view [#256](https://github.com/daliansky/XiaoMi-Pro-Hackintosh/issues/256)**
- In macOS10.15, you need to update [Wireless-USB-Adapter Driver](https://github.com/chris1111/Wireless-USB-Adapter/releases)
- If you are not using macOS10.15, it's still recommended to update the driver above
Expand Down Expand Up @@ -93,8 +95,6 @@
- According to [OpenCore Official Configuration](https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/Configuration.pdf), 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
- Startup Sound slows down boot speed
- Disable `AudioSupport` in `config.plist - UEFI - Audio`
- Limited theme
- **Recommend Reading: [OpenCore Configuration](https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/Configuration.pdf)**, especially the **UEFISecureBoot** section

Expand Down Expand Up @@ -170,6 +170,7 @@ bash -c "$(curl -fsSL https://github.com/raw/daliansky/XiaoMi-Pro-Hac

## Improvements

- Use [Hackintool](https://github.com/headkaze/Hackintool) to inject EDID (AAPL00,override-no-connect)
- Use [NVMeFix](https://github.com/acidanthera/NVMeFix) to enable APST on NVMe SSDs
- Use [xzhih](https://github.com/xzhih)'s [one-key-hidpi](https://github.com/xzhih/one-key-hidpi) to improve quality of system UI
- Support 1424x802 HiDPI resolution
Expand Down Expand Up @@ -216,8 +217,10 @@ 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?
#### [OC] How to enable startup chime? (TM1701 & TM1707)

Change `#AudioDxe.efi` to `AudioDxe.efi` in `config.plist - UEFI - Drivers`.
Enable `AudioSupport` in `config.plist - UEFI - Audio`.
If you are using macOS Big Sur, go to `SysPref - Sound` and turn on `Play sound on startup`.
For macOS version < Big Sur, open `Terminal.app` and run `sudo nvram StartupMute=%00`.

Expand Down
9 changes: 6 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@

## 目前情况

- **HDMI** 不能在系统启动之前连接(v1.5.1+)
- 你需要重新插拔如果你在系统启动之前连接了 HDMI
- **有线网 在 macOS10.15 上可能无法工作,见 [#256](https://github.com/daliansky/XiaoMi-Pro-Hackintosh/issues/256)**
- 如果升级到 macOS10.15,需要更新 [USB无线网卡驱动](https://github.com/chris1111/Wireless-USB-Adapter/releases)
- 如果不是 macOS10.15,也推荐更新上述驱动
Expand Down Expand Up @@ -93,8 +95,6 @@
- 根据 [OpenCore官方文档](https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/Configuration.pdf),你可以尝试把原生固件UUID注入进 `/OC/config.plist``PlatformInfo - Generic - SystemUUID`
- 使用 Clover 后需要清理 NVRAM
- 在 OpenCore 启动界面按下 `空格`,选中进入 `Reset NVRAM`
- 启动音 拖慢引导速度
- 关闭 `config.plist - UEFI - Audio` 中的 `AudioSupport`
- 有限的主题
- **推荐阅读:[OpenCore Configuration](https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/Configuration.pdf)**,特别注意 **UEFISecureBoot** 章节

Expand Down Expand Up @@ -165,6 +165,7 @@ bash -c "$(curl -fsSL https://github.com/raw/daliansky/XiaoMi-Pro-Hac

## 改善体验

- 使用 [Hackintool](https://github.com/headkaze/Hackintool) 来注入 EDID(AAPL00,override-no-connect)
- 使用 [NVMeFix](https://github.com/acidanthera/NVMeFix) 来开启 NVMe SSDs 的 APST
- 使用 [xzhih](https://github.com/xzhih)[one-key-hidpi](https://github.com/xzhih/one-key-hidpi) 来提升系统 UI 质量
- 支持 1424x802 HiDPI 分辨率
Expand Down Expand Up @@ -211,8 +212,10 @@ bash -c "$(curl -fsSL https://github.com/raw/daliansky/XiaoMi-Pro-Hac
然后,打开 `/EFI/OC/config.plist`,关闭 `ShowPicker`
想切换系统的时候,开机时按 `Esc` 键来进入引导菜单。

#### [OC] 怎么开启启动音?
#### [OC] 怎么开启启动音?(TM1701 & TM1707)

修改 `config.plist - UEFI - Drivers` 中的 `#AudioDxe.efi``AudioDxe.efi`
开启 `config.plist - UEFI - Audio` 中的 `AudioSupport`
如果你在使用 macOS Big Sur,请前往 `系统偏好设置 - 声音` 并勾选 `启动时播放声音`
如果在使用低于 Big Sur 的 macOS 版本,请打开 `终端.app` 并运行 `sudo nvram StartupMute=%00`

Expand Down

5 comments on commit e55325b

@vimcaw
Copy link

@vimcaw vimcaw commented on e55325b Jan 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, why remove force-online* properties? what does this fix about HDMI?

@stevezhengshiqi
Copy link
Collaborator Author

@stevezhengshiqi stevezhengshiqi commented on e55325b Jan 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vimcaw I used an external monitor and tested these properties one by one and find out that removing force-online can make HDMI back to work again. Also, enable-max-pixel-clock-override is required.

@vimcaw
Copy link

@vimcaw vimcaw commented on e55325b Jan 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, I just found the issue you post in acidanthera/bugtracker#1318

@stevezhengshiqi
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vimcaw Actually, it’s not that related to that issue. force-online is just no longer needed in this stage.

@vimcaw
Copy link

@vimcaw vimcaw commented on e55325b Jan 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, thanks for letting me know, I will have a try.

Please sign in to comment.