GithubHelp home page GithubHelp logo

00mjk / apple_set_os.efi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 0xbb/apple_set_os.efi

0.0 0.0 0.0 10 KB

Tiny EFI program for unlocking the Intel IGD on the Macbook Pro 11,3 for Linux and Windows

License: MIT License

Makefile 28.41% C 66.25% Dockerfile 5.34%

apple_set_os.efi's Introduction

apple_set_os.efi

Tiny EFI program for unlocking the Intel IGD on the Macbook Pro 11,3 for Linux and Windows.
It has been made to be easily chainloaded by unmodified EFI bootloader like Grub, rEFInd etc.

The Macbook Pro 11,3 model's EFI is switching off the Intel GPU if you boot anything but Mac OS X.
So a little trick by faking the OS identifiction is required to make all hardware accessible.

All credits belong to Andreas Heider who originally discovered this hack:
https://lists.gnu.org/archive/html/grub-devel/2013-12/msg00442.html

Usage:

Copy the apple_set_os.efi binary (download it from releases) to EFI System Partition (ESP) :

mkdir /boot/efi/EFI/custom
cp apple_set_os.efi /boot/efi/EFI/custom

rEFInd should automatically show a new icon for apple_set_os.efi.

Grub can be configured to start apple_set_os.efi automatically by adding the following lines to /etc/grub.d/40_custom:

search --no-floppy --set=root --label EFI
chainloader (${root})/EFI/custom/apple_set_os.efi
boot

Build:

Tested on Debian Jessie 8.0:

apt-get install gnu-efi
git clone https://github.com/0xbb/apple_set_os.efi
cd apple_set_os.efi
make

Build via docker

docker build -t apple_set_os . && docker run --rm -it -v $(pwd):/build apple_set_os

apple_set_os.efi's People

Contributors

0xbb avatar colinharrington avatar rudis 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.