FIX WITH OS X SIERRA AND NO RECOVERY PARTITION
Had a MBP which would not boot normally - vertical yellow and white stripes, apple logo and progress bar half-way, then blank white screen. The vertical bars were blue and white in single-user mode. Decided to try the fix in this thread, but with OS X Sierra its not so easy.
First off - thanks a million for this.
I tried to follow the steps, but was a bit shaky over the edits using the Arch Linux boot disk -
I am still not sure if you have put the necessary quotes around printf "\x07\x00\x00\x00\x01\x00\x00\x00" > /sys/firmware/efi/efivars/gpu-power-prefs-fa4ce28d-b62f-4c99-9cc3-6815686e30f9 and whether this file should have the file extension .efi_gpu but I managed to create the file.
In single user mode I tried to move the AMD kexts, but the Sierra OS X SIP prevented me. I did not have a recovery partition either, as I had cloned this disk from another. I therefore had to use
Recovery Partition Creator 4.0.4 to create one. This app protested that I had a Core Storage volume - that I didn't think I had - and threw an error. It neverless created the recovery partition, from which I could use the terminal to disable SIP with " csrutil disable ", and I also moved the AMD Kexts to a new root folder and cleared the cache as suggested.
I had a graphics glitch on first reboot, but on second reboot the AMD drivers were not present, and after 24 hours the MacBook is still working. I'm keeping my fingers crossed.
Thanks again for sparing me the need to get the chip replaced in China. This Youtube film might is interesting especially if what he says is true:
Mike