Jump to content

[AMD] macOS 10.12.x (Sierra) Kernel Testing & Release (for help use the Help Topic)


Mr. Xtreme
 Share

788 posts in this topic

Recommended Posts

thanks but no works for Ryzen :)

 

use clover or chameleon ?

 

jalavoui did not uploaded a kernels for ryzen!!!!! Gils

  • Like 1
Link to comment
Share on other sites

You have to test !!!! spakk, the kernel Bronya for Ryzen works for apu kabini ;)

 

euh? gils ? no, is papiercul ;)

Unfortunately, I have not been able to test the kernels. Thank you for the reference

I will test later

Link to comment
Share on other sites

Yes, all CPU AMD ssse3/sse4.1 .

 

What metaphor, some limb have the impression of repainting the Mona Lisa, while we all need it under the eyes. ;)

Kernel auto 16.5 / boot chameleon / BOOTX64.efi clover, Bronya and nothing more to start. :)

Better, i have not found yet :)

Link to comment
Share on other sites

I've build this kernel for debugging purposes 

 

xnu-3789.51.2 tested on 10.12.5

 

attached the dsym (use if doing remote debug - get the Kernel_Debug_Kit_10.12.4_build_16E195)

 

copy kernel to S/L/K

copy system.kext to S/L/E

 

open terminal and type 

 

kextcache -invalidate /

 

 

clover extra settings:

 

boot: -v slide=0 keepsyms=1 pmuflags=1 debug=0x144 kdp_match_name=en0 kcsuffix=debug

BooterConfig: 0x28

CsrActiveConfig: 0x77

@ll user

I ask for test results, many thanks in advance

Link to comment
Share on other sites

Bronya's kernels work on my FX.

 

Sent from my SM-G950F using Tapatalk

How's the ryzen kernel compare to yours on our FX's? And which ryzen kernel are you using?

 

Sent from my ONEPLUS A3000 using Tapatalk

Link to comment
Share on other sites

How's the ryzen kernel compare to yours on our FX's? And which ryzen kernel are you using?

 

Sent from my ONEPLUS A3000 using Tapatalk

 

They all seemed to work but I tested them on a test partition. One or two which I can't remember had the kextd 60s wait though.

Link to comment
Share on other sites

I've build this kernel for debugging purposes 

 

xnu-3789.51.2 tested on 10.12.5

 

attached the dsym (use if doing remote debug - get the Kernel_Debug_Kit_10.12.4_build_16E195)

 

copy kernel to S/L/K

copy system.kext to S/L/E

 

open terminal and type 

 

kextcache -invalidate /

 

 

clover extra settings:

 

boot: -v slide=0 keepsyms=1 pmuflags=1 debug=0x144 kdp_match_name=en0 kcsuffix=debug

BooterConfig: 0x28

CsrActiveConfig: 0x77

 

Notes

- This kernel is based on Shanee patch and is made tobe used for ppl who can use http://www.insanelymac.com/forum/topic/312254-realtek-ethernet-panic-debug-driver-using-xcode-ui/

- source ref: https://github.com/NextBSD/NextBSD

 

Todo

- kextd random timeouts (got less if moving IOPlatformPluginFamily.kext out of S/L/E)

- ack timeouts in kdp

Boot my FX, but the system is not reactive, boot is very long even on SSD, Preview crashes, startup is unstable

This with Clover, AppleTyMCEDriver.kext pmtelemetry.kext are already disabled

Schermata 2017-06-13 alle 22.38.28.png

  • Like 2
Link to comment
Share on other sites

Here's the System kext. You must repair the permissions after installing this then rebuild the prelinkedkernel or you won't be able to boot. The kext isn't a requirement but it does dismiss the missing symbol errors.

Good for your kernel and System.kext for 10.12.5

Works well, using Clover

:yes:  :yes:

After I try 10.12.6

Schermata 2017-06-18 alle 10.08.40.png

FiX carlo_67.zip

  • Like 8
Link to comment
Share on other sites

Good for your kernel and System.kext for 10.12.5

Works well, using Clover

:yes:  :yes:

After I try 10.12.6

This is working flawless for me! I finally have full sleep and wakeup working with this. Thank you for this! Much appreciated!!

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...

Good for your kernel and System.kext for 10.12.5

Works well, using Clover

:yes:  :yes:

After I try 10.12.6

I've just checked your fixpack on my 10.12.4 amd hackintosh

