Jump to content

El Capitan: Realtek ALC AppleHDA Audio


toleda
 Share

388 posts in this topic

Recommended Posts

  • 2 weeks later...
So I got sound working on my setup (ALC888) using the 120 script. Looking at the 120 script log (see below), is it possible to save:
 
  1. EFI/CLOVER/kexts/others/realtekALC.kext
  2. S/L/E/AppleHDA.kext
  3. EFI/CLOVER/config.plist (seems the 120 script made 3 changes to AppleHDA via Kernel/Kext patches - see below)
  4. Any others files/config I need to save?

so I don't have to run the script all the time I reinstall Sierra?
 
Another question please: What happens if I got an OS X update? Do I need to rerun the script?
 
Thank you so much!
 
config.plist changes made by 120 script
 
O9DntqK.png
 
120 script log
 
File: audio_cloverALC-120.command_v1.0b0
Release Mode
Password:
EFI partition is mounted
System Integrity Protection status: enabled (Custom Configuration).
 
Configuration:
    Apple Internal: disabled
    Kext Signing: disabled
    Filesystem Protections: disabled
    Debugging Restrictions: enabled
    DTrace Restrictions: enabled
    NVRAM Protections: enabled
    BaseSystem Verification: enabled
 
This is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.
 
OK to patch
Confirm Realtek ALC888 (y/n): y
ALC888 v_0x100001 not supported
Use Legacy (v100202) Patch (y/n): y
Clover Audio ID Injection (y/n): y
Use Audio ID: 1 (y/n): y
 
Download ALC888 files ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
100 23970  100 23970    0     0  10439      0  0:00:02  0:00:02 --:--:-- 10444
Edit config.plist/Devices/Audio/Inject/1
Edit config.plist/SystemParameters/InjectKexts/YES
Download kext patches
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
100  1418  100  1418    0     0   1021      0  0:00:01  0:00:01 --:--:--  1021
Download config kext and install ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
100  3665  100  3665    0     0   2597      0  0:00:01  0:00:01 --:--:--  2597
Install /Volumes/EFI/EFI/CLOVER/kexts/Other/realtekALC.kext
Install System/Library/Extensions/AppleHDA.kext/ALC888 zml files
Fix permissions ...
Kernel cache...
rebuilding //System/Library/PrelinkedKernels/prelinkedkernel
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67054 0xFFFFFFFFFFFEFA12 for kext AppleHDA.kext
KernelCache ID: C37CB5D2ACC54400C84F6087590F9CE9
symlink("/System/Library/PrelinkedKernels/prelinkedkernel", "/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache") failed 17 (File exists) <createPrelinkedKernel 2795>
kextcache updated critical boot files, requesting launchd reboot
 
Install finished, restart required.
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
Link to comment
Share on other sites

Can I get some assistance please?  I've spent hours to no avail.

 

- Fresh install of Sierra on a Acer Aspire Desktop PC 

- Clover EFI Legacy boot

- No DSDT or SSDT , all stock kexts

- Used CloverALC120

- Codec is Realtek ALC888S-VD 0x80863A3E Sub-Device 0x10250152 Codec ID 0x10EC0888 Revision 0x0202

AppleHDA.kext in use and ioregistry are attached.

 

Result is no audio device detected except an input mic device for the Logitech camera.  ALC888 not detected at all and does not appear in Sound preference pane.

 

audio_codecdetect.command output

File: audio_codecdetect.command_v2.0

HDMI audio codec(s)

Onboard audio codec
Realtek: 0x10ec0888

OS X/10.12 Onboard Audio
Device: HDEF@1B
Audio ID: 1

Valid audio codec, audio device and Audio ID; audio injection is working
Finished

logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.


[Process completed]

Run of Script Output

 
Agreement
The audio_cloverALC-120 script is for personal use only. Do not distribute
the patch, any or all of the files or the resulting patched AppleHDA.kext
for any reason without permission. The audio_cloverALC-120 script is
provided as is and without any kind of warranty.
 
File: audio_cloverALC-120.command_v1.0b0
Release Mode
Password:
EFI partition is mounted
System Integrity Protection status: enabled (Custom Configuration).

Configuration:
	Apple Internal: disabled
	Kext Signing: disabled
	Filesystem Protections: disabled
	Debugging Restrictions: enabled
	DTrace Restrictions: enabled
	NVRAM Protections: enabled
	BaseSystem Verification: enabled

This is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.

OK to patch
Confirm Realtek ALC888 (y/n): y
ALC888 v_0x100202 (Legacy)
Clover Audio ID Injection (y/n): y
Use Audio ID: 1 (y/n): y

Download ALC888 files ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 23970  100 23970    0     0  17868      0  0:00:01  0:00:01 --:--:-- 17888
Edit config.plist/Devices/Audio/Inject/1
Edit config.plist/SystemParameters/InjectKexts/YES
Download kext patches
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1418  100  1418    0     0   8553      0 --:--:-- --:--:-- --:--:--  8593
Download config kext and install ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3665  100  3665    0     0  24620      0 --:--:-- --:--:-- --:--:-- 24763
Install /Volumes/ESP/EFI/CLOVER/kexts/Other/realtekALC.kext
Install System/Library/Extensions/AppleHDA.kext/ALC888 zml files
Fix permissions ...
Kernel cache...
rebuilding //System/Library/PrelinkedKernels/prelinkedkernel
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleIntelE1000e.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kext-dev-mode allowing invalid signature -67054 0xFFFFFFFFFFFEFA12 for kext AppleHDA.kext
KernelCache ID: FF4ABB8A157B7E8AEC6A13EF091BDC59
symlink("/System/Library/PrelinkedKernels/prelinkedkernel", "/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache") failed 17 (File exists) <createPrelinkedKernel 2795>
kextcache updated critical boot files, requesting launchd reboot

