# 03 - ConfiguraciΓ³n EFI Detallada
## π Archivos de ConfiguraciΓ³n EFI
### Estructura Completa EFI/OC/
```
EFI/
βββ BOOT/
β βββ BOOTx64.efi
βββ OC/
βββ ACPI/
β βββ SSDT-EC.aml (Fake EC)
β βββ SSDT-PLUG.aml (Power Management)
β βββ SSDT-AWAC.aml (Clock fix B760)
β βββ SSDT-PMC.aml (Opcional)
βββ Kexts/
β βββ Lilu.kext
β βββ VirtualSMC.kext
β βββ WhateverGreen.kext
β βββ AppleALC.kext
β βββ AppleIGC.kext
β βββ AirportItlwm.kext
β βββ IntelBluetoothFirmware.kext
β βββ IntelBTPatcher.kext
β βββ FeatureUnlock.kext
β βββ VoodooPS2Controller.kext
β βββ SMCProcessor.kext
β βββ SMCSuperIO.kext
β βββ NVMeFix.kext
βββ Drivers/
β βββ OpenRuntime.efi
β βββ OpenCanopy.efi
βββ Tools/
β βββ Haciend.efi (opcional)
βββ config.plist
βββ .
```
---
## π ConfiguraciΓ³n config.plist Completa
### ACPI Section
```xml
ACPI
Add
Comment
Fake EC
Enabled
Path
SSDT-EC.aml
Comment
PluginType
Enabled
Path
SSDT-PLUG.aml
Comment
AWAC Fix
Enabled
Path
SSDT-AWAC.aml
Delete
Patch
Quirks
FadtEnableReset
NormalizeHeaders
RebaseRegions
ResetHwSig
ResetLogoStatus
```
---
### Booter Section
```xml
Booter
MmapWhitelist
Patch
Quirks
AvoidRuntimeDefrag
DevirtualiseMmio
DisableSingleUser
DisableVariableWrite
DiscardHibernateMap
EnableSafeModeSlide
EnableWriteUnprotector
ForceBooterSignature
ForceExitBootServices
ProtectMemoryRegions
ProtectSecureBoot
ProtectUefiServices
ProvideCustomSlide
ProvideMaxSlide
0
ResizeAppleGpuBars
-1
RevirtualiseMmio
SetupVirtualMap
SignalAppleOS
SyncRuntimePermissions
```
---
### DeviceProperties Section
```xml
DeviceProperties
Add
PciRoot(0x0)/Pci(0x1B,0x0)
layout-id
BwAAAA==
PciRoot(0x0)/Pci(0x2,0x0)
enable-backlight-registers-fix
AQAAAA==
enable-backlight-smoother
AQAAAA==
framebuffer-patch-enable
AQAAAA==
framebuffer-cursormem
AACQAA==
radpng
AQAAAA==
Delete
```
**Layout IDs Comunes para Audio Realtek**:
| Layout ID | Uso |
|-----------|-----|
| 1 | Stereo Output |
| 3 | Speaker + Line Out |
| 5 | Common for desktop |
| 7 | Common for Realtek |
| 11 | Realtek ALC897 |
| 13 | Realtek ALC1220 |
| 28 | Common alternative |
| 99 | Built-in Speaker + Headphone |
---
### Kernel Section
```xml
Kernel
Emulate
Cpuid1Data
NxcB/V/QwMA=
Cpuid1Mask
////
DummyPowerManagement
Force
Kexts
BundlePath
Lilu.kext
Comment
Patch engine
Enabled
ExecutablePath
Contents/MacOS/Lilu
MaxKernel
MinKernel
PlistPath
Contents/Info.plist
BundlePath
VirtualSMC.kext
Comment
SMC emulator
Enabled
ExecutablePath
Contents/MacOS/VirtualSMC
MaxKernel
MinKernel
PlistPath
Contents/Info.plist
BundlePath
WhateverGreen.kext
Comment
AMD GPU patches
Enabled
ExecutablePath
Contents/MacOS/WhateverGreen
MaxKernel
MinKernel
PlistPath
Contents/Info.plist
BundlePath
AppleALC.kext
Comment
Realtek Audio
Enabled
ExecutablePath
Contents/MacOS/AppleALC
MaxKernel
MinKernel
PlistPath
Contents/Info.plist
BundlePath
AppleIGC.kext
Comment
Intel 2.5GbE
Enabled
ExecutablePath
Contents/MacOS/AppleIGC
MaxKernel
MinKernel
19.0.0
PlistPath
Contents/Info.plist
BundlePath
AirportItlwm.kext
Comment
Intel Wi-Fi
Enabled
ExecutablePath
Contents/MacOS/AirportItlwm
MaxKernel
23.9.9
MinKernel
19.0.0
PlistPath
Contents/Info.plist
BundlePath
IntelBluetoothFirmware.kext
Comment
Intel Bluetooth
Enabled
ExecutablePath
Contents/MacOS/IntelBluetoothFirmware
MaxKernel
MinKernel
19.0.0
PlistPath
Contents/Info.plist
BundlePath
IntelBTPatcher.kext
Comment
Intel Bluetooth Patcher
Enabled
ExecutablePath
Contents/MacOS/IntelBTPatcher
MaxKernel
MinKernel
19.0.0
PlistPath
Contents/Info.plist
BundlePath
FeatureUnlock.kext
Comment
Unlock macOS features
Enabled
ExecutablePath
Contents/MacOS/FeatureUnlock
MaxKernel
MinKernel
PlistPath
Contents/Info.plist
BundlePath
VoodooPS2Controller.kext
Comment
PS2 Keyboard/Mouse
Enabled
ExecutablePath
Contents/MacOS/VoodooPS2Controller
MaxKernel
MinKernel
PlistPath
Contents/Info.plist
BundlePath
SMCProcessor.kext
Comment
VirtualSMC Plugin
Enabled
ExecutablePath
Contents/MacOS/SMCProcessor
MaxKernel
MinKernel
PlistPath
Contents/Info.plist
BundlePath
SMCSuperIO.kext
Comment
VirtualSMC Plugin
Enabled
ExecutablePath
Contents/MacOS/SMCSuperIO
MaxKernel
MinKernel
PlistPath
Contents/Info.plist
Patch
Quirks
AppleCpuPmCfgLock
AppleXcpmCfgLock
AppleXcpmExtraMsrs
AppleXcpmForceBoost
CustomSMBIOSGuid
DisableIoMapper
DisableLinkeditJettison
DisableRtcChecksum
ExtendBTFeatureFlags
ExternalDiskIcons
ForceSecureBootScheme
IncreasePciBarSize
LapicKernelPanic
LegacyCommpage
PanicNoKextDump
PowerTimeoutKernelPanic
ProvideCurrentCpuInfo
SetApfsTrimTimeout
-1
ThirdPartyDrives
XhciPortLimit
Scheme
FuzzyMatch
KernelArch
x86_64
KernelCache
Auto
```
---
### Misc Section
```xml
Misc
BlessOverride
Boot
ConsoleAttributes
0
HibernateMode
None
HibernateSkipsPicker
HideAuxiliary
LauncherOption
Full
LauncherPath
Default
PickerAttributes
0
PickerAudioAssist
PickerMode
Builtin
PickerVariant
Default
PollAppleHotKeys
ShowPicker
TakeoffDelay
0
Timeout
5
Debug
AppleDebug
ApplePanic
DisableWatchDog
DisplayDelay
0
DisplayLevel
2147483650
LogModules
*
SerialInit
SysReport
Target
3
Entries
Security
AllowSetDefault
ApECID
0
AuthRestart
BlacklistAppleUpdate
DmgLoading
Signed
EnablePassword
ExposeSensitiveData
6
HaltLevel
2147483648
PasswordHash
PasswordSalt
ScanPolicy
0
SecureBootModel
Disabled
Vault
Optional
Serial
Init
Override
Swap
Tools
```
---
### PlatformInfo (SMBIOS)
```xml
PlatformInfo
Automatic
CustomMemory
Generic
AdviseFeatures
MaxBIOSVersion
ProcessorType
0
SpoofVendor
SystemMemoryStatus
Auto
SystemProductName
iMacPro1,1
SystemSerialNumber
GENERATED_WITH_GENSMBIOS
SystemUUID
GENERATED_WITH_GENSMBIOS
MLB
GENERATED_WITH_GENSMBIOS
ROM
GENERATED_WITH_GENSMBIOS
UpdateDataHub
UpdateNVRAM
UpdateSMBIOS
UpdateSMBIOSMode
Create
```
**Generar SMBIOS vΓ‘lido**:
```bash
# Usar GenSMBIOS
python3 gensmbios.py
# O usar
./gensmbios
```
---
### UEFI Section
```xml
UEFI
APFS
EnableJumpstart
GlobalConnect
HideVerbose
JumpstartHotPlug
MinDate
0
MinVersion
0
Audio
AudioCodec
0
AudioDevice
PciRoot(0x0)/Pci(0x1F,0x3)
AudioOut
0
AudioSupport
MinimumVolume
20
PlayChime
Auto
ResetTrafficClass
SetupDelay
0
VolumeAmplifier
0
ConnectDrivers
Drivers
Arguments
agdpmod=pikera
Comment
Enabled
LoadEarly
Path
OpenRuntime.efi
Input
KeyFiltering
KeyForgetThreshold
5
KeyMergeThreshold
2
KeySupport
KeySupportMode
Auto
KeySwap
PointerSupport
PointerSupportMode
TimerResolution
50000
Output
ClearScreenOnModeSwitch
ConsoleMode
DirectGopRendering
ForceResolution
GopBurstMode
GopPassThrough
Disabled
IgnoreTextInGraphics
InitialMode
3
ReconnectGraphicsOnResChange
ReplaceTabWithSpace
Resolution
Max
SanitiseClearScreen
TextRenderer
BuiltinGraphics
UgaPassThrough
ProtocolOverrides
AppleAudio
AppleBootPolicy
AppleDebugLog
AppleEg2Info
AppleFramebufferInfo
AppleImg4Verification
AppleKeyMap
AppleRtcRam
AppleSecureBoot
AppleSmcIo
AppleUserInterfaceTheme
DataHub
DeviceProperties
FirmwareVolume
HashServices
OSInfo
PciIo
UnicodeCollation
Quirks
ActivateHpetSupport
DisableSecurityPolicy
EnableVectorAcceleration
ExitBootServicesDelay
0
ForceOcWriteFlash
ForgeUefiSupport
IgnoreInvalidFlexRatio
ReleaseUsbOwnership
ReloadOptionRoms
RequestBootVarRouting
ResizeGpuBars
-1
TscSyncTimeout
0
UnblockFsConnect
ReservedMemory
```
---
## π Verificar config.plist
### Usar ProperTree u OCAuxiliaryTools
```bash
# Validar config.plist
plutil -lint config.plist
```
**Salida esperada**:
```
config.plist: OK
```
---
## π Archivos SSDT Necesarios
### SSDT-EC.aml (Fake EC)
Necesario porque macOS espera un Embedded Controller.
### SSDT-PLUG.aml (Plugin Type)
Necesario para power management correcto del CPU.
### SSDT-AWAC.aml (RTC Fix)
**CRΓTICO PARA B760**: Corrige el reloj del sistema. Sin esto, macOS no arrancarΓ‘.
### Generar SSDTs
```bash
# Usar SSDTTime
./SSDTTime.sh
# O usar GenPMC
./gen-pmc.sh
```
---
## π Checklist EFI Completo
- [ ] EFI/BOOT/BOOTx64.efi presente
- [ ] EFI/OC/OpenCore.efi presente
- [ ] EFI/OC/Drivers/OpenRuntime.efi presente
- [ ] EFI/OC/Kexts/ tiene todos los kexts (incluyendo NVMeFix)
- [ ] EFI/OC/ACPI/ tiene SSDT-EC.aml, SSDT-PLUG.aml y SSDT-AWAC.aml
- [ ] config.plist validado con plutil
- [ ] SMBIOS generado con GenSMBIOS
- [ ] Cpuid1Data configurado para Raptor Lake
---
**Siguiente paso: [04 - InstalaciΓ³n](04-installation.md)**