The Full Wiki

Hackintosh: Wikis


Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.

Encyclopedia

(Redirected to OSx86 article)

From Wikipedia, the free encyclopedia

Apple–Intel transition

Architecture
Universal binary
Boot Camp
Rosetta

 This box: view  talk  edit 

OSx86 (a portmanteau of OS X and x86) is a collaborative "hacking" project to run the Mac OS X computer operating system on non-Apple personal computers with x86 architecture and x86-64 compatible processors. The effort started soon after the June 2005 Worldwide Developers Conference announcement that Apple would be transitioning their personal computers from PowerPC to Intel microprocessors.

A computer built to run this type of Mac OS X is also known as a Hackintosh or Hackint0sh, a portmanteau of the word "hack" and the name of Apple's main brand of computers, Macintosh.

The Apple software license does not allow Mac OS X to be used on hardware that is not "Apple-labeled"[1] The legality of this form of tying is disputed by companies such as Psystar and PearC, who have attempted to release products using Mac OS on non Apple-machines. However Apple claims the methods it uses to prevent MacOS X from being installed on non-Apple hardware are protected by the DMCA, and in November 2009 won a summary judgement against Psystar on these grounds.[2]

Contents

Legal issues and Apple objections

Apple does not authorize the use of the Mac OS on any x86 PC other than the ones it has developed itself. The company used a Trusted Platform Module, or TPM, to tie Mac OS to the systems it distributed to developers after announcing its switch to Intel's chips. [3]

The Mac OS X EULA forbids installations of Mac OS X on "non Apple-labeled computers".[1] On July 3, 2008, Apple filed a lawsuit against Psystar Corporation[4] for violating this restriction, among other claims.[5] Apple claimed Psystar "violated the Digital Millennium Copyright Act (DMCA) by dodging copy-protection technologies Apple uses to protect Mac OS X. "Apple employs technological protection measures that effectively control access to Apple's copyrighted works [...] Defendant has illegally circumvented Apple's technological copyright-protection measures." Specifically, Apple charged Psystar with acquiring or creating code that "avoids, bypasses, removes, descrambles, decrypts, deactivates or impairs a technological protection measure without Apple's authority for the purpose of gaining unauthorized access to Apple's copyrighted works."[6] This brief revealed that Apple considers the methods that it uses to prevent Mac OS X from being installed on non-Apple hardware to be protected by the DMCA.

On November 13, 2009, the court granted Apple's motion for summary judgment and found Apple's copyrights were violated as well as the Digital Millennium Copyright Act (DMCA) when Psystar installed Apple's operating system on non-Apple computers. A hearing on remedies was set for December 14.[7][8]

On January 14, 2009, the Gadget Lab site of Wired Magazine posted a video tutorial for installing Mac OS X on an MSI Wind netbook, but removed it following a complaint from Apple.[9] Textual instructions remain that include an EULA violation disclaimer.[10]

Developer Transition Kit

Efforts to run Mac OS X on non-Apple hardware utilized leaked copies of pre-release software. On June 6, 2005 Apple announced the availability of a Developer Transition Kit. This kit was made available to registered developers at a cost of $999.[11] The first patches circumvented the Trusted Platform Module (TPM) that was included on the motherboard of the Developer Transition Kits. The TPM was required by the Rosetta technology that allowed software compiled for the PowerPC architecture to run on Intel-based architecture. Removing this requirement allowed Mac OS X to be installed on non-Apple computers. Rosetta also required microprocessors that included SSE3 instructions. Patches were released to the community which emulated these instructions with SSE2 equivalents and allowed the installation on machines without SSE3 support, although this produced a performance penalty. Being beta software, many updates followed its release.

In October 2005 Apple released update 10.4.3 to developers that required NX bit microprocessor support;[12] however, patches were released to circumvent this.[13]

Hacking approaches

Kernel hacks

Mac OS X 10.4.4

On January 10, 2006, Apple released Mac OS X 10.4.4 with the first generation of Intel-based Macs, the iMac and the MacBook Pro. These machines used Extensible Firmware Interface (EFI) platform firmware instead of the legacy BIOS found on most x86 motherboards. On February 14, 2006, an initial "hack" of Mac OS X v10.4.4 was released on the Internet by a programmer with the pseudonym maxxuss.[14] Within hours Apple released the 10.4.5 update,[15] which was patched again by the same author within two weeks.[16] On April 3, 2006 Apple released their 10.4.6 update[17] and again patches were released within two weeks that allowed users to install most of this update on non-Apple computers, although this did not include the updated kernel in 10.4.6. In June, the hackers released the 10.4.7 Mac OS X update for non-Apple computers using the 10.4.4 kernel.