Install finished, restart required.
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

DCPI Manager boot.log

0:100  0:100  MemLog inited, TSC freq: 2499959657
0:100  0:000  LegacyRegion2: Chipset/proc: 0x2E208086
0:100  0:000   Intel Series 4 and similar (PAM 0x90-0x96)
0:100  0:000   Test PAM1=(0x41=90, 0x5a=00, 0x81=00, 0x91=11) at chipset 2E208086
0:100  0:000  , Install = Success
0:110  0:010  BiosVideoDriverBindingStart!
0:111  0:000  BiosVideoCheckForVbe
0:111  0:000  EdidOverride not found
0:255  0:144   Edid1-
0:400  0:144   Edid0-
0:427  0:027     0 640x480 attr=3BF - ok, 640x480, working, highest, pref=0
0:428  0:001     1 800x600 attr=3BF - ok, 800x600, working, highest, pref=1
0:429  0:001     2 1024x768 attr=3BF - ok, 1024x768, working, highest, pref=2
0:430  0:001     3 1280x1024 attr=3BF - ok
0:436  0:006     4 1280x800 attr=3BF - ok
0:436  0:000  BV new mode: 2 1024x768
0:575  0:138   SetMode pref 2 (2) = Success
3:169  2:594  
3:169  0:000  Now is 3.10.2016,  23:1:52 (GMT)
3:169  0:000  Starting Clover revision: 3773 on CLOVER EFI
3:169  0:000  Build with: [Args: --no-lto -D NO_GRUB_DRIVERS_EMBEDDED | -D DISABLE_LTO -D NO_GRUB_DRIVERS_EMBEDDED -D USE_LOW_EBDA -a X64 -b RELEASE -t XCODE5 -n 5 | OS: 10.12.1 | XCODE: 8.0]
3:170  0:000  SelfDevicePath=PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0x0,0x0)\HD(1,GPT,2B5B840C-D435-4234-9D02-EB1F29721220,0x28,0x64000) @BE881A18
3:170  0:000  SelfDirPath = \EFI\CLOVER
3:170  0:000  === [ Get Smbios ] ========================================
3:170  0:000  Total Memory Slots Count = 4
3:170  0:000  Type 17 Index = 0
3:170  0:000  SmbiosTable.Type17->Speed = 800MHz
3:170  0:000  SmbiosTable.Type17->Size = 2048MB
3:170  0:000  SmbiosTable.Type17->Bank/Device = BANK0 DIMM0
3:170  0:000  SmbiosTable.Type17->Vendor = Manufacturer00
3:170  0:000  SmbiosTable.Type17->SerialNumber = SerNum00
3:170  0:000  SmbiosTable.Type17->PartNumber = ModulePartNumber00
3:170  0:000  Type 17 Index = 1
3:170  0:000  Ignoring insane frequency value 0MHz
3:170  0:000  SmbiosTable.Type17->Speed = 0MHz
3:170  0:000  SmbiosTable.Type17->Size = 0MB
3:170  0:000  SmbiosTable.Type17->Bank/Device = BANK1 DIMM1
3:170  0:000  SmbiosTable.Type17->Vendor = <null string>
3:170  0:000  SmbiosTable.Type17->SerialNumber = <null string>
3:170  0:000  SmbiosTable.Type17->PartNumber = <null string>
3:170  0:000  Type 17 Index = 2
3:170  0:000  SmbiosTable.Type17->Speed = 800MHz
3:170  0:000  SmbiosTable.Type17->Size = 2048MB
3:170  0:000  SmbiosTable.Type17->Bank/Device = BANK2 DIMM2
3:170  0:000  SmbiosTable.Type17->Vendor = Manufacturer02
3:170  0:000  SmbiosTable.Type17->SerialNumber = SerNum02
3:170  0:000  SmbiosTable.Type17->PartNumber = ModulePartNumber02
3:170  0:000  Type 17 Index = 3
3:170  0:000  Ignoring insane frequency value 0MHz
3:170  0:000  SmbiosTable.Type17->Speed = 0MHz
3:170  0:000  SmbiosTable.Type17->Size = 0MB
3:170  0:000  SmbiosTable.Type17->Bank/Device = BANK3 DIMM3
3:170  0:000  SmbiosTable.Type17->Vendor = <null string>
3:170  0:000  SmbiosTable.Type17->SerialNumber = <null string>
3:170  0:000  SmbiosTable.Type17->PartNumber = <null string>
3:170  0:000  Boot status=0
3:170  0:000  Running on: 'Aspire M5700' with board 'EG45M'
3:170  0:000  === [ GetCPUProperties ] ==================================
3:170  0:000  CPU Vendor = 756E6547 Model=1067A
3:170  0:000  got cores from CPUID_1 = 4
3:170  0:000  The CPU not supported turbo
3:170  0:000  BrandString = Intel(R) Core(TM)2 Quad CPU    Q8300  @ 2.50GHz
3:170  0:000  MSR dumps:
3:170  0:000  	@0x00CD=80000A04
3:170  0:000  	@0x0198=616472206004722
3:170  0:000  FSBFrequency=333MHz DMIvalue=333330kHz
3:170  0:000  Corrected FSBFrequency=333MHz
3:170  0:000  Vendor/Model/Stepping: 0x756E6547/0x17/0xA
3:170  0:000  Family/ExtFamily: 0x6/0x0
3:170  0:000  MaxDiv/MinDiv: 7.5/6
3:170  0:000  Turbo: 8/0/0/0
3:170  0:000  Features: 0xBFEBFBFF
3:170  0:000  Threads: 4
3:170  0:000  Cores: 4
3:170  0:000  FSB: 333 MHz
3:170  0:000  CPU: 2500 MHz
3:170  0:000  TSC: 2500 MHz
3:170  0:000  PIS: 1333 MHz
3:170  0:000  === [ GetDevices ] ========================================
3:170  0:000  PCI (00|00:00.00) : 8086 2E20 class=060000
3:170  0:000  PCI (00|00:01.00) : 8086 2E21 class=060400
3:170  0:000  PCI (00|01:00.00) : 10DE 0A65 class=030000
3:170  0:000   - GFX: Model=MSI GeForce 210 family A8 (Nvidia)
3:170  0:000  PCI (00|01:00.01) : 10DE 0BE3 class=040300
3:170  0:000   - HDMI Audio: 
3:170  0:000  PCI (00|00:03.00) : 8086 2E24 class=078000
3:170  0:000  PCI (00|00:19.00) : 8086 10CE class=020000
3:170  0:000   - LAN: 0 Vendor=Intel
3:170  0:000  PCI (00|00:1A.00) : 8086 3A37 class=0C0300
3:170  0:000  PCI (00|00:1A.01) : 8086 3A38 class=0C0300
3:170  0:000  PCI (00|00:1A.02) : 8086 3A39 class=0C0300
3:170  0:000  PCI (00|00:1A.07) : 8086 3A3C class=0C0320
3:170  0:000  PCI (00|00:1B.00) : 8086 3A3E class=040300
3:170  0:000  PCI (00|00:1D.00) : 8086 3A34 class=0C0300
3:170  0:000  PCI (00|00:1D.01) : 8086 3A35 class=0C0300
3:170  0:000  PCI (00|00:1D.02) : 8086 3A36 class=0C0300
3:170  0:000  PCI (00|00:1D.07) : 8086 3A3A class=0C0320
3:170  0:000  PCI (00|00:1E.00) : 8086 244E class=060401
3:170  0:000  PCI (00|00:1F.00) : 8086 3A16 class=060100
3:170  0:000  PCI (00|00:1F.02) : 8086 3A22 class=010601
3:170  0:000  PCI (00|00:1F.03) : 8086 3A30 class=0C0500
3:170  0:000  === [ GetDefaultSettings ] ================================
3:170  0:000  Clover load options size = 0 bytes
3:172  0:001  , Status=Success
3:172  0:000  EFI\CLOVER\config.plist loaded: Success
3:172  0:000  === [ GetListOfThemes ] ===================================
3:174  0:001  - [00]: applestyle
3:176  0:002  - [01]: BGM
3:181  0:004  - [02]: BGM256
3:183  0:002  - [03]: black_green
3:185  0:001  - [04]: bluemac
3:187  0:001  - [05]: bootcamp
3:187  0:000  - [06]: chrome
3:189  0:001  - [07]: CloverX
3:190  0:000  - [08]: dawn
3:191  0:001  - [09]: embedded
3:191  0:000  - [09]: gold_clover
3:193  0:001  - [10]: iclover
3:194  0:000  - [11]: ios7
3:196  0:002  - [12]: magnifico
3:197  0:000  - [13]: metal
3:199  0:002  - [14]: orange
3:199  0:000  - [15]: os_box
3:200  0:000  - [16]: os_one
3:201  0:000  - [17]: random
3:201  0:000  - [17]: Shield
3:207  0:006  - [18]: sketched
3:209  0:001  - [19]: Space
3:211  0:002  - [20]: steampunkblack
3:214  0:002  - [21]: thinkpad
3:217  0:002  - [22]: yosemitelogin
3:219  0:002  === [ GetEarlyUserSettings ] ==============================
3:219  0:000  timeout set to 3
3:219  0:000  Custom boot CUSTOM_BOOT_DISABLED (0x0)
3:231  0:011  KextsToPatch: 4 requested
3:235  0:004   - [00]: AppleHDA (t1-10.12-AppleHDA/Realtek ALC...) :: BinPatch :: data len: 4
3:252  0:017   - [01]: AppleHDA (t1-10.9-10.12-AppleHDA/Realtek ALC888) :: BinPatch :: data len: 4
3:273  0:020   - [02]: AppleHDA (t1-AppleHDA/Resources/xml>zml) :: BinPatch :: data len: 6
3:289  0:016   - [03]: AppleAHCIPort (External icons patch) :: BinPatch :: data len: 8
3:304  0:015  Default theme: applestyle
3:308  0:003  Hiding entries with string Windows
3:312  0:003  Hiding entries with string \EFI\BOOT\BOOTX64.EFI
3:316  0:003  === [ LoadDrivers ] =======================================
3:492  0:175  Loading FSInject-64.efi  status=Success
3:505  0:013  === [ InitScreen ] ========================================
3:676  0:171  SetScreenResolution: 1920x1080 - not found!
3:684  0:007  Console modes reported: 4, available modes:
3:688  0:003   - [01]: 80x25
3:692  0:004   - [03]: 100x31
3:696  0:004   - [04]: 128x40 (current mode)
3:701  0:004  SetScreenResolution: 1024x768 - already set
3:709  0:008  reinit: self device path=PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0x0,0x0)\HD(1,GPT,2B5B840C-D435-4234-9D02-EB1F29721220,0x28,0x64000)
3:715  0:005  === [ GetMacAddress ] =====================================
3:886  0:170   get legacy LAN MAC, 1 card found
3:890  0:004  Legacy MAC address of LAN #0= 00:25:11:07:05:E6:
3:921  0:030  === [ ScanSPD ] ===========================================
4:104  0:183  SMBus device : 8086 3A30 class=0C0500 status=Success
4:108  0:003  SMBus CmdReg: 0x3
4:112  0:003  Scanning SMBus [8086:3A30], mmio: 0xFCFFF004, ioport: 0x400, hostc: 0x1
4:116  0:003  Slots to scan [8]...
4:120  0:004  SPD[0]: Type 8 @0x50
4:129  0:008  DDR speed 800MHz
4:136  0:006  Slot: 0 Type 19 2048MB 800MHz Vendor=NoName PartNo= SerialNo=0000000000000000
4:141  0:004  SPD[2]: Type 8 @0x52
4:149  0:008  DDR speed 800MHz
4:153  0:003  Slot: 2 Type 19 2048MB 800MHz Vendor=NoName PartNo= SerialNo=0000000000000000
4:158  0:004  === [ GetAcpiTablesList ] =================================
4:299  0:140  Get Acpi Tables List from RSDT:
4:307  0:008   - [00]: FACP  FACP1005 len=132
4:312  0:004   - [01]: APIC  APIC1005 len=108
4:322  0:010   - [02]: MCFG  OEMMCFG  len=60
4:331  0:008   - [03]: SLIC  ACRPRDCT len=374
4:335  0:003   - [04]: OEMB  OEMB1005 len=114
4:339  0:004   - [05]: HPET  OEMHPET  len=56
4:344  0:004   - [06]: ASF!  I865PASF len=153
4:348  0:004   - [07]: GSCI  GMCHSCI  len=8228
4:353  0:004   - [08]: AWMI  OEMB1005 len=78
4:357  0:004   - [09]: SSDT  CpuPm len=2684
4:361  0:004  Calibrated TSC frequency =2499959657 =2499MHz
4:365  0:004  === [ GetUserSettings ] ===================================
4:513  0:147  USB FixOwnership: no
4:520  0:006   - final DSDT Fix mask=00009051
4:524  0:004  ChassisType: 0xD
4:528  0:003  Using smbios.plist at path: EFI\CLOVER\smbios.plist, Status=Not Found
4:537  0:009  === [ ScanVolumes ] =======================================
4:703  0:165  Found 4 volumes with blockIO
4:707  0:004  - [00]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0x0,0x0)
4:716  0:008          Result of bootcode detection: bootable unknown (legacy)
4:720  0:003  - [01]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0x0,0x0)\HD(1,GPT,2B5B840C-D435-4234-9D02-EB1F29721220,0x28,0x64000)
4:732  0:012          Result of bootcode detection: bootable Clover (clover)
4:736  0:003          This is SelfVolume !!
4:740  0:004  - [02]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0x0,0x0)\HD(2,GPT,D08DF806-FCB8-4CA8-A7CB-F91AF42FD358,0x64028,0x1BD8A540)
4:749  0:008  - [03]: Volume: PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0x0,0x0)\HD(3,GPT,5138193F-97CB-4E92-BEDA-3836A35AB7D3,0x1BDEE568,0x135F20)
4:759  0:010  PutNvramPlistToRtVars: nvram.plist not found
4:766  0:006  === [ InitTheme ] =========================================
4:949  0:182  Using theme 'applestyle' (EFI\CLOVER\themes\applestyle)
4:955  0:006  Choosing theme applestyle
4:959  0:003  after NVRAM boot-args=dart=0
4:963  0:003  === [ AddCustomLegacy ] ===================================
5:113  0:149  Scanning legacy ...
5:117  0:004   0: 'Whole Disc Boot' (legacy) not legacy
5:125  0:007   1: 'EFI' (clover) add legacy
5:138  0:013   added 'Boot Clover from EFI' OSType=3 Icon=clover
5:145  0:007   2: 'Sierra' (legacy) not legacy
5:154  0:008   3: 'Recovery HD' (legacy) not legacy
5:162  0:008  === [ ScanLoader ] ========================================
5:337  0:175  - [01]: 'EFI'
5:346  0:008  - [02]: 'Sierra'
5:356  0:010          AddLoaderEntry for Volume Name=Sierra
5:362  0:005          Check if volume Is Hibernated:
5:366  0:003      Check sleep image 'by signature':
5:373  0:006      read prefs \Library\Preferences\SystemConfiguration\com.apple.PowerManagement.plist status=Not Found
5:380  0:006      using default sleep image name = \private\var\vm\sleepimage
5:387  0:007      Reading first 512 bytes of sleepimage ...
5:391  0:004   OurBlockIoRead: Lba=3185120, Offset=630A24000 (BlockSize=512)
5:395  0:003   sig lion: F5343EA2
5:399  0:004   sig snow: 0
5:403  0:004   no valid sleep image offset was found
5:407  0:003      Reading completed -> Success
5:411  0:003       sleepimage offset could not be acquired
5:415  0:004          hibernated: no - sign
5:424  0:008  - [03]: 'Recovery HD'
5:432  0:008          AddLoaderEntry for Volume Name=Recovery HD
5:438  0:005  === [ AddCustomTool ] =====================================
5:596  0:157  found tool \EFI\CLOVER\tools\Shell64U.efi
5:600  0:003  Checking EFI partition Volume 1 for Clover
5:603  0:003   Found Clover
5:610  0:006  === [ FindDefaultEntry ] ==================================
5:757  0:146  === [ GetEfiBootDeviceFromNvram ] =========================
5:872  0:114   - found entry 1. 'Boot Mac OS X from Sierra', Volume 'Sierra', DevicePath 'PcieRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0x0,0x0)\HD(2,GPT,D08DF806-FCB8-4CA8-A7CB-F91AF42FD358,0x64028,0x1BD8A540)\System\Library\CoreServices\boot.efi'
5:879  0:007  DefaultIndex=1 and MainMenu.EntryCount=9
6:103  0:223  Found Mouse device:
6:117  0:014  GUI ready
10:329  4:212  === [ StartLoader ] =======================================
10:506  0:176  Finally: Bus=333327kHz CPU=2500MHz
10:510  0:004  Loading boot.efi  status=Success
10:579  0:068  GetOSVersion: 10.12 (16A323)
10:587  0:007  CSR_CFG: CSR_ALLOW_UNTRUSTED_KEXTS | CSR_ALLOW_UNRESTRICTED_FS | CSR_ALLOW_TASK_FOR_PID | CSR_ALLOW_UNRESTRICTED_DTRACE | CSR_ALLOW_UNRESTRICTED_NVRAM
10:591  0:004  Filtering KextPatches:
10:595  0:003   - [00]: AppleHDA (t1-10.12-AppleHDA/Realtek ALC...) :: BinPatch :: [OS: 10.12 | MatchOS: All | MatchBuild: All] ==> allowed
10:603  0:007   - [01]: AppleHDA (t1-10.9-10.12-AppleHDA/Realtek ALC888) :: BinPatch :: [OS: 10.12 | MatchOS: All | MatchBuild: All] ==> allowed
10:614  0:011   - [02]: AppleHDA (t1-AppleHDA/Resources/xml>zml) :: BinPatch :: [OS: 10.12 | MatchOS: All | MatchBuild: All] ==> allowed
10:622  0:008   - [03]: AppleAHCIPort (External icons patch) :: BinPatch :: [OS: 10.12 | MatchOS: All | MatchBuild: All] ==> allowed
10:630  0:008  === [ PatchSmbios ] =======================================
10:800  0:169  insert table 9 for dev 0:0
10:804  0:004  insert table 9 for dev 0:1
10:808  0:004  insert table 9 for dev 19:0
10:814  0:005  Channels: 2
10:821  0:006  Interleave: 0 2 1 3 4 6 5 7 8 10 9 11 12 14 13 15 16 18 17 19 20 22 21 23
10:926  0:105  SMBIOS Type 17 Index = 0 => 0 0:
10:930  0:004  BANK0 DIMM0 800MHz 2048MB
10:934  0:003  SMBIOS Type 17 Index = 1 => 2 2:
10:938  0:003  BANK1 DIMM0 800MHz 2048MB
10:942  0:003  SMBIOS Type 17 Index = 2 => 1 1:
10:945  0:003  BANK0 DIMM1 EMPTY
10:949  0:003  SMBIOS Type 17 Index = 3 => 3 3:
10:953  0:003  BANK1 DIMM1 EMPTY
10:957  0:003  mTotalSystemMemory = 4096
10:962  0:004  NumberOfMemoryDevices = 4
10:969  0:007  Type20[0]->End = 0x1FFFFF, Type17[0] = 0x800
10:973  0:004  Type20[1]->End = 0x0, Type17[1] = 0x1800
10:977  0:003  Table 131 is present, CPUType=20
10:981  0:003  Change to: 402
10:985  0:003  === [ PatchACPI ] =========================================
11:160  0:175  RSDT 0xBFF90000
11:164  0:003  FADT from RSDT: 0xBFF90200
11:167  0:003  Xsdt is not found! Creating new one
11:171  0:003  RsdPointer is Acpi 1.0 - creating new one Acpi 2.0
11:175  0:003  RsdPointer Acpi 2.0 installed
11:182  0:007  RSDT entries = 10
11:186  0:004  Xsdt reallocation done
11:190  0:003  old FADT length=84
11:194  0:004  Apply DsdtFixMask=0x00009051 old way
11:199  0:004     drop _DSM mask=0x0000
11:202  0:003  === [ FixBiosDsdt ] =======================================
11:375  0:173  VideoCard devID=0xA6510DE
11:379  0:003  DisplayADR1[0] = 0x10000, DisplayADR2[0] = 0x0
11:383  0:004  USBADR[0] = 0x1A0000 and PCIe = 0xFFFE
11:387  0:003  USBADR[1] = 0x1A0001 and PCIe = 0xFFFE
11:394  0:007  USBADR[2] = 0x1A0002 and PCIe = 0xFFFE
11:399  0:004  USBADR[3] = 0x1A0007 and PCIe = 0xFFFE
11:403  0:004  Audio HDA (addr:0x1B0000) setting specified layout-id=1 (0x1)
11:407  0:004  USBADR[4] = 0x1D0000 and PCIe = 0xFFFE
11:411  0:004  USBADR[5] = 0x1D0001 and PCIe = 0xFFFE
11:416  0:004  USBADR[6] = 0x1D0002 and PCIe = 0xFFFE
11:420  0:003  USBADR[7] = 0x1D0007 and PCIe = 0xFFFE
11:423  0:003  first CPU found at 2B offset 2E
11:427  0:003  score candidate at 27
11:431  0:003  score inserted in acpi_cpu_score _PR_
11:438  0:006  Found ACPI CPU: P001 | P002 | P003 | P004 , within the score: _PR_
11:458  0:020  Found PCIROOTUID = 0
11:462  0:003  Start RTC Fix
11:466  0:003  found RTC had IRQNoFlag will move -3 bytes
11:469  0:003  ...len=6C6F
11:473  0:003  new size written to 10C1 shift=0 len=6C6F
11:477  0:003  len after correct outers 6C6F
11:481  0:003  Start TMR Fix
11:485  0:004  Start PIC Fix
11:490  0:004  PIC size=2B at 101D
11:494  0:004  found PIC had IRQNoFlag will move -3 bytes
11:502  0:007  Fix Device PIC size -3
11:506  0:003  Start HPET Fix
11:510  0:004  patch HDEF in DSDT 
11:514  0:003  Start HDA Fix
11:518  0:004  Start Add Device HDEF
11:522  0:004  Start USB Fix
11:527  0:004  USB bridge[1A0000] at 47D4, size = E6
11:531  0:004  USB bridge[1A0001] at 490D, size = E6
11:536  0:004  USB bridge[1A0002] at 4A46, size = E6
11:540  0:004  USB bridge[1A0007] at 4B7F, size = 165
11:544  0:004  USB bridge[1D0000] at 42CD, size = E6
11:548  0:003  USB bridge[1D0001] at 4406, size = E6
11:555  0:007  USB bridge[1D0002] at 453F, size = E6
11:560  0:004  USB bridge[1D0007] at 4760, size = 165
11:564  0:004  === [ ACPIDropTables ] ====================================
11:717  0:153  === [ PatchAllSSDT ] ======================================
11:885  0:167  Patch table: SSDT  CpuPm
11:889  0:004   SSDT len = 0xA7C
11:894  0:004  Drop tables from Xsdt, SIGN=XXXX TableID= Length=0
11:898  0:004   Xsdt has tables count=10
11:902  0:004  corrected XSDT length=116
11:910  0:007  CPUBase=1 and ApicCPUBase=1 ApicCPUNum=4
11:913  0:003  === [ RestSetupOSX ] ======================================
12:076  0:162  mem_detected 1073741824
12:080  0:003  read_nVidia_ROM
12:084  0:003  Using PRAMIN fixups
12:215  0:130  version 70.18.5E.00.00
12:218  0:003  nVidia MSI GeForce 210  1024MB NVA8 [10DE:0A65] :: PcieRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0) => device #1
12:226  0:007  Nvidia: VideoPorts: undefined, default to: 2
12:234  0:007  default NVCAP: 04000000-00000600-09000000-00000007-00000000
12:241  0:007  HDA Controller [8086:3A3E] :: PcieRoot(0x0)\Pci(0x1B,0x0) => setting specified layout-id=1 (0x1)
12:249  0:007  stringlength = 2084
12:253  0:003  CurrentMode: Width=1024 Height=768
12:257  0:003  Beginning FSInjection
FSInjectionInstall ...
- Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: BE881718
FSInjectionInstall ...
- Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: BE881718
12:262  0:004  ** Warning: Your MLB is not suitable for iMessage(must be 17 chars long) !
12:267  0:005  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\Other
12:273  0:006    Extra kext: EFI\CLOVER\kexts\Other\realtekALC.kext
12:282  0:009  Custom boot is disabled

