Jump to content
lukss12

ASUS N56VB (HM76)] Sierra (10.12.6) and High Sierra (10.13.2) working with full hotpach (No DSDT Patching Needed)

4 posts in this topic

Recommended Posts

Well I've past last days reading, understanding and trying to implement all the things mentioned in the guides from different forums, mainly the ones written by RehabMan. This is my first Hackintosh experience and I'm pretty happy with the results I got. Software and modifications developed by the people in the scene is awesome.
 
I get a full hotpatch system for my N56VB
 
Working:
  • Audio: VoodooHDA 2.9.0d10 + AppleHDADisabler by Slice, Zenith432

  • Graphics (HD4000): Clovers’s HD4000 config by RehabMan with GFX0 to IGPU rename

  • Trackpad: ApplePS2SmartTouchpad 4.7 beta 5 by EMlyDinEsH and PrefPane (Scripts by Masterscript, Kexts and Daemons by Rehabman)

  • Wifi: IO80211Family kext with patched AirPort.Atheros40 by chunnann. NOTE: Some mixed bgn routers don’t work

  • EthernetLAN: AtherosE2200Ethernet kext by Mieze

  • BackLigth: Implemented using new RehabMan guide for Sierra 10.12.4+ (PNLF hot patch (SSDT-PNLF.aml) into Clover’s ACPI folder + BacklightInjector kext + patch for AppleBacklight in config.plist/KernelAndKextPatches/KextsToPatch)

  • Battery Stats: Fixed using custom SSDT-BATTERY.aml made by me porting DSDT patch from RehabMan's repo to a SSDT approach. This depends in some Clover's renames in original DSDT (added in config.plist):

    • Rename ECOR to XCOR

    • Rename SMBX to XMBX

    • Rename SMB2 to XMB2

    • Rename BIFA to XIFA

    • Rename _BIX to XBIX 

    • Rename Method SMBR to XMBR but not method calls

    • Rename Method SMBW to XMBW but not method calls

    • Rename Method ECSB to XCSB but not method calls

    • Rename Method TACH to XACH but not method calls 

  • USB:

    • Internal 2.0 HUB (USB Webcam and USB Bluetooth) need USBInjectAll Kext by RehabMan with custom SSDT-UIAC.aml in CLOVER/ACPI/patched and renaming EHC1 to EH01 and EHC2 to EH02 (Clover Rename Patch)

    • USB 3.0 Port: Work with native Apple drivers by renming XHC1 to XH01 and XHCI to XHC_ in DSDT (Clover Rename Patch)

  • SMBUS: Inject the missing DVL0 device using SSDT-SMBUS.dsl hotpatch from RehabMan's repo

  • Power Managment: Use SSDT-PM.aml generated with ssdtPRGen.sh by Piker-Alpha following RehabMan's native PM guide. Also enable AppleIntelCPUPM=true and KernelLapic=true

