Go to file
Marcos Fadul 20bc664690 Initial commit 2020-04-17 13:30:24 +02:00
files Initial commit 2020-04-17 13:30:24 +02:00
.gitignore Initial commit 2020-04-17 13:30:24 +02:00
.travis.yml Initial commit 2020-04-17 13:30:24 +02:00
README.md Initial commit 2020-04-17 13:30:24 +02:00
build.sh Initial commit 2020-04-17 13:30:24 +02:00
build_in_docker.sh Initial commit 2020-04-17 13:30:24 +02:00

README.md

mbp-ubuntu

Build Status

UBUNTU 20.04 ISO with Apple T2 patches built-in (Macbooks produced >= 2018).

All available Apple T2 drivers are integrated with this iso. Most things work, besides those mentioned in not working section.

Kernel - https://github.com/marcosfad/mbp-ubuntu-kernel

Drivers:

Tested on: Macbook Pro 16,1 16" 2019 i9 TouchBar

Boot ROM Version:	220.270.99.0.0 (iBridge: 16.16.6571.0.0,0)
macOS Mojave: 10.14.6 (18G103)

How to install

# /etc/modprobe.d/hid_apple.conf
options hid_apple swap_fn_leftctrl=1
options hid_apple swap_opt_cmd=1

grub2-mkconfig -o /boot/efi/EFI/ubuntu/grub.cfg

Not working

  • Dynamic audio input/output change (on connecting/disconnecting headphones jack)
  • TouchID - (@MCMrARM is working on it - https://github.com/Dunedan/mbp-2016-linux/issues/71#issuecomment-528545490)
  • Thunderbolt (is disabled, because driver was causing kernel panics (not tested with 5.5 kernel))
  • Microphone (it's recognised with new apple t2 sound driver, but there is a low mic volume amp)

TODO

Known issues

  • Kernel/Mac related issues are mentioned in kernel repo

  • Macbooks with Apple T2 can't boot EFI binaries from HFS+ formatted ESP - only FAT32 (FAT32 have to be labelled as msftdata).

  • ctrl+x is not working in GRUB, so if you are trying to change kernel parameters - start your OS by clicking ctrl+shift+f10 on external keyboard

Docs

Ubuntu

Github

Credits

  • @mikeeq - thanks for the amazing work in mbp-fedora
  • @MCMrARM - thanks for all RE work
  • @ozbenh - thanks for submitting NVME patch
  • @roadrunner2 - thanks for SPI (touchbar) driver
  • @aunali1 - thanks for ArchLinux Kernel CI
  • @ppaulweber - thanks for keyboard and Macbook Air patches
  • @kevineinarsson - thanks for the audio settings
  • @roadrunner2 - thanks for the overview