Clover config.plist (I X'ed out serials)

<?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>ACPI</key>
	<dict>
		<key>DSDT</key>
		<dict>
			<key>Debug</key>
			<false/>
			<key>DropOEM_DSM</key>
			<false/>
			<key>Fixes</key>
			<dict>
				<key>AddDTGP_0001</key>
				<true/>
				<key>FixHDA_8000</key>
				<true/>
				<key>FixHPET_0010</key>
				<true/>
				<key>FixIPIC_0040</key>
				<true/>
				<key>FixUSB_1000</key>
				<true/>
			</dict>
			<key>Name</key>
			<string>DSDT.aml</string>
			<key>ReuseFFFF</key>
			<false/>
		</dict>
		<key>SSDT</key>
		<dict>
			<key>DropOem</key>
			<false/>
			<key>Generate</key>
			<false/>
		</dict>
	</dict>
	<key>Boot</key>
	<dict>
		<key>Arguments</key>
		<string>dart=0</string>
		<key>Debug</key>
		<true/>
		<key>DefaultVolume</key>
		<string>Sierra</string>
		<key>Legacy</key>
		<string>PBR</string>
		<key>Secure</key>
		<false/>
		<key>Timeout</key>
		<integer>3</integer>
		<key>XMPDetection</key>
		<false/>
	</dict>
	<key>CPU</key>
	<dict>
		<key>UseARTFrequency</key>
		<false/>
	</dict>
	<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>Inject</key>
			<string>1</string>
		</dict>
		<key>FakeID</key>
		<dict>
			<key>ATI</key>
			<string>0x0</string>
			<key>IMEI</key>
			<string>0x0</string>
			<key>IntelGFX</key>
			<string>0x0</string>
			<key>LAN</key>
			<string>0x0</string>
			<key>NVidia</key>
			<string>0x0</string>
			<key>SATA</key>
			<string>0x0</string>
			<key>WIFI</key>
			<string>0x0</string>
			<key>XHCI</key>
			<string>0x0</string>
		</dict>
		<key>USB</key>
		<dict>
			<key>FixOwnership</key>
			<false/>
			<key>Inject</key>
			<false/>
		</dict>
	</dict>
	<key>DisableDrivers</key>
	<array>
		<string>Nothing</string>
	</array>
	<key>GUI</key>
	<dict>
		<key>Hide</key>
		<array>
			<string>Windows</string>
			<string>\EFI\BOOT\BOOTX64.EFI</string>
		</array>
		<key>Language</key>
		<string>en:0</string>
		<key>Mouse</key>
		<dict>
			<key>DoubleClick</key>
			<integer>500</integer>
			<key>Enabled</key>
			<true/>
			<key>Mirror</key>
			<false/>
			<key>Speed</key>
			<integer>8</integer>
		</dict>
		<key>Scan</key>
		<dict>
			<key>Entries</key>
			<true/>
			<key>Legacy</key>
			<string>First</string>
			<key>Linux</key>
			<false/>
			<key>Tool</key>
			<true/>
		</dict>
		<key>ScreenResolution</key>
		<string>1920x1080</string>
		<key>Theme</key>
		<string>applestyle</string>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>Inject</key>
		<dict>
			<key>ATI</key>
			<false/>
			<key>Intel</key>
			<false/>
			<key>NVidia</key>
			<true/>
		</dict>
		<key>NvidiaSingle</key>
		<false/>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>AppleRTC</key>
		<true/>
		<key>AsusAICPUPM</key>
		<true/>
		<key>Debug</key>
		<false/>
		<key>KernelCpu</key>
		<false/>
		<key>KernelHaswellE</key>
		<false/>
		<key>KernelLapic</key>
		<false/>
		<key>KernelPm</key>
		<true/>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>t1-10.12-AppleHDA/Realtek ALC...</string>
				<key>Find</key>
				<data>
				ihnUEQ==
				</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>
				AAAAAA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>t1-10.9-10.12-AppleHDA/Realtek ALC888</string>
				<key>Find</key>
				<data>
				ixnUEQ==
				</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>
				iAjsEA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>t1-AppleHDA/Resources/xml>zml</string>
				<key>Find</key>
				<data>
				eG1sLnps
				</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>
				em1sLnps
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>External icons patch</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				RXh0ZXJuYWw=
				</data>
				<key>Name</key>
				<string>AppleAHCIPort</string>
				<key>Replace</key>
				<data>
				SW50ZXJuYWw=
				</data>
			</dict>
		</array>
	</dict>
	<key>RtVariables</key>
	<dict>
		<key>ROM</key>
		<string>UseMacAddr0</string>
	</dict>
	<key>SMBIOS</key>
	<dict>
		<key>BiosReleaseDate</key>
		<string>03/25/10</string>
		<key>BiosVendor</key>
		<string>Apple Inc.</string>
		<key>BiosVersion</key>
		<string>MBP71.88Z.0039.B05.1003251322</string>
		<key>Board-ID</key>
		<string>Mac-F222BEC8</string>
		<key>BoardManufacturer</key>
		<string>Apple Inc.</string>
		<key>BoardSerialNumber</key>
		<string>XXXXXXXXXXXXXXXXXXX</string>
		<key>BoardType</key>
		<integer>10</integer>
		<key>BoardVersion</key>
		<string>MacBookPro7,1</string>
		<key>ChassisAssetTag</key>
		<string>MacBook-Aluminum</string>
		<key>ChassisManufacturer</key>
		<string>Apple Inc.</string>
		<key>ChassisType</key>
		<string>13</string>
		<key>Family</key>
		<string>MacBook Pro</string>
		<key>LocationInChassis</key>
		<string>Part Component</string>
		<key>Manufacturer</key>
		<string>Apple Inc.</string>
		<key>Mobile</key>
		<false/>
		<key>ProductName</key>
		<string>MacBookPro7,1</string>
		<key>SerialNumber</key>
		<string>XXXXXXXXXXXX</string>
		<key>SmUUID</key>
		<string>XXXXXXXXXXXX</string>
		<key>Trust</key>
		<false/>
		<key>Version</key>
		<string>1.0</string>
	</dict>
	<key>SystemParameters</key>
	<dict>
		<key>InjectKexts</key>
		<string>YES</string>
		<key>InjectSystemID</key>
		<true/>
	</dict>
</dict>
</plist>

ioreg.ioreg.txt

AppleHDA.kext.zip

Link to comment
Share on other sites

so I don't have to run the script all the time I reinstall Sierra?

What happens if I got an OS X update? Do I need to rerun the script?

Installs do not effect EFI/CLOVER files.  Backups do not offer any advantage.  Run the script once for a new install.

No, updates do not touch the installed codec files.

Result is no audio device detected 

No pinconfigs.

Copy EFI/CLOVER/kexts/Other/realtekALC.kext to 10.12

  • Like 1
Link to comment
Share on other sites

Hello

I'm trying to install ALC AppleHDA without success, here are my details :
 
"No audio codec detected" when running audio_cloverALC-110_v1.0s10.command
 
Config : 10.11.6 / Asus x99-a/usb3.1 / BIOS 3301 / 5820K / Nvidia GTX 980 ti
 
Procedure :
Unsupported/Non-working Realtek ALC AppleHDA.kext
> X99/Intel High Definition Audio
Rename dsdt/ALSA to HDEF (Select one method)

Audio/ALC Injection
 

Last login: Thu Oct 13 15:28:02 on ttys000
/Users/jeanba/Desktop/hack/audio_CloverALC-master/audio_codecdetect_v2.0.command ; exit;
jeanbaHack:~ jeanba$ /Users/jeanba/Desktop/hack/audio_CloverALC-master/audio_codecdetect_v2.0.command ; exit;
File: audio_codecdetect.command_v2.0

No audio codec detected
Verify BIOS, hardware, etc.

logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

 
IOreg
see attached zip
 
Console
see attached zip
 
AppleHDA.kext
see attached zip
 
DPCIManager status
DPCImanagerStatus.pngSystem information / hardware / audio
systemInformation-hardware-audio.png
Terminal export of audio_cloverALC-110_v1.0s10.command

Last login: Thu Oct 13 15:59:35 on ttys000
jeanbaHack:~ jeanba$ /Users/jeanba/Desktop/hack/audio_CloverALC-master/audio_cloverALC-110_v1.0s10.command ; exit;
 
Agreement
The audio_cloverALC-110 script is for personal use only. Do not distribute
the patch, any or all of the files or the resulting patched AppleHDA.kext
for any reason without permission. The audio_cloverALC-110 script is
provided as is and without any kind of warranty.
 
File: audio_cloverALC-110.command_v1.0s10
Release Mode
EFI partition is mounted
System Integrity Protection status: disabled.

OK to patch

No audio codec detected
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

 

Clover / config.plist, & DPCIManager boot log
see attached zip

 

Before that, I installed VoodooHDA kext, it worked but after shutting the static noise in the pref pane, I still had an annoying ticking noise, so I uninstalled it completely then put back the native AppleHDA.kext from a clone disk.

 

Hope this helps you to help me :-)

