Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save chingsun/1ef34ff50f1152037d46cd282a646528 to your computer and use it in GitHub Desktop.

Select an option

Save chingsun/1ef34ff50f1152037d46cd282a646528 to your computer and use it in GitHub Desktop.

Revisions

  1. @cdleon cdleon revised this gist Feb 1, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@
    #### Enter Recovery Mode (text mode)
    > if you are on high sierra 10.13.6+ you might need to use `Command + r` instead
    ```shell
    Boot up holding down Command + R + S
    Boot up holding down Command + r + s
    ```

    #### Disable SIP
    @@ -79,7 +79,7 @@ sudo reboot
    #### Enable SIP again by restarting the system and entering Recovery Mode (text mode)
    > if you are on high sierra 10.13.6+ you might need to use `Command + r` instead
    ```shell
    Command + R + S
    Command + r + s
    ```

    #### Enable SIP
  2. @cdleon cdleon revised this gist Feb 1, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    # Works for macOS Sierra and High Sierra
    > Taken from [2011 Macbook Pro Graphics Card FIX 100% WORKING!!!](https://www.youtube.com/watch?v=vrBLJIepJXU&index=1&list=FLPwOLrn5G0MKJthMZU0EsUg&t=342s)
    **EDIT** THis method works! But there is an imporved version for better thermal management and brightness keys functionality. See improved version https://gist.github.com/cdleon/d1eff7246a25193304284ecec40445b0
    **EDIT** This method works! But there is an improved version for better thermal management and brightness keys functionality. See improved version -> https://gist.github.com/cdleon/d1eff7246a25193304284ecec40445b0

    #### Enter Recovery Mode (text mode)
    > if you are on high sierra 10.13.6+ you might need to use `Command + r` instead
  3. @cdleon cdleon revised this gist Feb 1, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    # Works for macOS Sierra and High Sierra
    > Taken from [2011 Macbook Pro Graphics Card FIX 100% WORKING!!!](https://www.youtube.com/watch?v=vrBLJIepJXU&index=1&list=FLPwOLrn5G0MKJthMZU0EsUg&t=342s)
    **EDIT** See improved version https://gist.github.com/cdleon/d1eff7246a25193304284ecec40445b0
    **EDIT** THis method works! But there is an imporved version for better thermal management and brightness keys functionality. See improved version https://gist.github.com/cdleon/d1eff7246a25193304284ecec40445b0

    #### Enter Recovery Mode (text mode)
    > if you are on high sierra 10.13.6+ you might need to use `Command + r` instead
  4. @cdleon cdleon revised this gist Feb 1, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -102,4 +102,5 @@ sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
    sudo shutdown -r now
    ```

    > You might need to do this again after macOS system updates
    > You might need to do this again after macOS system updates
    > Brightness keys might not work use app like [brightness-slider](https://www.macupdate.com/app/mac/40728/brightness-slider) to handle that
  5. @cdleon cdleon revised this gist Feb 1, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@
    **EDIT** See improved version https://gist.github.com/cdleon/d1eff7246a25193304284ecec40445b0

    #### Enter Recovery Mode (text mode)
    > if you are on high sierra 10.13.6 you might need to use `Command + r`
    > if you are on high sierra 10.13.6+ you might need to use `Command + r` instead
    ```shell
    Boot up holding down Command + R + S
    ```
    @@ -77,7 +77,7 @@ sudo reboot
    > You might encounter that you are still using discrete GPU but computer works (if you are using gfx it might say can't change to discrete while external display is connected), keep going until last step and this will be resolved
    #### Enable SIP again by restarting the system and entering Recovery Mode (text mode)
    > if you are on high sierra 10.13.6 you might need to use `Command + r`
    > if you are on high sierra 10.13.6+ you might need to use `Command + r` instead
    ```shell
    Command + R + S
    ```
  6. @cdleon cdleon revised this gist Feb 1, 2019. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,7 @@
    **EDIT** See improved version https://gist.github.com/cdleon/d1eff7246a25193304284ecec40445b0

    #### Enter Recovery Mode (text mode)
    > if you are on high sierra 10.13.6 you might need to use `Command + r`
    ```shell
    Boot up holding down Command + R + S
    ```
    @@ -76,6 +77,7 @@ sudo reboot
    > You might encounter that you are still using discrete GPU but computer works (if you are using gfx it might say can't change to discrete while external display is connected), keep going until last step and this will be resolved
    #### Enable SIP again by restarting the system and entering Recovery Mode (text mode)
    > if you are on high sierra 10.13.6 you might need to use `Command + r`
    ```shell
    Command + R + S
    ```
  7. @cdleon cdleon revised this gist Feb 1, 2019. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,8 @@
    # Works for macOS Sierra and High Sierra
    > Taken from [2011 Macbook Pro Graphics Card FIX 100% WORKING!!!](https://www.youtube.com/watch?v=vrBLJIepJXU&index=1&list=FLPwOLrn5G0MKJthMZU0EsUg&t=342s)
    **EDIT** See improved version https://gist.github.com/cdleon/d1eff7246a25193304284ecec40445b0

    #### Enter Recovery Mode (text mode)
    ```shell
    Boot up holding down Command + R + S
  8. @cdleon cdleon revised this gist Oct 20, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ Boot up holding down Command + R + S
    ```

    #### Disable SIP
    > SIP locks System folder so cannot move kexts to another folder. SIP (csrutil) only enabled or disabled on Recovery Mode. So, on prompt enter command below
    > SIP locks System folder so cannot move kexts to another folder. SIP (csrutil) only enabled or disabled on Recovery Mode.
    ```shell
    csrutil disable
    ```
  9. @cdleon cdleon revised this gist Oct 20, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ Boot up holding down Command + R + S
    ```

    #### Disable SIP
    > SIP locks System folder so cannot move kexts to another folder. SIP (csrutil) only enabled or disabled on Recovery Mode.
    > SIP locks System folder so cannot move kexts to another folder. SIP (csrutil) only enabled or disabled on Recovery Mode. So, on prompt enter command below
    ```shell
    csrutil disable
    ```
  10. @cdleon cdleon revised this gist Oct 20, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@
    #### Enter Recovery Mode (text mode)
    ```shell
    Command + R + S
    Boot up holding down Command + R + S
    ```

    #### Disable SIP
  11. @cdleon cdleon revised this gist Apr 19, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -69,7 +69,7 @@ sudo umount /
    sudo reboot
    ```

    > Before enabling SIP again, try the normal boot without pressing any key. The Mac OS will rebuild the kernel cache and restart. See if the system starts normally.
    > Before enabling SIP again, try the normal boot without pressing any key. The Mac OS will rebuild the kernel cache and restart. See if the system starts normally. If it does, still keep going through the remaining steps.
    > You might encounter that you are still using discrete GPU but computer works (if you are using gfx it might say can't change to discrete while external display is connected), keep going until last step and this will be resolved
  12. @cdleon cdleon revised this gist Apr 19, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -98,4 +98,4 @@ sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
    sudo shutdown -r now
    ```

    > You might need to do this after macOS system updates
    > You might need to do this again after macOS system updates
  13. @cdleon cdleon revised this gist Apr 19, 2018. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -96,4 +96,6 @@ sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
    #### Restart the system
    ```shell
    sudo shutdown -r now
    ```
    ```

    > You might need to do this after macOS system updates
  14. @cdleon cdleon revised this gist Apr 19, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -73,12 +73,12 @@ sudo reboot
    > You might encounter that you are still using discrete GPU but computer works (if you are using gfx it might say can't change to discrete while external display is connected), keep going until last step and this will be resolved
    #### Make sure SIP is still enabled by restarting the system and entering Recovery Mode (text mode)
    #### Enable SIP again by restarting the system and entering Recovery Mode (text mode)
    ```shell
    Command + R + S
    ```

    #### Enable SIP again (to make sure)
    #### Enable SIP
    ```shell
    csrutil enable
    ```
  15. @cdleon cdleon revised this gist Apr 19, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -73,7 +73,7 @@ sudo reboot
    > You might encounter that you are still using discrete GPU but computer works (if you are using gfx it might say can't change to discrete while external display is connected), keep going until last step and this will be resolved
    #### Make sure SIP is enabled by restarting the system and entering Recovery Mode (text mode)
    #### Make sure SIP is still enabled by restarting the system and entering Recovery Mode (text mode)
    ```shell
    Command + R + S
    ```
  16. @cdleon cdleon revised this gist Apr 19, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -73,12 +73,12 @@ sudo reboot
    > You might encounter that you are still using discrete GPU but computer works (if you are using gfx it might say can't change to discrete while external display is connected), keep going until last step and this will be resolved
    #### Enable SIP again by restarting the system and entering Recovery Mode (text mode)
    #### Make sure SIP is enabled by restarting the system and entering Recovery Mode (text mode)
    ```shell
    Command + R + S
    ```

    #### Enable SIP again
    #### Enable SIP again (to make sure)
    ```shell
    csrutil enable
    ```
  17. @cdleon cdleon revised this gist Apr 19, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -49,12 +49,12 @@ sudo mv /System/Library/Extensions/AMD*.* /AMD_Kexts/
    sudo rm -rf /System/Library/Caches/com.apple.kext.caches/
    ```

    #### Just in case OS X will be dumb and will not recreate this directory, we are creating it for OS X
    #### Just in case OS X will be dumb and will not recreate this directory, we create it again
    ```shell
    sudo mkdir /System/Library/Caches/com.apple.kext.caches/
    ```

    #### to update the timestamps so that new driver caches - without AMD drivers - will be definitely rebuilt
    #### Update the timestamps so that new driver caches - without AMD drivers - will be rebuilt
    ```shell
    sudo touch /System/Library/Extensions/
    ```
  18. @cdleon cdleon revised this gist Nov 27, 2017. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -23,13 +23,13 @@ boot up holding down the CMD and S keys
    ```

    #### Check a disk
    > might need to use /sbin/fsck if you get fsck command not found
    > use /sbin/fsck if you get fsck command not found
    ```shell
    fsck -fy
    ```

    #### Mount a root filesystem with read/write permissions
    > might need to use /sbin/mount if you get mount command not found
    > use /sbin/mount if you get mount command not found
    ```shell
    mount -uw /
    ```
    @@ -59,7 +59,7 @@ sudo mkdir /System/Library/Caches/com.apple.kext.caches/
    sudo touch /System/Library/Extensions/
    ```

    #### Unmount a partition to guarantee that your changes are flushed to it (might need to use /sbin/umount if you get umount command not found and might say resource busy, ignore it and go proceed to next step)
    #### Unmount a partition to guarantee that your changes are flushed to it. Use /sbin/umount if you get umount command not found. It might say resource busy, ignore that and proceed to next step)
    ```shell
    sudo umount /
    ```
  19. @cdleon cdleon revised this gist Nov 27, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    # Works for macOS Sierra and High Sierra
    > Taken from [2011 Macbook Pro Graphics Card FIX 100% WORKING!!!](https://www.youtube.com/watch?v=vrBLJIepJXU&index=1&list=FLPwOLrn5G0MKJthMZU0EsUg&t=342s)
    #### Enter Recovery Mode (text mode)
    ```shell
  20. @cdleon cdleon revised this gist Nov 27, 2017. 1 changed file with 60 additions and 24 deletions.
    84 changes: 60 additions & 24 deletions macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -1,62 +1,98 @@
    # Works for macOS Sierra and High Sierra

    #### Enter Recovery Mode (text mode)
    `Command + R + S`
    ```shell
    Command + R + S
    ```

    #### Disable SIP
    > (SIP locks System folder so cannot move kexts to another folder). SIP (csrutil) only enabled or disabled on Recovery Mode.
    > SIP locks System folder so cannot move kexts to another folder. SIP (csrutil) only enabled or disabled on Recovery Mode.
    ```shell
    csrutil disable
    ```

    #### Restart the system
    `reboot`
    ```shell
    reboot
    ```

    #### Enter Single User mode
    `boot up holding down the CMD and S keys`
    ```shell
    boot up holding down the CMD and S keys
    ```

    #### Check a disk (might need to use /sbin/fsck if you get fsck command not found)
    `fsck -fy`
    #### Check a disk
    > might need to use /sbin/fsck if you get fsck command not found
    ```shell
    fsck -fy
    ```

    #### Mount a root filesystem with read/write permissions (might need to use /sbin/mount if you get mount command not found)
    `mount -uw /`
    #### Mount a root filesystem with read/write permissions
    > might need to use /sbin/mount if you get mount command not found
    ```shell
    mount -uw /
    ```

    #### Make a directory to store the AMD drivers in case you'll need them in future
    `sudo mkdir /AMD_Kexts/`
    ```shell
    sudo mkdir /AMD_Kexts/
    ```

    #### Move the AMD drivers
    `sudo mv /System/Library/Extensions/AMD*.* /AMD_Kexts/`
    ```shell
    sudo mv /System/Library/Extensions/AMD*.* /AMD_Kexts/
    ```

    #### Remove the AMD drivers cache)
    `sudo rm -rf /System/Library/Caches/com.apple.kext.caches/`
    #### Remove the AMD drivers cache
    ```shell
    sudo rm -rf /System/Library/Caches/com.apple.kext.caches/
    ```

    #### Just in case OS X will be dumb and will not recreate this directory, we are creating it for OS X
    `sudo mkdir /System/Library/Caches/com.apple.kext.caches/`
    ```shell
    sudo mkdir /System/Library/Caches/com.apple.kext.caches/
    ```

    #### to update the timestamps so that new driver caches - without AMD drivers - will be definitely rebuilt
    `sudo touch /System/Library/Extensions/`
    ```shell
    sudo touch /System/Library/Extensions/
    ```

    #### Unmount a partition to guarantee that your changes are flushed to it (might need to use /sbin/umount if you get umount command not found and might say resource busy, ignore it and go proceed to next step)
    `sudo umount /`
    ```shell
    sudo umount /
    ```

    #### Reboot
    `sudo reboot`
    ```shell
    sudo reboot
    ```

    ### Before enabling SIP again, try the normal boot without pressing any key. The Mac OS will rebuild the kernel cache and restart. See if the system starts normally.
    > Before enabling SIP again, try the normal boot without pressing any key. The Mac OS will rebuild the kernel cache and restart. See if the system starts normally.
    ### You might encounter that you are still using discrete GPU but computer works (if you are using gfx it might say can't change to discrete while external display is connected), keep going until last step and this will be resolved
    > You might encounter that you are still using discrete GPU but computer works (if you are using gfx it might say can't change to discrete while external display is connected), keep going until last step and this will be resolved
    #### Enable SIP again by restarting the system and entering Recovery Mode (text mode)
    `Command + R + S`
    ```shell
    Command + R + S
    ```

    #### Enable SIP again
    `csrutil enable`
    ```shell
    csrutil enable
    ```

    #### Restart the system
    `reboot`
    ```shell
    reboot
    ```

    #### Open Terminal (Finder -> Applications -> Utilities -> Terminal (copy and paste) :
    `sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00`
    #### Open Terminal (Finder -> Applications -> Utilities -> Terminal (copy and paste):
    ```shell
    sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
    ```

    #### Restart the system
    `sudo shutdown -r now`
    ```shell
    sudo shutdown -r now
    ```
  21. @cdleon cdleon revised this gist Nov 27, 2017. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -4,8 +4,10 @@
    `Command + R + S`

    #### Disable SIP
    ##### (SIP locks System folder so cannot move kexts to another folder). SIP (csrutil) only enabled or disabled on Recovery Mode.
    `csrutil disable`
    > (SIP locks System folder so cannot move kexts to another folder). SIP (csrutil) only enabled or disabled on Recovery Mode.
    ```shell
    csrutil disable
    ```

    #### Restart the system
    `reboot`
  22. @cdleon cdleon revised this gist Nov 27, 2017. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,8 @@
    #### Enter Recovery Mode (text mode)
    `Command + R + S`

    #### Disable SIP (SIP lock System folder -> no move kexts to another folder). SIP (csrutil) only enable / disable on Recovery Mode.
    #### Disable SIP
    ##### (SIP locks System folder so cannot move kexts to another folder). SIP (csrutil) only enabled or disabled on Recovery Mode.
    `csrutil disable`

    #### Restart the system
  23. @cdleon cdleon revised this gist Nov 27, 2017. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -12,11 +12,11 @@
    #### Enter Single User mode
    `boot up holding down the CMD and S keys`

    #### Check a disk
    `fsck -fy #(might need to use /sbin/fsck if you get fsck command not found)`
    #### Check a disk (might need to use /sbin/fsck if you get fsck command not found)
    `fsck -fy`

    #### Mount a root filesystem with read/write permissions
    `mount -uw / (might need to use /sbin/mount if you get mount command not found)`
    #### Mount a root filesystem with read/write permissions (might need to use /sbin/mount if you get mount command not found)
    `mount -uw /`

    #### Make a directory to store the AMD drivers in case you'll need them in future
    `sudo mkdir /AMD_Kexts/`
    @@ -33,15 +33,15 @@
    #### to update the timestamps so that new driver caches - without AMD drivers - will be definitely rebuilt
    `sudo touch /System/Library/Extensions/`

    #### Unmount a partition to guarantee that your changes are flushed to it
    `sudo umount / #(might need to use /sbin/umount if you get umount command not found) and might say resource busy, ignore it and go proceed to next step `
    #### Unmount a partition to guarantee that your changes are flushed to it (might need to use /sbin/umount if you get umount command not found and might say resource busy, ignore it and go proceed to next step)
    `sudo umount /`

    #### Reboot
    `sudo reboot`

    ### Before enabling SIP again, try the normal boot without pressing any key. The Mac OS will rebuild the kernel cache and restart. See if the system starts normally.

    ### You might encounter that you are still using Discrete but computer works (if you are gusing gfx it might say can't change to discrete while external display is connected), keep going until last step and this will be resolved
    ### You might encounter that you are still using discrete GPU but computer works (if you are using gfx it might say can't change to discrete while external display is connected), keep going until last step and this will be resolved

    #### Enable SIP again by restarting the system and entering Recovery Mode (text mode)
    `Command + R + S`
  24. @cdleon cdleon revised this gist Nov 27, 2017. 1 changed file with 25 additions and 23 deletions.
    48 changes: 25 additions & 23 deletions macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -1,57 +1,59 @@
    # Works for macOS Sierra and High Sierra

    ## Enter Recovery Mode (text mode)
    #### Enter Recovery Mode (text mode)
    `Command + R + S`

    ## Disable SIP (SIP lock System folder -> no move kexts to another folder). SIP (csrutil) only enable / disable on Recovery Mode.
    #### Disable SIP (SIP lock System folder -> no move kexts to another folder). SIP (csrutil) only enable / disable on Recovery Mode.
    `csrutil disable`

    ## Restart the system
    #### Restart the system
    `reboot`

    ## Enter Single User mode
    #### Enter Single User mode
    `boot up holding down the CMD and S keys`

    ## Check a disk
    `fsck -fy`
    #### Check a disk
    `fsck -fy #(might need to use /sbin/fsck if you get fsck command not found)`

    ## Mount a root filesystem with read/write permissions
    `mount -uw /`
    #### Mount a root filesystem with read/write permissions
    `mount -uw / (might need to use /sbin/mount if you get mount command not found)`

    ## Make a directory to store the AMD drivers in case you'll need them in future
    #### Make a directory to store the AMD drivers in case you'll need them in future
    `sudo mkdir /AMD_Kexts/`

    ## Move the AMD drivers
    #### Move the AMD drivers
    `sudo mv /System/Library/Extensions/AMD*.* /AMD_Kexts/`

    ## Remove the AMD drivers cache)
    #### Remove the AMD drivers cache)
    `sudo rm -rf /System/Library/Caches/com.apple.kext.caches/`

    ## Just in case OS X will be dumb and will not recreate this directory, we are creating it for OS X
    #### Just in case OS X will be dumb and will not recreate this directory, we are creating it for OS X
    `sudo mkdir /System/Library/Caches/com.apple.kext.caches/`

    ## to update the timestamps so that new driver caches - without AMD drivers - will be definitely rebuilt
    #### to update the timestamps so that new driver caches - without AMD drivers - will be definitely rebuilt
    `sudo touch /System/Library/Extensions/`

    ## Unmount a partition to guarantee that your changes are flushed to it
    `sudo umount /`
    #### Unmount a partition to guarantee that your changes are flushed to it
    `sudo umount / #(might need to use /sbin/umount if you get umount command not found) and might say resource busy, ignore it and go proceed to next step `

    ## Reboot
    #### Reboot
    `sudo reboot`

    ## Before enabling SIP again, try the normal boot without pressing any key. The Mac OS will rebuild the kernel cache and restart. See if the system starts normally.
    ### Before enabling SIP again, try the normal boot without pressing any key. The Mac OS will rebuild the kernel cache and restart. See if the system starts normally.

    ## Enable SIP again by restarting the system and entering Recovery Mode (text mode)
    ### You might encounter that you are still using Discrete but computer works (if you are gusing gfx it might say can't change to discrete while external display is connected), keep going until last step and this will be resolved

    #### Enable SIP again by restarting the system and entering Recovery Mode (text mode)
    `Command + R + S`

    ## Enable SIP again
    #### Enable SIP again
    `csrutil enable`

    ## Restart the system
    reboot
    #### Restart the system
    `reboot`

    ## Open Terminal (Finder -> Applications -> Utilities -> Terminal (copy and paste) :
    #### Open Terminal (Finder -> Applications -> Utilities -> Terminal (copy and paste) :
    `sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00`

    ## Restart the system
    #### Restart the system
    `sudo shutdown -r now`
  25. @cdleon cdleon revised this gist Nov 27, 2017. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,6 @@
    ### Enter Recovery Mode (text mode)
    # Works for macOS Sierra and High Sierra

    ## Enter Recovery Mode (text mode)
    `Command + R + S`

    ## Disable SIP (SIP lock System folder -> no move kexts to another folder). SIP (csrutil) only enable / disable on Recovery Mode.
  26. @cdleon cdleon created this gist Nov 27, 2017.
    55 changes: 55 additions & 0 deletions macbook-pro-2011-defective-gpu-fix.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,55 @@
    ### Enter Recovery Mode (text mode)
    `Command + R + S`

    ## Disable SIP (SIP lock System folder -> no move kexts to another folder). SIP (csrutil) only enable / disable on Recovery Mode.
    `csrutil disable`

    ## Restart the system
    `reboot`

    ## Enter Single User mode
    `boot up holding down the CMD and S keys`

    ## Check a disk
    `fsck -fy`

    ## Mount a root filesystem with read/write permissions
    `mount -uw /`

    ## Make a directory to store the AMD drivers in case you'll need them in future
    `sudo mkdir /AMD_Kexts/`

    ## Move the AMD drivers
    `sudo mv /System/Library/Extensions/AMD*.* /AMD_Kexts/`

    ## Remove the AMD drivers cache)
    `sudo rm -rf /System/Library/Caches/com.apple.kext.caches/`

    ## Just in case OS X will be dumb and will not recreate this directory, we are creating it for OS X
    `sudo mkdir /System/Library/Caches/com.apple.kext.caches/`

    ## to update the timestamps so that new driver caches - without AMD drivers - will be definitely rebuilt
    `sudo touch /System/Library/Extensions/`

    ## Unmount a partition to guarantee that your changes are flushed to it
    `sudo umount /`

    ## Reboot
    `sudo reboot`

    ## Before enabling SIP again, try the normal boot without pressing any key. The Mac OS will rebuild the kernel cache and restart. See if the system starts normally.

    ## Enable SIP again by restarting the system and entering Recovery Mode (text mode)
    `Command + R + S`

    ## Enable SIP again
    `csrutil enable`

    ## Restart the system
    reboot

    ## Open Terminal (Finder -> Applications -> Utilities -> Terminal (copy and paste) :
    `sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00`

    ## Restart the system
    `sudo shutdown -r now`