Skip to content

Commit

Permalink
更新OpenCore1.0.2,支持MacOS Sequoia 15.0.1
Browse files Browse the repository at this point in the history
更新至OpenCore 1.0.2,支持MacOS Sequoia 15.0.1
  • Loading branch information
LoveGlaze committed Oct 22, 2024
1 parent 2c79382 commit f15ad24
Show file tree
Hide file tree
Showing 93 changed files with 5,342 additions and 299 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Auto Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
Push-Release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: '5'
- name: Manage Version
Expand Down Expand Up @@ -39,15 +39,15 @@ jobs:
echo '### 最新的五个更新是:' >> ReleaseNotes.md
git log -"5" --format="- %H %s" | sed '/^$/d' >> ReleaseNotes.md
- name: Delete Old Prerelease
uses: dev-drprasad/delete-tag-and-release@v0.2.0
uses: dev-drprasad/delete-tag-and-release@v1.1
with:
tag_name: ${{ env.OLD_PRE_TAG }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish GitHub Release
if: contains(github.event.head_commit.message, 'Bump version') == false
uses: ncipollo/release-action@v1.8.6
uses: ncipollo/release-action@v1.14.0
with:
prerelease: true
bodyFile: ReleaseNotes.md
Expand Down
48 changes: 48 additions & 0 deletions Course/OCAuxiliaryTools/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# OpenCore-更新教程
写在前面的话:
```
本人比较懒,总不能OC一有更新就发布,毕竟开发版的话更新较快,在此写个教程方便各位自己更新
```
---
## 开始
#### 本教程使用的软件为OCAuxiliaryTools,该软件有Linux、Mac及Windows版本,操作方法一致。
### 准备工作:
- OCAuxiliaryTools
- 自己的EFI文件
- DiskGenius

[![](https://img.shields.io/badge/DiskGenius-red)](https://www.diskgenius.cn/download.php)
[![](https://img.shields.io/badge/EFI-grey)](https://github.com/gclm/Hackintosh-LEGION-Y7000P-I7-9750H)
[![](https://img.shields.io/badge/OCAuxiliaryTools-purple)](https://github.com/ic005k/OCAuxiliaryTools)

### 步骤
1) 解压并运行OCAuxiliaryTools

2) 将EFI复制到桌面,然后点击打开,选择EFI下的config.plist(也可以直接挂载,Mac下直接挂载比较方便)

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/OCAuxiliaryTools/2.png)
3) 选择OC开发版或正式版

1) 正式版:
1) 点击升级OpenCore和Kexts按钮

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/OCAuxiliaryTools/3.png)

2) 选择最新版,点击获取OpenCore后点击开始同步

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/OCAuxiliaryTools/3.1.png)
2) 开发版:
1) 点击编辑,点击勾选OpenCore开发版

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/OCAuxiliaryTools/3.2.png)

2) 点击升级OpenCore和Kexts按钮,选择开发版分支后点获取并点同步,更新Kext也如下所示(开发版根据自己需要勾选)

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/OCAuxiliaryTools/3.3.png)

4) OCAT会提示红色感叹号,只需要上述同步完成后点击感叹号旁边的保存按钮即可

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/OCAuxiliaryTools/4.png)
- 注:若保存后依旧红色感叹号,可点击感叹号根据提示修改配置文件
6) 点击保存后无误即OC更新成功(保存会自动保存旧配置,遇到错误重命名即可)