reportFiles.zip

Link to comment
Share on other sites

  • 2 weeks later...

Problem Description:

I have static, crackling noise. It's low in volume and is ocurring when moving the mouse, using keyboard be it bluetooth or wired. It also occurs when loading a App. It's also audible when i listen to headphones out on the front of the case or the one direct from the MOBO, the same is when i use USB Soundcard Apogee Duet2. It gets not louder when i increase the volume, it stays at the same loudness.

OSX Version: El Capitan 10.11.6 / i Mac 17.1

 

 

MoBo: Gigabyte Z170X-UD5 TH/BIOS Ver: F5

Proc: i7 6700K

GFX: EVAGA Geforce GTX 950Sc

Mem:Crucial Ballistix Sport LT 2x16GB

 

I have ALC1150 and the 100 Series Audio installed  i also ran AppleHDAEnabler using Kext Utility. In order to get the Nvidia Drivers to work i had to disable SIP first and then run two AGDP patches. As System Spec i used iMac17.1 and i also increased the USB Portlimits.

I tried to fix the issue with below codelines injected into my plist, it did not help. First i wrote only USEARTFrequency and false and a second time the lines below.

I also disabled the LED on the MoBo in BIOS wich makes the LED flash to the beat on the MoBo, just fancy stuff i dont need anyways and i thought/hoped that it might have caused this problem.

