I tend to leave the scrolling text that comes up w/ verbose mode as a simple reminder to NOT update the OS...
No Kexts found for architerure x86_64
Child process /usr/sbin/kextcache [40] exited with status 71
Error 107 Rebuilding /System/Library/PrelinkedKernels/prelinkedkernel
csrutil disable
reboot
fsck -fy
mount -uw /
mv -v /System/Library/Extensions-off/AMDRadeonX3000.kext /System/Library/Extensions-off/AMDRadeonX3000-old_01.kext
mv -v /System/Library/Extensions/AMDRadeonX3000.kext /System/Library/Extensions-off/
touch /System/Library/Extensions/
ls /Volumes/
MacOS
kextcache -v 1 -u /Volumes/MacOS/
reboot
kextstat | grep -i AMD
AMDLegacySupport (1.6.8)
AMD6000Controller (1.6.8)
AMDLegacyFramebuffer (1.6.8)
AMDRadeonX3000 (1.6.8)
/System/Library/Extensions/AppleGraphicsControl.kext/Contents/MacOS/AGDCDiagnose -a | grep -i Power
IG: FB0:on FB1:N/A FB2:N/A 3D:idle HDA:N/A Power:on
EG: FB0:off FB1:off FB2:off 3D:idle HDA:idle Power:off
Policy:on GPUPowerDown:on Backlight Control:on Recovery:on
Power State Machine IG: 0 EG: 6
csrutil enable
reboot
csrutil enable --without kext
reboot
First: nvram gpu-power-prefs to Intel GPU.
I had a problem with "Security Update 2018-003 (High Sierra)".
The problem was that after moving the AMDRadeonX3000.kext to the /System/Library/Extensions-off/ directory, then the Rebuild kext cache was not accepted because it had digital signature problems with SIP Enable.
The problem was found by both SecUpdate 3 made inside the App Store as the DMG file.
Code:No Kexts found for architerure x86_64 Child process /usr/sbin/kextcache [40] exited with status 71 Error 107 Rebuilding /System/Library/PrelinkedKernels/prelinkedkernel
As a result, AMDRadeonX3000.kext was still inside the /System/Library/PrelinkedKernels/prelinkedkernel file and freezing the HighSierra in the progress bar and overheating the Macbook Pro.
Remember that Mac OS does not load kext directly from the /System/Library/Extensions directory.
Mac OS takes all these kexts and generates a file called prelinkedkernel (~ 23 MB). This prelinkedkernel is loaded at boot time.
That's why every time you move the AMDRadeonX3000.kext from an update, you have to Rebuild Kext Cache by touch command and recreate a new prelinkedkernel file without AMDRadeonX3000.kext inside.
Solution:
1 - Install Security Update 2018-003 (High Sierra). System auto reboot to complete update (install and restart).
2 - Macbook Pro boot normal -> second stage update with progress bar with time to complete update. Auto reboot.
3 - Macbook Pro boot normal -> rebuild kext cache and freeze / overheating Macbook Pro try load AMDRadeonX3000.kext inside prelinkedkernel file.
4 - If Macbook Pro do not auto restart by overheating, then press Power Off Macbook Pro to force shutdown.
5 - Boot Recovery Mode - Press Command + R key at boot.
6 - After load graphical screen -> Menu Utilities -> Terminal -> disable SIP:
Code:csrutil disable reboot
7 - Boot Single User Mode - press Command + S at boot.
8 - Verify file system:
Code:fsck -fy
9 - Mount system partition with Read and Write permissions. Do not forget the final Slash "/".
Code:mount -uw /
10 - There is an AMDRadeonX3000.kext of the latest installation within the /System/Library/Extensions-off/ directory.
There can not be two kexts with the same names within this directory.
Rename the old AMDRadeonX3000.kext to be able to move the new AMDRadeonX3000.kext.
Pay attention to the spaces between commands and source directory and target directory.
Code:mv -v /System/Library/Extensions-off/AMDRadeonX3000.kext /System/Library/Extensions-off/AMDRadeonX3000-old_01.kext
11 - Move the new AMDRadeonX3000.kext from /System/Library/Extensions to /System/Library/Extensions-off/
Pay attention to the spaces between commands and source directory and target directory.
Code:mv -v /System/Library/Extensions/AMDRadeonX3000.kext /System/Library/Extensions-off/
12 - Modify timestamp /System/Library/Extensions/ with touch command.
Code:touch /System/Library/Extensions/
13 - Force rebuild kext cache with Verbose Mode. In my case -> HighSierra system partition is called MacOS.
Any doubt about the name, then use the ls command to list the system partition name.
-v 1 -> level 1 verbose mode.
-u -> update kext cache with target diretory -> complete path name partition system.
Code:ls /Volumes/ MacOS kextcache -v 1 -u /Volumes/MacOS/
14 - If you do not see the error message then your prelinkedkernel file has been rebuilt normally.
Reboot the system.
Code:reboot
15 - Boot normal and see with load HighSierra normally.
16 - See if AMD Kexts are loaded -> Finder -> Applications -> Utilities -> Terminal
AMDRadeonX3000.kext loaded by LoginHook -> MikeyN guide - page 35 #875
Code:kextstat | grep -i AMD AMDLegacySupport (1.6.8) AMD6000Controller (1.6.8) AMDLegacyFramebuffer (1.6.8) AMDRadeonX3000 (1.6.8)
17 - Everything normal and power off AMD GPU with LoginHook? If yes, now SIP Enable.
IG: Intel GPU -> Power On
EG: AMD GPU -> Power off
Code:/System/Library/Extensions/AppleGraphicsControl.kext/Contents/MacOS/AGDCDiagnose -a | grep -i Power IG: FB0:on FB1:N/A FB2:N/A 3D:idle HDA:N/A Power:on EG: FB0:off FB1:off FB2:off 3D:idle HDA:idle Power:off Policy:on GPUPowerDown:on Backlight Control:on Recovery:on Power State Machine IG: 0 EG: 6
18 - Restart Macbook Pro and boot Recovery Mode - press Command + R at boot.
Menu Utilities -> Terminal -> Enable SIP and reboot
Code:csrutil enable reboot
19 - Boot normal and see if load HighSierra normally with SIP Enable. If yes, then your guide end here.
20 - If boot normal freeze / overheating Macbook Pro, then perhaps use SIP with kext disable.
21 - Boot Recovery Mode - press Command + R at boot.
Menu Utilities -> Terminal
Code:csrutil enable --without kext reboot
22 - Boot normal.
Download Security Update 2018-003 (High Sierra)
https://support.apple.com/kb/DL1984?viewlocale=en_US&locale=en_US
Thank you for this.
I have a 2011 MacBook pro, with a white screen after startup. I had a fix before with the nvram fa4ce28d Code solution that seemed to work but after installing the latest update from apple the old problem returned... and now I don’t seem to be able to get into the recovery mode anymore. I restart holding down command R and it just turns to white (after I see the apple logo and the loading bar for a while). If I start with command R and S I cannot perform the csrutil disable command (“failed to modify system integrity configuration. this tool needs to be executed from the Recovery OS”). any ideas?
nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
reboot
csrutil disable
reboot
csrutil enable
nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
csrutil disable
reboot
csrutil enable
Wow, your work is amazing.
I only have 2 doubts.
I never replaced the 3000kext.
My temperature in normal use is about 40-50ºC.
If I see a Youtube video, it goes up.
Is that temperature normal?
another thing is, I can never turn off the PC, if I turn off, I have to re-enter with Cntr + S and place the Nvram command.
If I move 3000kext and perform csrutil again, is this "anchored" and can I turn off normal?
after an update will it spoil again?
I currently have Mojave Patched and it works very well.
Thank you for all of your help!
First of, thanks to all people who posted here and came up with the eventual solutions!
I myself have to deal with this because I sold my affected model to a cousin earlier this year. At that point the unit was functioning perfectly; in 2015 the Logic Board was replaced out of warranty and the Apple AASP assured that the problem would never happen again due to it being a redesigned logic board.. Little did I know. In any way, my cousin used it with great pleasure until a week ago when the unit started malfunctioning. Now we want to get the unit back to a working condition, the AMD is not needed for his usage anyway.
What I did was connect the original 2011HDD to my functioning rMBP; locate the AMD kext files on the original 2011HDD; backup the AMD* to my HDD, delete all AMD kext, insert the 2011HDD, and my theory worked; it booted; although with some graphical artefacts.
I should have followed a guide but I thought I was fixing it :-( I tried to put back the all non-X3000 kext files, even installing the 2018 security update 3 but at this point the 2011HDD became so messy that it does not boot anymore.
I cannot finish the 10.13 USB installer (created with disk maker X) on the machine...
What I want to do is:
-do a fresh install of 10.13 on the AMD broken 2011MBP so I can at least follow a guide
If anybody has any idea how I would go about doing this then please tell me. I think if I can force the installer to not use the AMD during the entire process it should work, but at this point a have no clue..
The "magic" is to use Safe Mode to finish the installation.
1 - gpu-power-prefs Intel GPU.
2 - Boot with Mac OS installer.
3 - Start installation.
4 - After 2 or 3 reboots (normal installation) Macbook Pro freeze with AMDRadeonX3000.kext. Power Off Macbook Pro.
5 - Power On Macbook Pro with Safe Mode (press SHIFT at boot).
6 - Continue with the Mac OS installation and finish installation.
7 - Start MikeyN Guide - page 35 #875 .
Safe Mode does not load most kexts - include AMDRadeonX3000.kext.
Power On Macbook Pro with Safe Mode (press SHIFT at boot).
...
Safe Mode does not load most kexts - include AMDRadeonX3000.kext.
Disable MacBook Pro Dedicated GPU
- First, ensure your machine is completely shut down (You can press Control + Option + Shift + Power keys to reset the SMC).
- Now, boot your machine while holding the Command + S keys. As the system boots, it should display white text on a black screen, and should eventually stop at a prompt.
- At this prompt, enter the following command and press Return: nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
- Next, enter reboot, and press Return.
- Immediately after running the reboot command, hold down Command + R (if you're running OS X 10.11 or later) to boot into Recovery Mode. If you don't have a Recovery Partition, you can boot from a Mac OS installer USB drive.
- Once booted in Recovery Mode, open Terminal, and run the following command: csrutil disable
- Reboot the system.
- Once the system reboots, it should now successfully boot into your install of OS X. Now, you'll need to download the program found here.
- Run the program, follow the prompts, and enter your password when prompted.
- Once the tool finishes running, your system should now run without the dedicated graphics, and should work completely normally.
Thank you for the advice!!
Before I read your post I did the following:
-use my trusty old 2009 unibody MacBook white to do a clean USB install to the 2011HDD, until I reached the desktop.
-put the 2011HDD in the 2011 MacBook Pro
-booted with CMD+S to do the "gpu-power-prefs Intel GPU", reboot, then immediately:
-CMD+R to do the "csrutil disable", reboot, then immediately:
-boot onto the desktop and run the dosdude1:
-rebooted a few times to see everything was okay
-CMD+R to do the "csrutil enable", reboot,
-Through the OS itself, update the '1.8GB 10.13.6 Update 3'
-reboot
-found out it was broken again so;
-booted with CMD+S to do the "gpu-power-prefs Intel GPU", reboot, then immediately:
-CMD+R to do the "csrutil disable", reboot, then immediately:
-boot onto the desktop and run the dosdude1:
-rebooted a few times to see everything was okay
-CMD+R to do the "csrutil enable".
Rebooted a few times while manually restoring some (user, non-system) folders from a backup.
Tested auto cad, tested VM ware fusion. Everything appeared to be working again...
Before all this it took me hours to figure out the 'test' hdd that my cousin supplied.. was broken :-(
What I want to do: follow your tips/guide and do an actual, clean install on the 2011 MacBook Pro itself.
Also I believe that High Sierra currently cannot reliably enable the brightness keys?
In that case, I believe regular Sierra would be better as my cousin would probably prefer that functionality
So in theory, a machine with the broken AMD GPU can be booted by holding the SHIFT key during boot?
If that is so, then the most simple procedure could be: Boot USB installer while pressing shift, after install and holding shift, go into the recovery and disable the SIP... then boot into Mac and run the disableAMDGPU.exe (lol) ... reboot with shift into recovery/terminal and reenable the SIP
[doublepost=1546124999][/doublepost]
I am a total noob; just did this myself a few hours ago, but I had the same thing; after the update it did not boot anymore. What I did was exactly this:
http://dosdude1.com/gpudisable/
If you follow the steps then you will be done in less than 10 minutes!
nvram boot-args="-v -x"
reboot
nvram -d boot-args
I want to update my MBP 2011 with failed GPU to Mojave and tried to do create the Dosdude1 Patcher installer on my MBP 2018 w/10.14.2 and it makes it nearly to the end but then I got
'asr: Couldn't personalize volume /Volumes/OS X Base System
"disk4" ejected.'
Anyone else who ran into this issue? Fix? If I need to go to another forum, which one?
Managed to build the Patcher Installer on the broken MBP•2011 running 10.13.6... Couldn't get the recovery directory to work with either HFS or APFS, but I followed the suggestion at http://dosdude1.com/gpudisable/ and booted from a Mac OS installer USB drive to run "csrutil disable". All in all, I'm up and running with 10.14.2, but it was a little hit and miss along the way...
I didn't think of this but, maybe running Mojave is the best way to run a recent version of Mac OS, as 10.13 has no user controllable backlight?
Could you please post your experience with 10.14 on your broken MBP2011 after a few weeks?
We managed to install 10.13 on his unit, and it survives PRAM-reset and everything so it appears stable (until the next update that is), however, the backlight of the screen being uncontrollable as well as having no standby at least not with a functioning screen afterwards is really inconvenient. If 10.14 would solve some of this then it could be worth a try..
First: nvram gpu-power-prefs to Intel GPU.
I had a problem with "Security Update 2018-003 (High Sierra)".
The problem was that after moving the AMDRadeonX3000.kext to the /System/Library/Extensions-off/ directory, then the Rebuild kext cache was not accepted because it had digital signature problems with SIP Enable.
The problem was found by both SecUpdate 3 made inside the App Store as the DMG file.
Thank you, Thank you, THANK YOU nsgr for taking the time to write this very detailed guide. I pushed my luck updating my macbook - I knew it was dangerous and indeed it wouldn't boot up anymore.
I followed your steps and it's back up and running!!
Only one thing, the update got stuck on the last step which is not the same screen you see when the MB normally boots up - well, it's very similar as it's still an Apple logo with a bar but the bar is darker and reaches 100% before the system reboots in a loop. So, let the system go through the update and when the MB gets into a reboot loop - or gets stuck - you can proceed
Thank you again and SHAME ON APPLE for not bothering to helping their GENUINE customers stuck on this disgraceful machine.
One question: do I really need to enable SIP again?
csrutil enable
csrutil enable --without kext
csrutil enable
thanks nsgr.
I have noticed that booting time is slower after the patch has been applied? It may be my imagination though.
I use a Samsung EVO SSD.
I use FileVault, so I turn on the Macbook Pro and unlock the disk and log in when I turn on the Macbook Pro.
The above process to load the entire HighSierra and get ready to work takes 30 / 40 seconds.