Up to the release of the 10.4.8 update, all OSx86 patches used the 10.4.4 kernel with the rest of the operating system at version 10.4.8. However, the newer frameworks relied on the newer kernels and this led to users of 10.4.8 encountering many problems. Apple also started making more use of SSE3 instructions on their hardware making it even more difficult for users with CPUs supporting only SSE2 (such as older Pentium 4's) to get a fully compatible system running.

XNU kernel patch

Two programmers, working under the pseudonyms Mifki or Vitaliy and Semthex, released new kernels by starting with the open source XNU tree and applying patches necessary to run the kernel on non-Apple hardware. Mifki's goal was to release the kernel with as few patches as possible, able to run on close-to-Apple hardware. Semthex's goal was to make his kernel more compatible with legacy hardware with the omission of some crucial features.

Both kernels allowed most of the updated kernel extensions/frameworks to work, making properly configured beige-box PCs operate more like genuine Apple computers. While Mifki has only updated his kernel once, Semthex updates it regularly and added AMD, VMware and SSE2-support in later versions. Semthex released his hacked kernel source code on his webpage. On December 24, 2006 he also released the latest patches for the SSE3 kernel as a diff file for his original source tree as a Christmas present to the community. Special attention should be given to the SSE2 emulation which Semthex developed together with Rufus. This emulation was the first fully complete emulation of all SSE3 instructions to be presented to the OSx86 community. The previous SSE2 emulation was incomplete, only emulating 3 of the available SSE3 instructions, and very inefficient compared to the new emulator. The new emulator enabled even SSE2 OSx86 users to run SSE3 based applications such as iTunes 7 and most 3D programs.

In the early days of 10.4.8, an Intel-SSE3 only install DVD was released by JaS, which included Vitaliy's and Semthex's kernel. A few weeks later, a hacker calling himself tubgirl released an AMD-SSE3 install DVD. With Semthex's successful completion of the SSE2 Kernel, JaS released an SSE2-SSE3 universal DVD and announced his retirement from hacking Mac OS X after seven successful DVD releases. However, on August 9, 2008, JaS released yet another distribution featuring both a client and server version of Mac OS 10.5.4.

Mac OS X v10.5

Mac OS X v10.5 installing on a Lenovo laptop computer.

As early as Mac OS X v10.5 build 9A466 the community has maintained a version of Leopard which can run on non-Apple hardware. A hacker by the handle of BrazilMac created one of the earliest patching processes which made it convenient for users to install Mac OS X onto 3rd party hardware by using a legally obtained, retail version of Apple Mac OS X. It was utilizing the BrazilMac patch that many effortless distros of Mac OSx86 came to fruition. Five of the most popular builds go by the name JaS, Kalyway, iATKOS, iPC and iDeneb - although more recently these builds are on the way out as the Boot-132 method (described below) gains popularity. However, all of these compilations rely on the work of kernel hackers made by Lorem (build 9A466), SynthetiX (builds 9A499, 9A527 and 9A559), ToH (builds 9A581, 9B13 and 9B18) and more recently a group calling themselves StageXNU (now called Voodoo) (Darwin 9.4.0). Their contributions trickled down into the various Mac OSx86 installers, readily available on the internet. There continue to be refined and updated builds released, not just to maintain compatibility with Apple releases but an ever increasing number of third party components. The OSx86 community has been quick to make the necessary modifications to enable Apple's latest releases to run on non-Apple hardware. Within hours of Leopard's release, an AMD/Intel SSE2/3 Kernel Patcher was created which removed the HPET requirement from an original untouched mach_kernel file, a core component of the Mac OS.

Mac OS X v10.6

The osX86 community contributed the osx86 knowledge in osx86-wiki and discussed osx86 issues in the insanelymac forum. As early as Mac OS X v10.6 was released in 2009 the community has created update guides to Snow Leopard which can run on non-Apple hardware. Apples MacOS 10.6 has found its way into many PC motherboards and PC Laptops[18].

Boot loaders and emulators

EFI emulation

Extensible Firmware Interface (EFI) is a specification that defines a software interface between an operating system and platform firmware.

In early November 2007, a group of hackers (fronted by a Russian hacker known as Netkas), using an already modified boot-132 source root from David Elliot (also known as dfe),[19] developed a method[20] of emulating an EFI environment using a specially modified Darwin bootloader.[21] In practical terms, this meant that regular PCs meeting a minimum set of hardware requirements could now be "seen" as real Macintosh computers by the OS, allowing the use of unmodified, "stock" Apple kernels (as long as the CPU supports it) and thus giving a more transparent and reliable operation. Several methods for real world deployment of this innovative solution have arisen all around the net. An explanation of this achievement along with a usage guide was provided by the website DigitMemo.com.[22]

True EFI emulation was a highly sought after asset for the OSx86 community. Previous efforts based upon Apple’s open source Darwin Project and Hackintosh gurus allowed users to enjoy OS X on normal PCs, with patched kernels/kernel modules which simply bypassed EFI. Using the EFI patch, a Hackintosh could boot off "vanilla" (unmodified) OS X kernels and use vanilla kernel extensions. This not only allowed the system to be compatible with future system updates, but also offered increased stability. This method also circumvents one aspect of Apple's End User License Agreement, which states that the modification of non-open Source components of the OS is forbidden.[1]

In mid-2008, a new commercial product, EFi-X, was released that claims to allow full, simple booting off official Leopard install disks, and a subsequent install, without any patching required, but this is possibly a repackaging of Boot-132 technology.[23] Rebel EFI is another commercial product that also seems to use open source software.[24]

Boot-132

In mid-2008, a new method called BOOT-132 came on to the scene.[25] This method allows users to conduct the Leopard-based OSX86 installation using a stock, retail purchased copy of Mac OS X Leopard and eradicates the necessity of a hacked installation like JaS or Kalyway (mentioned previously). The Boot-132 boot loader essentially preloads an environment on the system from which Leopard can boot and operate. The boot loader stores the necessary files (kext files) in a .img collection or simply a folder. The luxury of this new installation method includes the ability to boot and install from a retail Leopard DVD and update straight from Apple.

The bootloader behaves like the linux kernel: one can use an mboot (a patched syslinux was used for the hack) compatible bootloader which tells boot-dfe about the .img file (the ramdisk or initrd, as it's known by the linux users) and boot-dfe will then use the kexts (or mkext) from it. This new boot-dfe has been tested with the retail Leopard DVD and it can boot, install and run Leopard without having to build a modified DVD.

However, this only works with compatible machines, although more recently, with the release of the Voodoo kernel,[26] AMD users have been able to run Retail. Non-Core users can run Retail by using any compatible kernel. Both methods require the placing of the hacked kernel on the boot-132 disc.

10.6 Snow Leopard

Since the early developer builds of Mac OS X 10.6, members of the OSx86 community had been booting the new operating system using yet another bootloader provided by Russian hacker Netkas or the bootloader of the Voodoo team Chameleon. The ability to run MacOS on PC hardware is now largely limited by whatever hardware components exist on a machine that have neither official MacOS drivers nor community support from online forums. However, with supported CPUs and graphics chipsets, 64-bit variants of the MacOS kernel will run flawlessly on PC hardware. Most trackpads and audio chipsets are supported by the Voodoo community, albeit with some qualifications. Intel wireless chipsets, more recent Intel GPUs, and most mobile ATI GPUs remain unsupported, due to the complexity of modifying existing drivers or writing new ones from scratch without access to the manufacturer's proprietary APIs and documentations regarding the unsupported hardware.

Live DVD

In March 2007 the OSx86 community made some significant progress with the development of a Live DVD. The Live DVD allows booting to a working system with Mac OS X v10.4.8.

On January 2, 2009, InsanelyMac's Live DVD team published a new method by which a Mac OS X v10.5.x Live DVD could be produced, allowing users to boot a fully working OS X desktop from a DVD or USB flash drive.[27] The method was more reliable than previous methods, as it manipulated Apple's existing Netboot and Imageboot functionalities, and behaved as if the system was running off a network disk. It was also easier to produce, requiring only a single script be added to an existing installation, and a distribution of the live DVD has been made since. It is notable that this method has been shown to work on normal Apple Mac hardware since.

See also

References

  1. ^ a b c Apple Inc.. "Apple Inc. Software License Agreement for Mac OS X" (PDF). Apple Inc.. http://images.apple.com/legal/sla/docs/macosx105.pdf. Retrieved 2008-09-03. 
  2. ^ Keizer, Greg (2009-11-15). "Apple Wins Court Victory Over Mac Clone Maker Psystar". Pc World. http://www.pcworld.com/article/182218/Apple_Wins_Court_Victory_Over_Mac_Clone_Maker_Psystar.html?tk=rss_news. Retrieved November 15, 2009. 
  3. ^ "DMCA axes sites discussing Mac OS for PCs"
  4. ^ Fried, Ina (2008-07-15). "Apple sues clone maker Psystar". News.cnet.com. http://news.cnet.com/8301-13860_3-9991572-56.html. Retrieved 2009-04-28. 
  5. ^ July 15th, 2008 (2008-07-15). "Apple Goes After Clone Maker Psystar". Espinosaiplaw.com. http://espinosaiplaw.com/wordpress/?p=41. Retrieved 2009-04-28. 
  6. ^ Keizer, Gregg (November 30, 2008). "Apple adds DMCA charge to lawsuit against Psystar: It accuses clone maker of breaking Mac OS copy-protection scheme". computerworld.com. http://www.computerworld.com/s/article/9121798/Apple_adds_DMCA_charge_to_lawsuit_against_Psystar. Retrieved 2009-10-07. 
  7. ^ Elmer-DeWitt, Philip (2009-11-14). "Apple wins clone suit". CNN Money. http://brainstormtech.blogs.fortune.cnn.com/2009/11/14/apple-wins-clone-suit/. Retrieved November 15, 2009. 
  8. ^ Keizer, Greg (2009-11-15). "Apple Wins Court Victory Over Mac Clone Maker Psystar". Pc World. http://www.pcworld.com/article/182218/Apple_Wins_Court_Victory_Over_Mac_Clone_Maker_Psystar.html?tk=rss_news. Retrieved November 15, 2009. 
  9. ^ "The Netbook Hackintosh Video Apple Made Wired Take Down". I.gizmodo.com. 2009-01-14. http://i.gizmodo.com/5131264/the-netbook-hackintosh-video-apple-is-suing-wired-for. Retrieved 2009-04-28. 
  10. ^ "Gadget Lab Video: Running OS X on a Netbook". Blog.wired.com. 2008-12-01. http://blog.wired.com/gadgets/2008/12/gadget-lab-vide.html. Retrieved 2009-04-28. 
  11. ^ Apple Computer, Inc. (2005-06-06). "Apple to Use Intel Microprocessors Beginning in 2006". Apple.com. http://www.apple.com/pr/library/2005/jun/06intel.html. Retrieved 2009-04-28. 
  12. ^ sHARD>> (October 16, 2005). "Apple Seeds 10.4.3 Intel to Developers". OSx86 Money Project. http://www.osx86project.org/index.php?option=com_content&task=view&id=53&Itemid=2. Retrieved 2006-05-28. 
  13. ^ Jonathan Black (October 30, 2005). "Hacked OSx86 Updated to 10.4.3". OSx86 $$$ Project. http://www.osx86project.org/index.php?option=com_content&task=view&id=56. Retrieved 2006-05-28. 
  14. ^ Jonathan Black (February 14, 2006). "OSx86 10.4.4 Security Broken. (Guess Who Done It?)". OSx86 Project. http://www.osx86project.org/index.php?option=com_content&task=view&id=116. Retrieved 2006-05-28. 
  15. ^ Apple Computer (February 14, 2006). "Mac OS X Update 10.4.5". Apple Computer. http://www.apple.com/support/downloads/macosxupdate1045.html. Retrieved 2006-05-28. 
  16. ^ sHARD>> (February 23, 2006). "Apple Releases 10.4.5". OSx86 Project. http://www.osx86project.org/index.php?option=com_content&task=view&id=128. Retrieved 2006-05-28. 
  17. ^ Apple Computer (April 3, 2006). "Mac OS X 10.4.6 for Intel". Apple Computer. http://www.apple.com/support/downloads/macosx1046forintel.html. Retrieved 2006-05-28. 
  18. ^ [1]
  19. ^ "Darwin/x86 Boot Loader". Tgwbd.org. http://www.tgwbd.org/darwin/boot.html. Retrieved 2009-04-28. 
  20. ^ netkas.org :: W00t - released
  21. ^ "Darwin/x86 Boot Loader". Tgwbd.org. http://tgwbd.org/darwin/boot.html. Retrieved 2009-04-28. 
  22. ^ "HowTo: Install EFI patch and Use Unmodified OS X Kernel in Hackintosh". Digitmemo.com. http://www.digitmemo.com/articles/734/howto-install-efi-patch-and-enable-vanilla-os-x-kernel-in-hackintosh/. Retrieved 2009-04-28. 
  23. ^ "Exclusive Report: EFI-X Mac Booter, A Scam?". 2009-09-08. http://www.tomshardware.com/news/asem-efix-mac-chameleon,8617.html. Retrieved 2009-09-08. 
  24. ^ http://netkas.org/?p=299
  25. ^ "New modified BOOT-132 allows you to boot retail DVDs". 2008-06-30. http://www.insanelymac.com/forum/index.php?showtopic=113288. Retrieved 2009-05-12. 
  26. ^ "xnu-dev". http://code.google.com/p/xnu-dev/. Retrieved 2009-05-12. 
  27. ^ "2009 Live DVD, howto make a simple, working osx livedvd". Insanelymac.com. http://www.insanelymac.com/forum/index.php?showtopic=144128&st=0h. Retrieved 2009-04-28. 

Wiktionary

Up to date as of January 15, 2010

Definition from Wiktionary, a free dictionary

English

Etymology

Blend of hack and Macintosh

Noun

Singular
Hackintosh

Plural
Hackintoshes

Hackintosh (plural Hackintoshes)

  1. (computing, informal) A computer other than a Macintosh that has been configured to run the Macintosh operating system.







Got something to say? Make a comment.
Your name
Your email address
Message