<key>CPU</key><dict>    <key>QPI</key>    <integer>100</integer>    <key>UseARTFrequency</key>    <false/></dict> 

As i'm new to OSx86 project i hope i did post my problem as it should be and ask you to bear with me and my non to little existing experience. Thanx :)

Update:

I finally found the culprit as i went thru all BIOS Settings and tested different settings. On the Chipset Menu i disabled internal GFX and since then the problem is gone. I booted now about a dozen times just to be shure and it looks to be fine.

Now fingers crossed i start to install DAW, plugs and look how the midi stuff works out. If midi over wifi works i'm a happy camper. :yes:

config.txt

Link to comment
Share on other sites

  • 1 month later...

Hello, I have a dell optiplex 790, i3 2125 and using IGPU hd3000, I installed mac os Sierra and most things seem to be working fine but no audio, audio chip is ALC269VB, I followed the guide here https://github.com/toleda/audio_CloverALC , I have SSDT-HDEF-1.aml and DSDT-HDMI-HD3000.aml patches in my clover acpi folder, I ran the script audio_cloverALC-120.sh and was successfully completed. I have still no audio. I really need help to get this working, thanks!!

audio_codec_dump.txt

Kevin’s Mac mini.ioreg.txt

post-1246381-0-84977700-1480975004_thumb.png

