Jump to content

1 Screenshot

About This File

Patched OSInstaller.framework to allow macOS 10.12 installation on MBR partition.


To use those patched files you must follow HowTo-10.12.x to create an USB installer. You can't just run the app downloaded from Mac App Store.


The patch is made base on 落下爱@pcbeta 10.10.x patch method


How to make 10.12 installer for MBR?


Open Install macOS Sierra.app/Contents/SharedSupport/InstallESD.dmg/BaseSystem.dmg first.

1. Restore BaseSystem.dmg to HFS partition and rename the partition’s name as macOSMBR as /Volumes/macOSMBR/

2. Copy InstallESD.dmg/BaseSystem.dmg to /Volumes/macOSMBR/

3. Copy InstallESD.dmg/BaseSystem.chunklist to /Volumes/macOSMBR/

4. Copy InstallESD.dmg/AppleDiagnostics.dmg to /Volumes/macOSMBR/

5. Copy InstallESD.dmg/AppleDiagnostics.chunklist to /Volumes/macOSMBR/

6. Remove /Volumes/macOSMBR/System/Installation/Packages

7. Copy InstallESD.dmg/Packages to /Volumes/macOSMBR/System/Installation/Packages


8.OSInstaller replace to



9. Copy InstallESD.dmg/Packages/Essentials.pkg/System/Library/Kernels/kernel

to /Volumes/macOSMBR/System/Library/Kernels/kernel

(use Pacifist v3.2.14 to access the contents of Essentials.pkg, and make directory /System/Library/Kernels first.)

(Need kernel only if you use Chameleon with -f to boot the installer disk, needn't with Clover.)


10. Boot to /Volumes/macOSMBR/ to install macOS.


And, need a /Extra/SMBIOS.plist supported with /Volumes/macOSMBR/System/Library/CoreServices/PlatformSupport.plist.

Set a SMBIOS with Chameleon Wizard.


Work fine with Enoch r2839+

and /Extra/kernel.plist with





If you want to patch MBR by yourself, here is the patch code, works on 10.12.0~10.12.6


perl -pi -e "s|\x48\x8B\x78\x28\x48\x85\xFF\x0F\x84\x91\x00\x00\x00\x48|\x48\x8B\x78\x28\x48\x85\xFF\x90\xE9\x91\x00\x00\x00\x48|g" OSInstaller

codesign -f -s - OSInstaller









User Feedback

Recommended Comments

All working fine Sierra now alive. 

The instructions need to be more clearly written.


Thanks for hard work!

So we don't need patched OSInstall.mpkg  or we use an old patched one  , i couldn't understand crazybirdy response to you .


Link to comment
Share on other sites

OSInstaller is there

but no OSInstall.mpkg



No. Apple introduced a restriction since 10.12 PB4/DB5, which is a check for signature for Packages, and this means we cannot modify OSInstall.mpkg. But it is not necessary to modify it now.

Link to comment
Share on other sites

when I want to install , the disk utitly can not format the partition( can not change the partition table) and in installer just shows the connected usb as available partitions what to do?

I fixed the problem pay formaating hfs+ a partition with linux.

Link to comment
Share on other sites


I am getting 

Still waiting for root device




Almost all combinations are tried. 




cpus=1 npci=x2000 -v -x UseKernelCache=No arch=x86_64

USBBuxFix=Yes GraphicsEnabler=Yes -f PCIRootUID=1 cpus=1 USBLegacyOff=Yes IGPEnabler=No


I think it may USB Kext as I see AppleUSBLegacyRoot init before the waiting message,

Pls advise

Link to comment
Share on other sites



I am getting now 

Failed to load Executable for kext com.apple.kpi.bsd 

kernel trap at 0xffffff800033ccba, type 14=page fault


Fault CR2 0x0000000000000016 Error code 0x0000000000000000


Can't perform kext scan : no kext summary



I have the yosemite on the MBR partition. 


please help.

Link to comment
Share on other sites

Thanks Crazybirdy,


Enoch r2839 helped me to bypass the issue.


I put El Captian USB fix V2 to by pass the Still Waiting for root.


however at end it reaches to point  - This version of Mac 10.12.2 cannot be installed on your computer.

System name of the mac is iMac (21.5-inch, Late 2013)

System has Yosemite 10.10.2


Also its MBR , 3 partitions 1 with Windows.

Error Images are at 





I think MBR patch did not kick in.


Pls help.

Link to comment
Share on other sites

  • Create New...