Seriously
AOSUILite.framework, which is required for KeyRecoveryAssistant.app
requires in order to run.
KeyRecoveryAssistant.app
is built into macOS's Recovery HD, and it's purpose it to help disable the firmware password if you've forgotten it (I think).
You'd regularly boot into Recovery HD to do this, but there are times when you can't do that.
Side note: you can also set your firmware password without booting into your recovery partition, if you use Firmware Password Utility.app.
You can get that by running this in terminal after you've opened BaseSystem.dmg: cp -r /Volumes/OS\ X\ Base\ System/Applications/Utilities/Firmware\ Password\ Utility.app /Applications
This is a collection of AOSUILite.framework for all of the different versions of macOS that I could find (10.10-10.14).
IMPORTANT: SIP has to be disabled to follow this guide, to learn how to disable SIP, check out this.
defaults write com.apple.Finder AppleShowAllFiles YES
killall Finder
diskutil mount disk0s3
cp /Volumes/Recovery\ HD/com.apple.recovery.boot/BaseSystem.dmg ~/Desktop/
Now mount BaseSystem.dmg, which is located on your desktop. When it's mounted, go back to terminal and run this command:
sudo cp -r /Volumes/OS\ X\ Base\ System/System/Installation/CDIS/KeyRecoveryAssistant.app /Applications
KeyRecoveryAssistant will now be located in your Applications folder. When you try to run it, you'll get a message with this title::
KeyRecoveryAssistant cannot be opened because of a problem.
Download the AOSUILite.framework.zip file from the folder which's name matches your macOS version.
This next part of the guide is written asuming that AOSUILite.framework.zip has been downloaded and unzipped into your ~/Downloads/ folder.
sudo mv -r ~/Downloads/AOSUILite.framework /System/Library/PrivateFrameworks/AOSUILite.framework