Kernel - errors with Lilu and blocked NvidiaGraphicsFixup.kext

USB-fix - works better than first from you: now I can see some USB info in my System Profiler (still no info from USB3 working with GenericUSBxHCI.kext)

Link to comment
Share on other sites

I've just checked your fixpack on my 10.12.4 amd hackintosh

Kernel - errors with Lilu and blocked NvidiaGraphicsFixup.kext

USB-fix - works better than first from you: now I can see some USB info in my System Profiler (still no info from USB3 working with GenericUSBxHCI.kext)

 

USB3 does not see them as such but they work, burglary.

It's just an aesthetic fact

  • Like 1
Link to comment
Share on other sites

USB3 does not see them as such but they work, burglary.

It's just an aesthetic fact

Did you investigate methods to use only vanilla usb kexts?

As I understand, on amd mobo we need

1) patch "ports" in AppleUSBHub driver (clover patch is below)

			<dict>
				<key>Comment</key>
				<string>EHCI for Sierra</string>
				<key>Find</key>
				<data>
				cG9ydHM=
				</data>
				<key>Name</key>
				<string>AppleUSBHub</string>
				<key>Replace</key>
				<data>
				AAAAAAA=
				</data>
			</dict>

2) increase port-limit in AppleUSBXHCIPCI

			<dict>
				<key>Comment</key>
				<string>USB 3.0 limit 15 to 24 devices</string>
				<key>Find</key>
				<data>
				//8QSIs=
				</data>
				<key>Name</key>
				<string>AppleUSBXHCIPCI</string>
				<key>Replace</key>
				<data>
				//8bSIs=
				</data>
			</dict>

3) create Legacy_USB3.kext with our ports and used mac-model (I've made it for my hackbook)

4) create SSDT, that contains information about rhub and ports for our USB3 controller (because we have no such info in DSDT)

