Acpi
- EHCI Patches: nên tắt bằng SSDT-EHCx_OFF . Từ Skylake trở đi không có bộ diều khiển EHCI nên không cần.
- change EHC1 to EH01
- change EHC2 to EH02
- XHCI Patches: Không cần thiết nếu đã map cổng USB
- change XHCI to XHC
- change XHC1 to XHC
- SATA patches: Không cần thiết.
- change SAT0 to SATA
- change SAT1 to SATA
- IMEI Patches: Được thực hiện bởi WhateverGreen
- change HECI to IMEI
- change HEC1 to IMEI
- change MEI to IMEI
- change IDER to MEID
- GFX patches: Được thực hiện bởi WhateverGreen
- change GFX0 to IGPU
- change PEG0 to GFX0
- change PEGP to GFX0
- change SL01 to PEGP
- EC Patches: Hướng dẫn tại đây: Getting started with ACPI
- change EC0 to EC
- change H_EC to EC
- change ECDV to EC
- change PGEC to EC
- Audio renames: Được thực hiện bởi AppleALC
- change HDAS to HDEF
- change CAVS to HDEF
- change AZAL to HDEF
- change ALZA to HDEF
- change B0D3 to HDAU
- Z390 BIOS RTC bug fix: Hướng dẫn tại đây: Getting started with ACPI (SSDT-AWAC)
- change STAS to [Blank]
- Fix Z390 BIOS DSDT Device(RTC) bug
- Fix 300-series RTC Bug
- NVMe patches: NVMeFix Khắc phục quản lý năng lượng
- change PXSX to ANS1
- change PXSX to ANS2
- Airport/WiFi Patches: AirportBrcmFixup
- change PXSX to ARPT
- Các bản vá không cần thiết khác:
- change LPC0 to LPCB(SSDT-SBUS-MCHC)
- change PC00 to PCIO
- change FPU to MATH
- change TMR to TIMR
- change PIC to IPIC
- change GBE1 to ETH0
- TgtBridge patches:
- ACPI -> Patch -> ... -> Base
- DisableASPM:
- DeviceProperties -> Add -> PciRoot... -> pci-aspm-default | Data | <00>
- HaltEnabler:
- ACPI -> Quirks -> FadtEnableReset -> YES
- FixAirport:
- FixIPIC:
- Dùng SSDTTime để tạo SSDT thích hợp, FixHPET - vá xung đột IRQ
- FixSBUS:
- FixShutdown:
- Điều này không gây hại cho Windows hoặc Linux vì đây chỉ là phần bổ sung phần còn thiếu.
- FixDisplay:
- Vá framebuffer thủ công, WhateverGreen đã thực hiện hầu hết.
- FixHDA:
- Đã được thực hiện bởi AppleALC
- FixHPET:
- Dùng SSDTTime để tạo SSDT thích hợp, FixHPET - vá xung đột IRQ
- FixSATA:
- Kernel -> Quirks -> ExternalDiskIcons -> YES
- FixADP1:
- Renames device AC0_ to ADP1, xem hướng dẫn tại đây Rename-SSDT
- Thêm (_PRW, Package (0x02) {0x1C,0x03}) nếu thiếu. Chi tiết
- FixRTC:
- Dùng SSDTTime để tạo SSDT thích hợp, FixHPET - vá xung đột IRQ
- FixTMR:
- Dùng SSDTTime để tạo SSDT thích hợp, FixHPET - vá xung đột IRQ
- AddPNLF:
- Dùng SSDT-PNLF
- AddMCHC:
- Dùng SSDT-SBUS-MCHC
- AddIMEI:
- Dùng SSDT-SBUS-MCHC
- WhateverGreen cũng sẽ thực hiện việc đặt IMEI
- Đối với Sandy Bridge trên Z77 hoặc IvyBridge trên Z67, IMEI cần được làm giả với SSDT-IMEI
- FakeLPC:
- DeviceProperties -> Add -> PciRoot... -> device-id
- You'll want to spoof it to a supported LPC controller already in AppleLPC
- FixIntelGfx:
- Được thực hiện bởi WhateverGreen
- AddHDMI:
- Được thực hiện bởi WhateverGreen
- ACPI -> Delete
- PluginType:
- Xem hướng dẫn chi tiết tại đây
- Generate P States: ssdtPRGen.sh(Dành cho Sandy Bridge và IvyBridge)
- Generate C States: ssdtPRGen.sh Dành cho Sandy Bridge và IvyBridge)
Boot Argument:
- NVRAM -> Add -> 7C436110-AB2A-4BBB-A880-FE41995C9F82 -> boot-args
- Misc -> Boot -> HibernateMode -> None
- Misc -> Security -> AllowSetDefault -> True
- Press Ctrl+Enter trong bộ chọn để đặt phân vùng mặc định
- Thay thế Startup Disk trong macOS -> System Preferences
- NVRAM -> Add -> 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14 -> DefaultBackgroundColor
- 00000000: Syrah Black
- BFBFBF00: Light Gray
- Để tùy chỉnh, hãy chuyển giá trị RGB sang HEX
- Clover only flag, for OpenCore UI scaling see UIScale and UEFI -> Output
- NVRAM -> Add -> 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14 -> flagstate | Data | <>
- 0 -> <00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000(dumped from a mac)
- NVRAM location needs to be double checked for this one
- NVRAM -> Add -> 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14 -> UIScale | Data | <>
- 1 -> <01>
- 2 -> <02>
- PlatformInfo -> Generic -> ProcessorType
- Chi tiết tại đây.
- FixOwnership: UEFI -> Quirk -> ReleaseUsbOwnership
- ClockID: DeviceProperties -> Add -> PciRoot... -> AAPL,clock-id
- HighCurrent: DeviceProperties -> Add -> PciRoot... -> AAPL, HighCurrent
- Không dùng cho OS X 10.11 và mới hơn
- Newer variant is either PowerProperties defined in IOUSBHostFamily.kext -> AppleUSBHostPlatformProperties or added with a USBX SSDT for Skylake SMBIOS and newer
- Inject: DeviceProperties -> Add -> PciRoot... -> layout-id
- AFGLowPowerState: DeviceProperties -> Add -> PciRoot... -> AFGLowPowerState -> <01000000>
- ResetHDA: UEFI -> Audio -> ResetTrafficClass
- Không cần thiết.
- DeviceProperties -> Add
- USB
- device-id
- device_type
- device_type
- IMEI
- device-id
- vendor-id
- WIFI
- name
- compatible
- LAN
- device-id
- compatible
- vendor-id
- XHCI
- device-id
- device_type: UHCI
- device_type: OHCI
- device-id
- AAPL,current-available
- AAPL,current-extra
- AAPL,current-available
- AAPL,current-extra
- AAPL,current-in-sleep
- built-in
- device-id
- AAPL,current-available
- AAPL,current-extra
- AAPL,current-available
- AAPL,current-in-sleep
- built-in
- UEFI -> Quirks -> ActivateHpetSupport
- thay thế bằng: PciRoot...
- DeviceProperties -> Add -> PciRoot... -> device-id
- ie: <B0670000> for the R9 390X
- DeviceProperties -> Add -> PciRoot... -> @0,connector-type
- Bạn có thế thêm các kết nối mở rộng (ie. @1,connector-type, @2,connector-type) cho các cổng bạn có. Các loại cổng kết nối:
- DeviceProperties -> Add -> PciRoot(0x0)/Pci(0x2,0x0) -> device-id
- ie. 66010003 for the HD 4000
- DeviceProperties -> Add -> PciRoot(0x0)/Pci(0x2,0x0) -> vendor-id -> <86800000>
- DeviceProperties -> Add -> PciRoot... -> device-id
- ie: <B0670000> dùng cho R9 390X
- DeviceProperties -> Add -> PciRoot... -> ATY,DeviceID
- ie: <B067> dùng cho R9 390X
- DeviceProperties -> Add -> PciRoot... -> @0,compatible
- ie. ATY,Elodea dùng cho HD 6970M
- DeviceProperties -> Add -> PciRoot... -> vendor-id-> <02100000>
- DeviceProperties -> Add -> PciRoot... -> ATY,VendorID -> <0210>
- DeviceProperties -> Add -> PciRoot... -> AAPL00,DualLink
- 1 -> <01000000>
- 0 -> <00000000>
- DeviceProperties -> Add -> PciRoot... -> @0,display-cfg
- chi tiết tại Nvidia injection
- chi tiết tại sample.dsl
- DeviceProperties -> Add -> PciRoot... -> model | string | Add the GPU name
- DeviceProperties -> Add -> PciRoot... -> NVDA,noEFI | Boolean | True
- Xem bình luận của FredWst để biết thêm chi tiết: GT 640 scramble
- DeviceProperties -> Add -> PciRoot(0x0)/Pci(0x2,0x0) -> APPL,ig-platform-id
- DeviceProperties -> Add -> PciRoot... -> @0,AAPL,boot-display
- Được xử lý bởi WhateverGreen.
- Radeon-DeInit-SSDT chỉ dùng trong trường hợp cần thiết.
- Kernel -> Quirks -> AppleXcpmCfgLock -> YES
- Clover sẽ tự động áp dụng bản và này nếu MSR E2 bị khóa, bạn cần bật dù cho Clover tắt.
- Kernel -> Quirks -> AppleCpuPmCfgLock -> YES
- Kernel -> Quirks -> CustomSMBIOSGuid -> YES
- PlatformInfo -> UpdateSMBIOSMode -> Custom
- Kernel -> Patch
- Chi tiết tại Kernel and Kext patch
- Kernel -> Patch
- Chi tiết tại Kernel and Kext patch
- Kernel -> Force
- Kernel -> Quirks -> LapicKernelPanic -> YES
- Kernel -> Quirks -> AppleXcpmExtraMsrs -> YES
- Kernel -> Quirks -> XhciPortLimit -> YES
- Kernel -> Quirks -> ExternalDiskIcons -> YES
- Dùng khi ổ đĩa trong được xem là ổ đĩa ngoài trên macOS
- config.plist -> Kernel -> Quirks -> DisableRtcChecksum -> true
- Kernel -> Emulate:
- Cpuid1Mask: <Clover_FCPUID_Extended_to_4_bytes_Swapped_Bytes> | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
- VD: (0x0306A9): A9060300 00000000 00000000 00000000
- Cpuid1Data(Swap 00 for FF if needing to swap with a longer value)
- VD: FFFFFFFF 00000000 00000000 00000000
- Có thể tìm thấy trong phần System Preferences -> Network -> Advanced -> Hardware
- Đảm bảo En0 vẫ hoạt động với OpenCore để không gây lỗi với iMessage iCloud.
- PlatformInfo -> Generic -> MLB
- NVRAM -> Add -> 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14-> UIScale:
- 0x28: Data | <01>
- 0x2A: Data | <02>
- NVRAM -> Add -> 7C436110-AB2A-4BBB-A880-FE41995C9F82 -> csr-active-config:
- 0x0: 00000000
- 0x3: 03000000
- 0x67: 67000000
- 0x3E7: E7030000
- PlatformInfo -> Generic -> SystemProductName
- PlatformInfo -> Generic -> SystemSerialNumber
- PlatformInfo -> Generic -> MLB
- PlatformInfo -> Generic -> SystemUUID
- PlatformInfo -> CustomMemory -> True
- PlatformInfo -> Memory
- Chi tiết tại đây
- DeviceProperties -> Add -> PciRoot... -> APPL,slot-name | string | Add slot
- Không cần thiết với OpenCore
- Chi tiết tại: Hardware UUID injection for OpenCore #711
- Không cần thiết.
- Property set in NVRAM
- NVRAM -> Add -> 7C436110-AB2A-4BBB-A880-FE41995C9F82 -> backlight-level | Data | <Insert value>
- 0x0101 -> <0101>
- Không có tùy chọn tương đương.
- Không có tùy chọn tương đương.
- Just add your SMBIOS properties under PlatformInfo
- Confusing quirk tbh, it's not even mentioned in more recent versions of the Clover docs on AppleLife
- nvda_drv=1
- NVRAM -> Add -> 7C436110-AB2A-4BBB-A880-FE41995C9F82 -> nvda_drv: <31>
Nguồn: https://dortania.github.io/OpenCore-Install-Guide/clover-conversion/Clover-config.html
Để tìm hiểu thêm về Hackintosh. Hãy tham gia group HSVN- Hackintosh Vietnam của chúng tôi
x
ACPI Renames:
Với quá trình chuyển đổi từ Clover sang OpenCore, chúng ta nên bắt đầu loại
bỏ các Patch (bản vá) không cần thiết:
Patches
Fixes:
DropTables:
SSDT:
NeverHibernate:
Default Boot
Volume:
DefaultBackgroundColor:
EFILoginHiDPI:
flagstate:
UIScale:
Type:
HWPEnable: Thay thế bởi HWPEnable
QEMU: Proper VM/KVM support is implemented in OpenCore
TurboDisable: Thay thế bởi CPUFriend hoặc ssdtPRGen
USB:
Audio:
Bnạ cần biết PciRoot và tên của bộ điều khiển âm thanh, Xem tại đây:
path/to/gfxutil -f HDEF
Add
Properties:
Properties:
FakeID: Bạn cần biế PciRoot của thiết bị và áp dụng các thuộc tính vào DeviceProperties -> Add, PciRoot
co thể tìm thấy với gfxutil
device_type: EHCI
device_type: XHCI
ForceHPET:
Disable Drivers
Chỉ cần thêm # vào phía trước tên hoặc xóa tên driver khỏi config.plist của OpenCore
Graphics
InjectIntel:
LVDS <02 00 00 00>
DVI (Dual Link) <04 00 00 00>
DVI (Single Link) <00 02 00 00>
VGA <10 00 00 00>
S-Video <80 00 00 00>
DP <00 04 00 00>
HDMI <00 08 00 00>
DUMMY <01 00 00 00>
InjectNvidia:
FakeIntel:
FakeAti:
Note: Trong trường hợp DeviceProperties không hoạt động, hãy tạo SSDT để fakeid GPU. Hướng dẫn chi tiết tại đây. đối với tùy chọn InjectAti, hãy tham khảo Sample.dsl
Custom EDID
Dual Link:
NVCAP
display-cfg:
LoadVBios:
PatchVBios: tuong tự LoadVBIOS
NvidiaGeneric:
NvidiaSingle: Xem tại disabling
unsupported GPUs
NvidiaNoEFI:
ig-platform-id:
BootDisplay:
RadeonDeInit:
KernelPm:
AppleIntelCPUPM:
DellSMBIOSPatch:
dành cho phần cứng hãng Dell chạy APTIO V
KextsToPatch:
KernelToPatch:
ForceKextsToLoad:
Kernel LAPIC:
KernelXCPM:
Để biết thêm danh sách các bản vá, hãy đối chiếu OpenCore's CommonPatches.c với Clover's kernel_patcher.c.
Đối với Haswell+ cấp thấp giống như Celerons, xem các bản vá tại: Bugtracker
Issues 365
USB Port
Limit Patches:
External
Icons Patch:
AppleRTC
Note: Nếu vẫn gặp sự cố, hãy dùng RTCMemoryFixup . Xem chi tiết tại đây
Dùng boot-arg rtcfx_exclude=00-FF chung với RTCMemoryFixup để thu hẹp và tìm ra.
If this works, slowly shorten the
excluded area until you find the part macOS is getting fussy on
FakeCPUID:
Note: Tìm CPUID's cho Intel
dễ nhất là qua các ghi chú cập nhật của Microsoft'. Chi tiết tại đây
Rt Variables
ROM:
MLB:
BooterConfig:
CsrActiveConfig:
Product Name:
Serial Number:
Board Serial
Number:
SmUUID:
Memory:
Slots AAPL
Injection:
CustomUUID:
InjectSystemID:
BacklightLevel:
InjectKexts:
NoCaches:
ExposeSysVariables:
NvidiaWeb:
Nhận xét
Đăng nhận xét