NOTE: Recomended to run these to disable hibernation and prevent problems (RehabMan's reccomendation)

sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage
sudo pmset -a standby 0
sudo pmset -a autopoweroff 0
  • Internal Fan Speed: Use SSDT-FAN.aml compiled from original black.dragon74's file

  • Hotpatch Config SSDT: SSDT-Config.aml

  • Keyboard Fn Keys: Use ACPIKeyboar kext by RehabMan's with my custom SSDT-RMKB.aml (and rename patches for CLover) configured to delegate keypresses to ELAN's PS/2 driver by EMlyDinEsH

    • List of Special Keys and state:
      • Fn + F1 Sleep: EC _Q0A - Disabled because bad functioning
      • Fn + F2 Wireless: EC _Q0B - Not in AppleKeyboard
      • Fn + F3: EC _Q0C - Undefined
      • Fn + F4: EC _Q0D - Undefined
      • Fn + F5 Brigth Down: EC _Q0E
      • Fn + F6 Brigth Up: EC _Q0F
      • Fn + F7 Screen Off/On: EC _Q10 - Not patched working properly with ELAN driver
      • Fn + F8 Video Mirror: EC _Q11
      • Fn + F9 TrackPad On/Off: EC _Q12 - Not in AppleKeyboard
      • Fn + Arrow Left(Media Previous): EC _Q6C
      • Fn + Arrow Right(Media Next): EC _Q6D
      • Fn + Arrow Up(Media Stop): EC _Q6E - Not in AppleKeyboard
      • Fn + Arrow Down(Media Pause/Play): EC _Q6F
      • Fn + Space Bar: EC _Q71 - Not in AppleKeyboard
      • Fn + C Letter: EC _Q72 - Not in AppleKeyboard
      • Fn + V Letter(Camera): EC _Q74 - Not in AppleKeyboard
      • Fn + Numpad's Intro(Calc): EC _Q77 - Not in AppleKeyboard
      • Left Assignable Button Button: EC _QEC - Assigned to MUTE
Not Working:
  • Bluetooth: There is no kext for our chip version (MacOS will recognize it but you will never get to use it -our chip needs certain FW download that is not implemesnted in kexts-)
 
Thank you so much for bringing me the tools to use MacOS in my laptop.
 
I'm uploading my CLOVER folder with all the SSDTs needed and proper config.plist

(I don't know if I can upload kexts from others devs here so you can get all the kexts mentioned from their developers repos)
 
(Forgive my english, it's not my native language and I may make a lot of errors when writting)

EDIT: I'm uploading DSL files made by me (I'm not uploading DSL files made by other devs or decompiled from .aml generated by tools like ssdtPRGen.sh because it may offend someone)

 

CLOVER.zip

Custom-SSDT-DSL.zip

Share this post


Link to post
Share on other sites
Advertisement

Nice work.

 

Did you have prior (before starting your hack) experience with coding?

 

How long did it take from first read (of all information) to the end result? 1 week? 1 month? 6 months?

Share this post


Link to post
Share on other sites

lukss12, Could you share the dsl files that you compiled to get the aml files in your patched clover folder?

Share this post


Link to post
Share on other sites

Nice work.

 

Did you have prior (before starting your hack) experience with coding?

 

How long did it take from first read (of all information) to the end result? 1 week? 1 month? 6 months?

 

I'm Software Engineer student, so yes I have experience with coding and the nature of different languages. I started like a month ago it took me about 1 week to get all working, then I left it because I needed to study. And It took me about 3 days to transform all the things that weren't hot patches into hotpatches. (When I state "days" I'm talking about the free time one could have in a day (4-6 hs))

 

The guides by RehabMan are really good and explicative, almost all I learned from ACPI was from there and a little from official specs.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By crazykeyboard
      Asrock Z370 Professional 7
      I7 8700K
      evga 1080 ti ftw 3
      16gb gskill 3200 CL14 
       
      High sierra the last version of curse
       
      THANK YOU
      dacd@me.com
    • By Jiji The Fox
      Hey, long time no post!
       
      Apologies if this has been answered, every time I search I get a timeout on the site and I can't seem to get the search to work
       
      I've been sitting pretty with Yosemite for a while , but a recent hardware upgrade (Audio interface) means I can jump from Yosemite. 

      I've successfully upgraded Clover, then the OS and for the most of it, it seems great. Everything works but the Graphics Driver (NVidia GeForce GTX670.)
       
      I can only boot into Mac if disable the NVIDIA drivers with the boot flag nv_disable=1  however that's not great I end up with one monitor working at 1024 x 768.
       
       
      I've updated the NVIDIA web drivers to the latest my build of sierra can take. 
      I have the boot flag for web driver to be enabled (can't remember off the top of my head.. I'm on the work pc, soon to be home)
       
      Any ideas would be grateful, I spent much of last night and morning on this.

      Many Thanks
       
      UPDATE: I've managed to load successfully, between a combination of changing the SMBIOS to MacBook 14,2 and loading lilukext with NVIDIAgraphicsfixer.
       
      Everything is the same as Yosemite, except I do not have HDMI audio or onboard sound. I do have a dedicated audio interface so I'm not at a true loss.
       
       
    • By zebity
      Hi Hypervisors,
       
      I have been working to move my Late 2009 Xserve MacOS Server onto Ubuntu 18.04 LTS QEMU/KVM based virtual machine using OVMF and Clover.
       
      After much effort and testing based on the following information from: Kraxel's, Kholia, Gordon Turner and Clover site:
      https://www.kraxel.org/blog/2017/09/running-macos-as-guest-in-kvm/
      https://github.com/kholia/OSX-KVM
      https://gist.github.com/gordonturner/2a2e5ecde5e7860b52e2
      https://clover-wiki.zetam.org/Home
       
      I have now managed to get OVMF/Clover boot and install of MacOS Sierra.
       
      I started with Ubuntu 16.04 initially but this required download and compile of QEMU to get update of machines to: pc-q35-2.9 or better, so I moved to Ubuntu 18.04, which has pc-q35.2.11 available as standard.
       
      So I am now working with standard Ubuntu 18.04 LTS based systems with following packages: kvm/qemu/libvirt/bridge-utils/ovmf/virt-manager
       
      As I want to use PCIe Passthrough for a number of PCIe card currently installed in the server (SmallTree 10GbE & Areca ARC-1883 SAS RAID) I set up my machine with linux kernel boot configuration (/etc/default/grub) of: 
      GRUB_CMDLINE_LINUX_DEFAULT="iommu=1 intel_iommu=on" (as my machine is intel VT-d based HW virtualisation)
       
      This resulted in creation of a number of iommu groups (see /sys/kernel/iommu_group directory for this and this posting for information: https://forum.level1techs.com/t/ubuntu-17-04-vfio-pcie-passthrough-kernel-update-4-14-rc1/119639 , noting that Ubuntu 18.04 LTS has kernel version: 4.15.0-22-generic so there is no need to do kernel update for iommu to work).
       
      Using bare minimal Clover config.plist:
       
       
      And following Clover UEFI drivers:
       
      I can boot MacOS, but it is very very slow... it sits on the apple boot logo for over a minutes before finally moving onto the progress bar.
      The other problem I have is that no PCI or Network devices appear in the "About This Mac" System Information Report and I cannot get any network connectivity from bridged E1000 network device.
       
      Here is my virtlib.xml dump for the virtual machine:
       

      Can any one advise of whether I need to update the CLOVER config.plist to add extra items in to allow network and PCI Passthrough to work.
       
      Thank you.
       
      Regards,
       
      Zebity
       
    • By MaLd0n
      ***The topic is for Notebooks and Desktops***   First... ***Update bios to last available version!***   If you need DSDT edits for SkyLake, KabyLake or CoffeeLake... -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   This guide is not a step by step, if you need one, see here   Look at my Clover folders and understand what we really need, this is the best way to learn     1-Installation     --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder  -Serie 100/200/300 CLOVER Install.zip   --Install Sierra/High Sierra and boot into system! 2-Post Installation     --Install Clover in HDD/SSD and replace with my folder -Serie 100/200/300 CLOVER Post Install.zip   --Reboot and activate video!   3-Video     -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/ -Nvidia WebDriver High Sierra http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/ -Cuda http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/ -Check it, easy way nvidia-update.command.zip by Benjamin-Dobell   4-DSDT     --DSDT mobo GA Z270 Gaming K3 DSDT.MaLd0n Gigabyte GA Z270 Gaming K3.zip   --DSDT mobo Asus ROG STRIX Z370 F Gaming DSDT.MaLd0n Asus ROG STRIX Z370 F Gaming.zip   --DSDT mobo Asus ROG Strix Z370-G Gaming DSDT.Asus ROG Strix Z370-G Gaming.zip   --DSDT mobo GA Z170XP SLI DSDT.MaLd0n GA Z170XP SLI.zip   --DSDT mobo ASROCK Z170  EXTREME 7 DSDT.MaLd0n ASROCK Z170 EXTREME 7.zip   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC* -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS* -BLC0 -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -IMEI -EC -PNLF(Nvidia/AMD) -HDMI ---To avoid problems use some patches in config.plist, don't forget!--- GLAN to GIGE 474c 414e 4749 4745 GFX0 to IGPU 47465830 49475055 HDAS to HDEF 48444153 48444546 HECI to IMEI 48454349 494d4549 SAT0 to SATA 53415430 53415441 5-SSDT   Generate your SSDT for PM, use ssdtPRGen by Piker-Alpha https://github.com/Piker-Alpha ssdtPRGen.command.zip   or just use "plugin-type"=0x01 in DSDT, SSDT or Clover config.plist   for check Power, Frequency, Temperature and Utilization, use it Install Intel Power Gadget.pkg.zip   6-Brightness  
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
        -Clover   https://sourceforge.net/projects/cloverefiboot/files/Installer/   -Lan driver by Mieze     -Atheros http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   -Links     -FakeSmc https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/293863-applehda-patch-requests/   -USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads   if u like, Rate Topic     It's time to Rock -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, badruzeus and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
×