Skip to content

Commit

Permalink
04-11-2023: 小新pr13 2019~2020
Browse files Browse the repository at this point in the history
1、ACPI修补电池 `建议维修`
2、USB定制:添加 SSDT-ACPI-USB-XHUB-PRO13.aml 删除 USBMap.kext
3、声卡ID 替换为 11
4、机型为MacBookPro16,2
  • Loading branch information
M69W authored and M69W committed Apr 16, 2023
1 parent 7ff0b22 commit 154c4a1
Show file tree
Hide file tree
Showing 93 changed files with 754 additions and 460 deletions.
23 changes: 23 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
## XiaoXinPro-13-hackintosh EFI Changelog

- # 04-11-2023
- # 此次更新基于 群里 宪武(2023-03-07、2023-03-14、2023-04-11)

- 2023-04-11
- ACPI修补电池 `建议维修`: `SSDT-BAT_BST-fix.aml`

- 2023-03-14
- 1 `boot-args` 添加 `hbfx-patch-pci=XHC`(重置 `NVRAM` 生效)。
- 2 用 `ACPI`方法替换kext定制USB端口:
- a.添加 `SSDT-ACPI-USB-XHUB-PRO13.aml`。自行添加补丁以及配置 `config` 文件。
- b.删除 `USBMap.kext`。自行配置 `config` 文件。
- 3 是否需要 `6D补丁` 自行决定。

