How to Restore Native/Vanilla AppleHDA

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS

How to Restore Native/Vanilla AppleHDA

An EliteMacx86 Exclusive Guide - This guide covers restoring of Native/Vanilla AppleHDA.kext

Overview


For most of the time, when you try to fix audio on your hardware, you forget to backup the vanilla AppleHDA. When fixing, if there's any issue, and the audio doesn't works, you try to fix it in other ways. But as the different AppleHDA is installed, so the audio may have some issues. So here's a quick guide to restore the vanilla AppleHDA to your system and then try to fix the audio.

As you're already attempting to install OS X or macOS, so you must be having a bootable USB of the particular version.

For macOS Sierr to macOS Catalina:
1. Plug your Bootable USB
2. Open your USB
3. Right click on "Install macOS Mojave" and select Show package Contents
4. Open Shared Suport folder
5. Mount the Base System.dmg
6. A partition will be mounted on your Desktop
7. Open the partition
8. Navigate to : /Base System/System/Library/Extensions/AppleHDA
9. Create a folder on your Desktop
10. Name it to "AppleHDA Vanilla or Native AppleHDA"
11. Copy the original AppleHDA from the above location i.e /Base System/System/Library/Extensions/AppleHDA

For macOS Big Sur:
macOS Big Sur directory isn't writable. So, it's very unlikely that you modify your AppleHDA.kext.


Removing installed (old) AppleHDA version from your system


1. Navigate to : System/Library/Extensions/AppleHDA.kext
2. Right click on AppleHDA.kext and select "Move to Trash"
3. Empty the trash

Notes :
For macOS Catalina, you'll need to enable the write access. To do that, type the command below in the Terminal.
Code:
sudo mount -uw /; killall Finder
For macOS Big Catalina, you'll need to enable the write access. For more information, refer to the guide linked below.

Installing AppleHDA


1. Open Terminal
2. Type:
Code:
sudo cp -R /Users/yourusername/Desktop/Native AppleHDA/AppleHDA.kext /System/Library/Extensions
3. When promoted, enter your password
4. Rebuild caches using
Code:
sudo kextcache -i/

Now you've successfully restored native/vanilla AppleHDA.kext
 
Last edited:
  • Like
Reactions: arsradu

raffrx

New member
Joined
Dec 24, 2020
Motherboard
MacBook Air
CPU
m1
Graphics
m1
OS X/macOS
11.0.x
Bootloader
  1. Clover (UEFI)
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi, on Macbook M1 seems impossibile to get privilege on system files...
 

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS