Giter Club home page Giter Club logo

thunderbolt3unblocker's Introduction

Build Status

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 was last tested against macOS Mojave 10.14, macOS High Sierra 10.13.4 and macOS Sierra 10.12.6. Please check for open issues before using on other versions.

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

Watchers

James Cloos avatar iTUTOR avatar

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.