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

Recommended Comments



do you have the untouched dmg and can you upload the md5 for the untouched dmg?

  • Like 1
Link to comment
Share on other sites

Thank you I just installed macOs Sierra on this machine:

 

Name: HP Compaq DC7900 CMT

CPU: intel Core 2 Duo E7500 2,93Ghz

RAM: 2GB DDR2 SDRAM

GPU: Q45/Q43 Serie 4

hehhehhhe I am a hacker :)

  • Like 1
Link to comment
Share on other sites

All working fine Sierra now alive. 

The instructions need to be more clearly written.

 

Thanks for hard work!

  • Like 1
Link to comment
Share on other sites

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 .

Thanks

Link to comment
Share on other sites

OSInstaller is there

but no OSInstall.mpkg

 

IS FILE MISSING?

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.

  • Like 1
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?

  • Like 1
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.

  • Like 1
Link to comment
Share on other sites

Download again.....

Ah no. I guessed maybe the full installer distribution that downloaded from MAS is 16C68. For otherwise (Updating) it's 16C67.

  • Like 1
Link to comment
Share on other sites

Hi,

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

Hi,

 

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.

  • Like 1
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 

 

http://imgur.com/a/nmD6c

 

 

I think MBR patch did not kick in.

 

Pls help.

Link to comment
Share on other sites


×
×
  • Create New...