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 8, 2020 8:38 AM in response to xAndrewH1993x

xAndrewH1993x wrote:

https://www.bbc.com/news/technology-51413724 must I say anything else..... Have a great day.

Did you read this part


"The practice was confirmed after a customer shared performance tests on Reddit, suggesting their iPhone 6S had slowed down considerably as it had aged, but had suddenly speeded up again after the battery had been replaced."


Also,



Regarding Apple being fined, so has Microsoft, Google,... (choose your company name here) been...


I have expressed myself more than enough, I'm here to help people see the truth and fix there MacBook Pros that Apple "decided" not to support. If that's offensive sorry buddy.

Let me quote a previous post, and highlight the tradeoff...


"I have been working on that problem for quite a while with varied results (though none actually getting the thunderbolt bridge to be recognized) -- the strangest attempt was doing a BIOS install of windows and looking at how it mapped the memory (since thunderbolt works with CSM layer of bootcamp) and creating a DSDT based on those memory ranges; strangely, even without a qword entry, the sound worked but now there were different devices that windows could not allocate into memory -> The HD3000 graphics, a couple of system devices etc.....what I am attempting now is to study the lspci output from linux to see how it maps the devices into memory and perhaps create a dsdt to reflect that ---I am hoping someone in the linux community can teach me how to create a dsdt extrapolated from the ouptut of lspci --- in the hackintosh world we often create a SSDT (secondary system description table) to get thunderbolt working -- but I don't believe Windows can use a modified SSDT -- so maybe we can crack the nut - hoping to do so "


Device drivers are very sensitive beasts. Memory allocation for various needs of the devices is non-trivial. You step out of bounds and device(s) stop working. Memory holes are waiting-to-be-exploited Security holes. Buffer overruns are the bane of a device driver writer. Just be careful what you step into.


The point is do not 'fix' something, and break something else.


Feb 8, 2020 8:52 AM in response to Loner T

I think we are all big boys and know how to handle our security 😉 Thanks. I've been in the wireless industry for 8 years now, from experience I've seen the worst of iOS products and let me tell you it doesn't take 15-30 minutes to restore a phone accept an iPad in an iPhone (this is including downloading the ipsw). So again you can sit here and defend them until your blue in the face but I will never be converted after being screwed out of my money. I can use Samsung smart switch restore my phone back to where it was and be done with it. Includes restoring my backup and firmware within 30mins. If you are really smart you can use Odin to restore the devices and be done within 5 minutes. I can definitely say Apple needs to work on the consideration for people who has to troubleshoot their devices especially when you are working through one of the carriers and you got that stubborn customer that won't leave because they can't comprehend that they have to go through Apple. Hahaha when it's a simple factory reset that you have to do through iTunes just to remove the passcode lock. Haha.... Now let's move on... This forum is apparently not to your liking, I don't care if this is a iForum or a Apple Forum. We are "fixing" a unsupported product, it's the end user's responsibility to continue to use a end of life product and know the risks. Good day to you sir.

Feb 8, 2020 11:49 AM in response to xAndrewH1993x

xAndrewH1993x wrote:

Thanks. I've been in the wireless industry for 8 years now,

👏

from experience I've seen the worst of iOS products and let me tell you it doesn't take 15-30 minutes to restore a phone accept an iPad in an iPhone (this is including downloading the ipsw).

How often does a normal user restore their phone?

So again you can sit here and defend them until your blue in the face but I will never be converted after being screwed out of my money.

I am not defending anyone here. You are not being converted either. You can spend your money any way you want.

I can definitely say Apple needs to work on the consideration for people who has to troubleshoot their devices especially when you are working through one of the carriers and you got that stubborn customer that won't leave because they can't comprehend that they have to go through Apple.

You are confusing Subsidy locks of carriers with Apple iOS security. I personally refuse to buy a phone through a carrier.

Hahaha when it's a simple factory reset that you have to do through iTunes just to remove the passcode lock. Haha....

iTunes is also an Apple product, right?

Now let's move on... This forum is apparently not to your liking, I don't care if this is a iForum or a Apple Forum. We are "fixing" a unsupported product, it's the end user's responsibility to continue to use a end of life product and know the risks.

A preUEFI Mac is not an EoL product. You seem to confuse 'vintage' and 'obsolete' terminology. See Vintage and obsolete products - Apple Support for reference.

Good day to you sir.

Good day to you as well!