post-1246381-0-82419100-1480975076_thumb.png

clover_bootlog.rtf

DSDT.aml.txt

SSDT-HDEF-1.aml.txt

SSDT-HDMI-HD3000.aml.txt

SSDT.aml.txt

Link to comment
Share on other sites

  • 2 weeks later...

Hello Toleda,

 

I used this method to patch my audio, it works now!

Well, only the ports on the motherboard worked...

So I was figuring what could be the problem, then I found out my good ol' computercase has the so called "AC'97" plug instead of the "HD_AUDIO" one.

So there was no detection of the front audio, as an electrician this made me think there should be a "mechanical" solution.

I started to search for google pictures and found out if you shorten the right contacts on the audio header, the software will think there is a cable plugged in...

So I started searching in my computer parts bin and found a jumper wire that fits in the plug.

And it turns out it works!

 

Just wanted to share this with you, so if someone asks if it's possible to make the front audio working, you could give this as a solution.

 

680iaudio.jpg

If you shorten pins 7 and 10, the headphone port is detected, if you shorten pin 6 with pin 7 as well, the microphone should work to.

 

Hope this can help you in the future.

Link to comment
Share on other sites

thought It was gonna work since the device-id and vendor-id are the same.

The OEM configures the codec to specific product requirements with custom layouts, pathmaps and pin configurations.  The codec is the same, the configuration is specific to the motherboard.

