Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
Sign in to follow this  
dave123

Idea: Why not Hacking the Bios / EFI?

7 posts in this topic

Recommended Posts

Hi folks,

 

i am quite new to the osx86 thing, but a long time osx user.

as i'd like to remove my mbp from my desk i thought about buying a desktop system,

but unfortunately a macpro is a bit too expensive ;-)

 

so i thought:

why not trying to build an hardware-a-like system (probably many of you already did that).

but as far as i understand the whole osx @ x86 scene you all use modified osx install dvds.

why not trying to hack the system bios / efi itself in order to get hardware which is acutally recognized

as a legitimate macpro by the installer.

 

i didn't find any threads discussing this possibility (if there is any).

as far as i know current macpro's dont have a tpm, so if one would clone the mainboard/system bios/efi into a hardware-a-like mainboard he should end up with an "recognized as apple system"?

 

am i wrong? what do you guys think about this possibility?

 

best,

 

dave

Share this post


Link to post
Share on other sites

actually, there are a lot of threads discussing this. Some have tried it with more or less success but no one has been able to get it working flawlessly.

Share this post


Link to post
Share on other sites

Hi. thanks for your reply. could you provide me with an "keyword" for more research?is there a special "name" for those projects?bestdave

 

update:

the thing i am talking about is probably summarized with the term MacEFIx86.maybe we should get some media buzz in order to get skilled people to work on it (again) ? :-)

Share this post


Link to post
Share on other sites

after doing some research i have the feeling, that some "media buzz" would really be usefull.

we have to combine all the efforts of different people working on efi-hacks.

 

my researchs showed me, that there are some people working on it, but they aren't working together.

we need something like the iphone dev wiki. we need a efi-hack wiki :-)

 

another (less good) solution (instead of flashing a mainboard to be recognized as a macpro board) could be to run a virtual efi ontop of the system efi.

Share this post


Link to post
Share on other sites

Hackers should be working together. I'd like to implement this in my own hardware. OS X is definitely one of my, if not the, favorite OS I've used.

 

Plus, it'd save a lot of time on patching.

Share this post


Link to post
Share on other sites

An EFI emulator is a good idea. Some x86 machines with OSX-compatible hardware will not even run the OSX86 installer, due to a BIOS incompatibility. Other people have expressed interest in working on this; for example:

Soundless
Jun 24 2007

i intend to start working on some kind of efi emulator for bios

mac-mini
Jun 24 2007

kind of already made but doesnt work too well

efi on pc, it's possible

[the above thread is now 13 pages, and work is progressing]

Here is an overview of EFI-related stuff, for those who may consider joining the developer community:

_____________________

 

"The Darwin bootloader is used to boot OSx86 as it is compatible with BIOS unlike the usual method for booting OS X on a real Mac using EFI. Barely any motherboards have EFI so using Apple EFI to boot is not a good solution, however there is work being done to boot a virtual EFI partition from BIOS and also to flash Intel EFI compatible motherboards with Apple EFI modules."

http://neonkoala.co.uk/content/view/33/34/

 

How EFI works:

http://www.kernelthread.com/publications/firmware/

 

"EFI is an interface specification and it really is more about how to write an operating system loader and an Option ROM than it is about how to make a BIOS that works. The Intel Platform Innovation Framework for EFI is Intel's next generation firmware architecture from the ground up. The core chunks of this code are available under an Open Source license at www.TianoCore.org. Tiano was the developer code name while Framework was the marketing name." —Andrew Fish (inventor of EFI)

http://www.kernelthread.com/publications/firmware/

 

Insyde EFI Developer Kit

http://www.insydesw.com/tw/products/products.htm

 

Intel EFI home page

http://www.intel.com/technology/efi/

 

Intel sample EFI implementation download

http://www.intel.com/technology/efi/agreesource.htm

 

Intel EFI Application Toolkit

Effective July 1, 2007 the EFI Toolkit source code will no longer be available for download. Future updates to the EFI Application Toolkit can be downloaded from the open source EFI-toolkit project on the Foundation Code for EFI Implementations site TianoCore.org.

