Jump to content
1 post in this topic

Recommended Posts

Step 1. Setting up (in 10.4.3)

 

i) Create a folder on your desktop (call it anything) and put the following into it:

 

 

files (a folder to put all your patched files, note the folder has to be exactly as it is written here)

 

In the files folder put:

MacOSXUpd10.4.5Intel.pkg

All the maxxuss files (note - don't put them in any extra folders, the only exception is kernel.framework folder this folder should be put in as is)

Any kext files that you want to use from 10.4.4 (see comment in scipt below)

 

Step 2. Creating the script

 

i) Open the Terminal and type:

 

sudo -s

<enter your password>

nano update.sh

 

ii) Paste the following:

 

#!/bin/sh

echo ""

echo "Mac OS X 10.4.5 Updater v0.1"

echo ""

echo "Enter the name of the drive to update to OS X 10.4.5:"

read drivename

 

path=/Volumes/$drivename

filepath=files

 

## Run the 10.4.5 update

installer -verbose -target $path -pkg $filepath/MacOSXUpd10.4.5Intel.pkg

 

## Function to replace patched files

function do_replace()

{

cp -R $filepath/$1 $2/

}

 

## Replace new 10.4.5 files with patched ones

do_replace mach_kernel $path

do_replace translate /$path/usr/libexec/oah

do_replace translated $path/usr/libexec/oah

do_replace Dock $path/System/Library/CoreServices/Dock.app/Contents/MacOS

do_replace Finder $path/System/Library/CoreServices/Finder.app/Contents/MacOS

do_replace loginwindow $path/System/Library/CoreServices/loginwindow.app/Contents/MacOS

do_replace SystemUIServer $path/System/Library/CoreServices/SystemUIServer.app/Contents/MacOS

do_replace ATSServer $path/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Support

do_replace mds $path/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support

do_replace diskimages-helper $path/System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/Resources

do_replace System.kext $path/System/Library/Extensions

do_replace IPFirewall.kext $path/System/Library/Extensions

do_replace AppleSMBIOS $path/System/Library/Extensions/AppleSMBIOS.kext/Contents/MacOS

do_replace Kernel.framework $path/System/Library/Frameworks

 

## Replace incompatiable kexts with ones from 10.4.4 (optional)

## Delete if not required and/or add in your own

do_replace IOATAFamily.kext $path/System/Library/Extensions

do_replace IONetworkingFamily.kext $path/System/Library/Extensions

do_replace AppleIntelIntegratedFramebuffer.kext $path/System/Library/Extensions

 

## Repair permissions/ownerships of extensions just copied

chown -R root:wheel $path/System/Library/Extensions

chmod -R 755 $path/System/Library/Extensions

 

## Run disk utility to repair volume/perissions

diskutil repairVolume $path

diskutil repairPermissions $path

 

echo ""

echo "Volume updated to Mac OS X 10.4.5!"

 

iii) Press <ctrl> + o (to Output file) and <ctrl> + x (to eXit)

 

iv) type chmod +x install.sh

 

 

Run the script from terminal by

 

sudo -s

cd <drag the folder from the desktop into the terminal window>

./update.sh

 

Thats it reboot into 10.4.5 and repair permissions with disk utility just to be sure.

Link to comment
https://www.insanelymac.com/forum/topic/10175-1045-all-in-one-install-script/
Share on other sites

×
×
  • Create New...