Category Archives: Mac OS X

Some Mac OS X References

Mach-O Runtime Architecture (Mach-O Header Details)
Mac OS X ABI Dynamic Loader Reference (dyld Manual)
Mac OS X Internals (Mac OS X System Internals)
Mac OS X Debugging Magics ( Mac OS X Debugging Tricks)

Simulate iPhone Safari (MobileSafari) on PC/Mac

The method introduced here is illustrated on a Linux box, you may do the same on BSD, OS X, or any other OS’es as long as wget is installed.
Why Simulate MobileSafari ?
Because I’d like to download the applications using PC/Mac, then transfer to iPhone through SSH, this is much faster than installing directly on iPhone [...]

Installing Leopard 9A581 GM on a Hackintosh

INTEL ONLY!
Complete Guide on How to Patch your 9A581 (GM) DVD to Work on a HackinTosh.
FILES FOR THIS GUIDE: Leopard 9a581 Patch
Thanks to a lot of people in the forums and IRC that made this happen! This is a guide to help you all in getting your Leopard Unpatched DVD to run on your hack.
First, [...]

Booting a Different Kernel

To boot a different kernel, press F8 before boot, this enters the boot loader shell, enter the following to go on:
/your_kernel_file
you may also add other kernel options (as like ‘-v’) after it.

Mac OS X 10.4.9 with 8.9.1 Update Guide

Notice: you need to have SSE3 system for it
1) Download kernel
got to irc channel #1049 at irc.osx86.hu read topic, hpet/sse3 kernel - for systems with ich4 ich5 ich6 ich7 ich8 chipset ( most intel chipsets based modern mobos), for other intel proc system - download nohpet/sse3 kernel.
for amd single core systems - AMD/SSE3/1Core, for amd [...]

Setting up the corrent FSB for OS X

Sometimes, the FSB detection in OS X (especially prior to 10.4.8) could be wrong, you may need to set the correct value manually.To get the correct value, in the Terminal:

$ sysctl hw.busfrequency

this returns the bus frequency, you need to convert it to speed by:
<frequency> / 4000000
After you get the FSB value, open the file:

/Library/Preferences/SystemConfiguration/com.apple.Boot.plist

edit the [...]

Display Simplified Chinese in Mac OS X 10.4 Shell

Displaying and edititing Simplified Chinese in Mac OS X shell can be a pain, the following show the correct way to make this possible.
1. Edit ~/.profile, add:

export LANG=zh_CN
export LC_ALL=zh_CN

2. Set terminal encoding to:

EUC_CN

3. Edit ~/.inputrc, add:

set meta-flag on
set input-meta on
set output-meta on
set convert-meta off

3. While in VI, enter following commands:

:set encoding
:set fileencoding