Coder Social home page Coder Social logo

thunderbolt3unblocker's Introduction

Build Status

โš ๏ธ Thunderbolt 3 Unblocker does not yet work on Apple Silicon.

Thunderbolt 3 Unblocker

This project provides a kernel extension that unblocks unsupported Thunderbolt 3 peripherals (such as the Razer Core) on macOS.

This accomplishes the same goal as KhaosT's TB3 Enabler, which works by patching IOThunderboltFamily on disk. This kernel extension performs the patch in memory and on-the-fly.

Note there is likely a reason why IOThunderboltFamily considers a peripheral unsupported in the first place. Use at your own peril.

This kernel extension has been tested against macOS Monterey 12 and as far back as macOS Sierra 10.12.6. Please check for open issues before using on other versions, and review the troubleshooting guide.

Installation

Please head over to the Releases page for binaries and installation instructions.

Building

To prepare your development environment, please run

git submodule update --init --recursive
brew install cmake

Build the project with Xcode. Make sure to change code signing settings as appropriate.

Load the kernel extension with:

sudo chown -R root:wheel Thunderbolt3Unblocker.kext
sudo kextload Thunderbolt3Unblocker.kext

If loading the kext fails: Reboot into Recovery Mode and disable kext security restrictions using csrutil enable --without kext.

If you are developing the kext, you should know that the NVRAM variable t3u-incompatible is written whenever there is a panic while loading the kext. The presence of this variable prevents the kext from loading again on the same system version. You may want to disable the code that does this (in Thunderbolt3Unblocker.c), or delete it with nvram -d t3u-incompatible.

xnu_override

This project also implements a simple, reusable in-memory kernel patching library. The author has released it under a permissive license in the hopes that it will be useful.

thunderbolt3unblocker's People

Contributors

rgov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

thunderbolt3unblocker's Issues

It doesn't seem to work for me

Hi!

I followed all the instructions and my Dell dock still doesn't work.

Here is the output of sudo kextcache -i /:

