Jump to content

Patching my own?


aeronick
 Share

11 posts in this topic

Recommended Posts

Hi All,

 

I've been doing a lot of reading and researching in order to (hopefully) get OSX on a Lenovo Thinkpad X60 Tablet pc.

 

All of the Install Guides I've found start with "Obtain a patched image" - but what if I want to patch my own copy of OSX? I have considerable access to apple developer resources (considerable), and am familiar with OSX internals, but don't trust bittorrent downloads and images. Also, I like to know what's what technically!

 

Is there an option or document for a "do it yourselfer" to get started with 10.4.8? Which developer image(s) are people starting with to build these images.. full fat?

 

I'm glad to give back to the community with any future information based on my install(s).

 

-AN

Link to comment
Share on other sites

aeronick, there is no reason to make your own, and there is no reason to not trust downloading it :2cents:

 

 

Thanks Joe - I hear you. My thinking is that 1) Rolling my own will help me understand what exactly is going on - so if things break, I might know how to fix or roll my own patches for others. 2) I'm a sick individual who likes gdb 3) I wouldn't trust anything downloaded from bittorrent even if my grandmother fed it to me with warm tea and some rice pudding :-)

 

In my estimation, this is a fun hacking project I'll use to fill some time while I'm laid up and bored (injury).

 

:-)

 

-AN

Link to comment
Share on other sites

To start, an existing Apple image won't work. It won't even boot. An image for running on a PC has to be a hybrid that has a small section in something like FAT16 for MBR and BIOS information and then the rest formatted as HFS+.

 

Most of the patched versions start with an old 10.4.4 image that was created as a hybrid. It installs 10.4.4 and then uses a combo updater to update that to a later version.

Link to comment
Share on other sites

Ah... I see.. 10.4.4 was the original Intel developer release before a locked down EFI (damn that EFI) - but if people are now using a 10.4.8 kernel, EFI likely isn't an issue anymore - so why the need for 10.4.4 as a hybrid base still? I could re-roll a fresh 10.4.8 image including the new kernel and relevant patches, no?

 

Speaking of that, Simthex, we should really chat. I might be able to help speed things up.

 

Thanks,

-AN

 

 

To start, an existing Apple image won't work. It won't even boot. An image for running on a PC has to be a hybrid that has a small section in something like FAT16 for MBR and BIOS information and then the rest formatted as HFS+.

 

Most of the patched versions start with an old 10.4.4 image that was created as a hybrid. It installs 10.4.4 and then uses a combo updater to update that to a later version.

Link to comment
Share on other sites

You can roll your own, i rolled my own off of a 10.4.7 disc like rammjet said, it basically invovles haveing a small partition for the MBR and darwin bootloader, and then you add a patched kernel and all the other patched files you might need on your system to boot, then get a kextcache from a current DVD (i.e Jas's ones) and add it, also you can edi the OSInstall.plist file to add your own packages to install. There was a script floating around to do this, called the DVD Patcher or sumfin like that.

Link to comment
Share on other sites

Now we're rolling, thanks Kiko. MBR partition and bootloader are done. Regarding the kextcache, is it a special kextcache binary that JaS rolled (Mkext I would think?)

 

Update: Oops, I realized that it's likely the kexts themselves rather than a special kextcache.

Update2: Thank goodness for OSBundleRequired and safe boot! :-) Now on to that kernel!

 

 

Regards,

-AN

 

 

 

You can roll your own, i rolled my own off of a 10.4.7 disc like rammjet said, it basically invovles haveing a small partition for the MBR and darwin bootloader, and then you add a patched kernel and all the other patched files you might need on your system to boot, then get a kextcache from a current DVD (i.e Jas's ones) and add it, also you can edi the OSInstall.plist file to add your own packages to install. There was a script floating around to do this, called the DVD Patcher or sumfin like that.
Link to comment
Share on other sites

Well for sound and other stuff you can add your own kexts (kexts that are premodded for your hardware) then you'd have a perfect dvd :P, Is the netinfod problem something to do with mach_absolute_time?

Link to comment
Share on other sites

 Share

×
×
  • Create New...