Skip to content

Commit

Permalink
Add NVMeFix
Browse files Browse the repository at this point in the history
  • Loading branch information
stevezhengshiqi committed Mar 10, 2020
1 parent 1911c02 commit 86d1561
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 30 deletions.
8 changes: 4 additions & 4 deletions BIOS/DVMT_and_0xE2_fix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
7. Delete DVMT patches

- For both Clover and OC users:
- Open `/EFI/CLOVER (or OC)/config.plist`, delete the following code:
- Open `/EFI/CLOVER (or OC)/config.plist`, delete the following code:
```
<key>framebuffer-fbmem</key>
<data>AACQAA==</data>
Expand All @@ -35,7 +35,7 @@
8. Delete Clover MSR 0xE2 patch

- For Clover users:
- Open `/EFI/CLOVER/config.plist`, remove the following code:
- Open `/EFI/CLOVER/config.plist`, remove the following code:
```
<dict>
<key>Comment</key>
Expand All @@ -48,14 +48,14 @@
```

- For OC users:
- Open `/EFI/OC/config.plist`, find the following code:
- Open `/EFI/OC/config.plist`, find the following code:
```
<key>AppleCpuPmCfgLock</key>
<true/>
<key>AppleXcpmCfgLock</key>
<true/>
```
- Change to:
Change to:
```
<key>AppleCpuPmCfgLock</key>
<false/>
Expand Down
8 changes: 4 additions & 4 deletions BIOS/DVMT_and_0xE2_fix/README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
7. 删除帧缓存补丁

- 如果你是 Clover 或 OC 用户:
- 打开 `/EFI/CLOVER (或者 OC)/config.plist`,删除以下代码:
- 打开 `/EFI/CLOVER (或者 OC)/config.plist`,删除以下代码:
```
<key>framebuffer-fbmem</key>
<data>AACQAA==</data>
Expand All @@ -35,7 +35,7 @@
8. 删除 Clover MSR 0xE2 补丁

- 如果你是 Clover 用户:
- 打开 `/EFI/CLOVER/config.plist`,删除以下代码:
- 打开 `/EFI/CLOVER/config.plist`,删除以下代码:
```
<dict>
<key>Comment</key>
Expand All @@ -48,14 +48,14 @@
```

- 如果你是 OC 用户:
- 打开 `/EFI/OC/config.plist`,并找到以下代码:
- 打开 `/EFI/OC/config.plist`,并找到以下代码:
```
<key>AppleCpuPmCfgLock</key>
<true/>
<key>AppleXcpmCfgLock</key>
<true/>
```
- 修改为:
修改为:
```
<key>AppleCpuPmCfgLock</key>
<false/>
Expand Down
19 changes: 10 additions & 9 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,24 +297,25 @@ English | [中文](Changelog_CN.md)
- Remove `enable-hdmi-dividers-fix`


- XX-XX-2019
- 3-10-2020

- Update `Clover` r5105
- Update `Lilu` v1.3.9
- Update `AppleALC` v1.4.2
- Update `WhateverGreen` v1.3.3
- Update `HibernationFixup` v1.2.9
- Update `VirtualSMC` v1.0.8
- Update and edit `VoodooPS2` v2.0.4
- Update `AppleSupportPkg` v2.1.1
- Update `VoodooI2C`
- Update `Lilu` v1.4.2
- Update `AppleALC` v1.4.7
- Update `WhateverGreen` v1.3.7
- Update `HibernationFixup` v1.3.2
- Update `VirtualSMC` v1.1.1
- Update and edit `VoodooPS2` v2.1.2
- Update `AppleSupportPkg` v2.1.6
- Update `VoodooI2C` v2.3
- Update `SSDT-USB`
- Add `IntelBluetoothFirmware` and `IntelBluetoothInjector` to support native Intel Bluetooth
- Add `SSDT-DRP08` to disable Intel Wireless Card
- Add `SSDT-PS2K` to customize `VoodooPS2Keyboard` instead of directly editing `info.plist`
- Add `complete-modeset-framebuffers` property to improve HDMI
- Add `PanicNoKextDump` to replace panic kext logging patches
- Add `EFICheckDisabler`
- Add `NVMeFix`
- Add back `SSDT-DDGPU` to disable discrete graphics card instead of using `disable-external-egpu`
- Change layout-id back to 30
- Remove AppleIntelLpssI2C patches because https://github.com/alexandred/VoodooI2C/commit/c6e3c278cda84a26f400a77f5ea57d819df9e405 solved the beat problem
19 changes: 10 additions & 9 deletions Changelog_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,24 +297,25 @@
* 移除 `enable-hdmi-dividers-fix`