http://www.intel.com/technology/efi/toolkit_overview.htm

 

The EFI and Framework Open Source Community is the community surrounding the open source components of Intel's implementation of EFI, officially called the Platform Innovation Framework referred to as "the Framework".

https://www.tianocore.org/

 

"The grand majority of Intel motherboards ship with Framework-based firmware. During 2005 more than one million Intel systems shipped with the Framework. New mobile, desktop and server products using the Framework, started shipping in 2006. For instance, all boards that use the Intel 945 chipset series use the Framework. However, the production firmware usually does not include EFI support, and is limited to legacy BIOS."

http://en.wikipedia.org/wiki/Extensible_Firmware_Interface

 

The OpenBIOS project provides you with most free and open source Open Firmware implementations available.

http://www.openbios.org

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Posts

    • You can try this one here 2.9.0 let me know if its better for you ?   VoodooHDA.kext.zip
    •   Boot option name retrieval 1) Locate the booter image as explained blow. 2) Locate ".contentDetails" in the parent folder 2.1) if unsuccessful, locate ".disk_label.contentDetails" in the parent folder 2.2) if unsuccessful, retrieve the volume's name   HFS Boot 1) Retrieve blessed file via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleBless.h#L41 1.1) if unsuccessful, retrieve blessed folder via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleBless.h#L45, append "\\boot.efi". NOTE: This is broken in the latest binary I checked. 1.2) if unsuccessful, use the following hard-coded paths: "\System\Library\CoreServices\boot.efi", "\EFI\APPLE\{ARCH}\BOOT.EFI", <StandardEfiPath>, "\\boot.efi" in this order 2) FV2 Recovery does not follow the usual practice because it is not shown by BootPicker anyway. Determine it via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleBless.h#L49, verify it does not match 1).   APFS Boot 1) Determine the APFS Volume Info (and hencefor detect whether it is APFS in the first place) via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleApfsInfo.h#L54 1.1) Determine the APFS Container Info via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleApfsInfo.h#L36 1.2) Verify the Volume Role via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleApfsInfo.h#L51 1.3) Retrieve blessed file analoguous to HFS 1). NOTE: This step and 1.3.1) are broken in the binary I checked, hencefor it does not happen, but is probably supposed to. 1.3.1) if unsuccessful, retrieve blessed folder and append the booter name the same way as in HFS 1.2) 1.4) (if unsuccessful,) locate all Volumes that are part of the same container, check whether the current Preboot partition has folders named by the just located Volumes' GUIDs and append the hard-coded paths from HFS 1.2) if existant 2) Recovery detection works the same way as 1.4), just for a Recovery instead of a Preboot volume
    • Got garbled sound in earphone    Notebook Asus X550VX i7 - 7700hq with ALC255 not working with applealc  layout id  3, 13, 17, 18, 27, 28, 99 its is working with VoodooHDA but the new one 2.9.1 it much has low volume, but bad sound in earphone     codec dump linux https://drive.google.com/file/d/1pg2y76WvFYsO8vFY-2B_2OLyKMmkQ8Tg/view     latest debug http://www.mediafire.com/file/2pjny4eq5r64ed8/debug_1383 (1).zip  
    • For F6 Bios, which DSDT is the one i should use? I´m a little confused in the Mass of DSDT here ;-).   Great Thread by the Way.   Another Question: I have 2 960Pro inside my Rig (one with OS X, one with Windows 10). When i try to mount my EFI on OS X NVMe the system freezes... :-(   DWhen i unplug the Windows NVMe everything is fine an it mounts the EFI.   Anybody an idea?   Tried the upper Port on the Board (OS X) & the middle / lower Port, in the Middle it mounts the EFI in the lower it freezes.   But i need the middle Port for an SATA M.2 SSD :-D... Even when i plug the Windows NVMe into an PCIe Adapter Card it freezes at the point i mount the EFI.   I´m mounting with Clover Configurator.     Thank You guys.
    •   Just add "ngfxsubmit=0" to config.plist to disable the fix within nvidiafixup


×