Skip to content

hermitcrabslab/AptioFix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AptioFix

AptioFixPkg drivers fixing certain UEFI APTIO Firmware issues relevant to booting macOS.

WARNING: The code in this repository should be considered to be a proof of concept draft quality, and is only intended to be used as a software implementation guide. Due to the lack of time, this codebase may contain partially understood reverse-engineering samples, almost no documentation, hacks, and absolute ignorance of EDK2 codestyle.

AptioInputFix

Reference driver to shim AMI APTIO proprietary mouse & keyboard protocols for File Vault 2 GUI input support.

Features

  • Sends pressed keys to APPLE_KEY_MAP_DATABASE_PROTOCOL
  • Fixes mouse movement via EFI_SIMPLE_POINTER_PROTOCOL

AptioMemoryFix

Fork of the original OsxAptioFix2 driver with a cleaner (yet still terrible) codebase and improved stability and functionality.

Features (compared to the original)

  • Automatically finds the available memory region for boot.efi to use
  • Implements KASLR support for systems where certain slides cannot be used
  • Adds Safe Mode support on systems with used lower addresses
  • Ensures no slide argument leak to the operating system
  • Attempts to more properly handle the memory mappings
  • Implements new mapping code when waking from hibernation (still not stable enough)

Credits

About

AptioFixPkg drivers to workaround macOS compatibility with APTIO UEFI FW

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 87.6%
  • Assembly 6.2%
  • C++ 5.8%
  • Shell 0.4%