diff --git a/.obsidian/plugins/various-complements/data.json b/.obsidian/plugins/various-complements/data.json index 9f3c47a..f117fd6 100644 --- a/.obsidian/plugins/various-complements/data.json +++ b/.obsidian/plugins/various-complements/data.json @@ -47,22 +47,6 @@ }, "showLogAboutPerformanceInConsole": false, "selectionHistoryTree": { - "CommonUI控件基类,只要定义了": { - "CommonUI控件基类,只要定义了": { - "currentFile": { - "count": 2, - "lastUpdated": 1685443654293 - } - } - }, - "来管理控件的ActionBindings;以及": { - "来管理控件的ActionBindings;以及": { - "currentFile": { - "count": 2, - "lastUpdated": 1685443673045 - } - } - }, "USBToolBox": { "USBToolBox": { "currentFile": { @@ -78,6 +62,38 @@ "lastUpdated": 1687936106957 } } + }, + "Kernel": { + "Kernel": { + "currentFile": { + "count": 1, + "lastUpdated": 1688357574366 + } + } + }, + "Address": { + "Address": { + "currentFile": { + "count": 1, + "lastUpdated": 1688357662546 + } + } + }, + "Booter": { + "Booter": { + "currentFile": { + "count": 2, + "lastUpdated": 1688358593255 + } + } + }, + "EFI文件)": { + "EFI文件)": { + "currentFile": { + "count": 1, + "lastUpdated": 1688359005627 + } + } } } } \ No newline at end of file diff --git a/07-Other/MAC/黑苹果配置笔记.md b/07-Other/MAC/黑苹果配置笔记.md index e248e73..a54adc1 100644 --- a/07-Other/MAC/黑苹果配置笔记.md +++ b/07-Other/MAC/黑苹果配置笔记.md @@ -28,13 +28,13 @@ SSDT&DSDT: - [USBToolBox](https://github.com/USBToolBox/tool):用于定制usb。 - [kext](https://github.com/USBToolBox/kext) - [OCAT](https://github.com/ic005k/OCAuxiliaryTools):OC编辑器。 -- DiskGenius:查看EFI用。 -- balenaEtcher-Setup:写入镜像工具。 +- [OCC](https://mackie100projects.altervista.org/download-opencore-configurator/):MAC系统中的OC编辑器。 +- [DiskGenius](https://www.diskgenius.cn/):查看EFI用。 +- [BalenaEtcher-Setup](https://etcher.balena.io/):写入镜像工具。 - [ProperTree](https://github.com/corpnewt/ProperTree): - [Hackintool](https://github.com/benbaker76/Hackintool): -https://pan.baidu.com/s/1VFuLao3LDb_VwQzXxx6Eyg 提取码:ile9 -也可以参考https://forum.amd-osx.com/threads/asus-x670e-gene-efi-adaptable-to-other-x670-x670e-b650-and-b650e-boards.4160/post-27008 +参考:https://forum.amd-osx.com/threads/asus-x670e-gene-efi-adaptable-to-other-x670-x670e-b650-and-b650e-boards.4160/post-27008 # 完美黑苹果(Win&Mac 双系统)安装流程 如果电脑已经存在EFI分区,即你已经先安装了macOS,此时安装Win10会破坏之前的EFI引导,所以建议先安装Win10,之后安装macOS。 @@ -101,17 +101,133 @@ https://forum.amd-osx.com/threads/asus-x670e-gene-efi-adaptable-to-other-x670-x6 2. NVRAM法 https://imacos.top/2022/01/03/0807/ 3. 路径可以在设备管理器 -> 显卡属性 -> 详细信息 -> 位置路径找到。 https://www.reddit.com/r/hackintosh/comments/yetoec/pci_device_paths_without_gfxutil_or_macos_using/ 4. 屏蔽N卡 PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0) |disable-gpu|Boolean|`True`| https://dortania.github.io/OpenCore-Install-Guide/extras/spoof.html -3. 修改MMIO白名单 +3. [x] 修改MMIO白名单 4. 可选修改 - 1. [ ] 将OpenCore加入Bios启动项中。[【Windows&macOS】完美双系统系列教程第2集,Windows环境下配置OC引导】 【精准空降到 05:35】](https://www.bilibili.com/video/BV1Bi4y1S7DN/?share_source=copy_web&vd_source=fe8142e8e12816535feaeabd6f6cdc8e&t=335) - 2. [ ] 为了EXPO关闭雷电4接口。(**Bios中操作,可能需要禁用**) - 3. [ ] USBToolBox 定制 + 1. [x] 为了EXPO关闭雷电4接口。(**Bios中操作,可能需要禁用**) + 2. [ ] USBToolBox 定制 # 其他可能的Bios问题 -1. 关闭CSM -2. 快速启动 -3. 安全启动 +需要关闭: +1. SVM(虚拟机) +2. CSM +3. 快速启动 +4. 安全启动 +5. 为了EXPO关闭雷电4接口 -# OpenCore添加跑码模式 -找到NVRAM---7C436110-AB2A-4BBB-A880-FE41995C9F82 ,给boot-args 添加上 -v选项。 -![](https://i0.hdslb.com/bfs/article/2a9a049b26a80f2148d1a2fd5618f1d354643e2b.png@1256w_700h_!web-article-pic.avif) \ No newline at end of file +# OpenCore Debug +添加跑码模式,找到NVRAM---7C436110-AB2A-4BBB-A880-FE41995C9F82 ,给boot-args 添加上 -v选项。 +![](https://i0.hdslb.com/bfs/article/2a9a049b26a80f2148d1a2fd5618f1d354643e2b.png@1256w_700h_!web-article-pic.avif) + +MISC - Debug -Target 设置成67,之后就可以输出Log到安装U盘根目录。 + +# CaseySJ & ovenlite1 EFI +ovenlite1相比CaseySJ +- ACPI + - Add (Remove & Replace) + - SSDT-CREATE-DP68.aml (disable) + - SSDT-EC-AMD.aml + - SSDT-SBUS-MCHC-AMD.aml + - SSDT-SBRG.aml + - SSDT-USBX.aml -> SSDT-EC-USBX.aml + - SSDT-SBUS-MCHC-AMD.aml -> SSDT-SBUS-MCHC.aml + - SSDT-DTPG.aml + - SSDT-TB3HP-ASUS-X670E-GENE.aml (disable) + - SSDT-USB-ASUS-X670E-GENE-GP17.aml + - SSDT-USB-ASUS-X670E-GENE-GPP7.aml + - SSDT-USB-ASUS-X670E-GENE-GPP7-NO-BT.aml (disable) + - SSDT-USBW.aml + - SSDT-AQUANTIA-AQC113C-PCX1.aml (disable) + - Path (Add) + - | | 0 | Replace DP68 with DP10 in AmdTable | 2 | false | 44503638 | 0 | | 416D645461626C65 | 44503130 | | 0 | 0 | 53534454 | +- Booter + - MMIO WhiteList + - Row 5 Address 36507222016 -> 70866960384 +- DP (Skip) +- Kernel + - Add(Remove) + - SMCAMDProcessor.kext + - NVMeFix.kext + - USBPorts-XHC1-XHC2-XHC4.kext + - USBPorts-XHC1-XHC2-XHC4-NO-BT.kext + - USBWakeFixup.kext + - AirportItlwm-Monterey.kext + - FeatureUnlock.kext + - IntelBluetoothInjector.kext + - Force + - | com.apple.iokit.IONetworkingFamily | System/Library/Extensions/IONetworkingFamily.kext | | false | Contents/MacOS/IONetworkingFamily | Contents/Info.plist | | 13.99.99 | Any | + - Kext 标识符,以便在添加前检查是否存在,例如:`com.apple.iokit.IONetworkingFamily`。只有在缓存中找不到标识符的驱动程序才会被添加。 + - Path + - Enable algrey - _cpuid_set_generic_info - Set microcode=186 - 10.13/10.14/10.15/11.0/12.0/13.0 + - Disable CaseySJ - Fix PCI bus enumeration on AM5 - 13.0 + - Remove CaseySJ Row 21~26 com.apple.driver.AppleEthernetAquantiaAqtion + - Emulate + - Disable DummyPowerManagement + - Quirks + - Disable CustomSMBIOSGuid + - Scheme + - KernelArch + - x86_64 -> Auto +- MISC + - Boot + - Disable PollAppleHotKeys + - Disable HibernateSkipsPicker + - PickerAttributes 153 -> 17 + - PickerVariant blackosx\BsxM1 -> Acidanthera\Syrah + - Timeout 6 -> 10 + - Debug(Skip) + - Security + - Disable AllowSetDefault + - Entries + - Add | CustomOS | PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,11-22-33-44-55-66-77-88)/HD(1,GPT,00000000-0000-0000-0000-000000000000,0x800,0x64000)/\EFI\BOOT\BOOTX64.EFI | | false | Not signed for security reasons | false | Auto | false | + - Tools(Add) + - BootKicker.efi + - ChipTune.efi + - CleanNvram.efi + - ControlMsrE2.efi + - CsrUtil.efi + - GopStop.efi + - KeyTester.efi + - MmapDump.efi + - OpenControl.efi + - ResetSystem.efi + - RtcRw.efi + - TpmInfo.efi +- NVRAM + - Add + - 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102 (Remove) + - revcpuname + - revcpu + - 7C436110-AB2A-4BBB-A880-FE41995C9F82 (Add) + - | #INFO (prev-lang:kbd) | String | en:252 (ABC), set 656e3a323532 | + - | ForceDisplayRotationInEFI | Number | 0 | + - boot-args keepsyms=1 revpatch=cpuname e1000=0 debug=0x100 agdpmod=pikera -> keepsyms=1 e1000=0 debug=0x100 agdpmod=pikera + - Delete + - 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102 (Remove) + - revcpu + - revcpuname + - opencore-version + - UIScale + - 7C436110-AB2A-4BBB-A880-FE41995C9F82 (Remove) + - csr-active-config + - SystemAudioVolume + - SystemAudioVolumeDB + - UIScale + - LegacySchema + - 7C436110-AB2A-4BBB-A880-FE41995C9F82 + - 8BE4DF61-93CA-11D2-AA0D-00E098032B8C +- UEFI + - APPLEInput + - Enable GraphicsInputMirroring + - Audio + - AudioDevice + - Drivers (Remove) + - CrScreenshotDxe.efi + - OpenLinuxBoot.efi + - ext4_x64.efi + - ResetNvramEntry.efi + - ToggleSipEntry.efi + - ReservedMemory + - | 268435456 | HD3000: IGPU memory corruption errata | false | 268435456 | Reserved | + - | 569344 | Fix black screen on wake from hibernation for Lenovo Thinkpad T490 | false | 4096 | RuntimeCode | + + \ No newline at end of file