Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
Brumbaer

Sierra AppleGraphicsDevicePolicy Clover Patch

37 posts in this topic

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

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   0 members

    No registered users viewing this page.

×