* XX-XX-2019
* 3-10-2020

* 更新 `Clover` r5105
* 更新 `Lilu` v1.3.9
* 更新 `AppleALC` v1.4.2
* 更新 `WhateverGreen` v1.3.3
* 更新 `HibernationFixup` v1.2.9
* 更新 `VirtualSMC` v1.0.8
* 更新并修改 `VoodooPS2` v2.0.4
* 更新 `AppleSupportPkg` v2.1.1
* 更新 `VoodooI2C`
* 更新 `Lilu` v1.4.2
* 更新 `AppleALC` v1.4.7
* 更新 `WhateverGreen` v1.3.7
* 更新 `HibernationFixup` v1.3.2
* 更新 `VirtualSMC` v1.1.1
* 更新并修改 `VoodooPS2` v2.1.2
* 更新 `AppleSupportPkg` v2.1.6
* 更新 `VoodooI2C` v2.3
* 更新 `SSDT-USB`
* 新增 `IntelBluetoothFirmware``IntelBluetoothInjector` 来支持内置Intel蓝牙
* 新增 `SSDT-DRP08` 来禁用Intel无线网卡
* 新增 `SSDT-PS2K` 来定制 `VoodooPS2Keyboard` 而不是直接修改 `info.plist`
* 新增 `complete-modeset-framebuffers` 来改善HDMI
* 新增 `PanicNoKextDump` 来替代 panic kext logging 补丁
* 新增 `EFICheckDisabler`
* 新增 `NVMeFix`
* 放回 `SSDT-DDGPU` 来禁用独显,而不是用 `disable-external-egpu`
* 修改 layout-id 回 30
* 移除 AppleIntelLpssI2C 补丁因为 https://github.com/alexandred/VoodooI2C/commit/c6e3c278cda84a26f400a77f5ea57d819df9e405 修复了驱动冲突问题
Empty file.
16 changes: 16 additions & 0 deletions EFI/OC/config.plist
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,22 @@
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>BundlePath</key>
<string>NVMeFix.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/NVMeFix</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>BundlePath</key>
<string>SATA-unsupported.kext</string>
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ English | [中文](README_CN.md)

## Current Status in Clover

- <b>Ethernet is not working in macOS 10.15, help wanted. View[#256](https://github.com/daliansky/XiaoMi-Pro-Hackintosh/issues/256)</b>
- <b>Ethernet is not working in macOS 10.15, help wanted. View [#256](https://github.com/daliansky/XiaoMi-Pro-Hackintosh/issues/256)</b>
- In macOS 10.15, you need to update [Wireless-USB-Adapter Driver](https://github.com/chris1111/Wireless-USB-Adapter-Clover/releases)
- If you are not using macOS 10.15, it's still recommended to update the driver above
- Discrete graphic card is not working, since macOS doesn't support Optimus technology
Expand All @@ -45,7 +45,7 @@ English | [中文](README_CN.md)
- Basically the same with [Current Status in Clover](#current-status-in-clover) section
- Limited theme
- Trackpad does not work frequently because of the lack of `ForceKextsToLoad`
- open `Terminal.app` and run `sudo kextcache -i /`, then restart
- open `Terminal.app` and run `sudo kextcache -i /`, then restart

Need more testing...

Expand Down
4 changes: 2 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

## Clover版本的目前情况

- <b>有线网在macOS 10.15下无法工作,需要帮助。见[#256](https://github.com/daliansky/XiaoMi-Pro-Hackintosh/issues/256)</b>
- <b>有线网在macOS 10.15下无法工作,需要帮助。见 [#256](https://github.com/daliansky/XiaoMi-Pro-Hackintosh/issues/256)</b>
- 如果升级到macOS 10.15,需要更新[USB无线网卡驱动](https://github.com/chris1111/Wireless-USB-Adapter-Clover/releases)
- 如果不是macOS 10.15,也推荐更新上述驱动
- 独立显卡无法工作,因为macOS不支持Optimus技术
Expand All @@ -45,7 +45,7 @@
-[Clover版本的目前情况](#clover版本的目前情况)小节基本一致
- 有限的主题
- 触控板会经常不工作因为没有 `ForceKextsToLoad`
- 打开 `终端.app` 并运行 `sudo kextcache -i /`,然后重启
- 打开 `终端.app` 并运行 `sudo kextcache -i /`,然后重启

需要更多测试。。。

Expand Down

0 comments on commit 86d1561

Please sign in to comment.