Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Works for macOS Sierra and High Sierra (Improved version)

Taken from StackExchange

Thanks to LangLangC

For temperature and other improvements see https://gist.github.com/cdleon/d16e7743e6f056fedbebc329333d79df

This method leaves brightness control enabled

Reset SMC

Shutdown, unplug everything except power and hold

leftShift + Ctrl + Option + Power 

I holded for 5 seconds, but holding just for an instant should work

Reset NVRAM: Power up and hold

Command + Option + p + r

Until you hear the startup chime two times.

Shutdown computer

Power up and boot into Single User Recovery by holding

if you are on high sierra 10.13.6+ you might need to use Command + r instead

Command + r + s

Disable SIP (This takes a bit to complete so wait for it)

csrutil disable

Disable Discrete GPU on boot by running

nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00

Enable verbose boot mode (This will show text everytime you boot up, shutdown or restart your mac)

nvram boot-args="-v"

Reboot

reboot

Boot into Single User-mode by holding

Command + s

It might look as if it hanged, but press enter and you should see the shell (root#)

Mount root partition writeable

/sbin/mount -uw /

Make a kext-backup directory

mkdir -p /System/Library/Extensions-off

Move ONLY ONE offending kext out of the way

mv /System/Library/Extensions/AMDRadeonX3000.kext  /System/Library/Extensions-off/

Inform the system to update its kextcache:

touch /System/Library/Extensions/

Reboot

reboot

It will show a bunch of text in the screen (don't be alarmed, let it finish) and then it will restart again In second restart it will show text in the screen again and then it will show normal login screen Your computer now should work properly (dGPU off and iGPU on, shown as i in gfxCardStatus

BIG CAVEAT FOR APPLE UPDATES

If an update that contains changes to the AMD drivers is about to take place it is advisable to move back the AMDRadeonX3000.kext to its default location before the update process. Otherwise the updater writes at least another kext of a different version to its default location or at worst you end up with an undefined state of partially non-matching drivers.

After any system update the folder /System/Library/Extensions has to be checked for the offending kext. Its presence there will lead to e.g. a boot hang on Yosemite and Sierra, an overheating boot-loop in High Sierra.

@tronnyjenkins
Copy link

tronnyjenkins commented Oct 11, 2022 via email

@atrens
Copy link

atrens commented Oct 11, 2022 via email

@Dellu
Copy link

Dellu commented Oct 22, 2022

External Display (monitor) is working for me. I don't know if there is a way to make the Intel Graphics to use more Ram to support external monitors.

@mnemos2000
Copy link

mnemos2000 commented Oct 22, 2022 via email

@luisfromspain
Copy link

Wow. I did the heat gun trick and it came on. I’m surprised since I baked it before that the trick worked again. I’m on the 15” model. So, I have it on Catalina now, would it be recommended to go to Big Sur or Monterey or do the discrete disable process again and stick with Catalina? On Apr 19, 2022, at 11:21 PM, fromage9747 @.> wrote: @. commented on this gist.

Wow. I did the heat gun trick and it came on. I’m surprised since I baked it before that the trick worked again. I’m on the 15” model. So, I have it on Catalina now, would it be recommended to go to Big Sur or Monterey or do the discrete disable process again and stick with Catalina? On Apr 19, 2022, at 11:21 PM, fromage9747 @.> wrote: @. commented on this gist.

How did you change to Catalina?
Did you need Patch?
May you help me ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment