Jump to content
Cyberdevs

[Guide] Install macOS Sierra 10.12.5 on GA-Z170X-Gaming 5

505 posts in this topic

Recommended Posts

Well, it went OK on my end, I used the latest clover r4246 with the FakeSMC 3.5.0 and CSM is disabled in BIOS. I use NVWebDriverLibValFix in clover's EFI.


It happened with and without.
And with clover patch I still get black screen without NvidiaGraphicsFixUp.

I'll download your EFI and take a look. Is it updated to what you use now?

Sent from my SM-G930F using Tapatalk

Use this one instead, I just used this EFI folder for the test and it worked without a problem.

 

Just remember I removed the Serial Number, MLB, open the config.plist and regenerate those values.

One more thing to remember, after the first reboot right after the update installation remember to select the right partition too boot from. The update will create a temporary partition which contains the update installer files.

GA-Z170X-Gaming 5 Clover r4246.zip

Share this post


Link to post
Share on other sites
Advertisement

@SavageAUS

 

All good here, even with the patched nVidia web drivers I get full acceleration. after installing the patched drivers you need to replace the NVDAStartupWeb.kext inside /Library/Extensions and remember to fix the permissions.

post-1011040-0-40210500-1507974899_thumb.png

NVDAStartupWeb.kext.zip

Share this post


Link to post
Share on other sites

@SavageAUS

 

All good here, even with the patched nVidia web drivers I get full acceleration. after installing the patched drivers you need to replace the NVDAStartupWeb.kext inside /Library/Extensions and remember to fix the permissions.

Maybe it just doesn't like my 960. Don't know. I give up with the beta's on my desktop, I'll stick to official point releases I think. Saves the hassle with Nvidia drivers as well. Keep the testing for my laptop.

 

Edit: If I remove NvidiaGraphicsFixUp and just use NVWebDriverLibValFix and clover patch I get stuck on spinning white wheel.

 

Sent from my SM-G930F using Tapatalk

Share this post


Link to post
Share on other sites

Maybe it just doesn't like my 960. Don't know. I give up with the beta's on my desktop, I'll stick to official point releases I think. Saves the hassle with Nvidia drivers as well. Keep the testing for my laptop.

 

Sent from my SM-G930F using Tapatalk

 

That's a good policy ;)

But I guess all you need to do is to install the patched version of the NVDAStartupWeb.kext inside /L/E, without it my system also rebooted on the second stage of the boot process. All I did was to simply replaced the original file from another OS and after that system booted normally. If you still have the 17B35a on your hdd/ssd give it a try.

Share this post


Link to post
Share on other sites

Would suit my build better as well

https://www.pccasegear.com/products/39992/gigabyte-radeon-rx-vega-64-8gb-game-bundle

 

Sent from my SM-G930F using Tapatalk

Yeah, but when it comes to power consumption it's a bit much. it needs at least 750W power supply and it needs two 8-pins power connector. but the memory bus it way faster than any existing GPU 2084 Bits!!!!

Share this post


Link to post
Share on other sites

Hi,

Can anyone tell me which Terminal commands to open (edit) and then close the Nvidia installer (.pkg) package?

I've had it and used it, but I've lost it...

Thanks.

Share this post


Link to post
Share on other sites

Hi,

Can anyone tell me which Terminal commands to open (edit) and then close the Nvidia installer (.pkg) package?

I've had it and used it, but I've lost it...

Thanks.

Sorry I don't know the command.

Share this post


Link to post
Share on other sites

Hi,

Can anyone tell me which Terminal commands to open (edit) and then close the Nvidia installer (.pkg) package?

I've had it and used it, but I've lost it...

Thanks.

Used Flat Package Editor but its does work anymore in HS

Works in Sierra

Share this post


Link to post
Share on other sites

Hi,

Can anyone tell me which Terminal commands to open (edit) and then close the Nvidia installer (.pkg) package?

I've had it and used it, but I've lost it...

Thanks.

pkgutil --expand

 