Kext with invalid signatured (-67050) allowed: <OSKext 0x7f99a1100dd0 [0x7fff9f74aaf0]> { URL = "Thunderbolt3Unblocker.kext/ -- file:///Library/Extensions/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }
Kext with invalid signatured (-67054) allowed: <OSKext 0x7f999fdeebe0 [0x7fff9f74aaf0]> { URL = "IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/", ID = "com.apple.iokit.IOThunderboltFamily" }
KernelCache ID: D936DC435A47451E1AFD2B550AFC04E5
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd171722950 [0x7fff9f74aaf0]> { URL = "SteamInputX.kext/ -- file:///System/Library/Extensions/", ID = "com.valvesoftware.SteamInput" }
Kext with invalid signatured (-67054) allowed: <OSKext 0x7fd1717b5f60 [0x7fff9f74aaf0]> { URL = "IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/", ID = "com.apple.iokit.IOThunderboltFamily" }
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fd1736da640 [0x7fff9f74aaf0]> { URL = "Thunderbolt3Unblocker.kext/ -- file:///Library/Extensions/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }

I have installed this https://github.com/KhaosT/tb3-enabler before and it worked without any problems but it doesn't seem to be working for OSX 10.13.4 so I tried this one but it doesn't work either.

Can anyone help me?

Thanks!

Mouse become laggy every 5 seconds

I'm using a HP TB3 Dock, and I installed the amazing TB3Unblocker. But it seems that the mouse (the Trackpad, too) laggy for about 500ms every around 5 seconds. I don't know if this is a problem of the TB3Unblocker itself, but the system become fine after I uninstalled, of course, the dock become "unsupported" again.

reboot MacBook and TB3 dock not support until re-plugin cable

my environment:
MacBook Pro 15, 2018
macOS Mojave 10.14.1 (18B75)
dock: "HP Elite Zbook Thunderbolt 3 Dock"

it works well after your solution, thanks! only 1 issue, it will not work when restart MacBook, until I unplug and plug the thunderbolt3 cable again.
Is it a known issue? how to fix it ? thanks.

Wrong file permissions on kernel extension

Hi Ryan,

before mojave,my HP elite dock thunderbolt 3 90 wats was working fine, since mojave, nothing work anymore, i try you last 28 september release and i got :
MBP15-de-romain-1650:~ rpetitjean$ chmod -R /Library/Extensions/Thunderbolt3Unblocker.kext
usage: chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a [i][# [ n]]] mode|entry file ...
chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -N | -i | -I] file ...
MBP15-de-romain-1650:~ rpetitjean$ sudo chmod -R 755 /Library/Extensions
Password:
MBP15-de-romain-1650:~ rpetitjean$ sudo sh -c 'chown -R root:wheel /Library/Extensions/Thunderbolt3Unblocker.kext && \

kextcache -i / &&
nvram -d t3u-incompatible &&
kextload -b es.govost.ryan.Thunderbolt3Unblocker'
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fb441a43930 [0x7fffa2c7f8f0]> { URL = "Thunderbolt3Unblocker.kext/ -- file:///Library/Extensions/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7fb43eddbc60 [0x7fffa2c7f8f0]> { URL = "IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/", ID = "com.apple.iokit.IOThunderboltFamily" }
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
Thunderbolt3Unblocker.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
Thunderbolt3Unblocker.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
AppleThunderboltDPInAdapter.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
AppleThunderboltDPAdapterFamily.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
AppleThunderboltDPInAdapter.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
AppleThunderboltDPAdapterFamily.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
AppleThunderboltDPAdapterFamily.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
AppleThunderboltDPOutAdapter.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
AppleThunderboltDPAdapterFamily.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
AppleThunderboltDPOutAdapter.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
AppleThunderboltIP.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
AppleThunderboltIP.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
AppleThunderboltEDMSink.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
AppleThunderboltDPOutAdapter.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
AppleThunderboltDPAdapterFamily.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
AppleThunderboltEDMSink.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
AppleThunderboltPCIUpAdapter.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
AppleThunderboltPCIDownAdapter.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
AppleThunderboltPCIUpAdapter.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
AppleThunderboltPCIDownAdapter.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
AppleThunderboltPCIDownAdapter.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
IOThunderboltFamily.kext does not authenticate; omitting.
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
AppleThunderboltUTDM.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
AppleThunderboltUTDM.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
AppleHPM.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
AppleHPM.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
Rejecting invalid/inauthentic kext for bundle id com.apple.iokit.IOThunderboltFamily at location IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/.
AppleThunderboltNHI.kext - no compatible dependency found for com.apple.iokit.IOThunderboltFamily.
AppleThunderboltNHI.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
KernelCache ID: 3B0A15CC0D2B0AB7A39B8B9BAEB5C6B1
Kext rejected due to improper filesystem permissions: <OSKext 0x7ff81ea423f0 [0x7fffa2c7f8f0]> { URL = "IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/", ID = "com.apple.iokit.IOThunderboltFamily" }
Kext with invalid signatured (-67050) allowed: <OSKext 0x7ff821212cd0 [0x7fffa2c7f8f0]> { URL = "Thunderbolt3Unblocker.kext/ -- file:///Library/Extensions/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }
es.govost.ryan.Thunderbolt3Unblocker failed to load - (libkern/kext) dependency load failed; check the system/kernel logs for errors or try kextutil(8).

can you please help me ? what else is possible ?

have a lovely day

gsidrv.kext does not appear in strict exception list for architecture: x86_64

I'm on 10.12.6 (16G1510) and got below error when I try to run commend after copying the file to designated location.

$ sudo sh -c 'chown -R root:wheel /Library/Extensions/Thunderbolt3Unblocker.kext && \

kextcache -i / &&
kextload -b es.govost.ryan.Thunderbolt3Unblocker'
Password:
gsidrv.kext does not appear in strict exception list for architecture: x86_64
kext-dev-mode allowing invalid signature -67049 0xFFFFFFFFFFFEFA17 for kext gsidrv.kext
gsidrv.kext does not appear in strict exception list for architecture: x86_64
KernelCache ID: 30CC90E62C716004FDC631BA7CEA4218
disk0s3 didn't unmount, leaving mounted

Can you help me to fix this?

v0.0.4 does not work with 2018 15" MBP

Hey.
I saw that you released a new version that should support Mojave, which I immediately tried.
Unfortunately it crashes on startup with the following error:

/ locked; waiting for lock. Lock acquired; proceeding. Kext with invalid signatured (-67054) allowed: <OSKext 0x7fd494fb83e0 [0x7fff90b048e0]> { URL = "IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/", ID = "com.apple.iokit.IOThunderboltFamily" } KernelCache ID: 31F5F4688211E28855B99E7DA6867700 Kext with invalid signatured (-67054) allowed: <OSKext 0x7fa947badf90 [0x7fff90b048e0]> { URL = "IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/", ID = "com.apple.iokit.IOThunderboltFamily" } Kext with invalid signatured (-67050) allowed: <OSKext 0x7fa9478b13c0 [0x7fff90b048e0]> { URL = "Thunderbolt3Unblocker.kext/ -- file:///Library/Extensions/", ID = "es.govost.ryan.Thunderbolt3Unblocker" } es.govost.ryan.Thunderbolt3Unblocker failed to load - (libkern/kext) kext (kmod) start/stop routine failed; check the system/kernel logs for errors or try kextutil(8).

Then I checked logs and got:

2018-09-28 08:32:04.564605+0200 localhost kernel[0]: Kext es.govost.ryan.Thunderbolt3Unblocker start failed (result 0x5). 2018-09-28 08:32:04.564607+0200 localhost kernel[0]: Kext es.govost.ryan.Thunderbolt3Unblocker failed to load (0xdc008017). 2018-09-28 08:32:04.564610+0200 localhost kernel[0]: Failed to load kext es.govost.ryan.Thunderbolt3Unblocker (error 0xdc008017).

Some problems

DisplayPort is not work๏ผIs there any way to do it

universal audio Apollo 8chan

t3u-diagnose.txt

Hi There,
I am trying to use this kext to enable thunderbolt on my Mac Pro 5. 1 to use with a Universal Audio Apollo device, any ideas why we might be having trouble.

Any help greatly appreciated,

All the best,

Adam

enable SIP after running the script

After I ran the script listed in the repo, I restart to recovery OS to enable SIP again. Unfortunately, when I go back to macOS again, I can't load the Unblocker kext again. So does the kext need SIP disabled all the time when I want to use the unsupported Thunderbolt 3 peripherals?
My OS is macOS Catalina 10.15.1 and the script below is copied from the release page.
https://github.com/rgov/Thunderbolt3Unblocker/releases

sudo sh -c 'chown -R root:wheel /Library/Extensions/Thunderbolt3Unblocker.kext &&
chmod -R g-w,o-w /Library/Extensions/Thunderbolt3Unblocker.kext &&
kextcache -i / &&
nvram -d t3u-incompatible &&
kextload -b es.govost.ryan.Thunderbolt3Unblocker'

Restarted since the installation of Thunderbolt3Unblocker

xnu_override: Disable interrupts when patching

There is a chance that an interrupt will happen after we've modified control registers and before we reset them. We should disable interrupts during the small window in which patches are being applied.

macOS Catalina

There has been one unconfirmed report that Thunderbolt 3 Unblocker does not install on macOS 10.15 "Catalina."

If you are having difficulty installing and using Thunderbolt 3 Unblocker on Catalina, please follow the troubleshooting guide and report here whether you are able to get it to work or not.

Update: Users have reported success using Thunderbolt 3 Unblocker on macOS 10.15 beta 8.

Does not survive a reboot

Applied file and commands, unplugged and plugged Akitio Thunder3 Quad enclosure, worked great. Rebooted, back to square one. Applied commands, unplugged and plugged, worked great.

Is this expected behavior?

Dell TB16 dock features do not work on MacBook Pro 13" 2018 (July release) + High Sierra 10.13.6

Hi,

Trying to get a one-dock-to-rule-them-all solution for my Dell laptop and new MacBook Pro. Followed your installation instructions but I'm getting the following output, and no device is recognized in the system information

Kext with invalid signatured (-67050) allowed: <OSKext 0x7fec5b88dec0 [0x7fff8ec98af0]> { URL = "Thunderbolt3Unblocker.kext/ -- file:///Library/Extensions/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }
KernelCache ID: F9BC99216674C6596DDC59DC7943CB58
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fd9a71768a0 [0x7fff8ec98af0]> { URL = "Thunderbolt3Unblocker.kext/ -- file:///Library/Extensions/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }

I ran crutils enable --without kext. When I do crutils disable, the dock is recognized but still no video output.

Let me know if I can generate more data to chase this issue

Best,
Cetin

Not working on 10.14.4

The tool was working fine on 10.14.1. But after I updating the system to 10.14.4, it doesn't work anymore. I tried following the steps in the release page to re-install it, but I only got the following output from terminal.

Kext with invalid signatured (-67050) allowed: <OSKext 0x7f9959c486d0 [0x7fff8b9378f0]> { URL = "Thunderbolt3Unblocker.kext/ -- file:///Library/Extensions/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }
KernelCache ID: 7D820A201B3C834B631D8129C7640488
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fdc3ee87fd0 [0x7fff8b9378f0]> { URL = "Thunderbolt3Unblocker.kext/ -- file:///Library/Extensions/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }

The Thunderbolt device still cannot be recognized. Can I get any help from here?

10.13.5 does not appear to work

Tried to use with 10.13.5 which was released recently and it does not appear to work on it. Might need an update for compatibility.

Kernel extension fails to load, missing vm_protect and get_task_map

With macOS 10.13.4 and latest commits on this project I get:

	<key>OSBundleLibraries</key>
	<dict>
		<key>com.apple.iokit.IOThunderboltFamily</key>
		<string>6.7.8</string>
		<key>com.apple.kpi.libkern</key>
		<string>17.5</string>
		<key>com.apple.kpi.mach</key>
		<string>17.5</string>
	</dict>
For x86_64:
    2 symbols not found in any library kext:
	_get_task_map
	_vm_protect

Automatically protect an incompatible system

When the kernel extension loads, it performs a self-test to make sure that it can patch, execute, and unpatch a target function before it attempts to modify IOThunderboltFamily. However, if this self-test fails, it still panics the system. This causes problems when you upgrade from a working system to an incompatible one (#23).

What it could do use some kind of persistent storage to record the system version before we start patching, and clear it when patching succeeds. If we see this record on the next boot, we know that we panicked, and can skip patching.

I attempted to implement this using NVRAM for the persistent storage, but it turns out that this is not so straightforward. We need to block loading until IODTNVRAM is available; here's a thread on the topic but it's not clear what I need to change.

macOS 10.14.6 supplemental update not supported

mac mini 2018 and razer core
macOS 10.14.6 after updated supplemental patch

Thunderbolt Bus 0:

Vendor Name: Apple Inc.
Device Name: Mac mini
UID: 0x0001CB1EA8621800
Route String: 0
Firmware Version: 41.2
Domain UUID: DEB7C10B-0791-B351-AA47-5BF76A352F56
Port:
Status: No device connected
Link Status: 0x7
Speed: Up to 40 Gb/s x1
Current Link Width: 0x1
Receptacle: 2
Link Controller Firmware Version: 1.23.0
Port:
Status: Device connected
Link Status: 0x2
Speed: Up to 20 Gb/s x1
Current Link Width: 0x1
Receptacle: 1
Link Controller Firmware Version: 1.23.0

Core - Unsupported:

Vendor Name: Razer
Device Name: Core - Unsupported
Vendor ID: 0x127
Device ID: 0x215
Device Revision: 0x1
UID: 0x80864F42B4801010
Route String: 3
Firmware Version: 16.16

Xcode build Failed

1518107515337

1518107566165

brew install libudis86 Already installed

I'm a java developer and I'm not familiar with Xcode. Please point.

๐Ÿ—’ A note on the Dell TB16

Many people file bugs here about their Dell TB16 dock.

The USB, Thunderbolt 3, and audio out ports should regain functionality after installing Thunderbolt 3 Unblocker.

However, video output does not work. Unfortunately, this is out of scope for this project.

Thunderbolt 3 Unblocker allows the Thunderbolt 3 driver to recognize the TB16, but other drivers in the system are responsible for activating the downstream peripherals, including the display. For whatever reason, an update to macOS High Sierra broke support for the displays attached to the TB16.

Update

You could try performing a firmware upgrade on the TB16, which has been reported to restore video (HDMI output). However, the firmware upgrade must be performed from Windows. It is unlikely that this will work from WINE or a virtual machine.

10.4.4 faild to load shows "authentication failure (file ownership/permissions)"

Hi Ryan , when I try to use your kext to unlock thunderbolt3 for HP Zbook TB3 Dock
I found some problem make it failed to load (had already disable SIP)
the wrong code seems the file permission is wrong and couldn't change by su

โžœ ~ sudo sh -c 'chown -R root:wheel /Library/Extensions/Thunderbolt3Unblocker.kext &&
quote> kextcache -i / &&
quote> nvram -d t3u-incompatible &&
quote> kextload -b es.govost.ryan.Thunderbolt3Unblocker'
KernelCache ID: 7B9F5DE8145A59078C9F0578C406200A
Kext rejected due to improper filesystem permissions: <OSKext 0x7ff5744c56c0 [0x7fff859b48f0]> { URL = "Thunderbolt3Unblocker.kext/ -- file:///System/Library/Extensions/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7ff571f6a500 [0x7fff859b48f0]> { URL = "Thunderbolt3Unblocker.kext/ -- file:///Library/Extensions/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }
es.govost.ryan.Thunderbolt3Unblocker failed to load - (libkern/kext) authentication failure (file ownership/permissions); check the system/kernel logs for errors or try kextutil(8).

and the sudo kextutil shows

โžœ ~ sudo kextutil /Library/Extensions/Thunderbolt3Unblocker.kext
Kext rejected due to improper filesystem permissions: <OSKext 0x7fbd5250cbe0 [0x7fff859b48f0]> { URL = "file:///Library/Extensions/Thunderbolt3Unblocker.kext/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }
Code Signing Failure: code signature is invalid
Authentication Failures:
File owner/permissions are incorrect (must be root:wheel, nonwritable by group/other):
/Library/Extensions/Thunderbolt3Unblocker.kext
Contents
_CodeSignature
CodeResources
MacOS
Thunderbolt3Unblocker
Resources
LICENSE.md
Info.plist
Diagnostics for /Library/Extensions/Thunderbolt3Unblocker.kext:
Authentication Failures:
File owner/permissions are incorrect (must be root:wheel, nonwritable by group/other):
/Library/Extensions/Thunderbolt3Unblocker.kext
Contents
_CodeSignature
CodeResources
MacOS
Thunderbolt3Unblocker
Resources
LICENSE.md
Info.plist

<

Thank you so much

DELL TB16 is not detected. Two monitors work as mirrored.

I've tried to upgrade TB16 from dell Latitude 7300 with thunderbolt but got an error "reading asmedia usb 3.0 host controller firmware failed".
After that I've upgraded it from Ubuntu using FWUPD to firmware version 3.12.002.
Now I got two monitors worked as mirrors and plus my laptop monitor on MacOS Mojave 10.14.6 . But on Ubuntu or Windows they extend my desktop correctly and I got three separated monitors.


Unlocker is loaded
image
But there are no devices connected.
image

I attached t3u-diagnose.txt

t3u-diagnose.txt

Latest version doesn't work for keyboard and display

I uninstalled the kext before updating to Mojave. After the update, I downloaded the new version and installed it. The device is recognized and appears as active in the system report, my mouse and iPhone work over USB, but my keyboard and display port display don't.

Device: Dell TB16 thunderbolt dock.
Computer: Macbook pro 15 inch with touch bar 2016

Not enabling device

I have a Dell TB16 dock that was previously working using the TB3-Enabler patch, I updated to 10.13.4 this morning and was unable to get it to work using that patch so I tried this one, I have the kext loaded but the dock still isn't working for me. What is a good first troubleshooting step?

Doesn't seem to work on 10.14.3

I follow the installation on https://github.com/rgov/Thunderbolt3Unblocker/releases but it still does not work and still says unsupported

this is the output i got in terminal:
Kext with invalid signatured (-67050) allowed: <OSKext 0x7f951deab330 [0x7fff9e3c08f0]> { URL = "Thunderbolt3Unblocker.kext/ -- file:///Library/Extensions/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }
Kext with invalid signatured (-67061) allowed: <OSKext 0x7f951dc8c000 [0x7fff9e3c08f0]> { URL = "IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/", ID = "com.apple.iokit.IOThunderboltFamily" }
KernelCache ID: E480BB2BF157BB8488A21C548F324FFB
Kext with invalid signatured (-67061) allowed: <OSKext 0x7f8d76520940 [0x7fff9e3c08f0]> { URL = "IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/", ID = "com.apple.iokit.IOThunderboltFamily" }
Kext with invalid signatured (-67050) allowed: <OSKext 0x7f8d780edec0 [0x7fff9e3c08f0]> { URL = "Thunderbolt3Unblocker.kext/ -- file:///Library/Extensions/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }

Kext fails to load, missing _memcpy_chk in kernel

Thank you for the project.
I have some difficulties in building the project,

i have done (csrutil enable --without kext.), and when i run the project, fail comes up.
screen shot 2018-04-05 at 7 44 57 pm

and try to put this in, but i dunno am i doing wrong,
git submodule update --init --recursive
brew install cmake

screen shot 2018-04-05 at 7 52 35 pm

i am very new to xcode and programming, so if i haven't done sth very minor, please tell me step by step, thank you very much.

Can Support Mojave 10.4.5?

Today Apple Release the Mojave 10.4.5
Had anyone tries to update 10.4.5 and the Thunderbolt3Unblocker still working?

Doesn't work for 10.14.4

Output:
Kext with invalid signatured (-67050) allowed: <OSKext 0x7ff215a51b50 [0x7fff9151a8f0]> { URL = "Thunderbolt3Unblocker.kext/ -- file:///Library/Extensions/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }
Kext with invalid signatured (-67054) allowed: <OSKext 0x7ff210e7c240 [0x7fff9151a8f0]> { URL = "IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/", ID = "com.apple.iokit.IOThunderboltFamily" }
KernelCache ID: 4E6CD4DB56CC597DE5057798BCC87832
Kext with invalid signatured (-67054) allowed: <OSKext 0x7fbd1c1beee0 [0x7fff9151a8f0]> { URL = "IOThunderboltFamily.kext/ -- file:///System/Library/Extensions/", ID = "com.apple.iokit.IOThunderboltFamily" }
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fbd1d8e93c0 [0x7fff9151a8f0]> { URL = "Thunderbolt3Unblocker.kext/ -- file:///Library/Extensions/", ID = "es.govost.ryan.Thunderbolt3Unblocker" }

From system report:

Vendor Name: Dell
Device Name: Dell Thunderbolt Cable
Vendor ID: 0xD4
Device ID: 0xB051
Device Revision: 0x1
UID: 0x8086A32094118610
Route String: 1
Firmware Version: 15.15

No throughput for ethernet or usb

Problem osx Sierra 10.13.5

on osx sierra 10.13.5 does not work the script, always returns the error:
unknown file, won't backup (md5=...........)

Not loading on macOS 10.13.5

Not loaded.
t3u-incompatible 17.6.0
System Integrity Protection status: disabled.
Software:

System Software Overview:

  System Version: macOS 10.13.5 (17F77)
  Kernel Version: Darwin 17.6.0
  Boot Volume: Macintosh HD
  Boot Mode: Normal
  Computer Name: God็š„MacBook Pro
  User Name: God (god)
  Secure Virtual Memory: Enabled
  System Integrity Protection: Disabled
  Time since boot: 15 minutes

Hardware:

Hardware Overview:

  Model Name: MacBook Pro
  Model Identifier: MacBookPro14,3
  Processor Name: Intel Core i7
  Processor Speed: 2.8 GHz
  Number of Processors: 1
  Total Number of Cores: 4
  L2 Cache (per Core): 256 KB
  L3 Cache: 6 MB
  Memory: 16 GB
  Boot ROM Version: MBP143.0175.B00
  SMC Version (system): 2.45f0
  Serial Number (system): C02VH0QYHTDG
  Hardware UUID: CE3BD703-13DB-5D1D-8413-B9E7A0FF2B5A

Thunderbolt:

Thunderbolt Bus 1:

  Vendor Name: Apple Inc.
  Device Name: MacBook Pro
  UID: 0x0001A0DC3C124701
  Route String: 0
  Firmware Version: 33.1
  Domain UUID: 3440CB97-0C49-F651-9406-FEF1C3F18EBB
  Port:
      Status: No device connected
      Link Status: 0x101
      Speed: Up to 40 Gb/s x1
      Current Link Width: 0x1
      Receptacle: 4
      Link Controller Firmware Version: 0.35.0
  Port:
      Status: No device connected
      Link Status: 0x101
      Speed: Up to 40 Gb/s x1
      Current Link Width: 0x1
      Receptacle: 3
      Link Controller Firmware Version: 0.35.0

Thunderbolt Bus 0:

  Vendor Name: Apple Inc.
  Device Name: MacBook Pro
  UID: 0x0001A0DC3C124700
  Route String: 0
  Firmware Version: 33.1
  Domain UUID: 685364AE-D0A4-2752-AC7F-1B11107808FA
  Port:
      Status: No device connected
      Link Status: 0x7
      Speed: Up to 40 Gb/s x1
      Current Link Width: 0x1
      Receptacle: 2
      Link Controller Firmware Version: 0.35.0
  Port:
      Status: Device connected
      Link Status: 0x2
      Speed: Up to 20 Gb/s x1
      Current Link Width: 0x1
      Receptacle: 1
      Link Controller Firmware Version: 0.35.0

    HP Thunderbolt 3 Dock - Unsupported:

      Vendor Name: HP Inc.
      Device Name: HP Thunderbolt 3 Dock - Unsupported
      Vendor ID: 0xF0
      Device ID: 0x8190
      Device Revision: 0x1
      UID: 0x00F04F4185121200
      Route String: 3
      Firmware Version: 16.1

UserClients() - 0

  • IOAudioEngine[]::startAudioEngine(state = 0)
  • IOAudioDevice[]::protectedCompletePowerStateChange() - current = 2 - pending = 2
  • IOAudioDevice[]::protectedCompletePowerStateChange() - current = 2 - pending = 2 returns 0x0
  • IOAudioDevice[]::protectedCompletePowerStateChange() - current = 2 - pending = 2
  • IOAudioDevice[]::protectedCompletePowerStateChange() - current = 2 - pending = 2 returns 0x0
  • IOAudioDevice[]::audioEngineStarting() - numRunningAudioEngines = 0
  • IOAudioDevice[]::audioEngineStarting() - numRunningAudioEngines = 1
    +- IOAudioEngine[]::resetStatusBuffer()
    +-IOAudioEngine[]::setState(0x1. oldState=0)
  • IOAudioEngine[]::getTimerInterval()
  • IOAudioEngine[]::startAudioEngine() returns 0x0
  • IOAudioEngine[]::incrementActiveUserClients() - 1 returns 0
  • IOAudioEngine[]::startClient() returns 0x0
    engine started
    bufferSet
    output clientBuffer
  • IOAudioStream[]::addClient()
  • IOAudioStream[]::addClient() returns 0x0
  • IOAudioEngineUserClient[]::startClient() - 1 returns 0x0
  • IOAudioEngineUserClient::externalMethod returns 0x0
  • IOAudioEngineUserClient::externalMethod, selector=0x4, arg0 0x0, arg1 0x0, arg2 0x0 arg3 0x0
    scalarInputCount=0x0 structureInputSize 0x0, scalarOutputCount 0x0, structureOutputSize 0x0
  • IOAudioStream[]::removeClient()
    +-IOAudioStream[]::safeLogError kErrorLogDumpCounters mStreamErrorCountsUpdated=0
  • IOAudioStream[]::removeClient()
    +- IOAudioEngine[]::decrementActiveUserClients() - 0 returns 0x0
    +- IOAudioEngine[]::stopClient() returns 0x0
    +- IOAudioEngineUserClient[]::setOnline(0)
  • IOAudioEngineUserClient::externalMethod returns 0x0
  • IOAudioEngineUserClient::externalMethod, selector=0x1, arg0 0x10C25E000, arg1 0x124, arg2 0x0 arg3 0x0
    scalarInputCount=0x2 structureInputSize 0x0, scalarOutputCount 0x0, structureOutputSize 0x0
  • IOAudioEngineUserClient[]::unregisterClientBuffer64(0x, 0x124)
    searching for sourceBuffer 0x10c25e000
    +- IOAudioEngineUserClient[]::removeBufferSet()
  • IOAudioStream[]::removeClient()
    +-IOAudioStream[]::safeLogError kErrorLogDumpCounters mStreamErrorCountsUpdated=0
  • IOAudioStream[]::removeClient()
  • IOAudioEngineUserClient::unregisterClientBuffer64 no sourcebuffer returns 0x0
  • IOAudioEngineUserClient::externalMethod returns 0x0
  • IOAudioEngine[]::stopAudioEngine()
    +-IOAudioEngine[]::setState(0x0. oldState=0x1)
  • IOAudioDevice[]::audioEngineStopped() - numRunningAudioEngines = 1
  • IOAudioDevice[]::scheduleIdleAudioSleep: idleSleepDelayTime = ffffffffffffffffffffffff
  • IOAudioDevice[]::scheduleIdleAudioSleep: idleSleepDelayTime = ffffffffffffffffffffffff
  • IOAudioDevice[]::audioEngineStopped() - numRunningAudioEngines = 0
  • IOAudioEngine[]::stopAudioEngine() returns 0x0
    +-IOAudioEngine[]::setState(0x0. oldState=0)
    _sendCommandGated (ep: 3): Sending USB buffer size: 17408 command: [Repeated 3 times]_dataReceiveCompletion: (epIndex: 3, _state: 1) message received: hasBuffer: 1 messageLength: 8 dataLength: 92 waitForAck: 0 [Repeated 3 times]Sandbox: 3 duplicate reports for fseventsd allow file-read-metadata /private/var/folders/jm/ndh7fm955q5c2s1s_nhns03w0000gn/0/com.apple.nsurlsessiond/E8C9768780A371F36651AB699D884E881706B377/7FE0018496E8AE54A16695597D7D412340C54E52Sandbox: 1 duplicate report for fseventsd allow file-read-metadata /private/var/folders/jm/ndh7fm955q5c2s1s_nhns03w0000gn/0/com.apple.nsurlsessiond/E8C9768780A371F36651AB699D884E881706B377/7FE0018496E8AE54A16695597D7D412340C54E52/tasks.plistSandbox: 5 duplicate reports for fseventsd allow file-read-metadata /private/var/folders/jm/ndh7fm955q5c2s1s_nhns03w0000gn/0/com.apple.nsurlsessiond/E8C9768780A371F36651AB699D884E881706B377/7FE0018496E8AE54A16695597D7D412340C54E52Thunderbolt3Unblocker: Refusing to load on OS version 17.6.0
    Kext es.govost.ryan.Thunderbolt3Unblocker start failed (result 0x5).
    Kext es.govost.ryan.Thunderbolt3Unblocker failed to load (0xdc008017).
    Failed to load kext es.govost.ryan.Thunderbolt3Unblocker (error 0xdc008017).
  • IOAudioEngine[]::newUserClient(0x, , 0x0, 0, )
  • IOAudioEngineUserClient[]::initWithAudioEngine(, 0x, , 0x0, 0)
    +- IOAudioEngineUserClient[]::setOnline(0)
    ConnectionID:0xd89d85ca
  • IOAudioEngineUserClient[]::initWithAudioEngine(, 0x, , 0x0, 0) returns 1
    +- IOAudioEngineUserClient::withAudioEngine(, 0x, , 0x0, 0) returns
  • IOAudioEngine::addUserClientAction(, )
    +- IOAudioEngine[]::addUserClient() returns 0x0
  • IOAudioEngine::addUserClientAction(, ) returns 0x0
  • IOAudioEngine[]::newUserClient(0x, , 0x0, 0, )
  • IOAudioEngineUserClient[]::registerFormatNotification(0x, 0x100) returns 0x0
  • IOAudioEngineUserClient::registerNotificationAction(, ) returns 0x0
  • IOAudioEngineUserClient[]::registerNotificationPort(0x, 0x0, 0x100) returns 0x0
    Starting poll type 4
    Restarting poll type 4
    Command 0x2 completed. inCount: 2 data:0x5Command 0x1 completed. inCount: 2 data:0x1001Command 0x16 completed. inCount: 2 data:0x40e0Command 0xa completed. inCount: 2 data:0x0Command 0xb completed. inCount: 2 data:0x0Command 0x12 completed. inCount: 2 data:0xffffCommand 0x13 completed. inCount: 2 data:0xffffCommand 0xf completed. inCount: 2 data:0x1867Command 0x10 completed. inCount: 2 data:0x1899SmartBattery: finished polling type 4
    Thunderbolt3Unblocker: Refusing to load on OS version 17.6.0
    Kext es.govost.ryan.Thunderbolt3Unblocker start failed (result 0x5).
    Kext es.govost.ryan.Thunderbolt3Unblocker failed to load (0xdc008017).
    Failed to load kext es.govost.ryan.Thunderbolt3Unblocker (error 0xdc008017).
    find_next_non_dataless_snapshot:654: apfs: next = 7586393 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7655418 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7655796 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7656192 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7673941 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7675501 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7676073 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7676923 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7677225 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7678594 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7679229 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7679606 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 18446744073709551615 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7655418 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7655796 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7656192 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7673941 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7675501 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7676073 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7676923 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7677225 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7678594 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7679229 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 7679606 err = -1
    find_next_non_dataless_snapshot:654: apfs: next = 18446744073709551615 err = -1
    Sandbox: 1 duplicate report for fseventsd allow file-read-metadata /private/var/folders/jm/ndh7fm955q5c2s1s_nhns03w0000gn/0/com.apple.nsurlsessiond/E8C9768780A371F36651AB699D884E881706B377/7FE0018496E8AE54A16695597D7D412340C54E52/tasks.plistSandbox: 7 duplicate reports for fseventsd allow file-read-metadata /private/var/folders/jm/ndh7fm955q5c2s1s_nhns03w0000gn/0/com.apple.nsurlsessiond/E8C9768780A371F36651AB699D884E881706B377Starting poll type 4
    Restarting poll type 4
    Command 0x2 completed. inCount: 2 data:0x5Command 0x1 completed. inCount: 2 data:0x1001Command 0x16 completed. inCount: 2 data:0x40e0Command 0xa completed. inCount: 2 data:0x0Command 0xb completed. inCount: 2 data:0x0Command 0x12 completed. inCount: 2 data:0xffffCommand 0x13 completed. inCount: 2 data:0xffffCommand 0xf completed. inCount: 2 data:0x1867Command 0x10 completed. inCount: 2 data:0x1899SmartBattery: finished polling type 4
  • IOAudioEngine[]::newUserClient(0x, , 0x0, 0, )
  • IOAudioEngineUserClient[]::initWithAudioEngine(, 0x, , 0x0, 0)
    +- IOAudioEngineUserClient[]::setOnline(0)
    ConnectionID:0x6eadc529
  • IOAudioEngineUserClient[]::initWithAudioEngine(, 0x, , 0x0, 0) returns 1
    +- IOAudioEngineUserClient::withAudioEngine(, 0x, , 0x0, 0) returns
  • IOAudioEngine::addUserClientAction(, )
    +- IOAudioEngine[]::addUserClient() returns 0x0
  • IOAudioEngine::addUserClientAction(, ) returns 0x0
  • IOAudioEngine[]::newUserClient(0x, , 0x0, 0, )
  • IOAudioEngineUserClient[]::registerFormatNotification(0x, 0x100) returns 0x0
  • IOAudioEngineUserClient::registerNotificationAction(, ) returns 0x0
  • IOAudioEngineUserClient[]::registerNotificationPort(0x, 0x0, 0x100) returns 0x0
    AGC:: [com.apple.WebKit pid:1413 mux-aware] starting, non-mux-aware app count 0 WS-ready 1 switch-state 0 IG FBs 1 EG FBs 0:0 power-state 6 3D idle HDA idle
    AGC:: [com.apple.WebKit pid 1413 mux-aware] exiting, non-mux-aware app count 0, runtime: 0:00:00.000
    AGC:: [com.apple.WebKit pid:1413 mux-aware] starting, non-mux-aware app count 0 WS-ready 1 switch-state 0 IG FBs 1 EG FBs 0:0 power-state 6 3D idle HDA idle
    AGC:: :::::::> PEG start powerup [3m 11.331s downtime]
    [IGFB][INFO ] [key:0x420/on:0] fPSREnablekeys: 0x00001fff -> 0x00001bdf (fullset:0x00001fff) : Will disable FIFO PSR feature in 2sec
    AGC:: *******> PEG powerup took: 0.405s
    AGC:: [com.apple.WebKit pid 1413 mux-aware] exiting, non-mux-aware app count 0, runtime: 0:00:01.315
    +- IOAudioEngine[]::removeUserClient() returns 0x0
    +- IOAudioEngine::removeUserClientAction(, ) returns 0x0
    +- IOAudioEngine[]::clientClosed()
    +- IOAudioEngineUserClient[]::clientDied() returns 0x0
    +- IOAudioEngineUserClient[]::stop()
  • IOAudioEngine[]::newUserClient(0x, , 0x0, 0, )
  • IOAudioEngineUserClient[]::initWithAudioEngine(, 0x, , 0x0, 0)
    +- IOAudioEngineUserClient[]::setOnline(0)
    ConnectionID:0x67d086cd
  • IOAudioEngineUserClient[]::initWithAudioEngine(, 0x, , 0x0, 0) returns 1
    +- IOAudioEngineUserClient::withAudioEngine(, 0x, , 0x0, 0) returns
  • IOAudioEngine::addUserClientAction(, )
    +- IOAudioEngine[]::addUserClient() returns 0x0
  • IOAudioEngine::addUserClientAction(, ) returns 0x0
  • IOAudioEngine[]::newUserClient(0x, , 0x0, 0, )
  • IOAudioEngineUserClient[]::registerFormatNotification(0x, 0x100) returns 0x0
  • IOAudioEngineUserClient::registerNotificationAction(, ) returns 0x0
  • IOAudioEngineUserClient[]::registerNotificationPort(0x, 0x0, 0x100) returns 0x0
    AGC:: [com.apple.WebKit pid:1414 mux-aware] starting, non-mux-aware app count 0 WS-ready 1 switch-state 0 IG FBs 1 EG FBs 0:1f power-state 0 3D idle HDA idle
    AGC:: [com.apple.WebKit pid 1414 mux-aware] exiting, non-mux-aware app count 0, runtime: 0:00:00.000
    AGC:: [com.apple.WebKit pid:1414 mux-aware] starting, non-mux-aware app count 0 WS-ready 1 switch-state 0 IG FBs 1 EG FBs 0:1f power-state 0 3D idle HDA idle
    AGC:: [com.apple.WebKit pid:1414] force EG up last PID 1414 WS-ready 1 switch-state 0 IG FBs 1 EG FBs 0:1f power-state 0 3D busy HDA idle
    AGC:: mux-regs 4 3 5f 1f 0 8 severity 0 WS-ready 1 switch-state 0 IG FBs 1 EG FBs 0:1f power-state 0 3D idle HDA idle : AGC Dump State Timer
    Sound assertion in AppleGFXHDAController at line 9150
    Sound assertion in AppleGFXHDAController at line 9151
    AGC:: :::::::> PEG start powerdown [0m 7.959s uptime]
    [IGFB][INFO ] [key:0x020/on:1] fPSREnablekeys: 0x00001bdf -> 0x00001bff (fullset:0x00001fff)
    [IGFB][INFO ] [key:0x400/on:1] fPSREnablekeys: 0x00001bff -> 0x00001fff (fullset:0x00001fff) : Enable FIFO PSR feature
    AGC:: *******> PEG powerdown took: 0.452s
    AGC:: mux-regs 4 0 20 0 0 8 severity 0 WS-ready 1 switch-state 0 IG FBs 1 EG FBs 0:0 power-state 6 3D idle HDA idle : AGC Dump State Timer
    Starting poll type 4
    Restarting poll type 4
    Command 0x2 completed. inCount: 2 data:0x5Command 0x1 completed. inCount: 2 data:0x1001Command 0x16 completed. inCount: 2 data:0x40e0Command 0xa completed. inCount: 2 data:0x0Command 0xb completed. inCount: 2 data:0x0Command 0x12 completed. inCount: 2 data:0xffffCommand 0x13 completed. inCount: 2 data:0xffffCommand 0xf completed. inCount: 2 data:0x1867Command 0x10 completed. inCount: 2 data:0x1899SmartBattery: finished polling type 4
  • IOAudioEngine[]::newUserClient(0x, , 0x0, 0, )
  • IOAudioEngineUserClient[]::initWithAudioEngine(, 0x, , 0x0, 0)
    +- IOAudioEngineUserClient[]::setOnline(0)
    ConnectionID:0x7c85149a
  • IOAudioEngineUserClient[]::initWithAudioEngine(, 0x, , 0x0, 0) returns 1
    +- IOAudioEngineUserClient::withAudioEngine(, 0x, , 0x0, 0) returns
  • IOAudioEngine::addUserClientAction(, )
    +- IOAudioEngine[]::addUserClient() returns 0x0
  • IOAudioEngine::addUserClientAction(, ) returns 0x0
  • IOAudioEngine[]::newUserClient(0x, , 0x0, 0, )
  • IOAudioEngineUserClient[]::registerFormatNotification(0x, 0x100) returns 0x0
  • IOAudioEngineUserClient::registerNotificationAction(, ) returns 0x0
  • IOAudioEngineUserClient[]::registerNotificationPort(0x, 0x0, 0x100) returns 0x0
    Starting poll type 4
    Restarting poll type 4
    Command 0x2 completed. inCount: 2 data:0x5Command 0x1 completed. inCount: 2 data:0x1001Command 0x16 completed. inCount: 2 data:0x40e0Command 0xa completed. inCount: 2 data:0x0Command 0xb completed. inCount: 2 data:0x0Command 0x12 completed. inCount: 2 data:0xffffCommand 0x13 completed. inCount: 2 data:0xffffCommand 0xf completed. inCount: 2 data:0x1867Command 0x10 completed. inCount: 2 data:0x1899SmartBattery: finished polling type 4
    +- IOAudioEngine[]::removeUserClient() returns 0x0
    +- IOAudioEngine::removeUserClientAction(, ) returns 0x0
    +- IOAudioEngine[]::clientClosed()
    +- IOAudioEngineUserClient[]::clientDied() returns 0x0
    +- IOAudioEngineUserClient[]::stop()
    Starting poll type 4
    Restarting poll type 4
    Command 0x2 completed. inCount: 2 data:0x5Command 0x1 completed. inCount: 2 data:0x1001Command 0x16 completed. inCount: 2 data:0x40e0Command 0xa completed. inCount: 2 data:0x0Command 0xb completed. inCount: 2 data:0x0Command 0x12 completed. inCount: 2 data:0xffffCommand 0x13 completed. inCount: 2 data:0xffffCommand 0xf completed. inCount: 2 data:0x1867Command 0x10 completed. inCount: 2 data:0x1899SmartBattery: finished polling type 4
    Sandbox: 1 duplicate report for fseventsd allow file-read-metadata /private/var/folders/jm/ndh7fm955q5c2s1s_nhns03w0000gn/0/com.apple.nsurlsessiond/E8C9768780A371F36651AB699D884E881706B377/sessions.plistSandbox: 3 duplicate reports for fseventsd allow file-read-metadata /private/var/folders/jm/ndh7fm955q5c2s1s_nhns03w0000gn/0/com.apple.nsurlsessiondSandbox: 3 duplicate reports for fseventsd allow file-read-metadata /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiondKext es.govost.ryan.Thunderbolt3Unblocker not found for unload request.
    Thunderbolt3Unblocker: Refusing to load on OS version 17.6.0
    Kext es.govost.ryan.Thunderbolt3Unblocker start failed (result 0x5).
    Kext es.govost.ryan.Thunderbolt3Unblocker failed to load (0xdc008017).
    Failed to load kext es.govost.ryan.Thunderbolt3Unblocker (error 0xdc008017).
    Thunderbolt3Unblocker: Refusing to load on OS version 17.6.0
    Kext es.govost.ryan.Thunderbolt3Unblocker start failed (result 0x5).
    Kext es.govost.ryan.Thunderbolt3Unblocker failed to load (0xdc008017).
    Failed to load kext es.govost.ryan.Thunderbolt3Unblocker (error 0xdc008017).

No video from Dell TB16 dock

Thank you for your efforts! I have built and loaded the kext. It now sees my Dell TB16 dock. Ethernet, audio and all USB ports are working fine. However, no video at all from the dock, from any of the ports. (HDMI, Displayport, and MiniDisplayport). Please advise?

Stack corruption in xnu_override()

MacBookPro14,3, macOS 10.13.3 (17D47)
SIP disabled with sudo csrutil enable --without kext

Kernel panic log:

Anonymous UUID:       A58509A4-4DAF-8005-C664-2F30280D765E

Sun Feb 11 16:26:08 2018

*** Panic Report ***
panic(cpu 4 caller 0xffffff7f8a0fad3d): "Kernel stack memory corruption detected"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4570.41.2/libkern/stack_protector.c:37
Backtrace (CPU 4), Frame : Return Address
0xffffff91ffe1b590 : 0xffffff8001c4f606 
0xffffff91ffe1b5e0 : 0xffffff8001d7c654 
0xffffff91ffe1b620 : 0xffffff8001d6e149 
0xffffff91ffe1b6a0 : 0xffffff8001c01120 
0xffffff91ffe1b6c0 : 0xffffff8001c4f03c 
0xffffff91ffe1b7f0 : 0xffffff8001c4edbc 
0xffffff91ffe1b850 : 0xffffff7f8a0fad3d 
0xffffff91ffe1bb30 : 0xffffff7f8a0faf00 
0xffffff91ffe1bb60 : 0xffffff7f8a0fa901 
0xffffff91ffe1bb80 : 0xffffff8002217419 
0xffffff91ffe1bbe0 : 0xffffff8002214603 
0xffffff91ffe1bc50 : 0xffffff8002221914 
0xffffff91ffe1bca0 : 0xffffff80022216ff 
0xffffff91ffe1bd00 : 0xffffff80022331be 
0xffffff91ffe1bd60 : 0xffffff8001ca4a07 
0xffffff91ffe1bdc0 : 0xffffff8001c54c40 
0xffffff91ffe1be10 : 0xffffff8001c31cbd 
0xffffff91ffe1be60 : 0xffffff8001c44b7b 
0xffffff91ffe1bef0 : 0xffffff8001d5857d 
0xffffff91ffe1bfa0 : 0xffffff8001c01926 
      Kernel Extensions in backtrace:
         es.govost.ryan.Thunderbolt3Unblocker(1.0)[C8F26371-DA83-3955-A658-600765BA4795]@0xffffff7f8a0fa000->0xffffff7f8a11cfff
            dependency: com.apple.iokit.IOThunderboltFamily(6.6.3)[1295A2A4-5EE5-341A-8F97-3F2D3481C45C]@0xffffff7f83045000

BSD process name corresponding to current thread: kextd

Mac OS version:
17D47

Kernel version:
Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64
Kernel UUID: 18D901F1-4A03-3FF1-AE34-C26B2732F13C
Kernel slide:     0x0000000001800000
Kernel text base: 0xffffff8001a00000
__HIB  text base: 0xffffff8001900000
System model name: MacBookPro14,3 (Mac-551B86E5744E2388)

System uptime in nanoseconds: 116018658421
last loaded kext at 116016430802: es.govost.ryan.Thunderbolt3Unblocker	1 (addr 0xffffff7f8a0fa000, size 143360)
loaded kexts:
es.govost.ryan.Thunderbolt3Unblocker	1
com.apple.filesystems.smbfs	3.2.1
com.apple.filesystems.autofs	3.0
com.apple.driver.AppleGraphicsDevicePolicy	3.16.21
com.apple.kext.AMDFramebuffer	1.6.0
com.apple.AGDCPluginDisplayMetrics	3.16.2
com.apple.kext.AMDRadeonX4200	1.6.0
com.apple.driver.AppleHV	1
com.apple.kext.AMDRadeonX4150	1.6.0
com.apple.iokit.IOUserEthernet	1.0.1
com.apple.kext.AMDRadeonX4100	1.6.0
com.apple.driver.AudioAUUC	1.70
com.apple.kext.AMD9515Controller	1.6.0
com.apple.iokit.IOBluetoothSerialManager	6.0.2f2
com.apple.kext.AMD9510Controller	1.6.0
com.apple.driver.pmtelemetry	1
com.apple.kext.AMD9520Controller	1.6.0
com.apple.driver.AppleUpstreamUserClient	3.6.4
com.apple.driver.AGPM	110.23.30
com.apple.driver.ApplePlatformEnabler	2.7.0d0
com.apple.driver.X86PlatformShim	1.0.0
com.apple.driver.AppleHDAHardwareConfigDriver	280.12
com.apple.Dont_Steal_Mac_OS_X	7.0.0
com.apple.kext.AMD9500Controller	1.6.0
com.apple.driver.AGDCBacklightControl	3.16.2
com.apple.driver.AppleIntelKBLGraphics	10.3.0
com.apple.driver.AppleHDA	280.12
com.apple.driver.AppleBacklight	170.10.2
com.apple.driver.AppleThunderboltIP	3.1.1
com.apple.driver.AirPort.BrcmNIC-MFG	1220.28.1a3
com.apple.driver.ACPI_SMC_PlatformPlugin	1.0.0
com.apple.driver.eficheck	1
com.apple.driver.AppleIntelPCHPMC	2.0.1
com.apple.driver.AppleHIDALSService	1
com.apple.driver.AppleIntelSlowAdaptiveClocking	4.0.0
com.apple.driver.AppleMCCSControl	1.5.3
com.apple.driver.AppleMuxControl	3.16.21
com.apple.driver.SMCMotionSensor	3.0.4d1
com.apple.driver.AppleIntelKBLGraphicsFramebuffer	10.3.0
com.apple.driver.AppleEmbeddedOSSupportHost	1
com.apple.driver.AppleOSXWatchdog	1
com.apple.driver.AirPort.BrcmNIC	1220.28.1a3
com.apple.driver.AppleFIVRDriver	4.1.0
com.apple.filesystems.apfs	748.41.3
com.apple.driver.AppleFileSystemDriver	3.0.1
com.apple.filesystems.hfs.kext	407.30.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless	1.0.0d1
com.apple.BootCache	40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib	1.0.0
com.apple.driver.AppleTopCaseHIDEventDriver	127
com.apple.driver.AppleSmartBatteryManager	161.0.0
com.apple.driver.AppleACPIButtons	6.1
com.apple.driver.AppleRTC	2.0
com.apple.driver.AppleSMBIOS	2.1
com.apple.driver.AppleACPIEC	6.1
com.apple.driver.AppleAPIC	1.7
com.apple.nke.applicationfirewall	183
com.apple.security.TMSafetyNet	8
com.apple.security.quarantine	3
com.apple.IOBufferCopyEngineTest	1
com.apple.kext.AMDRadeonX4000HWLibs	1.0
com.apple.kext.triggers	1.0
com.apple.driver.AppleSSE	1.0
com.apple.driver.DspFuncLib	280.12
com.apple.kext.OSvKernDSPLib	526
com.apple.driver.usb.cdc.acm	5.0.0
com.apple.AppleGPUWrangler	3.16.2
com.apple.kext.AMDSupport	1.6.0
com.apple.driver.AppleBacklightExpert	1.1.0
com.apple.iokit.IONDRVSupport	517.22
com.apple.iokit.IOBluetoothHostControllerUARTTransport	6.0.2f2
com.apple.iokit.IOBluetoothHostControllerTransport	6.0.2f2
com.apple.driver.IOPlatformPluginLegacy	1.0.0
com.apple.driver.AppleHDAController	280.12
com.apple.iokit.IOHDAFamily	280.12
com.apple.iokit.IOAudioFamily	206.5
com.apple.vecLib.kext	1.2.0
com.apple.driver.usb.cdc.ecm	5.0.0
com.apple.driver.usb.cdc.ncm	5.0.0
com.apple.driver.usb.IOUSBHostHIDDevice	1.2
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.driver.usb.AppleUSBiBridge	1.0
com.apple.driver.usb.cdc	5.0.0
com.apple.driver.usb.networking	5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice	1.2
com.apple.driver.AppleUSBHostMergeProperties	1.2
com.apple.kext.AMDRadeonX4000HWServices	1.6.0
com.apple.driver.AppleSMBusController	1.0.18d1
com.apple.driver.AppleGraphicsControl	3.16.21
com.apple.AppleGraphicsDeviceControl	3.16.21
com.apple.iokit.IOAcceleratorFamily2	376.6
com.apple.iokit.IOGraphicsFamily	517.22
com.apple.iokit.IOSurface	209.2.2
com.apple.driver.AppleThunderboltEDMSink	4.1.2
com.apple.driver.AppleThunderboltDPOutAdapter	5.0.2
com.apple.driver.AppleSMBusPCI	1.0.14d1
com.apple.iokit.IO80211Family	1200.12.2
com.apple.driver.mDNSOffloadUserClient	1.0.1b8
com.apple.driver.corecapture	1.0.4
com.apple.driver.AppleIntelLpssUARTv1	3.0.60
com.apple.driver.AppleIntelLpssUARTCommon	3.0.60
com.apple.driver.AppleOnboardSerial	1.0
com.apple.iokit.IOSkywalkFamily	1
com.apple.iokit.IOSerialFamily	11
com.apple.driver.X86PlatformPlugin	1.0.0
com.apple.driver.IOPlatformPluginFamily	6.0.0d8
com.apple.filesystems.hfs.encodings.kext	1
com.apple.driver.AppleActuatorDriver	1204.13
com.apple.driver.AppleHIDKeyboard	203
com.apple.driver.AppleHSBluetoothDriver	127
com.apple.driver.IOBluetoothHIDDriver	6.0.2f2
com.apple.iokit.IOBluetoothFamily	6.0.2f2
com.apple.driver.AppleMultitouchDriver	1204.13
com.apple.driver.AppleInputDeviceSupport	1201.8
com.apple.driver.AppleHSSPIHIDDriver	52
com.apple.driver.AppleHSSPISupport	52
com.apple.driver.AppleIntelLpssSpiController	3.0.60
com.apple.driver.AppleThunderboltDPInAdapter	5.0.2
com.apple.driver.AppleThunderboltDPAdapterFamily	5.0.2
com.apple.driver.AppleThunderboltPCIDownAdapter	2.1.3
com.apple.driver.AppleXsanScheme	3
com.apple.iokit.IONVMeFamily	2.1.0
com.apple.driver.AppleThunderboltNHI	4.5.6
com.apple.driver.AppleHPM	3.1.3
com.apple.iokit.IOThunderboltFamily	6.6.3
com.apple.driver.AppleIntelLpssI2CController	3.0.60
com.apple.driver.AppleIntelLpssDmac	3.0.60
com.apple.driver.AppleIntelLpssI2C	3.0.60
com.apple.driver.AppleIntelLpssGspi	3.0.60
com.apple.driver.usb.AppleUSBXHCIPCI	1.2
com.apple.driver.usb.AppleUSBXHCI	1.2
com.apple.driver.usb.AppleUSBHostPacketFilter	1.0
com.apple.iokit.IOUSBFamily	900.4.1
com.apple.driver.AppleEFINVRAM	2.1
com.apple.driver.AppleEFIRuntime	2.1
com.apple.iokit.IOHIDFamily	2.0.0
com.apple.iokit.IOSMBusFamily	1.1
com.apple.security.sandbox	300.0
com.apple.kext.AppleMatch	1.0.0d1
com.apple.iokit.IOBufferCopyEngineFamily	1
com.apple.driver.DiskImages	480.30.2
com.apple.driver.AppleFDEKeyStore	28.30
com.apple.driver.AppleEffaceableStorage	1.0
com.apple.driver.AppleKeyStore	2
com.apple.driver.AppleUSBTDM	439.30.4
com.apple.driver.AppleMobileFileIntegrity	1.0.5
com.apple.iokit.IOUSBMassStorageDriver	140.30.1
com.apple.iokit.IOSCSIBlockCommandsDevice	404.30.2
com.apple.iokit.IOSCSIArchitectureModelFamily	404.30.2
com.apple.iokit.IOStorageFamily	2.1
com.apple.driver.AppleCredentialManager	1.0
com.apple.driver.KernelRelayHost	1
com.apple.iokit.IOUSBHostFamily	1.2
com.apple.driver.usb.AppleUSBCommon	1.0
com.apple.driver.AppleBusPowerController	1.0
com.apple.driver.AppleSEPManager	1.0.1
com.apple.driver.IOSlaveProcessor	1
com.apple.iokit.IOTimeSyncFamily	650.5
com.apple.iokit.IONetworkingFamily	3.4
com.apple.iokit.IOReportFamily	31
com.apple.driver.AppleACPIPlatform	6.1
com.apple.driver.AppleSMCRTC	1.0
com.apple.driver.AppleSMC	3.1.9
com.apple.iokit.IOPCIFamily	2.9
com.apple.iokit.IOACPIFamily	1.4
com.apple.kec.pthread	1
com.apple.kec.Libm	1
com.apple.kec.corecrypto	1.0

EOF

Mojave 10.14.6 Beta (18G29g)

my system updated to 10.14.6 Beta (18G29g) and the TB16 Dell dock does not work any more.
I have disabled the kext security restrictions and reloaded the kernel patch there was no error on the terminal. but only the dell cable is recognised.

See :
Dell Thunderbolt Cable:

Vendor Name: Dell
Device Name: Dell Thunderbolt Cable
Vendor ID: 0xD4
Device ID: 0xB051
Device Revision: 0x2
UID: 0x00D4461D6D817600
Route String: 1
Firmware Version: 16,16
Port (Upstream):
Status: Device connected
Link Status: 0x2
Speed: Up to 40Gb/s x1
Current Link Width: 0x2
Link Controller Firmware Version: 0.25.0
Port:
Status: No device connected
Link Status: 0x7
Speed: Up to 40Gb/s x1
Current Link Width: 0x1
Link Controller Firmware Version: 0.25.0

Can you please tell me how to collect more log form kernel loading to give more debug.

Extension is not automatically loaded after reboot

Kernel extension have to be reloaded every time after reboot, have tried move it into systems/library/extensions, doesn't work.
I am not very familiar with this technique, any chance to make this kernel extension load automatically after reboot?
Many thanks!

Dell TB15 partially working

Thanks @rgov for sharing this project.

I am the unfortunate owner of the TB15 dock. Works well on a Dell laptop after some updates to both Windows and the TB15 firmware.
However it wouldn't work initially on a MacBook Pro with OSX 10.14. It would charge, but no devices worked.

After using Thunderbolt3Unblocker, the Power Delivery, USB and Ethernet ports work, but DisplayPort/HDMI outputs do not.

Here's the spew from System Report. The indentations didn't carry over, but it looks to be nested from Bus -> Cable -> Dock.

Thunderbolt Bus:

  Vendor Name:	Apple Inc.
  Device Name:	MacBook Pro
  UID:	0x0001AF6CC8926200
  Route String:	0
  Firmware Version:	39.2
  Domain UUID:	52A9C074-23F0-EB5F-9A4A-84FD16829106
  Port:
  Status:	No device connected
  Link Status:	0x7
  Speed:	Up to 40 Gb/s x1
  Current Link Width:	0x1
  Receptacle:	2
  Link Controller Firmware Version:	0.38.0
  Port:
  Status:	Device connected
  Link Status:	0x2
  Speed:	Up to 40 Gb/s x1
  Current Link Width:	0x2
  Receptacle:	1
  Link Controller Firmware Version:	0.38.0

Dell Thunderbolt Cable:

  Vendor Name:	Dell
  Device Name:	Dell Thunderbolt Cable
  Vendor ID:	0xD4
  Device ID:	0xB051
  Device Revision:	0x1
  UID:	0x8086A34344E02510
  Route String:	3
  Firmware Version:	15.15
  Port (Upstream):
  Status:	Device connected
  Link Status:	0x2
  Speed:	Up to 40 Gb/s x1
  Current Link Width:	0x2
  Link Controller Firmware Version:	0.24.0
  Port:
  Status:	Device connected
  Link Status:	0x2
  Speed:	Up to 40 Gb/s x1
  Current Link Width:	0x2
  Link Controller Firmware Version:	0.24.0

Dell Thunderbolt Dock:

  Vendor Name:	Dell
  Device Name:	Dell Thunderbolt Dock
  Vendor ID:	0xD4
  Device ID:	0xB054
  Device Revision:	0x1
  UID:	0x8086A321A4B28410
  Route String:	303
  Firmware Version:	15.15
  Port (Upstream):
  Status:	Device connected
  Link Status:	0x2
  Speed:	Up to 40 Gb/s x1
  Current Link Width:	0x2
  Link Controller Firmware Version:	0.24.0
  Port:
  Status:	No device connected
  Link Status:	0x7
  Speed:	Up to 40 Gb/s x1
  Current Link Width:	0x1
  Link Controller Firmware Version:	0.24.0

run `csrutil enable --without kext`

When executing csrutil enable --without kext I get

$ csrutil enable --without kext
csrutil: requesting an unsupported configuration. This is likely to break in the future and leave your machine in an unknown state.
csrutil: failed to modify system integrity configuration. This tool needs to be executed from the Recovery OS.

So shall I need to boot from a Recovery OS? If so, is it ok to do like

https://support.apple.com/en-us/HT204904 covers normal recovery
hold Command+r+s to boot into Single User Recovery Mode.

Thank you!

WD15

Guys, sorry it's not a bug or issue. O maybe is. I haven't installed this packaged and I'm asking if should I do it. I kinda need some information first.

I have a WD15 attached to my MB2018 on Mojave. It works perfectly most of the time. mDP works fine, Ethernet works fine, even the battery charge works fine.

However, after some time, it starts throwing SSL erros on the ethernet port. I gotta to reboot it to make it work again. Also, sometimes it drains my battery life so fast (or stops providing power), resulting in a 4%~ battery percentage quickly.

I have to reboot it several times to get it working.

Would this package solve this issues or should I perform a firmware update?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.