Jump to content

Yosemite on HP Envy 15-k204tx, 5th Gen i7, Intel HD 5500/NVIDIA GeForce GTX 850M


NagRaj
 Share

14 posts in this topic

Recommended Posts

I've a HP Envy 15-k204tx, 5th Gen i7- 5500U ( broadwell ).

 

Task : Trying to make Yosemite work on this laptop. It has Intel HD 5500 Graphics and NVIDIA GeForce GTX 850M (Optimus).

 

Success so far : I've successfully installed Yosemite 10.10.3 on a separate partition. Can boot from the clover pen drive.

 

Issues : Graphics is not accelerated. There are a few more but my primary focus here is to make Graphics work.

 

What is understood : 1) Optimus does not work, so forget about nvdia.

 

How / What I did :

1) Created a bootable pendrive from the Yosemite app downloaded from app store.

2) Installed Clover to the fat partition of the pendrive.

3) Used clover options like kext-dev-mode=1 nv_disable=1

4) Successfully installed Yosemite and booted successfully using the clover on pendrive.

 

Using config.plist, injected Intel and ig-platform-id=16160000 and also tried with ig-platform-id=16160002 device-id=80861616

 

Graphics card is identified as "Intel HD 5500" but the vram that it shows is 7 mb.

My system has 4 GB of graphics memory. From what I've read on the internet, atleast 1536 mb should be recognized as vram.

 

No kext for graphics is loaded - obviously.

 

In tutorials on the internet, I come to know that I have to check DVMT and it should be atleast 64 mb to pass the stolenMemory error.

 

I tried to change DVMT in various ways. For instance, I booted with EFI-shell, used "setup_var 0x18c 0x3" which could not change the variable value and threw error.

 

So i checked with "setup_var2 0x18c 0x3" which did change the value but it was reverted once the system rebooted.

 

I tried to edit the file "/sys/firmware/efi/efivars/Setup-XXX" but was unable to save it.

 

Access to write to efivars was denied each time. (Yes i did use sudo).

 

[P.S. 0x18c is my DVMT variable. Bios is Insyde F.34]

 

 

So I had to patch AppleIntelBDWGraphicsFramebuffer binary to skip stolenMemory Error. This allowed me to install Yosemite and boot.

 

What is working :

1) Ethernet.

2) Keyboard / touchpad / touchscreen.

 

What is not working :

1) Graphics

2) Wireless

3) Audio

4) Bluetooth

5) and more.

 

Can anyone help me out here to make the graphics work ?

Link to comment
Share on other sites

Ya I tried with Ubuntu. Won't let me write to /sys/firmware/efi/efivars.

 

Its always access denied or invalid argument.

 

If you've the same system could you please share your bios?

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...

hi,

 

two way to patch AppleIntelBDWGraphicsFramebuffer binary:

 

1: Patch the file directly

 

Make a copy of the kext on your desktop

show packages / contents/mac/AppleIntelBDWGraphicsFramebuffer

Open this file with hex editor (hex fiend)

select file/find...

type your code to find and replace

apply and save

 

That's it !

 

2: patch on vram

 

use clover kext to patch options

 

open your config.plist with your favorite editor (plistedit pro is good for hexa patching)

you should have something like that:

<key>KernelAndKextPatches</key>
	<dict>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>Disable minStolenSize less or equal fStolenMemorySize assertion, 10.10.x (based on Austere.J patch)</string>
				<key>Name</key>
				<string>disabled:AppleIntelBDWGraphicsFramebuffer</string>
				<key>Find</key>
				<data>Oc92PA==</data>
				<key>Replace</key>
				<data>Oc/rPA==</data>
			</dict>
 

this code is one for HD5500 from rehabman, you can have the full config.plist here:

https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/config_HD5300_5500_6000.plist

 

cheers

Link to comment
Share on other sites

  • 4 months later...

hi,

 

two way to patch AppleIntelBDWGraphicsFramebuffer binary:

 

1: Patch the file directly

 

Make a copy of the kext on your desktop

show packages / contents/mac/AppleIntelBDWGraphicsFramebuffer

Open this file with hex editor (hex fiend)

select file/find...

type your code to find and replace

apply and save

 

That's it !

 

2: patch on vram

 

use clover kext to patch options

 

open your config.plist with your favorite editor (plistedit pro is good for hexa patching)

you should have something like that:

<key>KernelAndKextPatches</key>
	<dict>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>Disable minStolenSize less or equal fStolenMemorySize assertion, 10.10.x (based on Austere.J patch)</string>
				<key>Name</key>
				<string>disabled:AppleIntelBDWGraphicsFramebuffer</string>
				<key>Find</key>
				<data>Oc92PA==</data>
				<key>Replace</key>
				<data>Oc/rPA==</data>
			</dict>
 

this code is one for HD5500 from rehabman, you can have the full config.plist here:

https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/config_HD5300_5500_6000.plist

 

cheers

I think itu should be

<key>Name</key>

                <string>AppleIntelBDWGraphicsFramebuffer</string>

 

You need to remove "disable:" before "AppleIntelBDWGraphicsFramebuffer" or it won't work. Am i right??

 

Link to comment
Share on other sites

  • 2 weeks later...

Upload your Vendor and Device ID and i will patch it for you :)

hi i have used dpci manager for vendor and device id i uploaded a photo of vga i will list all vendor and device

Vendor is the same for all : 8086, 

device:1604 (bridge,host brisge),device: 1616 (display controller, vga compatible controller),device:160C (multimedia controller,audio device)

device:1603(signal processing controller, signal processing controller),device:9CBA comunication controller,device: 9CA0 multimedia controller audio device,

device:9C90 BRIDGE, pci bridge ; 

post-1414874-0-32349500-1451125130_thumb.jpg

Link to comment
Share on other sites

hi i have used dpci manager for vendor and device id i uploaded a photo of vga i will list all vendor and device

Vendor is the same for all : 8086, 

device:1604 (bridge,host brisge),device: 1616 (display controller, vga compatible controller),device:160C (multimedia controller,audio device)

device:1603(signal processing controller, signal processing controller),device:9CBA comunication controller,device: 9CA0 multimedia controller audio device,

device:9C90 BRIDGE, pci bridge ; 

Try with this config -- config.plist.zip

Link to comment
Share on other sites

 Share

×
×
  • Create New...