5) add clover patch, that removed CheckSleepCapability from vanilla IOUSBFamily.kext (I'm not sure about it)

Link to comment
Share on other sites

USB3 does not see them as such but they work, burglary.

It's just an aesthetic fact

Additional report to your fix.

Something strange with GenericUSBxHCI.kext v1.2.11 - usb hdd connected to main ports works, but usb card-reader connected to front additional port - doesn't work, so I replaced it with 1.2.8d9 from old fix

Link to comment
Share on other sites

I've build this kernel for debugging purposes 

 

xnu-3789.51.2 tested on 10.12.5

 

attached the dsym (use if doing remote debug - get the Kernel_Debug_Kit_10.12.4_build_16E195)

 

copy kernel to S/L/K

copy system.kext to S/L/E

 

open terminal and type 

 

kextcache -invalidate /

 

 

clover extra settings:

 

boot: -v slide=0 keepsyms=1 pmuflags=1 debug=0x144 kdp_match_name=en0 kcsuffix=debug

BooterConfig: 0x28

CsrActiveConfig: 0x77

 

Notes

- This kernel is based on Shanee patch and is made for ppl who can use http://www.insanelymac.com/forum/topic/312254-realtek-ethernet-panic-debug-driver-using-xcode-ui/

- source ref: https://github.com/NextBSD/NextBSD

 

Todo

- ack timeouts in kdp

 

 

Fixed - v2

- kextd random timeouts

It works on an Intel E5300 CPU without SSE4.1 set?

Thanks

Link to comment
Share on other sites

Unfortunately, any attempt to emulate sse4.1 is failed  :(

  • Like 1
Link to comment
Share on other sites

I've build this kernel for debugging purposes 

 

xnu-3789.51.2 tested on 10.12.5

 

attached the dsym (use if doing remote debug - get the Kernel_Debug_Kit_10.12.4_build_16E195)

 

copy kernel to S/L/K

copy system.kext to S/L/E

 

open terminal and type 

 

kextcache -invalidate /

 

 

clover extra settings:

 

boot: -v slide=0 keepsyms=1 pmuflags=1 debug=0x144 kdp_match_name=en0 kcsuffix=debug

BooterConfig: 0x28

CsrActiveConfig: 0x77

 

Notes

- This kernel is based on Shanee patch and is made for ppl who can use http://www.insanelymac.com/forum/topic/312254-realtek-ethernet-panic-debug-driver-using-xcode-ui/

- source ref: https://github.com/NextBSD/NextBSD

 

Todo

- ack timeouts in kdp

 

 

Fixed - v2

- kextd random timeouts

I've tested this kernel on 10.12.4 and Shaneee System.kext for some days.

1. Kernel conflicts with Lilu.kext (no panic, but too much error messages about Lilu can't work) and so NvidiaGraphicsFixup.kext (Lilu plugin) doesn't work. This can be fixed by patching AppleGraphicsControl.kext/Contents/Plugins/AppleGraphicsDevicePolicy.kext/Info.plist (replace config1 for MacPro6,1 board-id to none) and removing Lilu.kext and plugin kexts for Lilu.

2. Kernel causes crashes in Adobe programms (Photoshop CC 2014, Illustrator CC 2014)

result is the same for Enoch and Clover bootloaders.

Can you test how your kernel works with Lilu.kext?

Link to comment
Share on other sites

Link to comment
Share on other sites

Good for your kernel and System.kext for 10.12.5

Works well, using Clover

:yes:  :yes:

After I try 10.12.6

 

 

Hello carlo,

when I invalidate kextcache I have:

sh-3.2# kextcache -invalidate /
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooTSCSyncAMD.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Unsupported.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Private.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Mach.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext MACFramework.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Libkern.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IOSystemManagement.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IONVRAMFamily.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IOKit.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BSDKernel.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePlatformFamily.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleNMI.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext System.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8111.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext NullCPUPowerManagement.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext GenericUSBXHCI.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
DummyUSBXHCIPCI.kext - no compatible dependency found for com.apple.iokit.IOUSBHostFamily.
DummyUSBXHCIPCI.kext - no compatible dependency found for com.apple.driver.usb.AppleUSBXHCI.
DummyUSBXHCIPCI.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext DummyUSBXHCIPCI.kext
DummyUSBEHCIPCI.kext - no compatible dependency found for com.apple.driver.usb.AppleUSBEHCI.
DummyUSBEHCIPCI.kext - no compatible dependency found for com.apple.iokit.IOUSBHostFamily.
DummyUSBEHCIPCI.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext DummyUSBEHCIPCI.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kext file:///System/Library/Extensions/AppleHDADisabler.kext/ is in hash exception list, allowing to load
AppleDataSetManagement.kext - dependency for com.apple.iokit.IOAHCIBlockStorage lacks valid OSBundleCompatibleVersion.
AppleDataSetManagement.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AHCIPortInjector.kext
DummyUSBXHCIPCI.kext - no compatible dependency found for com.apple.iokit.IOUSBHostFamily.
DummyUSBXHCIPCI.kext - no compatible dependency found for com.apple.driver.usb.AppleUSBXHCI.
DummyUSBEHCIPCI.kext - no compatible dependency found for com.apple.driver.usb.AppleUSBEHCI.
DummyUSBEHCIPCI.kext - no compatible dependency found for com.apple.iokit.IOUSBHostFamily.
AppleDataSetManagement.kext - dependency for com.apple.iokit.IOAHCIBlockStorage lacks valid OSBundleCompatibleVersion.
DummyUSBXHCIPCI.kext - no compatible dependency found for com.apple.iokit.IOUSBHostFamily.
DummyUSBXHCIPCI.kext - no compatible dependency found for com.apple.driver.usb.AppleUSBXHCI.
Prelink failed for com.apple.driver.usb.AppleUSBXHCIPCI; omitting from prelinked kernel.
DummyUSBEHCIPCI.kext - no compatible dependency found for com.apple.driver.usb.AppleUSBEHCI.
DummyUSBEHCIPCI.kext - no compatible dependency found for com.apple.iokit.IOUSBHostFamily.
Prelink failed for com.apple.driver.usb.AppleUSBEHCIPCI; omitting from prelinked kernel.
KernelCache ID: 0609752969B6BCE3ADBAEB115D863976

My USB3 doesn't work.

 

Can you help me?

Link to comment
Share on other sites

@ LordSith82 

try with the standard method. bring the folder S/L/E in the original state and add there only the USB Dummies Kext divers then generate the prelinked kernel and reports whether it works or not.

Link to comment
Share on other sites

 

@ LordSith82 
try with the standard method. bring the folder S/L/E in the original state and add there only the USB Dummies Kext divers then generate the prelinked kernel and reports whether it works or not.

 

 

 

Ops... :) I don't have original kext...

Can you give me it?

 

Thank you.

Link to comment
Share on other sites

 Share

×
×
  • Create New...