Jump to content
InsanelyMac Forum
Brumbaer

Sierra AppleGraphicsDevicePolicy Clover Patch

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

@ Brumbaer

 

Many thanks! I have been looking for a long time for a working clover patch. :D

 

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.

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   1 member

  • Posts

    • Not sure but I think Netinstall starting in 10.8 ? I need chek for confirmation ?
    • Il post purtroppo è diventato chilometrico  e mi dispiace, ma ho ancora qualcosa da chiedere nella speranza che qualcuno di voi di buona volontà riesca ad aiutarmi.  Ho qualche problema di ottimizzazione riguardante l'audio che ogni tanto inspiegabilmente non va dalle casse integrate impostato in config su 28 (che è quello che normalmente funziona sua sulle cuffie che con le casse) ma ogni tanto non va. Ed infine il bluetooh della scheda, adesso son funziona più ( (BrcmFirmwareRepo e BrcmNonPatchRAM2 in clover) e invece BTFirmwareUploader in L/E.). Magari c'è qualche errore nel dsdt o nel config.  Vi allego la cartella clover https://drive.google.com/open?id=1d7qfHs3KYEWANjtSlKyR29aEbgTFsytd Non so come mai ma da quando il forum ha cambiato server l'upload diretto da sempre errore  e anche il caricamento delle pagine è molto lento. Vi ringrazio per la disponibilità .
    • can Netinstall support media for os version? 10.6~10.13? Netinstall Mac OS X Snow Leopard Netinstall Mac OS X Lion Netinstall OS X Mountain Lion Netinstall OS X Mavericks Netinstall OS X Yosemite Netinstall OS X El Captian Netinstall macOS Sierra Netinstall macOS High Sierra   right?
    • read that post and it looks like it's not a fix for the black screen . I did add whatever green and lily to clover folder on the USB but no luck.   
    • this is why I suggest to you Default name for all Netinstall macOS High Sierra


×