MBP UEFI WINDOWS SOUND FIXED!!!!


If anyone is still interested I have found the solution for audio on MBP 2011 Windows 10 UEFI installs - it has taken me 4 years to figure out. I was given the answer from a tutorial only adjacently related -here:

https://egpu.io/forums/pc-setup/fix-dsdt-override-to-correct-error-12/

essentially what we knew was that windows didn't 'see' the correct audio devices when booted in pure efi-

The part that was frustrating to me was that many users like myself have lots of UEFI installs on their 2011 MBP and those OS's have no problem 'seeing' the HD audio controller -

So what was windows doing different?

I had messed around with mm commands in a UEFI shell (The shell provided in the rEFIt package) to no avail*

I had tried to pass SETPCI commands from grub into Windows 10- no luck*

A quote from the link above got my brain spinning

"A Windows system's DSDT table root bridge definition (ACPI PNP0A08 or PNP0A03) is usually confined to a reserved 32-bit space (under 4GB) budgeted to be large enough to host the notebook's PCIe devices. A watermark TOLUD value is then set and locked in the system firmware. Windows OS honors the root bridge definition and will allocate PCIe devices within it. macOS ignores the root bridge constraints as too does Linux when booted with the 'pci=noCRS' parameter. Neither of those OS require a DSDT override and can allocate freely in the huge 64-bit PCIe address space"

So Windows 'honors' the root bridge and OSX and linux disregard it --hmmm interesting.

As someone who also deals in hackintoshes I am very aware of DSDT's and how editing them can help get OSX running on home brew PC hardware- I had played around with installing Clover (the UEFI bootloader almost synonymous with Hackintoshes) on USB thumb drives and putting the DSDT from my MBP 2011 in the /Clover/ACPI/Windows folder - still nothing-- I thought that pointing windows to a DSDT would be enough.......

A side note is that there are people who have 'bricked' their real Macs when using clover, I have never had that issue personally (a sub-link in the link above describes such a situation)*

If you follow the guide and make a modified DSDT (one that add 'qwords' to the dwords section) you can test it in two ways-

I used Maciasl to extract and edit my DSDT to add a 'Qword' section - I placed the DSDT in two locations /EFI/Clover/ACPI/Patched [not sure if that one matters] & /EFI/Clover/ACPI/Windows

holding ALT/option during bootup I selected "EFI Boot" from the USB clover and booted into Clover

for the exact Clover configuration send me a message

After booting into windows the sound card was immediately working (this was because I had installed the cirrus logic drivers from bootcamp 4) - the display audio driver in device manager had an exclamation point but I was able to install the display audio driver from intel's driver support for the i7 2470m CPU in this machine-

I also looked at device manager via 'by resources' and saw that a new entry 'Large memory with an address range appeared

And low and behold the address range for the 'large memory section' contained the range for the hd audio controller

I then wanted to see if the method described in the initial link posted above where you force that memory map into the registry and turn on 'test signing' worked --

it did, which allowed me to boot directly into windows without the help of clover --

*NOTE: when I tested the registry method I skipped the first few steps since I already had a modified DSDT- I did need to create the 'C:\dsdt folder and extract the windows binaries to that folder - but I did not use their acpi dump nor compiler (I check for errors and compiled my dsdt in Maciasl in OSX)

I would gladly go more in depth but I doubt there are many more who need this information- just glad to have figured it out without the BIOS emulation of bootcamp- going to test this method on other 'pre 2013' Macs with non complient UEFI bios'

MacBook Pro

Posted on Feb 3, 2019 11:57 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 8, 2020 1:54 PM

UPLOADED OF VALOR AND VALOR LITE WILL BE DONE BY 9/8/2020 8:00 PM EST OR SOONER


MAJOR UPDATE FOR VALOR (Valor AIO) & VALOR LITE

HAPPY LABOR DAY OR "HAPPY HOLIDAY"


TESTED AND CREATED FOR WINDOWS 10 BUILD 2004 (MAY 27TH 2020 UPDATE)


UPDATES:


7-ZIP FILES ARE NO LONGER AVAILABLE – MOUNT ISOs OR MAKE USB

BIN FILES ARE NO LONGER AVAILABLE – MOUNT ISOs OR MAKE USB

NEW DRIVERS UPDATE – FIXES DPC WATCHDOG BSOD & INCREASES PERFORMANCE

UPDATED GOOGLE DRIVE LINKS AND YOUTUBE LINKS

UPDATED STANDALONE MODDED BOOTCAMP DRIVERS

-FIXES DPC WATCHDOG BSOD & INCREASES PERFORMANCE

ADDED WPD TO HAVE MORE SECURITY OVER PRIVACY SETTINGS OF WINDOWS 10

ADDED ISOTOUSB TO ISO

ADDED SNAPPY DRIVERS FOR EMERGENCY (MACBOOK PRO 8,1 ONLY) UNDER ROOTFOLDER >RESOURCES>INSTALLERS>NOT PART OF SCRIPT>MACBOOKPRO 8,1

FIXED BUGS


______________________________________________________________________________

SAME FROM PREVIOUS UPDATE:


ISO IMAGES AVAILABLE

ISO-TO-USB AVAILABLE

NEW TUTORIAL

ORGANIZED GOOGLE DRIVE

NEW DRIVERS UPDATED

SHORTCUTS FIXED

FIXED BUGS

VALOR LITE - PEOPLE WHO ONLY WANT DRIVERS, SCRIPT (SMALLER DOWNLOAD FOR PEOPLE ON METERED CONNECTIONS)


Valor Script: A Frankin-Mac Project ( http://www.howeitworks.com/valor )

DSDT Patch to Enable Audio Drivers in EFI Installed Version of Windows 10, Blue Screen Of Death Fix, and more.

This is meant to work with only MacBook Pro Early 2011 13inch or MacBookPro8,1 Please keep in mind if you use this script on a different model terms below applies!

ALL THANKS GOES TO TGIK AND itayemi's METHODS! TGIK IS DA MAN! TGIK APPLE FOURM: https://discussions.apple.com/thread/250137979 AND itayemi's Windows Method (This without the script or drivers) (How to do this manually):http://www.itayemi.com/blog/2019/09/12/dual-booting-mac-osx-and-windows-on-macbookpro/ -THANKS AGAIN itayemi!

TGIK provided the full Mac/Clover bootloader version of creating and executing the DSDT patch, while itayemi provided a Windows alternative of creating and executing the DSDT patch. I'm the guy who took the two and made a script for Windows and added other needed and useful tools that is needed to make Windows 10 ver 1903 and higher to be compatible.

I'M NOT RESPONSIBLE FOR ANY DAMAGES CAUSED TO YOUR MAC OR PC (NOT MEAN'T FOR PC USERS). IT IS THE USERS RESPONSIBILITY TO MAINTAIN PC AND REFORMAT WINDOWS IF DONE INCORRECTLY. SO IF YOU DON'T UNDERSTAND THESE TERMS, EXIT IMMEDIATELY!

Welcome to Valor!

Thanks for being here and giving this a spin!

Download Free & Enjoy! No Advertisements or Surveys Required.

Tutorial links:

Valor & Valor Lite USB Setup & ISO Mounting Tutorial (PART 1): https://youtu.be/rb-B9M7ro5A -UPDATED LINK

Valor Deployment Tutorial (PART 2): https://youtu.be/c72B5Zajo2g -UPDATED LINK

Please do not mirror link:

Valor (DSDT Patch Script & Modified Apple Drivers Package/Script for MacbookPro8,1) Download Link:

https://drive.google.com/drive/folders/1mhAXrunkKsOlIi4Hs-g9hgcXbRtTlBVs?usp=sharing

https://www.paypal.com/paypalme2/howeitworks - Donation Link (Fully Optional Not Enforced)

Do Not Forget to show appreciation to TGIK and itayemi!

