Mac OS X running on Apple TV

by editor @ AppleTVHacks.net on April 1, 2007

semthex from Hackint0sh.org, in collaboration with AppleTVHacks.net has done it again! A complete replacement to the Mac OS X kernel has been built which allows the full version of Mac OS X to be run on an Apple TV.

Semthex wrote a processor emulation for the kernel, to sidestep the hardware restrictions that previously disallowed Mac OS X from running on the Apple TV. AppleTVHacks.net was only too happy to help out, and when it turned out we needed more testers we launched a competition to get some. Within hours we had hundreds of eager Apple TV hackers submit entries.

Several hours of testing and refining later and our tester, gimli, managed to follow the steps (included below) to get Mac OS X booting on his Apple TV (click to enlarge):

mac os x on apple tv1 sm Mac OS X running on Apple TV


mac os x on apple tv2 sm Mac OS X running on Apple TV

The Apple TV running Mac OS X can use the mouse and keyboard normally, and you can run regular OS X apps easily. You can use either Front Row or Back Row (or Joost, or VLC, or…) to watch content, and can use it for most things you would use a Mac for.

Tester, mk500, made a video to demonstrate it all working:

How to install

This is the process that was used to turn the Apple TV into a full blown Mac OS X machine:

1) remove the drive from the Apple TV

2) back up your drive! Make an image of it (see the harddrive upgrade tutorial for this)

3) Connect the drive to a regular Mac (use a Firewire or USB drive dock)

4) Install OS X (Intel version) to the drive (we suggest a slim install – no printer drivers etc.)

5) Boot from this drive, and set it up as you would like it. Make sure you do updates so it is at least 10.4.8.

6) Reboot to your normal OS X install.

Ok, you now have your fresh OS X install which will form the base of the customised OS X you will need for the Apple TV.

7) Remove mach_kernel from root of the drive containg the ATV install.

8 ) Replace it with the customised mach_kernel that you’ll find on Hackint0sh.org.

9) Replace /System/Libary/Coreservices/boot.efiwith the same file from your backup of the Apple TV OS drive (OSBoot partition).

10) Run bless:

bless --folder=/Volumes/OSBoot/System/Library/CoreServices --file=/Volumes/OSBoot/System/Library/CoreServices/boot.efi --setBoot

11) Delete all the Nvidia kexts (all beginning with NVD, there should be 5) from the target drive (in /System/Library/Extensions).

12) Transfer the drive back to the Apple TV

13) Turn the Apple TV on and cross your fingers.

You should boot up into Mac OS X. Woo!

Now what?

This hack seriously opens up the doors with what the Apple TV could be used for; and we imagine we are going to see lots of cool hacks, additions and addons. We will do our best to keep track of them.

A big thanks again to semthex over at Hackint0sh.org; who did the majority of the work, and built the custom kernel.

The brave testers who helped make this happen: gimli, mk500, Turbo, Jonathan Bare, l0rdr0ck.

