Jump to content

Sierra AppleGraphicsDevicePolicy Clover Patch


  • Please log in to reply
36 replies to this topic

#1
Brumbaer

Brumbaer

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male
  • Location:Berlin

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



#2
SavageAUS

SavageAUS

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,012 posts
  • Gender:Male
And this saves us from black screen if needing to edit info.plist to none?

Sent from my SM-G900I using Tapatalk

#3
Brumbaer

Brumbaer

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male
  • Location:Berlin

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.



#4
Mirone

Mirone

    InsanelyMacaholic

  • Retired
  • 3,585 posts
  • Gender:Male
  • Location:Brazil

I think that was already done long before here: https://pikeralpha.w...icepolicy-kext/



#5
Brumbaer

Brumbaer

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male
  • Location:Berlin

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.



#6
nmano

nmano

    InsanelyMac Legend

  • Donators
  • 734 posts
  • Gender:Male

Yes Its worked 10.12

Thank you.

Attached Files



#7
styrian

styrian

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,047 posts
  • Gender:Male

@ 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.



#8
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,867 posts
  • Gender:Male
  • Location:Brazil

Thanks! Tested and working under Sierra and Yosemite.



#9
vusun123

vusun123

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,053 posts
  • Gender:Male

Thanks! Tested and working under Sierra and Yosemite.

Working in Yosemite means El Capitan should be the same ?



#10
SavageAUS

SavageAUS

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,012 posts
  • Gender:Male

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)



#11
Brumbaer

Brumbaer

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male
  • Location:Berlin

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.



#12
SavageAUS

SavageAUS

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,012 posts
  • Gender:Male

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

#13
AsusFreak

AsusFreak

    InsanelyMac Sage

  • Donators
  • 374 posts

Thanks Brumbaer, works great.



#14
matey82

matey82

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
It works under Sierra.

#15
vusun123

vusun123

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,053 posts
  • Gender:Male

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 ?



#16
Brumbaer

Brumbaer

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male
  • Location:Berlin

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.


#17
Brumbaer

Brumbaer

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male
  • Location:Berlin

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.



#18
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,867 posts
  • Gender:Male
  • Location:Brazil

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.



#19
Brumbaer

Brumbaer

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Gender:Male
  • Location:Berlin

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 ?



#20
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,867 posts
  • Gender:Male
  • Location:Brazil

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







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2016 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy