Contribute
Register

Clover patch for external display

Joined
Oct 22, 2012
Messages
3,494
Motherboard
HP Elitebook 8470p
CPU
Intel Core i5 3320M
Graphics
Intel HD 4000, 1600x900
Mobile Phone
iOS
Here are Clover patches for HD3000/HD4000 to get external display. They are confirmed to work with Mavericks.

Code:
Patch VGA port and HDMI audio on HD3000
Name: AppleIntelSNBGraphicsFB
Find:
010204001007000010070000050300000200000030000000020500000004000007000000030400000004000009000000040600000004000009000000
Replace
010203001007000010070000060200000001000009000000050300000200000030000000040600000008000009000000000000000000000000000000
Code:
Patch HDMI-DP port HD4000 1600x900
Name: AppleIntelFramebufferCapri

Find:
040066010103010100000002
Replace:
040066010102040200000004

Find:
300200000000000001000000400000000000000001000000400000000000000001000000400000000000000000000000
Replace:
300200000205000000040000070400000304000000040000810000000406000000080000060000000000000000020011
Code:
Patch HDMI audio port HD4000 1366x768
Name: AppleIntelFramebufferCapri
Find:
040600000004000081000000
Replace:
040600000008000006000000
 
Joined
Nov 10, 2011
Messages
1,485
Motherboard
GA-H77N-WIFI F4
CPU
i7-3770
Graphics
HD 4000
Mobile Phone
Android
About the HD4000 patches, do they enable the HDMI audio? Because the HDMI port works even with vanilla AppleIntelFramebufferCapri.kext, only the HDMI audio is missing.
 
Joined
Oct 22, 2012
Messages
3,494
Motherboard
HP Elitebook 8470p
CPU
Intel Core i5 3320M
Graphics
Intel HD 4000, 1600x900
Mobile Phone
iOS
About the HD4000 patches, do they enable the HDMI audio? Because the HDMI port works even with vanilla AppleIntelFramebufferCapri.kext, only the HDMI audio is missing.
I'm not sure about 1366x768 patch, but based on toleda's post, changing to 8000006000000 will enable HDMI audio.
 
Joined
Jan 29, 2013
Messages
716
Motherboard
HP Elitebook 8470p
CPU
Intel Core i5-3360m
Graphics
Intel HD4000, 1366x768
Mac
iMac
Classic Mac
Mobile Phone
iOS
Ill try this and report back later on after work (using display port)

just to be clear.. is this for any laptop with the above mentioned HD graphics, or just HP models?
 
Joined
Oct 22, 2012
Messages
3,494
Motherboard
HP Elitebook 8470p
CPU
Intel Core i5 3320M
Graphics
Intel HD 4000, 1600x900
Mobile Phone
iOS
Any laptop. The HD4000 patch is based on the ig-platform-id you used

I assumed 1366x768 = 0x01660003, 1600x900+ = 0x01660004.

Btw, if you're using 0x01660003, DP and HDMI ports are enabled by default, the patch is for audio HDMI only.
 
Joined
Nov 24, 2012
Messages
639
Motherboard
HP Probook 6470b
CPU
Intel Core i5-3320M
Graphics
Intel HD 4000, 1600x900
Mac
Classic Mac
Mobile Phone
@rob1980
If your 8470p has a low-res screen you do not need any patches, if it high-res, then you try the "Patch HDMI-DP port HD4000 1600x900".

@philip_petev
That patch changes the connector type to HDMI, so it should be ok.

@nguyenmac
It is interesting that if you split the big "HDMI-DP port HD4000 1600x900" patch in 2 parts it works... Maybe there is a size limit after all or what have you discovered regarding this?
 
Joined
Oct 22, 2012
Messages
3,494
Motherboard
HP Elitebook 8470p
CPU
Intel Core i5 3320M
Graphics
Intel HD 4000, 1600x900
Mobile Phone
iOS
@nguyenmac
It is interesting that if you split the big "HDMI-DP port HD4000 1600x900" patch in 2 parts it works... Maybe there is a size limit after all or what have you discovered regarding this?
I'm not sure if there is a limit, I tried two super-long Trim Enabler patches and they still work, but the long CapriFB patch you mentioned before does not work.

Also, The part between my 2 new patches are altered in 10.9.2, so I think this is better (until the patch does not work anymore).

My friend has tested 1600x900 patch and it works, I haven't tried myself though. Did you test the patch?
 
Joined
Jan 29, 2013
Messages
716
Motherboard
HP Elitebook 8470p
CPU
Intel Core i5-3360m
Graphics
Intel HD4000, 1366x768
Mac
iMac
Classic Mac
Mobile Phone
iOS
Well, Ive put back vanilla kext, both HDMI and audio are working..

Can anyone upload vanilla AppleIntelFramebufferCapri.kext in case mines not vanilla (pretty sure it is, its from install USB)
 
Joined
Oct 22, 2012
Messages
3,494
Motherboard
HP Elitebook 8470p
CPU
Intel Core i5 3320M
Graphics
Intel HD 4000, 1600x900
Mobile Phone
iOS
Well, Ive put back vanilla kext, both HDMI and audio are working..

Can anyone upload vanilla AppleIntelFramebufferCapri.kext in case mines not vanilla (pretty sure it is, its from install USB)
Here you are, 10.9.2 version. To check if your current is vanilla or not, open System Information > Extensions, find your kexts and check if "Obtained from" is "Apple" or sth else.
 

Attachments

Joined
Nov 24, 2012
Messages
639
Motherboard
HP Probook 6470b
CPU
Intel Core i5-3320M
Graphics
Intel HD 4000, 1600x900
Mac
Classic Mac
Mobile Phone
I'm not sure if there is a limit, I tried two super-long Trim Enabler patches and they still work, but the long CapriFB patch you mentioned before does not work.
Ah strange... But yeah this solution is even better for Clover, since you can have different patches for different resolutions... My patch was to make one universal kext, but that is not relevant for Clover.

Also, The part between my 2 new patches are altered in 10.9.2, so I think this is better (until the patch does not work anymore).
Thx for the heads up, I knew there was a change from 10.8.5 -> 10.9, but didn't know about the 10.9.1 -> 10.9.2. I will check later, because I am a bit curious what Apple changed.

My friend has tested 1600x900 patch and it works, I haven't tried myself though. Did you test the patch?
I am not using Clover at this time yet, but yeah on the fly patching is slowly convincing me to jump ship.... I am quite sure it should work, based on the patch alone as long as Clover "swallows" it.
 
Top