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

Dec 27, 2019 5:06 PM in response to Misha Syeed

This is what I use, it works for Windows EFI and Windows Legacy.... Hopefully this works for ya. I want to do a stand alone video but I need hardware to pull it off and I just don't have the resources to do so.... I'm sorry for the late response, I work for Amazon currently and OMG 10-12 hour shifts with Mandatory Over Time has been kicking my rear end. https://www.rodsbooks.com/refind/installing.html if need more info let me know I'll try to get back to you as soon as I can!

Jan 26, 2020 11:39 AM in response to Spirit_TY

Hey Spirit hope you're doing well so I just so happened to see your post in my email and I'm going to clear some things up. See everything is in Valor so itayemi methods is literally copied and pasted into a text file that is located within the patch so you just have to look for it in the file once you download Valor. Next thing I want to make it clear to everyone that there is no way to possiblely brick your MacBook using Valor. The only way you're going to break/brick your MacBook is if you're installing and manipulating the bootloader itself and even then that's pretty much like heavy stuff. All you need to do is just run Valor and if it doesn't work then reinstall Windows. This is supporting the latest Windows 10 ISO release from Microsoft. Please if you have any other questions fill free to reach out to me directly if you have questions about valor's compatibility. I have made it clear that if somebody is using Valor on Windows that is not meant for the 2011 MacBook pro they can risk breaking Windows itself causing you to have a blue screen so make sure you do a system restore point and try it and if it fails... restore from the last system restore point through windows recovery and if that doesn't reinstall Windows 10. Restore point help link: https://www.windowscentral.com/how-use-system-restore-windows-10 I put a disclaimer on my website and on forums to protect myself. However after multi users testing I've seen compatibility on 2012s.

Jan 31, 2020 6:39 PM in response to xAndrewH1993x

I walked him through it -- he will send you the modified dsdt -- I do really appreciate your spearheading this forum as I have been swamped the last year --- I know I have said it a million times but I need to/will make a video because there are some extra things I can show that might interest people (hfs partitions for booting exotic OS's, custom booter icons etc) -- I also have the rare windows 7 uefi install on the same machine (though it has disappeared many times, but cool nonetheless)

Mar 7, 2020 6:33 AM in response to Sonlato

Probably not possible patching bootmgfw.efi-- not sure why you think that is/would be a better then a registry 'hack' (though it is not really a registry hack per sea, it is a built-in function in Windows to do a dsdt override) --Also a patch to the bootmgrfw file would probably get 'undone' all the time by Windows -- I think for 2011 MBPs and other computers of this era that Clover is good bootloader option since you can load that dsdt into memory each time- though people who aren't familiar with Clover are often scared of it by the legends of people 'bricking' their computers (which undoubtedly to me is operator error)" If you already use grub2 to boot Windows your only option is to do the dsdt override. If you read my first post you can start to understand what the problem is with Windows and why this method works -- the caveat at this time though is no thunderbolt functionality

Mar 12, 2020 1:03 PM in response to GustavoPi

What you need to do is make two partitions when install MacOS Catalina, one HFS+ and the other ExFat then go a head and install Refind  https://sourceforge.net/projects/refind/ install it for MacOS. Then boot up Linux Mint or a Linux to run GParted and format the exfat to NTFS and then install Windows 10. This is where you want to have Valor burned to cd or have the iso to mount from a flash drive. Thanks to TGIK and Itayemi help I was able to write a script that will install new bootcamp drivers and patch the EFI version of Windows 10 to have audio. These links explain the rest. Download link: http://howeitworks.com/valor Youtube links: https://youtu.be/rb-B9M7ro5A (Part 1) and https://youtu.be/c72B5Zajo2g (Part 2)

Mar 12, 2020 1:53 PM in response to GustavoPi

Yeah-- I definitely have to make a video for some folks - -there are many different ways to do it -- but one thing for certain is never use bootcamp assistant to make the partitions -- If I am going to be honest I think the best way is to have free space and make the standard MSR, Windows, Recovery partitions in diskpart before install(pressing shift+f10 in before you install, type diskpart in CMD line) -- Or use linux but make sure you use gdisk because you might end of with a hybrid MBR (which is what BootCamp assistant does) --- this is key -- windows will only install UEFI on a GPT partitioned disk (not a hybrid GPT/MBR) -- this is a limitation of Windows -- though to be honest hybrid partition schemes are dangerous and not standard-

Mar 12, 2020 3:39 PM in response to GustavoPi

GustavoPi wrote:

I have mid 2012 macbook pro with two drives (no optical drive anymore). When I try to install Windows, something always go wrong.
  • Create a USB2 Flash drive installer using Create+Download.
  • Disconnect the SATA connector from the Optibay drive
  • Reset SMC and NVRAM
  • Boot from USB Installer and choose Windows (BIOS)
  • Install Windows on the main bay drive (you can use the full drive, if you want)
  • Test and verify Windows
  • Connect Optibay disk, and restore your macOS Time Machine backup
  • Verify both OSes
  • This method has worked for last 7+ years on several tens of 2012 MBPs with your configuration. 😉

Apr 9, 2020 4:14 PM in response to RiadK

Why you not want to do test signing (option 1)? ---and in terms of that warning I have never bricked a Mac with clover especially pre 2013 macs -- but I would do the test signing mode option -- also display port audio and video does function correctly in this work-around -- we are still figuring that part out

May 3, 2020 7:31 AM in response to steve0108

The video is for those who want even more insight to the theory and execution -it's a video for those who want even more in-depth understanding, it's not a recipe it is a theory of cooking that assumes a lot of prerequisite knowledge. It also was specifically a video for Andrew because he was curious as to how I do/did it and about how to make HFS+ EFI boot partitions (I have yet to find another video on Youtube that explains that process).


My first post on this issue also explains exactly how to do it but I understand that it could be too dense, complicated, somewhat 'heady' and probably not geared towards users who mostly have Mac experience. I have walked over a dozen people through the process as I have put my email address all over this forum so I certainly have no problem helping people get through it.


If you want to do a BIOS install which doesn't have the sound issue I would install via DVD (though the caveat of BIOS installs is that without an MBR hack your disk is using the legacy IDE driver which will greatly reduce disk speeds on SSD's).


If you have already done a UEFI install just send me an email and I can get your sound working very quickly.


The reason I can't just make a bullet-point step by step is that there are too many variables to account for depending on a users hardware setup and how great their understanding is of disk partitions and UEFI vs BIOS emulation among other things. I mean the video, though agonizingly long is actually a realtime look at every step but I was using a computer with 2 internal hard drives and I like having a recovery partition so that changes how one would do it- I also know that Windows doesn't like 'seeing' multiple EFI partitions so how I format and partition that second disk is affected by that fact....as the 'Dude' in 'The Big Lebowski' says - " This is a very complicated case, Maude. You know, a lotta inslotta outslotta what-have-you's" -


just email me if you want a UEFI install with working sound


-Cheers




Sep 13, 2020 3:30 PM in response to xAndrewH1993x

Hi Andrew... I reinstalled windows and used VALOR and It works great, thanks... But I'm still had an issue with my Intel HD 3000, if i try to install driver, BSOD's happen... I need to remove this driver from BootCamp driver's folder and ok, it install Microsoft Legacy Driver... after I tried to update the driver on Windows Device Manager and now it has a exclamation sign, the driver doesn't work. You know what could I do to resolve this? I had a 2011 MacBook Pro 15" with a defective dedicated GPU, in MacOS HD3000 works fine.

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.