GithubHelp home page GithubHelp logo

applehda8series.sh's Introduction

Usage (version 1.8 and greater):

- ./AppleHDA8Series.sh [halbd]

Examples:

 - ./AppleHDA8Series.sh
 - ./AppleHDA8Series.sh -a 892
 - ./AppleHDA8Series.sh -a 892 -l 3
 - ./AppleHDA8Series.sh -a 892 -l 3 -d /System/Library/Extensions
 - ./AppleHDA8Series.sh -b AppleHDA (uses built-in patch pattern)
 - ./AppleHDA8Series.sh -b AppleHDA:\x8b\x19\xd4\x11,\x92\x08\xec\x10

Here is the output of my run: 

AppleHDA8Series.sh v1.8 Copyright (c) 2013-2014 by Pike R. Alpha
                    patched XML files by Toleda and contributors
----------------------------------------------------------------
The supported Realtek ALC codecs for AppleHDA8Series.sh are:

    [1] Realtek ALC  885 (0x10EC0885 / 283904133)
    [2] Realtek ALC  887 (0x10EC0887 / 283904135)
    [3] Realtek ALC  888 (0x10EC0888 / 283904136)
    [4] Realtek ALC  889 (0x10EC0889 / 283904137)
    [5] Realtek ALC  892 (0x10EC0892 / 283904146)
    [6] Realtek ALC  898 (0x10EC0899 / 283904153)
    [7] Realtek ALC 1150 (0x10EC0900 / 283904256)

Please choose the desired codec for the hardware: 5
Do you want to use [3] as the layout-id (y/n)? y
Warning: AppleHDA892.kext already exists. Do you want to overwrite it (y/n)? y
Looking in /System/Library/Extensions/AppleHDA.kext for the ConfigData
Looking in /System/Library/Extensions/FakeSMC.kext for the ConfigData
Error: ConfigData NOT found!
Downloading https://raw.github.com/toleda/audio_ALC892/master/892.zip ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 18162  100 18162    0     0  26520      0 --:--:-- --:--:-- --:--:-- 26513

Unzipping Archive:  /tmp/ALC892.zip
   creating: /tmp/892/
  inflating: /tmp/892/Info-84.plist  
  inflating: /tmp/892/Info-85.plist  
  inflating: /tmp/892/Info-90.plist  
  inflating: /tmp/892/Info-91.plist  
 extracting: /tmp/892/layout1.xml.zlib  
 extracting: /tmp/892/layout2.xml.zlib  
 extracting: /tmp/892/layout3.xml.zlib  
  inflating: /tmp/892/Platforms.xml.zlib  

The available Info.plist files for the ALC 892 are:

[1] /tmp/892/Info-84.plist
[2] /tmp/892/Info-85.plist
[3] /tmp/892/Info-90.plist
[4] /tmp/892/Info-91.plist

Please choose the matching Info.plist (1/4) 4

Looking in: /tmp/892/Info-91.plist for the ConfigData
ConfigData for Realtek ALC 892 found!
------------------------------------------------------------
IUccECFHHUAhRx4RIUcfkCFXHCAhVx0QIVceASFXHwEhZxzwIWcdIWceIWcfQCF3HPAhdx0hdx4hdx9AIYccQCGHHZAhhx6gIYcfkCGXHGAhlx2QIZcegSGXHwIhpxxQIacdMCGnHoEhpx8BIbcccCG3HUAhtx4hIbcfAiHnHJAh5x1hIeceSyHnHwEh9xzwIfcdIfceIfcfQCEXHPAhFx0hFx4hFx9AXGMK
------------------------------------------------------------
Creating AppleHDA892.kext in: /Users/Pike/Projects/AppleHDA8Series.sh
AppleHDA892.kext appears to be loadable (including linkage for on-disk libraries).
Do you want to copy AppleHDA892.kext to: /System/Library/Extensions? (y/n) y
Do you want to reboot now? (y/n) y


Here is one with binary patching of AppleHDA (for Chameleon/Chimera users):

./AppleHDA8Series.sh -b AppleHDA

This script must be run as root!
Password:

AppleHDA8Series.sh v1.8 Copyright (c) 2013-2014 by Pike R. Alpha
                    patched XML files by Toleda and contributors
----------------------------------------------------------------
The supported Realtek ALC codecs for AppleHDA8Series.sh are:

    [1] Realtek ALC  885 (0x10EC0885 / 283904133)
    [2] Realtek ALC  887 (0x10EC0887 / 283904135)
    [3] Realtek ALC  888 (0x10EC0888 / 283904136)
    [4] Realtek ALC  889 (0x10EC0889 / 283904137)
    [5] Realtek ALC  892 (0x10EC0892 / 283904146)
    [6] Realtek ALC  898 (0x10EC0899 / 283904153)
    [7] Realtek ALC 1150 (0x10EC0900 / 283904256)

Please choose the desired codec for the hardware: 5
Do you want to use [3] as the layout-id (y/n)? y
Looking in /System/Library/Extensions/AppleHDA.kext for the ConfigData
Looking in /System/Library/Extensions/FakeSMC.kext for the ConfigData
Error: ConfigData NOT found!
Downloading https://raw.github.com/toleda/audio_ALC892/master/892.zip ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 18162  100 18162    0     0  59137      0 --:--:-- --:--:-- --:--:-- 59159

Unzipping Archive:  /tmp/ALC892.zip

The available Info.plist files for the ALC 892 are:

[1] /tmp/892/Info-84.plist
[2] /tmp/892/Info-85.plist
[3] /tmp/892/Info-90.plist
[4] /tmp/892/Info-91.plist

Please choose the matching Info.plist (1/4) 4

Looking in: /tmp/892/Info-91.plist for the ConfigData
ConfigData for Realtek ALC 892 found!
------------------------------------------------------------
IUccECFHHUAhRx4RIUcfkCFXHCAhVx0QIVceASFXHwEhZxzwIWcdIWceIWcfQCF3HPAhdx0hdx4hdx9AIYccQCGHHZAhhx6gIYcfkCGXHGAhlx2QIZcegSGXHwIhpxxQIacdMCGnHoEhpx8BIbcccCG3HUAhtx4hIbcfAiHnHJAh5x1hIeceSyHnHwEh9xzwIfcdIfceIfcfQCEXHPAhFx0hFx4hFx9AXGMK
------------------------------------------------------------
Creating AppleHDA892.kext in: /Users/Pike/Projects/AppleHDA8Series.sh
AppleHDA892.kext appears to be loadable (including linkage for on-disk libraries).
Do you want to copy AppleHDA892.kext to: /System/Library/Extensions? (y/n) y
Do you want to reboot now? (y/n) y
reboot: / is busy updating; waiting for lock

After this the system rebooted and audio worked!

applehda8series.sh's People

Contributors

piker-alpha avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.