1.) This is a script that will install a DSDT file to make your audio drivers work for your MacBook Pro Early 2011 in EFI mode. This is means if you want to install multiple Windows Partitions you can in EFI and you are no longer dependent on the DVD Rom.

2.) BootCamp drivers downloaded and changed as of 10/23/2019. The modifications are MacHaldriver.sys has been completely removed and through this script installs a MacHaldriver.inf instead to avoid Blue Screen Of Death with Windows 10 ver. 1903 or higher because of incompatibility. Untested on Mid 2011 and Late 2011 Macbooks, please provide feedback if there are any issues. This will be automatically executed when using the script.

3.) Legacy Windows essentials programs will be installed to ease user experience transitioning for Windows 7. Ninite will be executed to insure all users are setup with modern day browsers and including the must have tools to maintain this machine. Anti-Virus will be provided and other useful Microsoft programs including Windows Media Center-Port Over from Windows 7.

Please look into the Script Directory and Resources\Installers Directory to look over what will be installed or offered to be installed as you go through the script! Thanks again I hope you enjoy!

Please checkout my website for more information ( http://www.howeitworks.com/valor )


EXTRAS


Standalone Modded BootCamp Drivers for Windows 10 ver. 1903 or higher (Blue Screen Of Death Fix):

https://drive.google.com/drive/folders/1IPcJvIdnBMhpTUm0bnsdXdIh-I_NH-Mz?usp=sharing


(THIS IS BUILT INTO VALOR SCRIPT) (ONLY FOR USERS WHO NEEDS IT FOR LEGACY WINDOWS INSTALL)

305 replies

Feb 26, 2019 8:18 AM in response to Loner T

In response to why I would do all this work - my answer is embedded in your response -


1) Bios emulation sucks, yes you can patch the MBR to activate AHCI mode but.....that sucks --so do hybrid GPT/MBR schemes (it's a 'bad' work around)


2) It is precisely because Apple doesn't support it that it becomes that more compelling --- I knew it was possible - I hated the 'knee-jerk' response of 'just use bootcamp' etc


Apple can be, and certainly has been a great (slight tongue-in-cheek) company -- but their tendency to obscure the truth about their products and the deep veil of restrictions they put on things again, makes it fun and compelling to 'stick it to them'




Mar 15, 2019 9:20 PM in response to Loner T

Cheers,


I do actually have FreeBSD 12 on there :) , used to have OpenBSD ---Maybe if eCOMSTATION ever supports UEFI I could try it----Using only UEFI installs It's fun to use Mac's built in boot menu (was an early rEFIt and rEFInd user) by making small HFS+ partitions with a SYSTEM/LIBRARY/CORESERVICES structure to put efi bootloaders directly or a symlink to the ESP and make a .VolumeIcon.icns image of my choice----- Never intended to be so flippant in my responses I just am always trying to figure out how to do things that are not documented but perfectly safe using my background in IT -


You are probably right; most users should follow the well documented protocol--But there once was a time when Apple attracted the 'power user tinkerer' and I come from that legacy - so as much as I can appreciate the 'appliance-like, don't need to understand nature' of Apple computers.....it is after all (after the switch to intel) an x86 x64 computer--


-Derek Trueblood Riddle

Mar 21, 2019 10:16 AM in response to TGIK

I have successfully installed EFI based Windows 10 on my mid 2012 MacBook pro and have a working egpu setup with a Razer Core X and Vega 56. I am plagued with the no sound cirrus audio error. Any way you could share the DSDT file and or how does one compile and load to the  EFI automate-eGpu solution by Goalque or even load it to REFind. It is not a deal breaking working with no sound on the go but it would be awesome to having it 100%


Apr 15, 2019 10:42 AM in response to McForse

You can do this without using Clover and use the registry hack detailed in the post ---I alluded to the potential dangers of using Clover in my original post but for me personally, I have never had a problem using Clover on a 'real Mac.' From my perspective it seems that is usually 'operator error' when people have 'bricked' their macs using Clover.

May 9, 2019 7:37 AM in response to TGIK

