NagRaj Posted June 30, 2015 Share Posted June 30, 2015 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 https://www.insanelymac.com/forum/topic/306876-yosemite-on-hp-envy-15-k204tx-5th-gen-i7-intel-hd-5500nvidia-geforce-gtx-850m/ Share on other sites More sharing options...
vusun123 Posted June 30, 2015 Share Posted June 30, 2015 Austere J has the info you need about the VRAM thing. In many situation, EFI Shell methods won't work, so I suggest using Linux to change it Link to comment https://www.insanelymac.com/forum/topic/306876-yosemite-on-hp-envy-15-k204tx-5th-gen-i7-intel-hd-5500nvidia-geforce-gtx-850m/#findComment-2149469 Share on other sites More sharing options...
NagRaj Posted June 30, 2015 Author Share Posted June 30, 2015 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 https://www.insanelymac.com/forum/topic/306876-yosemite-on-hp-envy-15-k204tx-5th-gen-i7-intel-hd-5500nvidia-geforce-gtx-850m/#findComment-2149503 Share on other sites More sharing options...
vusun123 Posted July 2, 2015 Share Posted July 2, 2015 Did you use sudo ? Link to comment https://www.insanelymac.com/forum/topic/306876-yosemite-on-hp-envy-15-k204tx-5th-gen-i7-intel-hd-5500nvidia-geforce-gtx-850m/#findComment-2150026 Share on other sites More sharing options...
NagRaj Posted July 2, 2015 Author Share Posted July 2, 2015 Did you use sudo ? Yes I did. Link to comment https://www.insanelymac.com/forum/topic/306876-yosemite-on-hp-envy-15-k204tx-5th-gen-i7-intel-hd-5500nvidia-geforce-gtx-850m/#findComment-2150041 Share on other sites More sharing options...
xzones2015 Posted July 18, 2015 Share Posted July 18, 2015 @nagraj man how do you patch AppleIntelBDWGraphicsFramebuffer binary? please enlighten me Link to comment https://www.insanelymac.com/forum/topic/306876-yosemite-on-hp-envy-15-k204tx-5th-gen-i7-intel-hd-5500nvidia-geforce-gtx-850m/#findComment-2153964 Share on other sites More sharing options...
duduclx Posted August 13, 2015 Share Posted August 13, 2015 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 https://www.insanelymac.com/forum/topic/306876-yosemite-on-hp-envy-15-k204tx-5th-gen-i7-intel-hd-5500nvidia-geforce-gtx-850m/#findComment-2159981 Share on other sites More sharing options...
Andres ZeroCross Posted December 14, 2015 Share Posted December 14, 2015 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 https://www.insanelymac.com/forum/topic/306876-yosemite-on-hp-envy-15-k204tx-5th-gen-i7-intel-hd-5500nvidia-geforce-gtx-850m/#findComment-2197000 Share on other sites More sharing options...
Laquari95 Posted December 25, 2015 Share Posted December 25, 2015 i have syccesfulyly installed , how can i activate the grphics? i have set in bios 64mb , and i use the config of rehabman, my hd5500 isnt recognize Link to comment https://www.insanelymac.com/forum/topic/306876-yosemite-on-hp-envy-15-k204tx-5th-gen-i7-intel-hd-5500nvidia-geforce-gtx-850m/#findComment-2200225 Share on other sites More sharing options...
Codinger Posted December 25, 2015 Share Posted December 25, 2015 i have syccesfulyly installed , how can i activate the grphics? i have set in bios 64mb , and i use the config of rehabman, my hd5500 isnt recognize Upload your Vendor and Device ID and i will patch it for you Link to comment https://www.insanelymac.com/forum/topic/306876-yosemite-on-hp-envy-15-k204tx-5th-gen-i7-intel-hd-5500nvidia-geforce-gtx-850m/#findComment-2200301 Share on other sites More sharing options...
Laquari95 Posted December 25, 2015 Share Posted December 25, 2015 Upload your Vendor and Device ID and i will patch it for you i dont understand what is vendor and device id i have an hp 15 ac158nl with i3 5005u and hd5500 i have uploaded my clover folder thank you! Merry Christmas CLOVER.rar Link to comment https://www.insanelymac.com/forum/topic/306876-yosemite-on-hp-envy-15-k204tx-5th-gen-i7-intel-hd-5500nvidia-geforce-gtx-850m/#findComment-2200333 Share on other sites More sharing options...
Laquari95 Posted December 26, 2015 Share Posted December 26, 2015 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 ; Link to comment https://www.insanelymac.com/forum/topic/306876-yosemite-on-hp-envy-15-k204tx-5th-gen-i7-intel-hd-5500nvidia-geforce-gtx-850m/#findComment-2200461 Share on other sites More sharing options...
Codinger Posted December 26, 2015 Share Posted December 26, 2015 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 https://www.insanelymac.com/forum/topic/306876-yosemite-on-hp-envy-15-k204tx-5th-gen-i7-intel-hd-5500nvidia-geforce-gtx-850m/#findComment-2200525 Share on other sites More sharing options...
Laquari95 Posted December 26, 2015 Share Posted December 26, 2015 Try with this config -- config.plist.zip pm for you osb i am on 10.10 Link to comment https://www.insanelymac.com/forum/topic/306876-yosemite-on-hp-envy-15-k204tx-5th-gen-i7-intel-hd-5500nvidia-geforce-gtx-850m/#findComment-2200536 Share on other sites More sharing options...
Recommended Posts