Contribute
Register

[WIP-Guide] Hp Envy 15-as133cl

Status
Not open for further replies.
Joined
Aug 13, 2016
Messages
46
Motherboard
HP Envy 15-as133cl (Clover)
CPU
7500U / KabyLake Rev2 / Lake-Y PCH Rev 21
Graphics
HD 620, 1920x1080
Mobile Phone
  1. Android
BIG THANKS TO REHABMAN FOR HIS HELP!!!!
It would've not been possible without him!
Laptop.png

https://support.hp.com/us-en/product/hp-envy-15-as100-notebook-pc/12499192/model/12780757/

What's working :
  • Audio
  • Usb
  • Wifi (replaced the wifi card)
  • BT
  • Backlight control and its related keyboard keys
  • Sleep/Restart/Shutdown
  • CPU PM
  • Trackpad and its pref pane
  • Webcam
  • battery status
What's partially working :
  • Hdmi output : No sound. (i'm using AppleALC.Kext)
What's not working :
  • Touchscreen (VoodooI2C is my best bet, i got an Elan2097 touchscreen)
  • Sd card Reader (didnt try to make it work)
Unknown status :
  • Usb C (i got nothing to test it, pretty sure it got disabled when i fixed the usb port)

1. The Installation.

Follow this guide, this installation will go smoothly.
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

Based on the guide... You should have the following kexts in your 'clover/kexts/other' folder:
  • IntelGraphicsFixup.kext
  • Lilu.kext
  • VoodooPS2Controller.kext
  • USBInjectAll.kext
  • FakeSMC.kext

2. Optimisation.

- Additionnal Kexts (in s/l/e)
All the kexts we used in the installation should be put in this folder.. they will be cached and will allow a faster boot time.
  • IntelGraphicsFixup.kext - From Rehabman installation guide (in clover/kexts/other/)
  • Lilu.kext - From Rehabman installation guide (in clover/kexts/other/)
  • VoodooPS2Controller.kext - From Rehabman installation guide (in clover/kexts/other/)
  • USBInjectAll.kext - From Rehabman installation guide (in clover/kexts/other/)
  • FakeSMC.kext - From Rehabman installation guide (in clover/kexts/other/)

For my wifi/bluetooth card ( BCM94352Z ), i needed the following kexts :

----Wifi-------- (BCM94352Z, https://www.ebay.ca/itm/wifi-card/182794913227)
  • FakePCIID.kext - From Rehabman Bitbucket
  • FakePCIID_Broadcom_WiFi.kext - From Rehabman Bitbucket
----Bluetooth-- (BCM94352Z, https://www.ebay.ca/itm/wifi-card/182794913227)
  • BrcmPatchRAM2.kext - From Rehabman Bitbucket
  • BrcmFirmwareRepo.kext - From Rehabman Bitbucket
----Battery-----
  • ACPIBatteryManager.kext - From Rehabman BitBucket
----Sound------
  • AppleALC.kext - From vit9696 github page
----Backlight---
  • AppleBacklightInjector.kext - From Rehabman Bitbucket

- DSDT Patches

Luckily, i went for a full hotpatched hackintosh... so it's pretty simple. There's no need to use MacIASL :D

- Config.Plist AND Hotpatched SSDT Files


Use the config.plist provided.
Put the content of hotpatches.zip in clover/acpi/patched



At this point, you got pretty much everything working... except hdmi audio.. and maybe shutdown... :'(
(and of course, touch screen... but that's another story)

- Fixing Shutdown problem
(if you have any...)

I tried every shutdown fix patches on my dsdt, all the easy fix in clover config.plist... nothing worked...
Some even said I might need to update the intel ME Firmware... But it didn't change anything...

Luckily, i stumbled on a shutdown fix, randomly online... here: https://github.com/Kaijun/Acer-V5-573g-DSDT

Code:
#Shutdown Fix
into method label _PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched begin
%1
           Store (Zero, SLPE)\n
           Sleep (0x10)\n
%2
end;
into definitionblock code_regex . code_regex_not OperationRegion\s*\(PMRS insert begin
OperationRegion (PMRS, SystemIO, 0x1830, One)\n
Field (PMRS, ByteAcc, NoLock, Preserve)\n
{\n
       ,   4, \n
   SLPE,   1\n
}
end;

This shutdown fix, applied to a decompiled dsdt.dsl (from clover F4/FN+F4 magic clover/acpi/origin) worked.
You'll also need to comment out a line in order to compile this dsdt.dsl:
(like that : // at the beginning of the line)

-External ‘BNUM’ Ref

More information about how to get a dsdt.dsl can be found here :
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

Sadly, this... make it not a full hotpatched hackintosh... but.. i did my best :p

Original post :
Hi,

I just got this laptop
https://support.hp.com/us-en/product/hp-envy-15-as100-notebook-pc/12499192/model/12780757/

with this exact specs :
https://support.hp.com/in-en/document/c05318840

and i was wondering where should i start to go directly on high sierra. I got a sony vaio svs13 2012 running sierra right now, but i had enough luck to discover a step by step guide for this one... I had to buy a wifi card, i guess i also need to with this laptop... Well i'm just looking for insight on where i should start.. once i get it working ill get the appropriate wifi card :p

Thank you!
 

Attachments

  • config.plist
    12.3 KB · Views: 332
  • hotpatches.zip
    3 KB · Views: 181
Last edited:

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,101
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi,

I just got this laptop
https://support.hp.com/us-en/product/hp-envy-15-as100-notebook-pc/12499192/model/12780757/

with this exact specs :
https://support.hp.com/in-en/document/c05318840

and i was wondering where should i start to go directly on high sierra. I got a sony vaio svs13 2012 running sierra right now, but i had enough luck to discover a step by step guide for this one... I had to buy a wifi card, i guess i also need to with this laptop... Well i'm just looking for insight on where i should start.. once i get it working ill get the appropriate wifi card :p

Thank you!

Follow the Clover guide linked from the FAQ.
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html

Although you should read the FAQ for an overview of issues, the Clover guide is linked from the first question: "Q. Where do I start?", just after the bold face "Clover Guide".
Here is a direct link, just to be clear:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

Also, your profile must be filled out with complete details as requested in the FAQ, again under "Q. Where do I start?". All seven details requested are equally important.

And if you have an issue (after following the guide), or on any other problem, you must provide a detailed description of the problem including information that helps us understand what you're doing. Always attach "Problem Reporting" files as per FAQ.
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html
The required files and data are fully detailed in the last question in the FAQ:
"Q. What are typical "Problem Reporting" files?"
 
Joined
Aug 13, 2016
Messages
46
Motherboard
HP Envy 15-as133cl (Clover)
CPU
7500U / KabyLake Rev2 / Lake-Y PCH Rev 21
Graphics
HD 620, 1920x1080
Mobile Phone
  1. Android
Hi so i followed your faq and filled the blank in my profile ;)

I have successfully installed and booted macOs High Sierra, thx to you!

So now, here's my problems:
(I didnt try to solve them at all for now, i didnt touch ssdt and didnt test hdmi output)

-Right click on touchpad
-touchpad pref pane
-battery (not even in top bar)
-Wifi (is there a specific card i should go with?)
-I have no optical disk, but it think it has one
-webcam no working
-Sleep not working
-No Trim? (apfs.. i guess)
-clover take 5sec to boot (not that much of a problem :p)

-Keyboard - not working :
-delete button
-screen brightness button (minus/plus)
 

Attachments

  • ioreg.zip
    487.2 KB · Views: 98
  • CLOVER.zip
    1.8 MB · Views: 88

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,101
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi so i followed your faq and filled the blank in my profile ;)

I have successfully installed and booted macOs High Sierra, thx to you!

So now, here's my problems:
(I didnt try to solve them at all for now, i didnt touch ssdt and didnt test hdmi output)

-Right click on touchpad
-touchpad pref pane
-battery (not even in top bar)
-Wifi (is there a specific card i should go with?)
-I have no optical disk, but it think it has one
-webcam no working
-Sleep not working
-No Trim? (apfs.. i guess)
-clover take 5sec to boot (not that much of a problem :p)

-Keyboard - not working :
-delete button
-screen brightness button (minus/plus)

Most of your questions are covered in the FAQ.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
Joined
Aug 13, 2016
Messages
46
Motherboard
HP Envy 15-as133cl (Clover)
CPU
7500U / KabyLake Rev2 / Lake-Y PCH Rev 21
Graphics
HD 620, 1920x1080
Mobile Phone
  1. Android
So i have been trying to patch ssdt and dsdt, and i cant decompile the file... it seems that i dont have duplicate file...
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,101
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Joined
Aug 13, 2016
Messages
46
Motherboard
HP Envy 15-as133cl (Clover)
CPU
7500U / KabyLake Rev2 / Lake-Y PCH Rev 21
Graphics
HD 620, 1920x1080
Mobile Phone
  1. Android

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,101
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi so i followed your faq and filled the blank in my profile ;)

I have successfully installed and booted macOs High Sierra, thx to you!

So now, here's my problems:
(I didnt try to solve them at all for now, i didnt touch ssdt and didnt test hdmi output)

-Right click on touchpad
-touchpad pref pane
-battery (not even in top bar)
-Wifi (is there a specific card i should go with?)
-I have no optical disk, but it think it has one
-webcam no working
-Sleep not working
-No Trim? (apfs.. i guess)
-clover take 5sec to boot (not that much of a problem :p)

-Keyboard - not working :
-delete button
-screen brightness button (minus/plus)
So i have been trying to patch ssdt and dsdt, and i cant decompile the file... it seems that i dont have duplicate file...
Hi rehab, i didnt change anything, so its the same file as my previous post ;)

The duplicate _DSM methods are in SSDT-11.aml (_DSM at same path in DSDT.aml).
 
Joined
Aug 13, 2016
Messages
46
Motherboard
HP Envy 15-as133cl (Clover)
CPU
7500U / KabyLake Rev2 / Lake-Y PCH Rev 21
Graphics
HD 620, 1920x1080
Mobile Phone
  1. Android
What am i supposed to do now that i know that the duplicated method is in SSDT-11.aml?
Right now i can't decompile, so i can not remove the duplicate method...

Shall i decompile everything except SSDT-11 then decompile SSDT-11?
 
Joined
Aug 13, 2016
Messages
46
Motherboard
HP Envy 15-as133cl (Clover)
CPU
7500U / KabyLake Rev2 / Lake-Y PCH Rev 21
Graphics
HD 620, 1920x1080
Mobile Phone
  1. Android
so I can't compile some ssdt, I saw some reference to dsm so I tried the renaming patch... when I was about to compile them, it complained some thing was wrong...

So i tried patching my acpi files by following post in this thread https://www.tonymacx86.com/threads/...7-7500u-kaby-lake.213327/page-11#post-1548708

I know this is not the same laptop, but i guessed it would be pretty close to mine.. but... nothing works aha...
I tried the patches on all my ssdt, not just the one he said

From the look of the error on ssdt4 i think its related to the battery, using the same patch Jay did on dsdt for the battery, dsdt compile easily.. but i can not apply the same patch on ssdt4..

Edit :

I got audio working, but everything else doesnt.

I followed your guide for hotpatch backlight, it doesnt work.

At first, i thought by looking at the config.plist you provided that gfx0 was already renamed, nothing worked so I assumed it was because i didnt rename gfx0 in ssdt/dsdt... but it still doesnt work after i did.
 

Attachments

  • SSDddddT-4-INSYDE .dsl
    229.8 KB · Views: 245
  • SSDddddT-8-INSYDE .dsl
    5.3 KB · Views: 234
  • CLOVER.zip
    2.3 MB · Views: 116
  • ioreg.zip
    536.3 KB · Views: 75
Last edited:
Status
Not open for further replies.
Top