Brumbaer Posted October 7, 2016 Share Posted October 7, 2016 The patch doesn't seem to work reliably, so it will be better to stick to the old method of using a command file to patch the kext. Disappointing, but I do not see a way to quickly find a solution, that will work as well as patching by command file. I leave the patches here so the posts will still be in context. The following 5 patches will spare you to manual patch the AppleGraphicsDevicePolicy kext - if you have to patch it.You need all 5 patches. The easiest way is to copy them into the kextstopatch array in your config.plist Here they come <dict> <key>Comment</key> <string>Brumbaer's GDP Patch 1</string> <key>Disabled</key> <false/> <key>Find</key> <data> RURJRAA= </data> <key>Name</key> <string>AppleGraphicsDevicePolicy</string> <key>Replace</key> <data> RURJSQA= </data> </dict> <dict> <key>Comment</key> <string>Brumbaer's GDP Patch 2</string> <key>Disabled</key> <false/> <key>Find</key> <data> dW5sb2FkAA== </data> <key>Name</key> <string>AppleGraphicsDevicePolicy</string> <key>Replace</key> <data> dW5sb2FlAA== </data> </dict> <dict> <key>Comment</key> <string>Brumbaer's GDP Patch 3</string> <key>Disabled</key> <false/> <key>Find</key> <data> RGVmYXVsdAA= </data> <key>Name</key> <string>AppleGraphicsDevicePolicy</string> <key>Replace</key> <data> bm9uZQAAAAA= </data> </dict> <dict> <key>Comment</key> <string>Brumbaer's GDP Patch 4</string> <key>Disabled</key> <false/> <key>Find</key> <data> Q29uZmlnTWFwAA== </data> <key>Name</key> <string>AppleGraphicsDevicePolicy</string> <key>Replace</key> <data> Q29uZmlnTWFxAA== </data> </dict> <dict> <key>Comment</key> <string>Brumbaer's GDP Patch 5</string> <key>Disabled</key> <false/> <key>Find</key> <data> RmVhdHVyZUNvbnRyb2wA </data> <key>Name</key> <string>AppleGraphicsDevicePolicy</string> <key>Replace</key> <data> RmVhdHVyZUNvbnRyb20A </data> </dict> Tested under Sierra only. There's no reason why they shouldn't run under El Capitan or Yosemite 11 Link to comment Share on other sites More sharing options...
SavageAUS Posted October 7, 2016 Share Posted October 7, 2016 And this saves us from black screen if needing to edit info.plist to none? Sent from my SM-G900I using Tapatalk Link to comment Share on other sites More sharing options...
Brumbaer Posted October 7, 2016 Author Share Posted October 7, 2016 That's the idea. But I haven't tested it under El Cap. I will do so this evening local time. So probably better wait if you use El Cap. Link to comment Share on other sites More sharing options...
Mirone Posted October 7, 2016 Share Posted October 7, 2016 I think that was already done long before here: https://pikeralpha.wordpress.com/2015/11/23/patching-applegraphicsdevicepolicy-kext/ Link to comment Share on other sites More sharing options...
Brumbaer Posted October 7, 2016 Author Share Posted October 7, 2016 Not again Have you ever used that patch ? Did it work for you ? I assume that you will answer one of those questions with "No" I don't know whether his worked at some time or under certain combinations of hardware, but it never worked for me and many (all ?) others. That's why you see so many "guides" how to patch the kext manually. You will note that I use two patches to ensure that it works. It does work on my 3 systems while PikerAlphas patch works on none of them. I hope it will help all people who are in the same spot. 1 Link to comment Share on other sites More sharing options...
nmano Posted October 7, 2016 Share Posted October 7, 2016 Yes Its worked 10.12 Thank you. 2 Link to comment Share on other sites More sharing options...
styrian Posted October 7, 2016 Share Posted October 7, 2016 @ Brumbaer Many thanks! I have been looking for a long time for a working clover patch. The patch is working with the SMB of MBP 8,3 on GT 550m with Yosemite 10.10.5. There should be the big chance, that it is also working on El Capitan. Have fun. 1 Link to comment Share on other sites More sharing options...
oldnapalm Posted October 7, 2016 Share Posted October 7, 2016 Thanks! Tested and working under Sierra and Yosemite. 1 Link to comment Share on other sites More sharing options...
vusun123 Posted October 7, 2016 Share Posted October 7, 2016 Thanks! Tested and working under Sierra and Yosemite. Working in Yosemite means El Capitan should be the same ? Link to comment Share on other sites More sharing options...
SavageAUS Posted October 8, 2016 Share Posted October 8, 2016 I'll add the patches to my sierra system today and revert changes to plist and report.Sent from my SM-G900I using Tapatalk Working for me with iMac 17,1 smbios, gtx 960,10.12.1 Beta (16B2338c) Link to comment Share on other sites More sharing options...
Brumbaer Posted October 8, 2016 Author Share Posted October 8, 2016 I'm sorry to say so, there seems to be a major problem. Interestingly enough it seems to work, if you had patched the Kext manually once even if you revert to the original kext, but it does not work if you start with a freshly installed system. Sorry for the bother - back to the drawing board. Link to comment Share on other sites More sharing options...
SavageAUS Posted October 8, 2016 Share Posted October 8, 2016 I'm sorry to say so, there seems to be a major problem. Interestingly enough it seems to work, if you had patched the Kext manually once even if you revert to the original kext, but it does not work if you start with a freshly installed system. Sorry for the bother - back to the drawing board. Did you test with a fresh install? Sent from my SM-G900I using Tapatalk Link to comment Share on other sites More sharing options...
AsusFreak Posted October 8, 2016 Share Posted October 8, 2016 Thanks Brumbaer, works great. Link to comment Share on other sites More sharing options...
matey82 Posted October 8, 2016 Share Posted October 8, 2016 It works under Sierra. Link to comment Share on other sites More sharing options...
vusun123 Posted October 8, 2016 Share Posted October 8, 2016 I'm sorry to say so, there seems to be a major problem. Interestingly enough it seems to work, if you had patched the Kext manually once even if you revert to the original kext, but it does not work if you start with a freshly installed system. Sorry for the bother - back to the drawing board. Did you try to boot without cache on first boot ? Link to comment Share on other sites More sharing options...
Brumbaer Posted October 8, 2016 Author Share Posted October 8, 2016 Did you try to boot without cache on first boot ? No difference. I also rebuild the cache manually, no difference. My test procedure involuntarily was (because I had the kext already patched). Patching the Kext and rebuild caches - had been done before Restore original kext, rebuild caches, reboot -> fail Insert patches in Clover, reboot -> success Disable patches in Clover, reboot -> fail That's why I thought the patches were working. Than I installed a System anew to test El Capitan: Insert patches in Clover, reboot -> fail Rebuild caches, reboot -> fail Did some other stuff->fail Patching the Kext, rebuild caches, reboot -> success Restore original kext, rebuild caches, reboot -> fail Insert patches in Clover, reboot -> success Disable patches in Clover, reboot -> fail Did the same sequence with Sierra same behaviour. Installed the Upfate to 10.12.1 ß3 and it failed again, After patching once it does work. But if I have to patch it once, I don't need the Clover patch. Whether I run a command to make Clover recognise the kext or a command top patch the kext doesn't matter. I'll crosscheck on a different System when the next Beta comes out. I anybody does an "System Update" and the patch still works, let me know. Just in case it's something on my System/Clover whatever combo. 1 Link to comment Share on other sites More sharing options...
Brumbaer Posted October 8, 2016 Author Share Posted October 8, 2016 Ok, managed to get it done. Now there are 5 patches, see first post. Probably there is some other way, but it is tedious to test as 3 of those patches are only needed on an freshly updated or installed system. Once the system startet successfully, you would have to reinstall the complete system to be able to test the function. Let me know whether it works for you especially after an update or fresh install of a system. Link to comment Share on other sites More sharing options...
oldnapalm Posted October 10, 2016 Share Posted October 10, 2016 Is it expected to work on the installer? Tested with Sierra installer and still get black screen without nv_disable=1. Couldn't test on fresh install yet. Link to comment Share on other sites More sharing options...
Brumbaer Posted October 10, 2016 Author Share Posted October 10, 2016 What Installer do you talk about ? I tried booting from a stick and installing and I tried installing from the AppStore Installer from a running system. Both worked. Did you use the 5 patches ? Link to comment Share on other sites More sharing options...
oldnapalm Posted October 11, 2016 Share Posted October 11, 2016 I tried from USB stick with the 5 patches, can't boot without nv_disable=1 (black screen) Asus G73SW laptop with GeForce GTX 460M Link to comment Share on other sites More sharing options...
Brumbaer Posted October 11, 2016 Author Share Posted October 11, 2016 Thank you very much for the info. I will take the patch down, as it seems not to work reliably and starting a command file just before installing/updating the driver is not too much troule. Link to comment Share on other sites More sharing options...
oldnapalm Posted October 11, 2016 Share Posted October 11, 2016 I will test after a system update. I think it's good enough if it works after system update and fresh install, no problem running the installer with vesa graphics. Link to comment Share on other sites More sharing options...
Mirone Posted October 11, 2016 Share Posted October 11, 2016 https://pikeralpha.wordpress.com/2016/10/11/black-screen-tip-of-the-day/ 1 Link to comment Share on other sites More sharing options...
Brumbaer Posted October 12, 2016 Author Share Posted October 12, 2016 Command parameter doesn't work. Updated to 10.12.1ß4 using my patches - worked. Link to comment Share on other sites More sharing options...
OiCkilL Posted October 14, 2016 Share Posted October 14, 2016 https://pikeralpha.wordpress.com/2016/10/11/black-screen-tip-of-the-day/ How it works? I don't understand. Link to comment Share on other sites More sharing options...
Recommended Posts