GithubHelp home page GithubHelp logo

okimaureen / gubuntu-kernel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from redecorating/mbp-ubuntu-kernel

0.0 1.0 0.0 3.3 MB

Ubuntu Kernel for MacBook Pro (incl. T2 patches) - This fork has wifi support for 16,X models

Home Page: http://mbp-ubuntu-kernel.herokuapp.com/

Shell 75.50% Dockerfile 24.50%

gubuntu-kernel's Introduction

mbp-ubuntu-kernel

This repo probably won't be updated, please use https://github.com/AdityaGarg8/mbp-16.x-ubuntu-kernel/releases (probably will be updated faster) or https://github.com/marcosfad/mbp-ubuntu-kernel/releases

Ubuntu/Mint/Debian kernel 5.6+ with Apple T2 patches built-in. This repo will try to keep up with kernel new releases.

This project is closely inspired by mikeeq/mbp-fedora-kernel and marcosfad/mbp-ubuntu-kernel. Thank you @mikeeq and @marcosfad for the scripts and setup.

If this repo helped you in any way, consider inviting a coffee to the people in the credits.

INSTALLATION

The easy way

Download the .deb packages of linux headers and linux image of the kernel you wish to install from the releases section.

On terminal, type sudo apt install and then drag and drop the linux headers file to the terminal and press enter/return key.

Do the similar process for linux images package.

Restart your Mac.

Building yourself

Clone the repo using

git clone https://github.com/Redecorating/mbp-ubuntu-kernel

Open jamlam's repo in your browser.

Check out the kernel version it is offering right now.

Now edit build.sh file in mbp-ubuntu-kernel folder of your home directory. Replace the kernel version given in KERNEL_VERSION by the one on jamlam's repo.

Now edit patch_driver.sh file in the same folder. Replace the commit hash in APPLE_SMC_DRIVER_COMMIT_HASH with the latest one in jamlam's repo. It can be found by click on the shortened hash or time elapsed since last update on the right of jamlam.

Now open a terminal window and run

cd mbp-ubuntu-kernel
sudo ./build.sh

The kernel shall take around an hour to compile. After that you shall find three .deb packages in /root/work.

Install the linux-headers package using apt on terminal as described in the above The easy way section. Similarly install the linux-image package too.

Restart your Mac.

You may then delete the /root/work directory to free up space.

Docs

Ubuntu

Credits

  • @marcosfad - thanks for the original script for Ubuntu
  • @MCMrARM - thanks for all RE work
  • @ozbenh - thanks for submitting NVME patch
  • @roadrunner2 - thanks for SPI (touchbar) driver
  • @aunali1 - thanks for ArchLinux Kernel CI and active support.
  • @jamlam - thanks for providing the Correlium wifi patch.
  • @ppaulweber - thanks for keyboard and Macbook Air patches
  • @mikeeq - thanks for the fedora kernel project and compilation scripts

gubuntu-kernel's People

Contributors

marcosfad avatar redecorating avatar adityagarg8 avatar mmft24 avatar

Watchers

James Cloos 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.