to repack again pkgutil --flatten

Usage: pkgutil [OPTIONS] [COMMANDS] ...

Options:
  --help                 Show this usage guide
  --verbose, -v          Show contextual information and format for easy reading
  --force, -f            Perform all operations without asking for confirmation
  --volume PATH          Perform all operations on the specified volume
  --edit-pkg PKGID       Adjust properties of package PKGID using --learn PATH
  --only-files           List only files (not directories) in --files listing
  --only-dirs            List only directories (not files) in --files listing
  --regexp               Try all PKGID arguments as regular expressions

Receipt Database Commands:
  --pkgs, --packages     List all currently installed package IDs on --volume
  --pkgs-plist           List all package IDs on --volume in plist format
  --pkgs=REGEXP          List package IDs on --volume that match REGEXP
  --groups               List all GROUPIDs on --volume
  --groups-plist         List all GROUPIDs on --volume in plist format
  --group-pkgs GROUPID   List all PKGIDs in GROUPID
  --files PKGID          List files installed by the specified package
  --lsbom PKGID          List files in the same format as 'lsbom -s'
  --pkg-groups PKGID     List all GROUPIDs that PKGID is a member of
  --export-plist PKGID   Print all info about PKGID in plist format
  --pkg-info PKGID       Show metadata about PKGID
  --pkg-info-plist PKGID Show metadata about PKGID in plist format
  --file-info PATH       Show metadata known about PATH
  --file-info-plist PATH Show metadata known about PATH in plist format
  --forget PKGID         Discard receipt data for the specified package
  --learn PATH           Update --edit-pkg PKGID with actual metadata from PATH

File Commands:
  --expand PKG DIR       Expand the flat package PKG to DIR
  --flatten DIR PKG      Flatten the files at DIR as PKG
  --bom PATH             Extract any Bom files from the pkg at PATH into /tmp
  --payload-files PATH   List the paths archived within the (m)pkg at PATH
  --check-signature PATH Validate the signature of the pkg at PATH and print certificate information

Share this post


Link to post
Share on other sites

Yeah, but when it comes to power consumption it's a bit much. it needs at least 750W power supply and it needs two 8-pins power connector. but the memory bus it way faster than any existing GPU 2084 Bits!!!!

I got a corsair rm850i so I think I'll be fine.

http://www.corsair.com/en-us/rmi-series-rm850i-850-watt-80-plus-gold-certified-fully-modular-psu.

 

Sent from my SM-G930F using Tapatalk

Share this post


Link to post
Share on other sites

 

pkgutil --expand

 

to repack again pkgutil --flatten

Usage: pkgutil [OPTIONS] [COMMANDS] ...

Options:
  --help                 Show this usage guide
  --verbose, -v          Show contextual information and format for easy reading
  --force, -f            Perform all operations without asking for confirmation
  --volume PATH          Perform all operations on the specified volume
  --edit-pkg PKGID       Adjust properties of package PKGID using --learn PATH
  --only-files           List only files (not directories) in --files listing
  --only-dirs            List only directories (not files) in --files listing
  --regexp               Try all PKGID arguments as regular expressions

Receipt Database Commands:
  --pkgs, --packages     List all currently installed package IDs on --volume
  --pkgs-plist           List all package IDs on --volume in plist format
  --pkgs=REGEXP          List package IDs on --volume that match REGEXP
  --groups               List all GROUPIDs on --volume
  --groups-plist         List all GROUPIDs on --volume in plist format
  --group-pkgs GROUPID   List all PKGIDs in GROUPID
  --files PKGID          List files installed by the specified package
  --lsbom PKGID          List files in the same format as 'lsbom -s'
  --pkg-groups PKGID     List all GROUPIDs that PKGID is a member of
  --export-plist PKGID   Print all info about PKGID in plist format
  --pkg-info PKGID       Show metadata about PKGID
  --pkg-info-plist PKGID Show metadata about PKGID in plist format
  --file-info PATH       Show metadata known about PATH
  --file-info-plist PATH Show metadata known about PATH in plist format
  --forget PKGID         Discard receipt data for the specified package
  --learn PATH           Update --edit-pkg PKGID with actual metadata from PATH