Feb 10, 2020 1:00 PM in response to xAndrewH1993x

Fun times I see people are having on this thread....It appears Loner T has the sort of 'myopic Apple fan boy' point of view because he (or she I suppose) never wants to point out any inadequacies on Apple's part, which is fundamentality an intellectually disingenuous position to have....Or maybe it's all in good fun and he has a strange sense of humor and finds the 'copy-what-you-wrote-and-editorialize' style responses charming......either way he has never been helpful in the thread. I commend his work helping other people, but again, he has provided very little substance in this discussion other then the occasional snarky missive...which I find mildly amusing ---so cheers to All



Feb 10, 2020 1:20 PM in response to TGIK

TGIK wrote:

It appears Loner T has the sort of 'myopic Apple fan boy' point of view because he (or she I suppose) never wants to point out any inadequacies on Apple's part, which is fundamentality an intellectually disingenuous position to have....

I point Apple's inadequacies to Apple, and not in a public Apple forum (see https://feedbackassistant.apple.com). Not supporting UEFI on a 2011 Mac (9 years old) is a product decision. 2012 Macs are preUEFI and still supported. Also, there is a very public set of articles documenting Apple's failures on Nvidia and AMD GPUs and batteries which does not need repeating.

Or maybe it's all in good fun and he has a strange sense of humor and finds the 'copy-what-you-wrote-and-editorialize' style responses charming......

It is indeed in good fun. 😉

I commend his work helping other people, but again, he has provided very little substance in this discussion other then the occasional snarky missive...which I find mildly amusing

There is a 'fully' supported method to run Windows on a 2011 (and older) Mac, which does not need any changes. You have an alternative 'method', borne out of intellectual/academic curiosity, which you admit does cause new issues, but is fine, if users do not care about such.


macOS has used EFI (1.x) for many years, which is not anything new. Most Linux distribution methods have also supported EFI 1.x.


Whether you (or anyone else) on this discussion dislikes Apple for their business practices, it is their problem, not necessarily Apple's.

Feb 10, 2020 2:53 PM in response to Loner T

