Jump to content

Sierra MBR Patch 10.12.6


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

/Volumes/macOSMBR/System/Library/PrivateFrameworks/OSInstaller.framework/Versions/A/OSInstaller

 

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

<key>KernelBooter_kexts</key>

<string>Yes</string>

https://postimg.org/image/bnmdi8cdl/

 

10.12.6.16G29

10.12.5.16F73

10.12.4.16E195

10.12.3.16D32

10.12.2.16C68

10.12.1.16B2657

10.12.0.16A323

 

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

 

 

 

 

 

 

 

 

  • Like 3
 Share


User Feedback

×
×
  • Create New...