File Commands:
  --expand PKG DIR       Expand the flat package PKG to DIR
  --flatten DIR PKG      Flatten the files at DIR as PKG
  --bom PATH             Extract any Bom files from the pkg at PATH into /tmp
  --payload-files PATH   List the paths archived within the (m)pkg at PATH
  --check-signature PATH Validate the signature of the pkg at PATH and print certificate information

we are discussing this in other thread in IM

the step to do is to unpack and then repack payload file (with inside NvidiaStartupWeb.kext)

I can Unpack with two pass of The Unarchiver but I am not able to repack correctly after info.plist modify)

 

Someone can help?

 

link added to IM thread

            #623            

 

edit 2

ops

renaming in payload.zip it opens so now  I will see if after infoplist changing it is enough to zip and delete extension before packacing again  No not works in this way repack is done but drivers not install modified payload!

Edited by fabiosun

Share this post


Link to post
Share on other sites

@cyberdevs

sorry me for offtopic in your threads

command posted here@ricoc90 are known and discussed on nvidiaweb thread for HS

Now I miss a part so we can

1) bypass osx check and version

2) then we have to modify NvidiaStartup.kext , and now it is in L/E (so Nvidiagraphicfix updater is not working for me. At least 1.5 release)

if we can repack payload file correctly (standard zip not working well) we could modify NvidiaStartupWeb inside it and do only a step when patching Beta Osx with unsupported Nvidia driver..

 

sorry again for offtopic here! 

Share this post


Link to post
Share on other sites

@cyberdevs

sorry me for offtopic in your threads

command posted here@ricoc90 are known and discussed on nvidiaweb thread for HS

Now I miss a part so we can

1) bypass osx check and version

2) then we have to modify NvidiaStartup.kext , and now it is in L/E (so Nvidiagraphicfix updater is not working for me. At least 1.5 release)

if we can repack payload file correctly (standard zip not working well) we could modify NvidiaStartupWeb inside it and do only a step when patching Beta Osx with unsupported Nvidia driver..

 

sorry again for offtopic here!

Not quite sure what you mean.

 

I used pkgutil —expand to unpack the Nvidia webdrivers installer package

 

Editted macOS version in Distribution

 

Repacked the installer again with pkgutil —flatten

 

Installed the webdrivers

 

Editted the macos Build in nvidiastartupweb.kext’s info.plist

Share this post


Link to post
Share on other sites

try this

after expand step

show package contents inside expanded pkg

you should see a file (payload)

 

inside this you can find all file driver installs (like NvidiaStartupWeb.kext)

I would like to modify it and repack correctly..to have a patched pkg for OSX version I need

 

I hope it is more clear now


here attachement to explain better

 

post-468967-0-96027800-1508261431_thumb.png

post-468967-0-41608800-1508261442.png

post-468967-0-41198200-1508261450.png

Share this post


Link to post
Share on other sites

@cyberdevs

sorry me for offtopic in your threads

command posted here@ricoc90 are known and discussed on nvidiaweb thread for HS

Now I miss a part so we can

1) bypass osx check and version

2) then we have to modify NvidiaStartup.kext , and now it is in L/E (so Nvidiagraphicfix updater is not working for me. At least 1.5 release)

if we can repack payload file correctly (standard zip not working well) we could modify NvidiaStartupWeb inside it and do only a step when patching Beta Osx with unsupported Nvidia driver..

 

sorry again for offtopic here! 

It's ok man, no worries, we can learn something new here :)

Share this post


Link to post
Share on other sites

try this

after expand step

show package contents inside expanded pkg

you should see a file (payload)

 

inside this you can find all file driver installs (like NvidiaStartupWeb.kext)

I would like to modify it and repack correctly..to have a patched pkg for OSX version I need

 

I hope it is more clear now

here attachement to explain better

 

