{"id":13611693,"url":"https://github.com/mikeeq/mbp-fedora-kernel","last_synced_at":"2025-04-09T13:06:56.154Z","repository":{"id":37602182,"uuid":"201875327","full_name":"mikeeq/mbp-fedora-kernel","owner":"mikeeq","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-08T12:07:21.000Z","size":1695696,"stargazers_count":65,"open_issues_count":8,"forks_count":11,"subscribers_count":8,"default_branch":"v6.4-f38","last_synced_at":"2025-04-02T11:07:17.279Z","etag":null,"topics":["2019","2020","apple","apple-t2","fedora","kernel","linux","linux-kernel","macbook","macbook-pro"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikeeq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["mikeeq"]}},"created_at":"2019-08-12T06:57:44.000Z","updated_at":"2025-01-08T12:07:25.000Z","dependencies_parsed_at":"2023-12-05T01:33:01.961Z","dependency_job_id":"529c2dd5-783f-403a-9787-fbe3773f3c72","html_url":"https://github.com/mikeeq/mbp-fedora-kernel","commit_stats":null,"previous_names":[],"tags_count":98,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeeq%2Fmbp-fedora-kernel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeeq%2Fmbp-fedora-kernel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeeq%2Fmbp-fedora-kernel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeeq%2Fmbp-fedora-kernel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikeeq","download_url":"https://codeload.github.com/mikeeq/mbp-fedora-kernel/tar.gz/refs/heads/v6.4-f38","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248045231,"owners_count":21038553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2019","2020","apple","apple-t2","fedora","kernel","linux","linux-kernel","macbook","macbook-pro"],"created_at":"2024-08-01T19:02:00.375Z","updated_at":"2025-04-09T13:06:56.135Z","avatar_url":"https://github.com/mikeeq.png","language":"Shell","funding_links":["https://github.com/sponsors/mikeeq"],"categories":["Shell"],"sub_categories":[],"readme":"*This project has reached the end of its development. Please start using packages/readmes co-authored by t2linux group.*\n\n- https://wiki.t2linux.org/distributions/fedora/installation/\n- https://github.com/t2linux\n- https://github.com/orgs/t2linux/teams/fedora-maintainers/repositories\n\n# [Tutorial: Migration to t2linux](https://github.com/mikeeq/mbp-fedora?tab=readme-ov-file#migration-to-t2linuxfedora)\n\n## mbp-fedora-kernel - DEPRECATED\n\nFedora kernel with Apple T2 patches built-in (Macbooks produced \u003e= 2018).\n\nFedora ISO (with mbp-fedora-kernel builtin): \u003chttps://github.com/mikeeq/mbp-fedora\u003e\n\nKernel patches: \u003chttps://github.com/t2linux/linux-t2-patches\u003e\n\n\u003e Tested on: Macbook Pro 15,2 13\" 2019 i5 TouchBar Z0WQ000AR MV972ZE/A/R1 \u0026\u0026 Macbook Pro 16,2 13\" 2020 i5\n\n```\nBoot ROM Version:\t220.270.99.0.0 (iBridge: 16.16.6571.0.0,0)\nmacOS Mojave: 10.14.6 (18G103)\n```\n\n## CI status\n\nGitHub Actions kernel build status\n\n[![Build Status](https://github.com/mikeeq/mbp-fedora-kernel/actions/workflows/build-kernel.yml/badge.svg)](https://github.com/mikeeq/mbp-fedora-kernel/actions/workflows/build-kernel.yml)\n\nGithub Actions kernel publish status - \u003chttps://mikeeq.github.io/mbp-fedora-kernel/\u003e\n\n[![Publish Status](https://github.com/mikeeq/mbp-fedora-kernel/actions/workflows/yum-repo.yml/badge.svg)](https://github.com/mikeeq/mbp-fedora-kernel/actions/workflows/yum-repo.yml)\n\n## How to update mbp-fedora-kernel\n\nStarting from Fedora 37 `mbp-fedora` release - `mbp-fedora-kernel` should be automatically updated using builtin package manager - DNF, so simply run `dnf update --refresh`, and it should automatically fetch all required updates.\n\nIf the DNF fail, or you're updating your older `mbp-fedora`, you can still use previously used method with `update_kernel_mbp` described below.\n\n```bash\n### First run or if you want to update your copy of update_kernel_mbp script\nsudo -i\ncurl -L https://raw.githubusercontent.com/mikeeq/mbp-fedora-kernel/v6.4-f38/update_kernel_mbp.sh -o /usr/bin/update_kernel_mbp\nchmod +x /usr/bin/update_kernel_mbp\nupdate_kernel_mbp\n\n### Next runs\nsudo -i\nupdate_kernel_mbp\n\n### Update to specific version of kernel\nsudo -i\nKERNEL_VERSION=\"6.4.16-f38\" update_kernel_mbp\n\n### Update to specific version of kernel using specific version of update script\n#### Usually not needed, because scripts are shared between branches, but you can use it to update your update_kernel_mbp script\n##### If the script fails, try to rerun it - it's due to self-upgrading feature of this script\nsudo -i\nKERNEL_VERSION=\"6.4.16-f38\" UPDATE_SCRIPT_BRANCH=\"v6.4-f38\" update_kernel_mbp\n\n### If kernel update using dnf would file you can execute update_kernel_mbp script with `--github` argument, it will force it to use github to download kernel RPMs\nsudo -i\nupdate_kernel_mbp --github\n```\n\n## Known issues\n\n- TouchID - (@MCMrARM is working on it - https://github.com/Dunedan/mbp-2016-linux/issues/71#issuecomment-528545490)\n- Audio\n  - Internal Microphone (it's recognized with new apple t2 sound driver, but there is a low mic volume amp)\n\n### Partially working\n\n- Suspend - really unstable, I recommend disabling it. If you would stuck in sleep mode, try to keep pressing power off button for a while to force poweroff and then turn on the Macbook.\n- Touch Bar, if you encounter any issues, I recommend reboot to MacOS/Windows to initialize TouchBar and then back to Linux - it should fix the problem.\n\n### Working with upstream stable kernel 6.0\n\n- Display/Screen\n- USB-C\n- Battery/AC\n- Ethernet/Video USB-C adapters\n- Bluetooth\n- NVMe\n- Camera\n- Thunderbolt\n\n### Working with mbp-fedora-kernel\n\n- with builtin BCE driver\n  - Audio\n  - Keyboard\n  - Keyboard Backlight\n  - Touchpad (scroll, right click)\n- with builtin iBridge driver\n  - MacBook Pro Touch Bar\n    - If there's an issue with Touch Bar startup on Linux I recommend installing Win10 and boot it once a while to initialize Touch Bar using BootCamp driver, it seems to fix the issue\n- WiFi\n  - to make it working, you need to grab closed source Broadcom WiFi firmware from MacOS and put it under `/lib/firmware/brcm/` in Linux OS, see \u003chttps://wiki.t2linux.org/guides/wifi/\u003e\n\n### Not tested\n\n- eGPU\n\n## How to build mbp-fedora-kernel\n\n1. Make sure that Docker is installed and running correctly on your machine\n2. Clone repo\n3. Generate GPG key: `gpg --full-generate-key`, choose `RSA and RSA` and `Real name: mbp-fedora`\n4. Change version in `build.sh`, \u003chttps://bodhi.fedoraproject.org/updates/?search=\u0026packages=kernel\u003e\n5. Run `./build_in_docker.sh`\n\n## Docs\n\n- Discord: \u003chttps://discord.gg/Uw56rqW\u003e\n- T2 Wiki: \u003chttps://wiki.t2linux.org/\u003e\n- WiFi firmware: \u003chttps://github.com/AdityaGarg8/Apple-Firmware\u003e\n\n### Fedora\n\n- \u003chttps://fedoraproject.org/wiki/Building_a_custom_kernel\u003e\n- \u003chttps://fedoramagazine.org/building-fedora-kernel/\u003e\n- \u003chttps://www.hiroom2.com/2016/06/25/fedora-24-rebuild-kernel-with-src-rpm/\u003e\n\n### Github\n\n- GitHub issue (RE history): \u003chttps://github.com/Dunedan/mbp-2016-linux/issues/71\u003e\n- @kekerby T2 Audio Config: \u003chttps://github.com/kekrby/t2-better-audio\u003e\n- Apple BCE repository (Apple T2 HID): \u003chttps://github.com/kekrby/apple-bce.git\u003e\n- Apple iBridge repository (TouchBar): \u003chttps://github.com/Redecorating/apple-ib-drv.git\u003e\n\n- hid-apple-patched module for changing mappings of ctrl, fn, option keys: \u003chttps://github.com/free5lot/hid-apple-patched\u003e\n- Linux T2 kernel patches: \u003chttps://github.com/t2linux/linux-t2-patches\u003e\n- Ubuntu\n  - Kernel \u003chttps://github.com/t2linux/T2-Ubuntu-Kernel\u003e\n  - ISO \u003chttps://github.com/AdityaGarg8/T2-Ubuntu\u003e\n- Arch Linux\n  - Kernel \u003chttps://github.com/Redecorating/linux-t2-arch\u003e\n  - Packages \u003chttps://github.com/Redecorating/archlinux-t2-packages\u003e\n  - ISO \u003chttps://github.com/t2linux/archiso-t2\u003e\n\n### Old\n\n- VHCI+Sound driver (Apple T2): \u003chttps://github.com/MCMrARM/mbp2018-bridge-drv/\u003e\n- AppleSMC driver (fan control): \u003chttps://github.com/MCMrARM/mbp2018-etc/tree/master/applesmc\u003e\n- hid-apple keyboard backlight patch: \u003chttps://github.com/MCMrARM/mbp2018-etc/tree/master/apple-hid\u003e\n- TouchBar driver: \u003chttps://github.com/roadrunner2/macbook12-spi-driver/tree/mbp15\u003e\n\n### Other\n\n- blog `Installing Fedora 31 on a 2018 Mac mini`: \u003chttps://linuxwit.ch/blog/2020/01/installing-fedora-on-mac-mini/\u003e\n- iwd:\n  - \u003chttps://iwd.wiki.kernel.org/networkconfigurationsettings\u003e\n  - \u003chttps://wiki.archlinux.org/index.php/Iwd\u003e\n  - \u003chttps://www.vocal.com/secure-communication/eap-types/\u003e\n\n## Credits\n\n- @MCMrARM - thanks for all RE work\n- @ozbenh - thanks for submitting NVME patch\n- @roadrunner2 - thanks for SPI (touchbar) driver\n- @aunali1 - thanks for Kernel Patches\n- @ppaulweber - thanks for keyboard and Macbook Air patches\n- @AdityaGarg8 - thanks for support and upkeeping kernel patches\n- @kekrby for T2 Audio config\n- @Redecorating for Arch support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikeeq%2Fmbp-fedora-kernel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikeeq%2Fmbp-fedora-kernel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikeeq%2Fmbp-fedora-kernel/lists"}