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

/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

 

 

 

 

 

 

 

 




User Feedback

Recommended Comments



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 :)

Share this comment


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

Share this comment


Link to comment
Share on other sites

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

Thanks

don't need patched OSInstall.mpkg

Share this comment


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.

Share this comment


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?

Share this comment


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.

Share this comment


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

Share this comment


Link to comment
Share on other sites

×