Holy crap, it worked. My early 2011 MBP has sound again. Thank goodness!


I have a good rEFInd setup, but I might switch to Clover if you can help me with 2 things:


  1. Can you confirm installing Clover directly to the EFI disk instead of using a USB boot drive won't cause issues?
  2. Using clover, can I hide all the recovery drives in Clover and just have it show the main OS disks at the selection screen?


I have a good rEFInd setup where I spend hours configuring the config file to just show Windows, OSX and Linux without displaying all the other disks. I'd like to make that for Clover as well, if it's possible? If not, I guess I'll look into the registry mod method.


Let me know. Thanks.

Jun 23, 2019 11:27 AM in response to TGIK

I installed the tools and pasted the command on command prompt.


Microsoft Windows [Version 10.0.18362.175]

(c) 2019 Microsoft Corporation. All rights reserved.

C:\Windows\system32>

C:\Windows\system32>mkdir c:\dsdt

A subdirectory or file c:\dsdt already exists.

C:\Windows\system32>c: & cd \dsdt

C:\dsdt>set 64bit_OS_asl="C:\Program Files (x86)\Windows Kits\10\Tools\x64\ACPIVerify\asl.exe"

C:\dsdt>set 32bit_OS_asl="C:\Program Files (x86)\Windows Kits\10\Tools\x86\ACPIVerify\asl.exe"

C:\dsdt>copy /y %32bit_OS_asl% c:\dsdt > nul & copy /y %64bit_OS_asl% c:\dsdt > nul

C:\dsdt>if not exist c:\dsdt\asl.exe echo ERROR: Failed to copy asl.exe to c:\dsdt


What do I do from here?

Aug 24, 2019 9:23 PM in response to TGIK

I had a dual SSD in my MacBook pro early 2011 8,1 an hour ago and I was trying to install Windows on my TB as EFI but you know I ran into that audio issue. So I tried like to install it in Legacy and of course no work arounds in the way I understand would work. Can't boot from USBs in Legacy mode. I had put back in my DVD Rom. So I'm still in the process of having to reinstall Windows after putting back Mojave and El Capitan. I hope I'm not asking much but can you do a YouTube video of this tutorial as I am a visual learner and I have very little to no experience with DSDT editing and clover bootloader. It would help out a lot. Heck you don't have to even speak in the video if don't want. Lol. I'm use to dual booting between Mint and Windows MacOS **** even got PrimeOS (Android) to work on in here at one point. I normally use Refind as my bootloader. I appreciate any help that you can give. Not saying that you can do the video or edit it, if you don't want to go through the hassle of setting up a YouTube I be more than happy to give you all credit for the tutorial before the video starts and after and upload the video for you if you want. With this thread attached to the video to give the word out.

Aug 27, 2019 8:58 AM in response to xAndrewH1993x

When I get back to LA on Saturday I will make a video -- definitely with my voice though --


When you said you were installing windows onto your 'TB' what did you mean by that?


At this point I can get audio working on UEFI installs but it seems to cause issues with thunderbolt -- I don't use thunderbolt so it didn't matter to me much anyway --- though I just got another old MBP and am going to do a legacy Windows 10 install and dump the dsdt from that to see if I can get all devices working (i.e. Thunderbolt)


I also don't use Apple Core Storage Logical volumes --- just old school basic GPT partitioning scheme with many separate partitions -- but I will explain all of this in a video (as well as I can) because all this stuff is fairly advanced/obscure --- post 2013 macs are all UEFI compliant so this is really for those who are using older macs (i.e. 2011 MBP iMac etc)


Cheers-


Will be in touch --

Aug 27, 2019 9:00 AM in response to jlbevo

Hope you made a backup --- I use Carbon Copy Cloner -- this technique really requires an understanding of partitioning schemes --- and really is better when installing Windows if you use the diskpart command in a shell to set up the partitions before installing --- this is a fairly advanced process

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

MBP UEFI WINDOWS SOUND FIXED!!!!

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.