- # 使用注意⚠️
- `config.plist` 默认机型为 `MacBookPro16,2`
- `MLB``SystemSerialNumber``SystemUUID` 为空,请根据 机型填写对应的 三码等信息 再更新使用
- 若使用多系统:注意 `Entries` 中自行替换引导 `Win 10 Path` 地址 或 设置 `BlessOverride` 对应的值
- 默认Intel网卡(`AX201`)驱动
- 声卡ID 100(`alcid=11`
- 部分kext 已更新至 此版本 [2023.04 release planning](https://github.com/acidanthera/bugtracker/issues/2238)
- --
- 请查阅【`ReadMe`】文件夹内容再使用

- # 03-01-2023
- # 版本:来自 【EFI-OC090-PRO13-10210-Intel网卡-11-12-13.zip】 by 宪武
- # 使用注意⚠️
Expand Down
Binary file added EFI/EFI_OC/2023-3-14/小新更新.zip
Binary file not shown.
Binary file not shown.
45 changes: 45 additions & 0 deletions EFI/EFI_OC/2023-4-11/SSDT-BAT_BST-fix.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
// battery_BIF
//
// In config ACPI\Patch, _BIF to XBIF
// Find: 5F424946
// Replace: 58424946
// TableSignature: 44534454
//
DefinitionBlock ("", "SSDT", 2, "OCLT", "BAT1_BIF", 0)
{
External(_SB.PCI0.LPCB.H_EC.BAT1, DeviceObj)
External(_SB.PCI0.LPCB.H_EC.BAT1.XBIF, MethodObj)

Scope(_SB.PCI0.LPCB.H_EC.BAT1)
{
Method (_BIF, 0, Serialized)
{
Name (XBPK, Package (0x0D){})
Local0 = \_SB.PCI0.LPCB.H_EC.BAT1.XBIF()
XBPK [0]= DerefOf (Local0[0])
XBPK [1]= DerefOf (Local0[1])
XBPK [2]= DerefOf (Local0[2])
XBPK [3]= DerefOf (Local0[3])
XBPK [4]= DerefOf (Local0[4])
XBPK [5]= DerefOf (Local0[5])
XBPK [6]= DerefOf (Local0[6])
XBPK [7]= DerefOf (Local0[7])
XBPK [8]= DerefOf (Local0[8])
XBPK [9]= DerefOf (Local0[9])
XBPK [0xA]= DerefOf (Local0[0xA])+1
XBPK [0xB]= DerefOf (Local0[0xB])
XBPK [0xC]= DerefOf (Local0[0xC])

If (_OSI ("Darwin"))
{
Return (XBPK)
}
Else
{
Return (\_SB.PCI0.LPCB.H_EC.BAT1.XBIF())
}
}
}
}
//EOF

Binary file added EFI/EFI_OC/OC/ACPI/SSDT-ACPI-USB-XHUB-PRO13.aml
Binary file not shown.
Binary file added EFI/EFI_OC/OC/ACPI/SSDT-BAT_BST-fix.aml
Binary file not shown.
Binary file added EFI/EFI_OC/OC/ACPI/SSDT-GPRW.aml
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/ACPI/SSDT-PCI0.LPCB-Wake-AOAC.aml
Binary file not shown.
Binary file removed EFI/EFI_OC/OC/ACPI/SSDT-USBW.aml
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/ArpDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/AudioDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/BiosVideo.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/CrScreenshotDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/Dhcp4Dxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/DnsDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/DpcDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/Ext4Dxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/HiiDatabase.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/HttpBootDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/HttpDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/HttpUtilitiesDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/Ip4Dxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/MnpDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/NvmExpressDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/OpenCanopy.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/OpenHfsPlus.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/OpenLinuxBoot.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/OpenNtfsDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/OpenPartitionDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/OpenRuntime.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/OpenUsbKbDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/OpenVariableRuntimeDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/Ps2KeyboardDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/Ps2MouseDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/ResetNvramEntry.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/SnpDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/TcpDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/ToggleSipEntry.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/Udp4Dxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/UsbMouseDxe.efi
Binary file not shown.
Binary file modified EFI/EFI_OC/OC/Drivers/XhciDxe.efi
Binary file not shown.
193 changes: 184 additions & 9 deletions EFI/EFI_OC/OC/Kexts/AppleALC.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,31 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.8.0</string>
<string>1.8.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.8.0</string>
<string>1.8.1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>14C18</string>
<string>13F100</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>13.1</string>
<string>12.3</string>
<key>DTSDKBuild</key>
<string>22C55</string>
<string>21E226</string>
<key>DTSDKName</key>
<string>macosx13.1</string>
<string>macosx12.3</string>
<key>DTXcode</key>
<string>1420</string>
<string>1341</string>
<key>DTXcodeBuild</key>
<string>14C18</string>
<string>13F100</string>
<key>IOKitPersonalities</key>
<dict>
<key>ALCUserClientProvider</key>
Expand All @@ -65,6 +65,32 @@
<string>as.vit9696.AppleALC</string>
<key>HDAConfigDefault</key>
<array>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>Codec</key>
<string>Floron - Realtek ALC256 (3246) for Honor MagicBook Pro HBB-WAH9</string>
<key>CodecID</key>
<integer>283902550</integer>
<key>ConfigData</key>
<data>
AUccEAFHHQEBRx4XAUcfkAFHDAICFxwgAhcd
EAIXHiECFx8EAhcMAgEnHDABJx0BAScepgEn
H5A=
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>95</integer>
<key>WakeConfigData</key>
<data>
AUcMAgIXDAI=
</data>
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
Expand Down Expand Up @@ -2192,6 +2218,32 @@
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>Codec</key>
<string>ALC236 for HP-240G8 by 8DireZ3</string>
<key>CodecID</key>
<integer>283902518</integer>
<key>ConfigData</key>
<data>
AUccEAFHHQEBRx4XAUcfkAFHDAICFxwgAhcd
EAIXHiECFx8EAhcMAgEnHDABJx0BAScepgEn
H5ABlxxAAZcdEAGXHoEBlx8E
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>55</integer>
<key>WakeConfigData</key>
<data>
AUcMAgIXDAIBlwcl
</data>
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
Expand Down Expand Up @@ -5064,6 +5116,27 @@
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>Codec</key>
<string>ALC269</string>
<key>CodecID</key>
<integer>283902569</integer>
<key>Comment</key>
<string>ALC269 for minisforum NAG6 by DalianSky</string>
<key>ConfigData</key>
<data>
AYccEAGHHZABhx6BAYcfAQIXHDACFx1AAhce
IQIXHwEBRwwC
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>111</integer>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
Expand Down Expand Up @@ -5491,7 +5564,7 @@
<data>
ASccEAEnHQEBJx6gAScfkAF3HCABdx0BAXce
FwF3H5ABdwwCAaccMAGnHRABpx6BAacfAgIX
HEACFx0QAhceIQIXHwICFwwC
HEACFx0QAhceIQIXHwICFwwCAgUAbwIEC/M=
</data>
<key>FuncGroup</key>
<integer>1</integer>
Expand Down Expand Up @@ -7415,6 +7488,32 @@
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>Codec</key>
<string>ALC 293 for Hasee Z7-CT7NA by lgh07711</string>
<key>CodecID</key>
<integer>283902611</integer>
<key>ConfigData</key>
<data>
AUccEAFHHQEBRx4XAUcfkAFXHCABVx0QAVce
IQFXHwIBVwwCASccMAEnHQEBJx6mAScfkAGn
HEABpx0RAacegQGnHwIBRwwC
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>31</integer>
<key>WakeConfigData</key>
<data>
AUcMAg==
</data>
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
Expand Down Expand Up @@ -7689,6 +7788,31 @@
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>Codec</key>
<string>Realtek ALC295, ZenBook UX581</string>
<key>CodecID</key>
<integer>283902613</integer>
<key>ConfigData</key>
<data>
AgUARQIEUIkCBQAbAgROSwIXDAIBhx0AAYce
AAGHH0ABlxxQAZcdEAGXHqcBlx8A
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>11</integer>
<key>WakeConfigData</key>
<data>
AhcMAgGXByQ=
</data>
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
Expand Down Expand Up @@ -8387,6 +8511,31 @@
<key>LayoutID</key>
<integer>21</integer>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>Codec</key>
<string>Pinokyo-H - Lenovo ThinkCentre SFF M720e</string>
<key>CodecID</key>
<integer>283903523</integer>
<key>ConfigData</key>
<data>
AUccEAFHHUABRx4RAUcfAQF3HCABdx0BAXce
FwF3H5ABdwwCAYccMAGHHRABhx6gAYcfkAGX
HEABlx0QAZcegQGXHwICFxxQAhcdEAIXHiEC
Fx8C
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>13</integer>
<key>WakeConfigData</key>
<data>
AXcMAg==
</data>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
Expand Down Expand Up @@ -15111,6 +15260,32 @@
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>Codec</key>
<string>Imoize - Realtek ALC255 for Acer Nitro 5 AN515-52-73Y8</string>
<key>CodecID</key>
<integer>283902549</integer>
<key>ConfigData</key>
<data>
ASccEAEnHQEBJx6mAScfkAFHHCABRx0BAUce
FwFHH5ABRwwCAZccMAGXHRABlx6LAZcfAgIX
HEACFx0QAhceKwIXHwICFwwC
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>37</integer>
<key>WakeConfigData</key>
<data>
AUcMAgIXDAI=
</data>
<key>WakeVerbReinit</key>
<true/>
</dict>
</array>
<key>IOClass</key>
<string>AppleALC</string>
Expand Down
Binary file modified EFI/EFI_OC/OC/Kexts/AppleALC.kext/Contents/MacOS/AppleALC
Binary file not shown.
16 changes: 8 additions & 8 deletions EFI/EFI_OC/OC/Kexts/BrightnessKeys.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>20D91</string>
<string>21G419</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -21,23 +21,23 @@
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.0.2</string>
<string>1.0.3</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>12A8179i</string>
<string>13F100</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>11.0</string>
<string>12.3</string>
<key>DTSDKBuild</key>
<string>20A5343f</string>
<string>21E226</string>
<key>DTSDKName</key>
<string>macosx11.0</string>
<string>macosx12.3</string>
<key>DTXcode</key>
<string>1200</string>
<string>1341</string>
<key>DTXcodeBuild</key>
<string>12A8179i</string>
<string>13F100</string>
<key>IOKitPersonalities</key>
<dict>
<key>BrightnessKeys</key>
Expand Down
Binary file not shown.
Loading

0 comments on commit 154c4a1

Please sign in to comment.