80 changes: 40 additions & 40 deletions Course/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,99 +36,99 @@
方法:记事本打开config.plist,将第13行(SSDT-DNVMe.aml头上)的true改为false即可。
```
![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/DNVMe.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/DNVMe.png)
```json
警告:若电脑存在PM981(a)系列硬盘但是未屏蔽,系统则会随机卡死!!!
```
2) 镜像下载后,用刚才下载的MyHash检查md5值是否正确,如果md5值不相同须重新下载

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/MD5.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/MD5.png)
3) 将U盘以默认设置格式化一遍

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/U.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/U.png)
4) 下载Etcher,选择安装镜像,选择需要制作的U盘,点击 Flash 即可。Windows10需要以管理员权限运行

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/Etcher.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/Etcher.png)
5) 刻录成功如下图显示

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/Etcher2.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/Etcher2.png)
6) 将镜像分区自带的EFI删除,(一般现在的镜像都是三分区,根据需要替换就行,这里替换其中的OC分区)

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/OC1.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/OC1.png)
7) 把自己准备好的EFI复制过去

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/OC2.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/OC2.png)
8) 设置BIOS,开机按F2进入Bios将安全启动关闭

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/AQ.jpg)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/AQ.jpg)
9) 下载[Bios一键修改](https://lovekevin.top/TOOLS/Y7000%E7%B3%BB%E5%88%97%E4%B8%80%E9%94%AE%E4%BF%AE%E6%94%B9BIOS.zip),运行5、6、7、8,8代处理器还需运行4

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/Bios.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/Bios.png)

1) 显卡切换混合模式,打开联想电脑管家,点击右上角游戏模式

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/XK1.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/XK1.png)

2) 点击显卡模式,选择混合模式

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/XK2.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/XK2.png)

3) 若没有安装联想电脑管家,可开机连续点按F2进入BIOS设置,切换显卡模式

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/XK3.jpg)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/XK3.jpg)
10) 安装macOS Monterey
1) 开机,按F12选择U盘引导,光标移动到EFI USB Device选择OpenCore分区启动:
2) 进入OpenCore主引导界面,选择Install macOS Monterey,回车进入安装,如果不幸卡住了,请到QQ群寻求帮助

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/install.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/install.png)
11) 选择简体中文,点击->继续

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/ZW.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/ZW.png)
12) 出现安装界面,选择磁盘工具,点击继续

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/C1.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/C1.png)
13) 进入磁盘工具,点击下图所示,选择显示所有设备

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/C2.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/C2.png)
- 在磁盘工具里面所做的操作涉及到你的数据安全,请认真仔细确认后再操作,否则由此造成的一切后果本站概不负责
14) 请根据你的设备选择相应的磁盘,点击抹掉,在弹出的窗口中输入:(名称自定义)

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/C3.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/C3.png)
15) 点击抹除,然后等待操作结束,通过菜单选择退出磁盘工具或者按窗口左上角红色按钮离开磁盘工具

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/C4.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/C4.png)
16) 返回到安装界面,选择安装macOS,点击继续

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/C5.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/C5.png)
17) 点击同意,继续

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/C6.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/C6.png)
18) 阅读许可协议的条款,点击 同意

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/C7.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/C7.png)
19) 选择将要安装的磁盘卷标MacOS,点击继续

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/C8.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/C8.png)
- 它会把USB安装盘上的安装文件预复制到要安装的系统分区里,这个过程通常会持续1-2分钟,之后系统会自动重启
20) 重启后继续安装,在安装期间,通常会自动重启2-3遍

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/C9.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/C9.png)
21) 自动重启进入第二阶段安装

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/C10.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/C10.png)
- 安装Monterey的时间通常是安装Catalina的2倍,请务必耐心等待;安装完成后,会进入设置向导
22) 选择国家和地区,拉到最底,选择:中国大陆,点击继续

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/C11.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/C11.png)
23) 出现桌面后,整个的安装向导就完成了。

![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/C12.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/C12.png)
24) 系统安装后,你可以先喝杯咖啡兴奋会儿,马上还有更艰巨的任务在等着你呢
- 先打开终端,输入命令:
```
sudo spctl --master-disable # 启用macOS安装应用允许任何来源
```
![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/C13.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/C13.png)
25) 运行小键盘及声音修复等
- 打开终端,输入命令,根据需要选择修复
```
Expand All @@ -138,7 +138,7 @@
- 打开 系统偏好设置 > 安全性与隐私 > 隐私 > 辅助功能
- 将 setleds ALCPlugFix等拖放到辅助功能
![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/C14.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/C14.png)
26) Y9000X扬声器无声修复
- 打开终端输入以下命令
```
Expand All @@ -156,23 +156,23 @@
2) 如果电脑只有一块硬盘,则需要手动添加引导项
1) 打开DiskGenius,将EFI->OC复制到ESP->EFI下
![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/E1.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/E1.png)
2) 打开EasyUEFI,点击管理EFI启动,点击图中位置+号添加启动项
![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/E2.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/E2.png)
3) 选择Linux及其他操作系统,描述自定义,选择硬盘ESP分区,然后点击浏览文件
![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/E3.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/E3.png)
4) 选择EFI->OC->OpenCore.efi,确定
![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/E4.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/E4.png)
5) 选中刚刚添加的启动项,点击向上箭头,移到第一启动项,重启即可进入OC
![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/E5.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/E5.png)
- 若重启第一启动项不是OC,可手动进入BIOS调整启动顺序
---
Expand All @@ -198,7 +198,7 @@ MacRecovery-黑果在线安装工具
6) 在线安装速度慢的话,可以将DNS修改为114.114.114.114
- [联想拯救者Y7000P-2019-EFI](https://github.com/gclm/Hackintosh-LEGION-Y7000P-I7-9750H)
![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/MacRecovery.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/MacRecovery.png)
---
## 恢复安装
Expand All @@ -214,20 +214,20 @@ MacRecovery-黑果在线安装工具
2) 打开Paragon Hard Disk Manager,选择从文件恢复
![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/P1.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/P1.png)
3) 选择恢复,弹出窗口选择恢复文件,输入密码进入下一步
![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/P2.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/P2.png)
4) 选择目的磁盘
![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/P3.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/P3.png)
5) 选择目标分区
![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/P4.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/P4.png)
6) 点击开始恢复
![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/P5.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/P5.png)
7) 任选其一,第一个校验,第二个不校验直接恢复
![](https://cdn.staticaly.com/gh/LoveGlaze/images/master/Course/P6.png)
![](https://cdn.jsdelivr.net/gh/LoveGlaze/images@master/Course/P6.png)
Binary file modified OpenCore/EFI/BOOT/BOOTx64.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/AudioDxe.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/BiosVideo.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/CrScreenshotDxe.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/HiiDatabase.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/NvmExpressDxe.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/OpenCanopy.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/OpenHfsPlus.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/OpenLinuxBoot.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/OpenNtfsDxe.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/OpenPartitionDxe.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/OpenRuntime.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/OpenUsbKbDxe.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/Ps2KeyboardDxe.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/Ps2MouseDxe.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/ResetNvramEntry.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/ToggleSipEntry.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/UsbMouseDxe.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/XhciDxe.efi
Binary file not shown.
85 changes: 85 additions & 0 deletions OpenCore/EFI/OC/Kexts/AMFIPass.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>22G630</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>AMFIPass</string>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.AMFIPass</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>AMFIPass</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.4.1</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.4.1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string></string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>14.2</string>
<key>DTSDKBuild</key>
<string>23C53</string>
<key>DTSDKName</key>
<string>macosx14.2</string>
<key>DTXcode</key>
<string>1520</string>
<key>DTXcodeBuild</key>
<string>15C500b</string>
<key>IOKitPersonalities</key>
<dict>
<key>AMFIPass</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.AMFIPass</string>
<key>IOClass</key>
<string>AMFIPass</string>
<key>IOMatchCategory</key>
<string>AMFIPass</string>
<key>IOProviderClass</key>
<string>IOResources</string>
<key>IOResourceMatch</key>
<string>IOKit</string>
</dict>
</dict>
<key>LSMinimumSystemVersion</key>
<string>10.15</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2022-2023 Dhinak G. All rights reserved.</string>
<key>OSBundleLibraries</key>
<dict>
<key>as.vit9696.Lilu</key>
<string>1.6.8</string>
<key>com.apple.kpi.bsd</key>
<string>12.0.0</string>
<key>com.apple.kpi.dsep</key>
<string>12.0.0</string>
<key>com.apple.kpi.iokit</key>
<string>12.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>12.0.0</string>
<key>com.apple.kpi.mach</key>
<string>12.0.0</string>
<key>com.apple.kpi.private</key>
<string>12.0.0</string>
<key>com.apple.kpi.unsupported</key>
<string>12.0.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
</plist>
Binary file not shown.
Loading

0 comments on commit f15ad24

Please sign in to comment.