[WIP-Guide] HP ENVY x360 13-y013cl - i7-7500U Kaby Lake

Discussion in 'El Capitan Laptop Support' started by lilryu, Jan 26, 2017.

  1. lilryu

    lilryu

    Joined:
    Jan 31, 2011
    Messages:
    89
    Motherboard:
    HP ProBook 4530 | HP ProBook 5330m | Intel NUC BOXD54250WYKH1 | Alienware Alpha
    CPU:
    i3-2350m | i3-2350m | i5-4250U | i3-4130T
    Graphics:
    Intel HD 3000 | Intel HD 5000 | NVIDIA Geforce GTX 860M 2989 MB
    Mac:
    MacBook Pro
    Jan 26, 2017 at 1:02 AM #1
    lilryu

    lilryu

    Joined:
    Jan 31, 2011
    Messages:
    89
    Motherboard:
    HP ProBook 4530 | HP ProBook 5330m | Intel NUC BOXD54250WYKH1 | Alienware Alpha
    CPU:
    i3-2350m | i3-2350m | i5-4250U | i3-4130T
    Graphics:
    Intel HD 3000 | Intel HD 5000 | NVIDIA Geforce GTX 860M 2989 MB
    Mac:
    MacBook Pro
    HP ENVY x360 13-y013cl – Kaby Lake
    Got this at costco: https://www.costco.com/HP-ENVY-x360-13-y013cl-13t-Touchscreen-2-in-1-Laptop---Intel-Core-i7---QHD+-.product.100317294.html
    Link: http://support.hp.com/us-en/document/c05318836

    Works –
    OSX 10.11.6
    Microprocessor - Intel® Core™ i7-7500U (2.7 GHz, up to 3.5 GHz, 4 MB cache, 2 cores)
    Memory - 16 GB LPDDR3-1866 SDRAM
    Video graphics - Intel® HD Graphics 620 [use FakePCIID.kext & FakePCIID_Intel_HD_Graphics.kext & HD config_HD620.plist].
    Hard drive - 256 GB PCIe® NVMe™ M.2 SSD [works with class-code spoof + HackrNVMeFamily*.kext]
    Display -13.3" diagonal QHD+ UWVA eDP WLED-backlit multitouch-enabled edge-to-edge glass (3200 x 1800)
    Sleep – Sleeps when lid shuts and wakes up when lids open. However, can’t wake up system with keyboard/trackpad.
    "Disk Not Ejected" USB error fix – Install Jettison Mac App
    Trackpad/Keyboard – Install SmartTouchPad_v4.6.5
    Backlight - works with DSDT edit + IntelBacklight.kext
    App Store - works with NullEthernet.kext + NullEthernetInjector.kext
    AppleLPC - tried DSDT edit but didn't work so ejected manually with AppleLPCInjector.kext
    HiDPI – works
    1. Enable HiDPI mode:
    a. In terminal – sudo defaults write /System/Library/Displays/Contents/Resources/Overrides/com.apple.windowserver DisplayResolutionEnabled -bool YES
    b. copy attached DisplayVendorID-4c83 folder to /System/Library/Displays/Contents/Resources/Overrides/
    c. Install RDM 2.1 and enjoy!
    Touchscreen - works OOB

    Doesn’t work –
    Sound – Conexant CX8200 (14f1:2008) [Tried using VoodooHDA; it works but but it stutters]
    Battery - tried battery_HP-DV6-3165sf DSDT patch + APCIBatteryManager.kext, works but the time remaining goes up and down consistently and the backlight becomes laggy so I removed the patch.
    WiFi – Intel Dual Band Wireless-AC 7265 [Bought a DW1560 (BCM94352Z) card, will replace once the card arrives)
    Keyboard Backlight Controls – Temporarily fix with Karabiner but would like it working with DSDT edit.

    Pre-installation
    1. Boot into BIOS and do the following
    a. Restore to BIOS default
    b. Disable Secure Boot in BIOS
    2. Create Clover UEFI USB using post #1 of the following guide - http://www.tonymacx86.com/el-capita...de-booting-os-x-installer-laptops-clover.html. I used the createinstallmedia method.
    a. Download the attached EFI folder and copy the files into your USB’s EFI partition. Make sure to overwrite the files.

    Installation
    1. Boot into USB and follow post #2 of the following guide - http://www.tonymacx86.com/el-capita...de-booting-os-x-installer-laptops-clover.html
    2. Install clover to your new OSX partition on your HDD
    3. Copy EFI folder from your USB to EFI partition on your HDD.
    4. Reboot and Enjoy!
     

    Attached Files:

    Last edited: Jan 26, 2017
  2. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    188,443
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Jan 26, 2017 at 1:09 AM #2
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    188,443
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Interesting... I guess like most of the Kaby Lake laptops (Dell being the exception), DVMT-prealloc was set large enough?
    Which trackpad is in the laptop?
    Which NVMe drive did it come with?
    I assume you needed the pixel clock patch?
    I'll be interested to hear how the WiFI replace goes ...

    Can you attach typical "Problem Reporting" files?

    --

    Attach ioreg as ZIP: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

    Attach EFI/Clover folder as ZIP (press F4 at main Clover screen before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

    Attach output of (in Terminal):
    Code:
    sudo touch /System/Library/Extensions && sudo kextcache -u /
    
    Compress all files as ZIP. Do not use external links. Attach all files using site attachments only.
     
  3. lilryu

    lilryu

    Joined:
    Jan 31, 2011
    Messages:
    89
    Motherboard:
    HP ProBook 4530 | HP ProBook 5330m | Intel NUC BOXD54250WYKH1 | Alienware Alpha
    CPU:
    i3-2350m | i3-2350m | i5-4250U | i3-4130T
    Graphics:
    Intel HD 3000 | Intel HD 5000 | NVIDIA Geforce GTX 860M 2989 MB
    Mac:
    MacBook Pro
    Jan 26, 2017 at 2:08 AM #3
    lilryu

    lilryu

    Joined:
    Jan 31, 2011
    Messages:
    89
    Motherboard:
    HP ProBook 4530 | HP ProBook 5330m | Intel NUC BOXD54250WYKH1 | Alienware Alpha
    CPU:
    i3-2350m | i3-2350m | i5-4250U | i3-4130T
    Graphics:
    Intel HD 3000 | Intel HD 5000 | NVIDIA Geforce GTX 860M 2989 MB
    Mac:
    MacBook Pro
    Yes, The DVMT-prealloc was already set large enough.
    Hard Drive: NVMe THNSN5256GPUK TO (TOSHIBA XG4 256GB NVMe)
    Trackpad: Synaptics SMBus Touchpad. I tried to use your version of VoodooPS2Controller.kext but it wouldn't detect the Trackpad so I had to use SmartTouchPad_v4.6.5 instead.
    Pixel Clock Patch: I did apply the patch but I couldn't tell the difference before patching vs. after patching.
    I'm excited about the WiFi also - will let you know once I install it.

    Can you help me resolve the battery issue and the audio issue once I'm able to dump the codec?
    Thanks! I believe the CX8200 is a relatively new audio codec. I tried to run a live Ubuntu session to dump the codec but Ubuntu wasn't able to detect the audio card. I'll install Ubuntu and update the ALSA drivers to see if I can get a codec dump.

    Attached is the ioreg, EFI/Clover as zip, and output of Terminal. I'm currently using VoodooHDA for sound but would like to use a more native method ( Clover + Dummyhda.kext). Also, can you move this thread to "El Capitan Laptop Guides"?

    Thanks Rehabman!
     

    Attached Files:

    Last edited: Jan 26, 2017
  4. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    188,443
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Jan 26, 2017 at 2:25 AM #4
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    188,443
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    That is a nice change...

    Probably needs some tweaks to the detection code.

    Very strange (but good). Usually no display on internal UHD display without it. Maybe something changed in SKL drivers?

    Existing patch "HP G6 2221ss" appears to be a match.
    FYI: You should not have dynamic SSDTs in ACPI/patched.

    Once you have a codec dump, use one of the existing Conexant AppleHDA (layout/platforms/pinconfig) to build one that matches your codec.

    How well does VoodooHDA work?

    You will need to modify it as it doesn't really meet the requirements of a good guide.
    For example, you need to explain the ACPI patching process, because no one can use your files (always a bad idea to use ACPI files from another computer).
     
  5. lilryu

    lilryu

    Joined:
    Jan 31, 2011
    Messages:
    89
    Motherboard:
    HP ProBook 4530 | HP ProBook 5330m | Intel NUC BOXD54250WYKH1 | Alienware Alpha
    CPU:
    i3-2350m | i3-2350m | i5-4250U | i3-4130T
    Graphics:
    Intel HD 3000 | Intel HD 5000 | NVIDIA Geforce GTX 860M 2989 MB
    Mac:
    MacBook Pro
    Jan 26, 2017 at 5:38 AM #5
    lilryu

    lilryu

    Joined:
    Jan 31, 2011
    Messages:
    89
    Motherboard:
    HP ProBook 4530 | HP ProBook 5330m | Intel NUC BOXD54250WYKH1 | Alienware Alpha
    CPU:
    i3-2350m | i3-2350m | i5-4250U | i3-4130T
    Graphics:
    Intel HD 3000 | Intel HD 5000 | NVIDIA Geforce GTX 860M 2989 MB
    Mac:
    MacBook Pro
    HP G6 2221ss battery patch works! I looked at the battery percentage in windows 10 vs. osx and they are very simlilar... Thanks!
    Attached is the audio codec dump for CX8200 from Ubuntu. I tried to patch my own AppleHDA.kext but it didn't work...could you help? Thanks. VoodooHDA doesn't work too well because it stutters.
     

    Attached Files:

  6. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    188,443
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Jan 26, 2017 at 5:52 AM #6
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    188,443
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Find an existing AppleHDA XML to use as a template. For example you can look at the files that make up AppleHDA_ProBook in my probook github project (read the README in Resources_ProBook).

    If I get this laptop, I'll do a patched AppleHDA for it, but no plans to do it otherwise... I'm still deciding on my next laptop. This one or the Spectre sounds decent... but there are several others in the running too.
     
  7. chhaggerty

    chhaggerty

    Joined:
    Jul 16, 2011
    Messages:
    15
    Motherboard:
    HP ENVY x360 13-y013cl
    CPU:
    Intel i7-7500U
    Graphics:
    Intel HD 620
    Mobile Phone:
    iOS
    Jan 29, 2017 at 7:13 AM #7
    chhaggerty

    chhaggerty

    Joined:
    Jul 16, 2011
    Messages:
    15
    Motherboard:
    HP ENVY x360 13-y013cl
    CPU:
    Intel i7-7500U
    Graphics:
    Intel HD 620
    Mobile Phone:
    iOS

    I bought this laptop a week ago and couldn't find anything comparable for the money. I'am running Sierra 10.12.3 and triple booting MacOS, Windows 10 and Ubuntu all on the same SSD. The latest VoodooHDA 2.8.9 works great for me. So far I haven't noticed any audio artifacts. I installed a NGFF BCM94352Z I bought on ebay and upgraded the NVME SSD to a 1 TB intel P600. The wifi works perfect with FakePCIID and the 10.12 clover kext patch. I used Pike's clover kext patches to install to the SSD but now have converted to the HackNVMeFamily-10-12-3.kext using patch-nvme.sh --spoof and ssdt-NVMe-Pcc.aml. I'm getting full resolution display without artifacts using the FakePCIID and clover kext patches. Dsdt patches for battery and brightness fix work fine.

    I'm just having two problems, I can' t get the bluetooth adapter or the SD card reader to show up despite using USBInjectAll.kext, and even with the exact same clover setup, booting form the NVME SSD crashes with a kernel panic, while booting from USB works fine. Here is a screen shot.
    IMG_0682.jpg

    I'll also enclose my clover directory and I'll get a IOreg dump uploaded
     

    Attached Files:

  8. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    188,443
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Jan 29, 2017 at 3:15 PM #8
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    188,443
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    No need to use FakeID for WiFi.
    You have some inappropriate patches to your DSDT (why did you remove BNUM?)
     
  9. chhaggerty

    chhaggerty

    Joined:
    Jul 16, 2011
    Messages:
    15
    Motherboard:
    HP ENVY x360 13-y013cl
    CPU:
    Intel i7-7500U
    Graphics:
    Intel HD 620
    Mobile Phone:
    iOS
    Jan 29, 2017 at 5:07 PM #9
    chhaggerty

    chhaggerty

    Joined:
    Jul 16, 2011
    Messages:
    15
    Motherboard:
    HP ENVY x360 13-y013cl
    CPU:
    Intel i7-7500U
    Graphics:
    Intel HD 620
    Mobile Phone:
    iOS
    Thanks for the tip on FakePCI. I was getting a compiler error with BNUM, but I deleted the wrong declaration. :(
    I have that fixed now. The only DSDT patches I applied was the HP G6 2221ss battery and the ACPI 100 brightness fix. Here is the ioreg.
     

    Attached Files:

  10. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    188,443
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Jan 29, 2017 at 5:13 PM #10
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    188,443
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    I don't see any NVMe problem here. You're using HackrNVMeFamily with the class-code spoof. It is the best way.

    I don't see a bluetooth controller on the USB bus. Maybe you have it disabled in BIOS or (mistakenly) enabled "fast boot" in BIOS.

    Your card reader is PCIe 10ec:522a at PCI0.RP01.PXSX. It is not supported.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice