I ended up rebuilding the machine and spent all day figuring out a problem when I was trying to dual boot with Windows 10 (lesson learned is to disconnect my second SATA drive). I used this guide ->
https://www.tonymacx86.com/threads/guide-multibooting-uefi.197352/ (all works well except that I need to leave the USB stick in the Hackintosh to boot which is another story).
Net result is that I still have no sound. There are no devices showing when I list the System Report.
I initially tried Multibeat 9.0.1 to install the RealTek ALC887 driver (which is what ASUS list for the Z170-P motherboard). No errors on install but no change on reboot.
I then tried the audio_ALCInjection method. Again, no change ->
https://www.tonymacx86.com/threads/audio-realtek-alc-applehda-guide.143757/#post886744
I mounted EFI and executed the command (double click on the desktop). The output was.....
File: audio_codecdetect.command_v2.0
No audio codec detected
Verify BIOS, hardware, etc.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
I'm looking at trying the other options (again) after my rebuild.
I'm not an expert so all help welcome.
edit....
Also tried the
audio_pikeralphaALC-120.command.zip option and get this....
Agreement
The audio_cloverALC script is for personal use only. Do not distribute
the patch, any or all of the files or the resulting patched AppleHDA.kext
for any reason without permission. The audio_cloverALC script is
provided as is and without any kind of warranty.
File: audio_pikeralphaALC-120.command_v1.0d
Release Mode
Password:
EFI partition is mounted
System Integrity Protection status: enabled (Custom Configuration).
Configuration:
Apple Internal: disabled
Kext Signing: disabled
Filesystem Protections: disabled
Debugging Restrictions: enabled
DTrace Restrictions: enabled
NVRAM Protections: enabled
BaseSystem Verification: enabled
This is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.
OK to patch
Error: no IOReg/HDEF; BIOS/audio/disabled or ACPI problem
No system files were changed
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]