You really cannot help yourself (I guess I can't either)---- And for the record the 'fully supported' method has it's own issues as well (i.e AHCI mode not being enabled unless you do the MBR 'hack' [which I am sure Apple doesn't support yada yada yada] which is a big deal if you are using SSD's, having to create a hybrid gpt/mbr setup which itself is a dangerous non-standard partition scheme etc....)

That method might be 'supported' but is far from perfect....


Cheers,


Peace and love to all :)




Mar 4, 2020 7:34 PM in response to xAndrewH1993x

Trying to learn efi shell register commands -- this seems to be where it could happen -- It still is hilarious the way that linux and freebsd see this machine so differently -- and even when you lspci in windows on a bootcamp install you don't see the busses even when a thunderbolt display is being used -- I honestly have been sidetracked a bit on some other computer projects and I lent my other 2011 MBP to a friend for a while -- that was the one I could really tweak because it was a project computer -- I will have some more info soon-


Cheers

Mar 9, 2020 4:36 AM in response to TGIK

Hey TGIK!


Hey I was wondering if you can help me push this out to the public to see if we can get some help on this! There is a company out that will data mine for Cancer, Alzheimer Disease, Huntington Disease, Parkinson Disease, AND COVID-19 / 2019-NCOV (Corona Virus Pandemic). This is a similar process to crypto-mining but for a different cause through MacOS.


"We need your help! Folding@home is joining researchers around the world working to better understand the 2019 Coronavirus (2019-nCoV) to accelerate the open science effort to develop new life-saving therapies. By downloading Folding@Home, you can donate your unused computational resources to the Folding@home Consortium, where researchers working to advance our understanding of the structures of potential drug targets for 2019-nCoV that could aid in the design of new therapies. The data you help us generate will be quickly and openly disseminated as part of an open science collaboration of multiple laboratories around the world, giving researchers new tools that may unlock new opportunities for developing lifesaving drugs."


"Folding@home is a project focused on disease research. The problems we’re solving require so many computer calcul­ations — and we need your help to find the cures!

The Folding@home software allows you to share your unused computer power with us — so that we can research even more potential cures.

Folding refers to the way human protein folds in the cells that make up your body. We rely on the proteins to keep us healthy and they assemble themselves by folding. But when they misfold, there can be serious consequences to a person’s health.

The journey started in the year 2000, at Stanford University. The Pande Lab, directed by professor Vijay Pande, founded the Folding@home project. Ever since, the team has been researching protein folding, computational drug design and other types of molecular dynamics."


More information:

https://9to5mac.com/2020/03/04/coronavirus-cure/ - where I found this article


https://foldingathome.org/2020/02/27/foldinghome-takes-up-the-fight-against-covid-19-2019-ncov/ - the companies' site


fah-installer_7.5.1_x86_64.mpkg.zip - Virustotal scan (Online Virus Scan) (Clean) - https://www.virustotal.com/gui/file/94fd47ff55120c1c869d0dfbf366ae418406a3b47b0fa1bcf94014777abb72a6/detection


Want to participate?!


You can download the app here. The control and viewer apps both look like they were created by a Windows programmer in about 1990, but they do the job…


Once installed, you can use the FAHControl app to choose whether the app works all the time, or only when your Mac is idle — and you can choose how much of your Mac CPU power it uses. It defaults to the lowest priority, and light usage. You can also pause it at any time, for example, while running an app that needs all the power it can get.


Please make sure you do this: Join the 9to5Mac team, enter team number 235955 when prompted. This will combine the data together within the teams' data to get a faster result.

Mar 11, 2020 4:51 PM in response to GustavoPi

GustavoPi wrote:

Standard BIOS mode does not have the newer features of EFI, you can't install Win10 as you please.

W10 can be installed using either CSM-BIOS or EFI, depending on your specific Mac model.

Besides, may not work anyway, I have a BIOS install and does not have audio either.

This depends on the BIOS/EFI mode and if your specific Mac supports one or the other or both.


  • 2012 and older Macs support legacy BIOS using CSM-BIOS because these are preUEFI (EFI 1.x)
  • Late 2013 and 2014 models support both EFI and BIOS modes (UEFI - EFI 2.x and CSM-BIOS)
  • 2015 and later models only support EFI (UEFI - EFI 2.x). Catalina only supports W10

Mar 12, 2020 11:53 AM in response to xAndrewH1993x

I have mid 2012 macbook pro with two drives (no optical drive anymore). When I try to install Windows, something always go wrong. This time, the windows installer could not proceed into the bootcamp NTFS partition (side by main macOS Catalina) because the partition schema was GPT. It seems a dead end, buy some guy discovered the solution - just format the bootcamp as Mac OS and let the Windows Installer format it again. This time, the installer did all the stuff needed and voila... So I really don't know how things works in my SSD...


I did't find this "Valor". What is this and where do I get it?

Mar 13, 2020 10:36 AM in response to Loner T

Simple perhaps...but you are asking him to open the chassis twice, disconnect delicate flat cabling etc....it is all good brother, it was a playful tease ----- personally since I don't use thunderbolt on the windows side, have no use for a second monitor (I have plenty of desktops)-- I believe the EFI method just makes for a faster, more elegant machine-- even in shallow ways; the native GOP boot screen graphics look better then the VESA modes of BIOS emulation. Both methods have caveats — and besides my boot loader screen looks way more interesting then you ever could do with BIOS emulation where even if it is a linux disk you have the boring hard disk icon and the title of ‘WINDOWS’ 


the fruit salad loader

Mar 13, 2020 12:12 PM in response to TGIK

TGIK wrote:

Simple perhaps...but you are asking him to open the chassis twice, disconnect delicate flat cabling etc....

GustavoPi has experience of having completed the task successfully, since the second drive was installed (presumably) by the respondent. 😉

it is all good brother, it was a playful tease -----

NP!


personally since I don't use thunderbolt on the windows side, have no use for a second monitor (I have plenty of desktops)--

Others may, so a case-by-case basis recommendation is warranted!

and besides my boot loader screen looks way more interesting then you ever could do with BIOS emulation where even if it is a linux disk you have the boring hard disk icon and the title of ‘WINDOWS’ 

Beauty (and elegance) lies in the eye of the Beholder!

Mar 16, 2020 2:43 AM in response to TGIK

Hi TGIK, I've just bought an used MBP early 2011, the "a1286" 15 inch version, succesfully installed High Sierra OS, then installed Win10 1909 64bit version (UEFI) and I got the audio & both video cards problem.......(sad), is your (super!) workaround still valid for this version of MBP? I'm not so skilled.... sorry to boring you.... :-(


Many thanks!

Daniele


ps: attached the link to my MBP's spec.



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.