Share and Enjoy:
  • Digg
  • del.icio.us
  • StumbleUpon
  • Facebook
  • MySpace
  • Technorati
  • Google Bookmarks
  • Fark
  • Furl
  • LinkedIn
  • Live
  • Meneame
  • NewsVine
  • Ping.fm
  • Propeller
  • Reddit
  • Slashdot
  • Tumblr
  • TwitThis
  • Wikio
  • Yahoo! Buzz
  • mbd
    Wow, congratulations on this. I'm sure with a 1ghz cpu and only 256mb ram that 10.4.x won't run particularly quickly but it certainly opens the tv for dedicated appliance-like apps. Does it recognise the airport and work as expected? And will it recognise USB attached printers and Disks? I'm expecting so for both counts, if it is running os x?
  • Joe
    This kicks ass... now I just need to know if the MPEG2/4 hardware decoder (I assume this has one) is still functional.

    I would love to run a mythfrontend on one of these, but only if it can handle playback of high def content.

    Also, since it is a full OSX os, I assume it supports external DVD drives too?
  • Boy ... sure didn't take long for that video to get yanked.

    How long before Apple sends cease and desist letters to the owners of this site?

    (Not trying to jinx you guys or anything)
  • lux
    an aTV on every TV.
  • Since the AppleTV is low on resources, it might be a good idea to turn off Dashboard and Spotlight as well as disable other services that might be running standard in OS X. I don't think there is a (non-solder) way to upgrade the RAM in those things is there?
  • nattyD
    nHOLY CRAP!! I knew this would happen but not so soon!!

    Wow... this really opens the doors of what the appleTV can do...

    I bet we will see Linux and *shudder* windows running on this box very soon...

    Also, is the RAM solded onto the board? If is then there isnt much we can do to increase the memory but if it isnt then we can increase it alot depending on how many pins it is... say to 4GB with one chip.... however i will need a lot more spefics on the specs of the RAM to do it properly...

    Could some one
    please snap a screen of the RAM specs (System Profiler) so i can see what i can do.
  • MacHerb
    You're not really talking about a $300 Mac here, are you? Sounds like that by adding a mouse and keyboard, I could have a Mac with a 60" screen (my big sceenTV) as well as an entertainment center. I can't wait to see what you guys do to the iPhone.
  • astrochess
    Wow. I can just see someone putting this into their car for use as an auto-syncing jukebox (gotta love that 802.11n). The Mac TV has the perfect form factor. Main problems I see are getting the video converted into the proper form and getting a power source set up...
  • Santon
    Hehehe ... nice joke! Next time, try not to forget to change the menue bar in photoshop BEFORE you're going to open the pic in "Preview" as fullscreen ... :-) ... and align the "2" in level2chache a lil' bit better.
  • andrew
    pretty sure he use the Grab function in preview to do the screenshot...could be fake but can't say it is for sure just on that point.
  • Anonomous
    Yeah, Linux I could very well see Especially Ubuntu or a stripped down version. I mean, just pop the ATV drive in a external case, attach, make an ISO, load up the Ubuntu live disk, install, tweak for ATV, pull out, put back, and have fun.
  • James Katt
    This is a fairly useless hack.
    It turns AppleTV into a crippled Mac Mini. Big Deal.
    It has only one USB port, no firewire, a slow CPU, limited RAM.
  • Evilduck
    @Santon
    You're a dumbass. Preview allows you to take screenshots, and in "fullscreen" mode, the menubar of preview isn't visible. The alignment of the 2 looks fine also. I see nothing in the photos to suggest this was photoshopped.
  • That's it. I'm getting an Apple TV.
  • Santon
    @evilcock
    Yeah, no shit sherlock, but if you take the snapshot in preview, the file appears on the desktop after the snapshot is finished, not while it's been made ... I'm referring to the "Picture...png" under the hd icon.

    Anyways, after watching the video, I'm not so sure it's a fake anymore - but things like that on April 1st, you got to be suspicious here ... the date in the screenshot also suggests that it's made on purpose for our beloved fools day.
  • @Santon

    Dumbass,

    Just because there is a picture1 on the desktop doesn't mean that it's the same screenshot as has been taken, it could be one not used on this site.

    Not to mention they give you the guide on how to do it - if it was fake they wouldn't show you how to make your appletv boot OSX!
  • andy
    bless --folder=/VolumesOSBoot/System/Library/CoreServices

    should be

    bless --folder=/Volumes/OSBoot/System/Library/CoreServices

    I think you should specify that the name of the aTV hdd is OSBoot as well., and maybe even give a brief explanation of how to back up the aTV's hdd with Disk Utility.
  • Ace Fury
    Why?
  • Bilal
    All you need to do is hook up the eyetv to it and then you have your dvr...but it will cost you to much with the extra harddrive and some effort.
  • GO MAVS!
    Don't forget about us, the PPC users. Waiting eagerly for the cure.
  • mirkrim
    You still need an existing mac in order to do this hack... so it's only a $300 mac if you already have one and just want a 2nd cheapo box.
  • Ryan
  • This is not photoshoped, 1st April or anything. It is for real. If you not belive into the video or pics, get the kernel from hackint0sh.org forum and test it yourself :)
  • Wow, congratulations! I'm now more excited to purchase an Apple TV. I hope Apple does not step in to block these hacks as it is the reason why I would purchase this thing. Congrats again!
  • C
    I can't wait for April 1 to be over.
  • This is interesting just to satisfy your curiosity.
    In all practicality what is the point of all this? How does it help people getting the most out of your mac?
  • The perfect low power NAS box and/or download station.
  • a nony mouse
    if this works then has anyone tried to install bootcamp and see what happens?
  • Alex
    This could be a big help to us in the robotics section, its smaller, lighter, cheaper and requires less power then a Mac Mini.

    WAY TO GO!
  • Matt
    Wow. I think that the iTv has a better chance with some people if they learn of an easy way to put X on it. I think people here are right though...linux would be a better choice on here...ubuntu or xubuntu. Oh, and I'm sure if adapters and such get made this will make it to the cars :).
  • salbeik
    I love you mannnnn, this is amazing - GRAZ
  • Brightstar
    The freaky thing about this is the fact that there are 0 processors.
  • Joe
    This AppleTV box runs a Sigma Designs 8623 decoder which allows the decoding of H.264 and VC1 formats. The original AppleTV OS only supports 720p HD videos with maximum bitrate of 5mbps.

    Does it possible to still use the Sigma 8623 hardware decoder under the Mac OS X 10 in order to play high resolution and high bitrate video files or only the CPU is doing the decoding when using the OS X 10 ?
  • notsofatjames
    i think its a fake. anyone could have made that video and just have a mac conected to the screen, and the picture has preview running as the foregrounda app. its a faked image of system profiler to make it like its running on an aTV
  • Very nice, does seem like a lot of work to get a machine that's half the price and oh ya half the performance of the Mac mini. You get what you pay for I guess? The Mac mini has way more upgrading possibilities too.

    I think the Apple TV should stay an Apple TV, maybe ad the AVI-DIVX codecs and somehow get it to play DVD's from your other network Macs, that's all it really needs...

    http://www.switchingtomac.com
  • StephenCIreland
    Wow this is great, but heres what im thinking : get a cluster of them and put them as Xgrid nodes for processing, or load OS X server to them, connect a massive external hard disk or use it as a NAS, webserver or something else, or even look at what the asterix guys are doing
  • bothersome
    A lot of people are missing one of the key points... Mac Mini has only 1 video output. This has two... this would be great for applications like information displays where Mac hasn't been able to make a Mac Mini cheap enough to compete with cheap dual/quad display windows machines... if this is true, then Macs may be used in more of these environments very soon..
  • magsy
    When I try to bless:
    bless --folder=/Volumes/MacOSX/System/Library/CoreServices --file=/Volumes/MacOSX/System/Library/CoreServices/boot.efi --setBoot

    ...I only get "Authorization required"
    What am I doing wrong???
  • Has anyone tried to hook up an EyeTV device to this thing?
  • ecking
    I think this site just sold me an appletv...if this is real.
  • Enano
    Sorry for my english ...

    Can do all this with a PPC Mac? I only have a ibook G4 PPC

    If this is real i´ll buy one, hope not a joke.

    Thanks
  • CK
    April fool!
  • Mod it into a car!
  • Paulyras
    Wow. That's really cool.

    Several questions...

    1. So, who's going to be the first to hook up an eyeTV to this thing? I'm really anxious to hear how that works.

    2. There's no Bluetooth in this thing IIRC. Has anyone tried a bluetooth USB adapter? Longer term, I'd really rather not have a USB keyboard hanging off this thing.

    3. Has anyone tried, or would it even be possible using LILO or some other method to dual boot the aTV OS and OS X? I love my aTV for what it is, but would love have this running also.

    4. Could someone post a link to an RTF (or other format) export from system profiler? I'd like to see if there are any other surprises in there. Would also likely calm down all of the other people screaming April Fools.

    I know, it's a lot of questions, but that's only because of how excited I am about trying this. Excellent job everyone.
  • michael
    april fools days joke maybe?
  • Maybe you want to join the hackint0sh.org forum and get kernel to test yourself :)

    Also before asking questiosn here in comment, forum is a good place to discuss.

    And no, this is for real and no joke.
  • sanjeve
    Hi guys,
    Since the video output goes through the HDMI port, is it possible to use the AppleTV running OSX as in-car media center? Or do you think it is possible to use the USB port with a USB hub etc?

    Thanks
  • WJ!
    Amazing. 8 days! Congratulations on what seems to be one of the cleanest hacks I've seen.
  • banana
    HDMI to the dell monitor... looks like a 2405... which doesn't have hdmi inputs... hmmm
  • April
    Yeah. April Foool
  • jimmy
    banana, haven't you ever heard of a DVI - HDMI cable?
  • Frank
    Yeah, right ... I'm going to call bullshit on this this one. Even if it's true, what you're gonna do under Tiger with 256MB of Ram ... useless shit.

    Happy Fools Day, suckers!
  • Jim
    Congrats - you successfully made a very WEAK and CRIPPLED Mac Mini out of an AppleTV. Not sure why this is a big deal...
  • John
    Anyone going to make a torrent of the patched OSX image to make installing the image on the aTV drive easy and possible for us PPC guys?
  • David
    Do you think we might be able to upgrade the cpu or ram to utilize this? You guys should have a prize for who ever could do this first.
  • Bloaty
    nattyD How Dare You Say the W word on this blog!!! lol
    Awsome Project This Would Make a KICK ASS Car Unit with 802.11n and HD!!!
    It Could fit in a stock headunit!!!
    I just want XBMC, ATVMC!?
  • Bloaty
    THE ATV MOD TO END ALL MODS!!!!
    ATV + Internal USB Hub + Bluetooth + Wreless N + WiiMote + MythTV = AWESOMENESS
    Cant wait till someone puts a little screen on this and makes it a tablet!!! It would be eaiser to make because it is smaller!!
  • Bloaty
    ^EDIT^

    THE ATV MOD TO END ALL MODS!!!!
    ATV + Internal USB Hub + Bluetooth + EyeTV + Wreless N + WiiMote + MythTV = Micr0$oft Crying about thier useless HTPCS!!!!!!!!!
    Cant wait till someone puts a little screen on this and makes it a tablet!!! It would be eaiser to make because it is smaller!!
  • deactive
    @bloaty : I've done this hack successfully, but I can get it the atv booting from usb hub. No troubles instead when usb drive is connected straight to the atv. However to reply your post, as I'm unable to control the os if not with remote screen I've used to connect to atv thru my ipod touch ( with jaadu vnc app ). A little too small area but the atv will work as tablet ; )

    regards
    Alex
  • Mac os 10.4 runs fine on 256 mb ram. I have a 5 years old g4 that it works on so this should be faster.
  • Frank
    Exactly, 10.4 runs fine on 256 mb ram - but there's really no fun in doing anything under Tiger with this little memory, except surfing porn sites, anything else would be pretty masochistic - which maybe goes hand in hand with surfing porn sites ... so hell yeah, I'm so in! .... Gonna buy this little sucker right now!
  • The EyeTV 250 uses hardware based encoding, delivering compressed video directly into your AppleTV:

    EyeTV 250’s built-in hardware encoder compresses audio and video signals to MPEG-1 and MPEG-2 formats, freeing up your computer’s processor for other activities. This also means that you can record high quality video even with a less powerful Mac. MPEG-2 is a premium-quality video compression standard, which is the basis for DVD and digital television.

    The EyeTV 250 means I can now buy an AppleTV,
    mod it with real OS X, and use it to record TV.
  • xfsasx
    Damn! Someone beat me to the EyeTV idea but think about the possiblities here people......


    I think we might have something here, i think that now we can do almost everything we ever wanted to do with it!

    Heres my list of things i think are now possible.


    1. Now we can stream our mac games to the big screen with Remote Desktop which should be fine with wireless N

    2. Are we forgetting about Bootcamp? Why is it not possible to have a nice big internal drive and have a full media device. Imagine you can have full appleTV and Windows Media Center capabilities.

    3. Someone already said it but EyeTV so now its a DVR!

    4. Im thinking its also possible to have bluetooth and have a convienent way to look stuff up on the internet right from the TV!

    5. There are so many things that are possible that i cant even list them all. They might be small and stupid things like using your appletv as an alarm clock but it can be done. My favorite thing would be to see if it supports the isight and for example i could be upstairs and video chat with my girl downstairs to tell her to get me a beer or something, or use the isight to record to the HD while I'm away on vacation. Whatever it is it can now be possible!!!
  • Hey thats great stuff.
    Digged for great post.
  • john
    Has anyone tried making Media Central there default player? It supports replacing Frontrow on full blown mac and support Mpeg2 and AC3 plus divx and avi and net aslis
  • Apple Lifestyle
    This is quite cool but I'm afraid the limited capacity of the TV won't let you do much stuff on it. Still a cool hack if real. Congrats!

    For me, the real nice hack for the TV would be to enable the airport card in it so we can use it as an airport base station while in the TV OS. That way, we can save the money on the additional airport base station. I'm sure this little device has everything it needs to act as a wireless router, it is just that Apple wants us to buy the base station too... ;)

    May be someone using Mac OS X on it can check if it can be used to create a wireless network, this will confirm my speculations...

    In any case, love the site, thanks!
  • ThinkTanker
    I liked the idea of connecting my Macbook Pro to my 57 inch RPTV but all I could get out of it was a DVI S-Video connection which sucked due to its 640x480 resolution...I could hardly read text while surfing the net. With the aTV I could get Apple HD quality into my Projo. When I`m working in Photoshop, I could use this to stream movies on my big screen without touching my main computer. I could even pick up a nice 22 inch monitor and feed the HDMI to it to have a bedside computer. All the possibilities are exciting me and I would be wearing less on my MBP to boot.
  • josh
    Now if only the memory could be upgraded!
    Like most people I have plenty of spare parts laying around (bigger HDD, wireless keyboard and mouse.) If you could upgrade the memory, install OSX and hook up a wireless keyboard and mouse to it you could have a decent Email, websurf, itunes machine to keep around the house for around half the cost of a mac mini.
  • Okami
    April 1st, anyone?

    I'd love if this was true, but come on...
  • isn't this going to be very very slow? i do however like the idea of a stripped down mac attached to my tv.

    g.

    http://www.cheapgreencar.com
  • [...] Now the AppleTVhacks.net crowd have truly surpassed themselves by getting OS X 10.4.8 to run on the box. [...]
  • xfsasx
    i have the aTV os on an external HD and it works awesome but i cant seem to get the video out to my tv. I use the mini dvi to svideo but it just shows the appletv logo and my macbook screen shows the main display. When i boot from it i have two users to login from. 1 is Admin and the other says apple tv. When i log in as admin its just normal os x with dock and everything but under display properties its extending my desktop so i change it but its only for user Admin. I have no control of the user options for aTV. If someone knows how i can change the display options for another user without being logged in as that usr please let me know!
  • Alnitak
    This is the real deal...works like a champ. Ethernet doesn't work, audio isn't working, but a D-Link Bluetooth adapter works, and I am using it just fine.

    BTW, my machine says it's a 1.5GHz Intel processor, which is what I read on the web. Also, I am running the JaS OSX install, since I had a ThinkPad running that already...all I had to was make the few changes at the top. May be why I am getting the correct CPUID.
  • john
    Anyone tried install Quicktime Mpeg2 codex from Apple which they sell for $19.99. Wonder if you install it if the Apple TV will outpost 5.1 audio or not.
  • Andrew
    So, whats next?

    shall we begin checking to see if we can replace the CPU?

    :D
  • Surprise! The real news is that the AppleTV on a clean 10.4.9 install on a blank drive rates on XBench at ~56% of the speed of a 2GHz dual processor PowerMacG5!!!!!!

    And that's no April Fools! Check my results!

    http://db.xbench.com/merge.xhtml?doc2=220620

    IT WILL NOT RUN POWERPC APPS! (Well, it will, but so slowly you'll wish you hadn't tried.).. The Rosetta engine to run PPC requires SSE3, but the Intel chip in the AppleTV does not have SSE3 instructions and the SSE3 has to be software emulated as part of this hack..

    Intel apps run beautifully! I am typing this on Safari right now on my Apple TV!

    Audio isn't working (at least over the HDMI port, standard audio not tested yet). OpenGL apps don't show graphics. Everything else seems to work fine. I'm sure those two minor issues will be resolved soon. $300 mac.. who knew? WOOHOO!
  • TESTER
    NHEED APPLE TV 256MB RAM upgrade to 512MB or more...
  • TESTER
    and install vista...
    ;D
  • This is a totally useless hack...
blog comments powered by Disqus