What do you want to edit in nvidiastartupweb.kext? Just the macOS buildnumber?

 

Different approach, but same result: how about editting the postinstall script by adding a cmd to edit the info.plist?

system("sudo perl -i -pe 's/orignumbnumber/patchedbuildnumber/g;' /Library/Extensions/NVDAStartupWeb.kext/Contents/Info.plist")

You could even fetch the current macOS build to make it more universal

my $osBuild = `defaults read /System/Library/CoreServices/SystemVersion.plist ProductBuildVersion`;
chomp($osBuild);
system("sudo perl -i -pe 's/orignumbnumber/$osBuild/g;' /Library/Extensions/NVDAStartupWeb.kext/Contents/Info.plist")

Well, in theory of course.

 

EDIT: Editted the commands. Above works for me from terminal. Not sure how the webdriver installer would deal with it. Will try it later

Edited by ricoc90

Share this post


Link to post
Share on other sites

^ works for me.

 

1. unpacked the webdriver installer package: 

pkgutil --expand ~/Downloads/WebDriver-378.10.10.10.15.120.pkg temp

2. Editted Distribution:

orig: var supportedOSBuildVer = "17A405";
editted: var supportedOSBuildVer = "17B35a";

3. Editted postinstall script:

#!/usr/bin/perl
#
# postinstall perl script
#
# - set "nvda_drv" NVRAM variable to "1"
#

use strict;

# current build version

my $osBuild = `defaults read /System/Library/CoreServices/SystemVersion.plist ProductBuildVersion`;
chomp($osBuild);

# patch NVDAStartupWeb

system("perl -i -pe 's/17A405/$osBuild/g;' /Library/Extensions/NVDAStartupWeb.kext/Contents/Info.plist");

# select the web driver
my $cmd = "nvram nvda_drv=1";
system("$cmd");

# done

4. repacked the installer again:

pkgutil --flatten temp patched_webdriver.pkg

5. Run the installer succesfully:

 

post-1502423-0-60723600-1508269457_thumb.png

 

 

So, instead of patching the kexts within the Payload, you could instead just use the postinstall script to let the installer patch the kexts once the installation is done.