searching in my computer parts bin and found a jumper wire that fits in the plug.

And it turns out it works!

The jumper disables/mutes the green port on the motherboard, same with pink if jumper installed.

The software solution is to separate the front panel jack from the motherboard jack with a pathmap edit, see Post #1/More Information/2. Customization

Link to comment
Share on other sites

  • 4 weeks later...

I am seeing a strange behavior with my audio, I have a RealTek ALC 887, the audio works perfectly after I apply the toleda's cloverALC_120 script, but after several reboots the audio will stop working (No Output devices found), then I have to replace the AppleHDA.kext with the native one and redo the patch.

I am not sure if it has anything to do with the external usb drive or disks.

 

Can someone help?

 

My setting:

Inter Core i7

20GB 1333 MHz DDR3

ATI Radeon HD 5000 1024MB

 

I followed toleda's instructions:

 

Using Clover configurator, before I run the script, I did the following

  1. ACPI/DSDT/Fixes/NO    all unchecked
  2. Set RtVariables/BooterConfig/0x28
  3. Set RtVariables/CsrActiveConfig/0x3

 

Run the script, verify the AppleHDA.kext has version: 274.12-toledaALC887

Then remove the  BooterConfig and CsrActiveConfig values in Clover.

 

 

audio_realtekALC-120_v1.0d.command Output Success.txt

audio_codecdetect v2.1 Output.txt

Link to comment
Share on other sites

Then remove the  BooterConfig and CsrActiveConfig values in Clover.

Why?

Why is HDAEnabler1.kext installed?

Only when no audio devices show. See Problem Reporting, Post #1; attach all requested files

No need to post on my threads in multiple forums.

Link to comment
Share on other sites

  • 2 weeks later...

I'm having a issue were when I reboot it always changes to Headphone out instead of Optical.  I only use optical and want it to stay on optical on every boot.  This issue was not present through Yosemite and El Capitan and Sierra for years.  Now its a issue.  I think it happen when I had connected a DAC that I returned.  I think it tries to use that DAC then can't find it goes to headphone as default.  I don't know if that is the case really though.

 

But is there a way to reset the default device on boot?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...