Edited by ricoc90

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 IPN96
      Ciao tutti mi scuso per il disturbo. il mio laptop con macos sierra sta dando parecchi problemi di performance, io produco musica al pc, il software che uso è logic pro. appena apro il sofwatre la ram si riempie quasi tutta rallentando globalmente il sistema e appena provo ad utilizzare qualsiasi plugin il pc si blocca e poi il sofware va in crash.
      Ho anche notato che ultimamente la ram tende a riempirsi anche durante le operazioni piu semplici come vedere un video su youtube o navigare su internet, sto pensando di retrocedere a windows anche se mi dispice e sarebbe un lavoro assai lungo.
       
      note extra:
      1) Il mio laptop ha il dual boot con windows 10 pro
      2) Il mio pc ha sempre avuto problemi di instabilita con windows 10 pur essenso l'os originalmente installato, mi è stato consigliato di passare a windows vista e aggiornarlo con gli official e unofficlal updates per renderlo agibile con le apps piu moderne anche se non sono convinto
      3) vi lascio tutte le info e le caratteristiche. grazie Isach @gengik84 @MARZILLO @iCanaro
       
      Sistema operativo Mac osx sierra 10.12.6 
      Modello laptop : Asus N551jx-cn043t (2015)
      Il resto è nella screen 

      questo è lo staso della memoria senza nessuna app aperta a parte google

      non so se vanno bene ma ho inserito anche queste screen




    • By tluck
      Lenovo T460 macOS with Clover Guide
      Latest Release on GitHub (April 2019) Updated to Clover r4918 Updated Lilu kexts - ALC, WEG Merged Verleihnix' config.plist - especially to NOT inject GFX Updated BacklightInjector as option to WEG.
        Various Tweaks over Last months The zip file is a complete Clover ESP (/EFI) bundle and kext pack for the Lenovo T460. The current file bundle is tested on Sierra. 
      Note: I never got the GFX fully working on El Capitan. 
      Full Clover file set - config.plist etc. Includes all custom kexts Includes custom DSDT/SSDT scripts and patches Utility scripts The zip bundles are posted to GitHub: https://github.com/tluck/Lenovo-T460-Clover/releases
      Caveat: The T460 systems used here was configured with: i5-6300U, Intel HD Graphics 520, 1920x1080 touch screen. If you have a different system model, then extract the ACPI files and use the included scripts to create a set of files consistent with your system type and BIOS version. See below for details.
      Credits: RehabMan, Shmilee, vusun123, TimeWalker, Mieze from which, much of their work and help is/was was used to get the T460 to this point.
      Devices and aspects working:
      Ethernet -  Intel I219LM is enabled via IntelMausiEthernext.kext WiFi/BT - substitute the Intel WiFi/BT with a compatible Broadcom or Atheros chip Audio - ALC293 codec implemented via AppleALC.kext (old AppleHDA_ALC293 and CodecCommander kexts are not needed) PS2 - ClickPad + TrackPoint + all 3 buttons - using a modified VoodooPS2Controller to support new layouts - and added some custom Fn key maps based on 440/450 dsdt USB - implemented via custom SSDT + USBInjectAll kext. All USB3/USB2 ports are intel-based and work -  3 external USB and internal Camera, BT, etc  Sleep/Wake - the sleepwatcher package and custom sleep/wake scripts are used to help with sleep/wake for BT and PS2 devices. Note: have not tried to implement the SD card reader - no driver found.
      ACPI Files
      New Installation - Steps and Details
      Part 1 - OS Installation
      Part 2- Post OS Installation and Setup
      Notes on Custom Kexts
       
    • By SepehrM
      I'm trying to install High Sierra 10.13.3 on an ASUS N552VW laptop, and I get stuck after this message:
      "could not recover SATA HDD after 5 attempts, terminating" 
      And some other warnings afterwards.
      Specs:
      CPU: Intel Skylake 6700HQ 2.6GHz
      RAM: 16GB DDR4
      2TB HDD + 128GB SSD
      GPU: Intel HD Graphics 530 + Nvidia GTX960m
      I'm installing using a 16GB USB3 flash drive on one of HDD volumes (UEFI Mode)
       
      I uploaded the verbose log and clover config.plist
      config-new.plist

    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
          First... If you need DSDT edits for SkyLake, KabyLake or CoffeeLake... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Post Ioreg, extract with Ioreg Explorer http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222606 -Run it, post files generated in your desktop http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222609  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  CLOVER.zip   --Install Sierra/High Sierra and boot into system!   Post Installation   --Install Clover in HDD/SSD and replace with my folder CLOVER.zip   --Reboot and activate 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/   --DSDT My DSDT with Skylake patches DSDT.MaLd0n GA H110M-S2.zip Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI --FakeSMC https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek --Audio https://github.com/vit9696/AppleALC --USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads --LAN http://www.insanelymac.com/forum/topic/287161-new-driver-for-realtek-rtl8111/   -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 and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
          --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 Folder CLOVER Install.zip   -Install Sierra/High Sierra and boot into system!   -Install Clover and replace with my folder  CLOVER Post Install.zip   -Reboot and activate video!   Bingo!   Now you need a fine tune! I prefer DSDT way, apply all patches in one file, many people prefer many SSDTs or Clover patches!   If you need DSDT edits for Skylake... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Post Ioreg, extract with Ioreg Explorer IORegistryExplorer.app.zip -Run it, post files generate in your desktop RunMe.app.zip   -DSDT bios F21 My DSDT with patches for skylake DSDT.GA Z170M-D3H F21.zip   -Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS -MIKEY -BLC0 -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI






       
      -FakeSMC http://www.hwsensors.com/releases -Audio https://github.com/vit9696/AppleALC -USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads -LAN https://github.com/Mieze/IntelMausiEthernet   Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
×