InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 05-01-2009, 06:12 PM
NebKiwi's Avatar
NebKiwi NebKiwi is offline
Jaguar
 
Join Date: Apr 2009
Location: Christchurch, NZ & Devon, UK
Posts: 55
Booting the AppleTV OS on a generic PC - Discussion

Right... the story is.. The AppleTV hardware is essentially a very low end Mac, it uses EFI. AppleTV software is basically Tiger (10.4.7 If I remember correctly) with a fancy GUI. I know you can install a replacement Finder or "Backrow.app" in an existing Tiger installation, but what's stopping us from booting the full blown AppleTV OS on PC hardware? Wasn't PC_EFI capable of booting tiger? I have an Image of the AppleTV OS (update DMG pulled from Apple servers ), I am willing to do some experimentation.. input please

Previously known as NebulOSX. MacBook, 2.1GHz Core 2 Duo Penryn, 2GB RAM, x3100 Graphics. - Mac Nano (Benchmarks)- Gigabyte GA-GC230D, Intel Atom 230 1.7GHZ (Overclocked), 2GB 533Mhz RAM, Mac OS X Leopard: Boot132 Method. ULTRAcheap build. With desktop GMA950 graphics fix.

My Twitter
Reply With Quote
  #2  
Old 05-01-2009, 06:24 PM
naquaada's Avatar
naquaada naquaada is offline
 
Join Date: Jan 2008
Location: Germany
Posts: 1,216
I had it on my Tiger system, I can take a look if I still have the installer. But today it isn't neccessary anymore because FrontRow 2.x looks like AppleTV. I preferred the look of the FrontRow 1.x, it was looking much cooler with the big rotating icons.

2 Opteron systems: OSx86 10.5.8, Andy's 9.8.0 kernel, Asus A8N-SLI Premium, Opteron 185 o'clocked @ 2 x 2,95 GHz (2nd system 2.6 GHz), ATI Radeon HD2600XT 256MB Dual-Monitor 2x HP L2035, 4 GB RAM, Griffin FireWave as main audio device, Marvell + nForce LAN, Asus U3S6 USB3/SATA6 card, 5,5 TB harddisk, Firewire 800 card, Apple Remote + eHome IR receiver, 2x Wacom serial graphics tablet, Canon Pixma iP4700, Logitech Internet Navigator wireless keyboard/mouse combination.

My Audio stuff: M-Audio Transit USB (default audio), M-Audio ProFire 610, M-Audio ProFire Lightbridge (34 channels) using Creamware A16 ADAT converter MIDI: M-Audio Midiman 4x MIDI interfaceBehringer Audio Mixers: Xenyx 1002, Xenyx 1002FX, Xenyx 1202FX, Eurorack UB1002FX, Eurorack MX1804FX, Eurorack MX262A • FX devices: Lexicon MPX100 DSP, Behringer DSP-1000 Virtualizer, Behringer MiniFEX 800 DSP, Behringer Multicom Pro MDX4400 compressor RETRO: MSSIAH midi/sequencer/synthesizer cardridge for the C64 (Dual-SID), Steinberg M.S.I. MIDI Interface for C64
Reply With Quote
  #3  
Old 05-01-2009, 07:19 PM
cmdshft's Avatar
cmdshft cmdshft is offline
Panther
 
Join Date: Dec 2008
Location: Hackensack, NJ
Posts: 240
I think it would be pretty cool to boot the actual full AppleTV Operating System.

However, I find the Frontrow 2 app to be quite bland. The UI is nice, but I think I would like a more intuitive menu and startup splash or something like the AppleTV does when you turn it on, rather than a fade out and in. The installer for Tiger doesn't work on Leopard though, which sucks.

Mac OS X Leopard 10.5.8 (9L30) | Chameleon 2.0 RC3 | Intel Pentium 4 3Ghz 800Mhz FSB HyperThread 1MB L2 cache SSE3 1MB L2 cache works, cosmetic display of 512KB L2 cache | Asus P4V8X-MX VIA Chipset, VIA-VT8237 Southbridge | AC97 VIA8237 | Dual 1GB 333Mhz DDR SDRAM | nVidia PNY GeForce 7600GS 512MB 8x AGP DVI/TV-Out/VGA [NVinject 0.2.1; QE/CI/QuartzGL/Rotation] | Darwin Kernel Version 9.7.0: Sun Jun 14 20:48:28 IST 2009; Voodoo 2.0 Intel alpha3 :xnu-1228.12.14/BUILD/obj/RELEASE_I386 i386
Reply With Quote
  #4  
Old 05-01-2009, 07:23 PM
naquaada's Avatar
naquaada naquaada is offline
 
Join Date: Jan 2008
Location: Germany
Posts: 1,216
Would be nice if it would be supported with Chameleon 2.1 as seperate operating system!

2 Opteron systems: OSx86 10.5.8, Andy's 9.8.0 kernel, Asus A8N-SLI Premium, Opteron 185 o'clocked @ 2 x 2,95 GHz (2nd system 2.6 GHz), ATI Radeon HD2600XT 256MB Dual-Monitor 2x HP L2035, 4 GB RAM, Griffin FireWave as main audio device, Marvell + nForce LAN, Asus U3S6 USB3/SATA6 card, 5,5 TB harddisk, Firewire 800 card, Apple Remote + eHome IR receiver, 2x Wacom serial graphics tablet, Canon Pixma iP4700, Logitech Internet Navigator wireless keyboard/mouse combination.

My Audio stuff: M-Audio Transit USB (default audio), M-Audio ProFire 610, M-Audio ProFire Lightbridge (34 channels) using Creamware A16 ADAT converter MIDI: M-Audio Midiman 4x MIDI interfaceBehringer Audio Mixers: Xenyx 1002, Xenyx 1002FX, Xenyx 1202FX, Eurorack UB1002FX, Eurorack MX1804FX, Eurorack MX262A • FX devices: Lexicon MPX100 DSP, Behringer DSP-1000 Virtualizer, Behringer MiniFEX 800 DSP, Behringer Multicom Pro MDX4400 compressor RETRO: MSSIAH midi/sequencer/synthesizer cardridge for the C64 (Dual-SID), Steinberg M.S.I. MIDI Interface for C64
Reply With Quote
  #5  
Old 05-04-2009, 09:22 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by NebKiwi View Post
Right... the story is.. The AppleTV hardware is essentially a very low end Mac, it uses EFI. AppleTV software is basically Tiger (10.4.7 If I remember correctly) with a fancy GUI. I know you can install a replacement Finder or "Backrow.app" in an existing Tiger installation, but what's stopping us from booting the full blown AppleTV OS on PC hardware? Wasn't PC_EFI capable of booting tiger? I have an Image of the AppleTV OS (update DMG pulled from Apple servers ), I am willing to do some experimentation.. input please
It is possible but you need a full image and a custom prelinked kernel...
ATV take2 is also possible (take into account that this is actually an embedded xnu 10.5.6 kernel...)
Extra kexts are also needed for HW support...
Also needed is to mod BackRow (with disc GUID inside...) and to remove the watchdog kext (or it will reboot after a very short while...)
Final step is to mod Finder.app (= BackRow.app) to patch the binary up so it will recognize the comp as being valid (branch if equal on some point replace with branch if not equal...)
For AMD there is also the need to patch up CPUIDs...
NOTE: The Finder.app from ATV OS can't be used with the keyboard as it requires an USB IrDA transceiver + Apple Remote...
There is however a workaround on this...
There is a remote emulation kext + daemon available that will let you map the 6 remote buttons to the keyboard...
As for the kernel I may be able to provide one built from my kernel sources so it will work just fine with AMD's and Intels + uses the custom dynamic linker (different build than standard Voodoo style dyld, uses different file for build...)

Last edited by andyvand; 05-04-2009 at 09:25 PM.
Reply With Quote
  #6  
Old 05-04-2009, 09:26 PM
NebKiwi's Avatar
NebKiwi NebKiwi is offline
Jaguar
 
Join Date: Apr 2009
Location: Christchurch, NZ & Devon, UK
Posts: 55
Quote:
Originally Posted by andyvand View Post
It is possible but you need a full image and a custom prelinked kernel...
ATV take2 is also possible (take into account that this is actually an embedded xnu 10.5.6 kernel...)
Extra kexts are also needed for HW support...
Also needed is to mod BackRow (with disc GUID inside...) and to remove the watchdog kext (or it will reboot after a very short while...)
Final step is to mod Finder.app (= BackRow.app) to patch the binary up so it will recognize the comp as being valid (branch if equal on some point replace with branch if not equal...)
For AMD there is also the need to patch up CPUIDs...
NOTE: The Finder.app from ATV OS can't be used with the keyboard as it requires an USB IrDA transceiver + Apple Remote...
There is however a workaround on this...
There is a remote emulation kext + daemon available that will let you map the 6 remote buttons to the keyboard...
As for the kernel I may be able to provide one built from my kernel sources so it will work just fine with AMD's and Intels + uses the custom dynamic linker (different build than standard Voodoo style dyld, uses different file for build...)
Wow, very indepth, thanks Andy.. seems a bit of a challenge then :/ No idea AppleTV OS had so much protection...

Previously known as NebulOSX. MacBook, 2.1GHz Core 2 Duo Penryn, 2GB RAM, x3100 Graphics. - Mac Nano (Benchmarks)- Gigabyte GA-GC230D, Intel Atom 230 1.7GHZ (Overclocked), 2GB 533Mhz RAM, Mac OS X Leopard: Boot132 Method. ULTRAcheap build. With desktop GMA950 graphics fix.

My Twitter
Reply With Quote
  #7  
Old 05-04-2009, 09:36 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by NebKiwi View Post
Wow, very indepth, thanks Andy.. seems a bit of a challenge then :/ No idea AppleTV OS had so much protection...
I forgot to add...
The BackRow.framework binary also needs besides GUID of the disk the /dev/diskXsY replaced with the install partitions & drive /dev/diskXsY entry...
I've known someone who has done this on a real iMac4,1 and it worked...
It can be done for hackintoshes also... no problem there...
Yet I've noticed allthough ATV take2 uses Leopard kernel the apps running on it + kexts tend to still be built for Tiger...
So you would need the Tiger versions of the kexts (best is 10.4.11...)
The IR Remote EMU I can supply (got an improved version...)
It would need to be recompiled for the Tiger SDK though... (may think of making a custom SDK entry specifically optimized for ATV take2 OS...)
It may also be possible that the patching of the Finder binary is only needed in case of running it on Mac OS X...
I believe it checks for SystemVersion.plist's OS name being set as AppleTV OS (name could be slightly different... check your dmg under /System/Library/CoreServices/SystemVersion.plist)
But even if it is needed... ht is your best friend for browsing through the references and code...
Quite easy to patch stuff up that way...

Last edited by andyvand; 05-04-2009 at 09:41 PM.
Reply With Quote
  #8  
Old 05-04-2009, 09:40 PM
naquaada's Avatar
naquaada naquaada is offline
 
Join Date: Jan 2008
Location: Germany
Posts: 1,216
I'm using an Apple Remote by using an eHome-compatible IR receiver (f.e. from a Windows Media Center Remote) and the software mira. But that's something different. I know the IR Receiver Emulator Andy was talking of, it was neccessary to install FrontRow on a Tiger system. There also were patches that BackRow got a 'Quit' Option so that a modified Finder could be started. But I'm not sure if it's wort the effort, to get the same result build a hackintosh with a barebone hardware and add FrontRow in the login-items list. Then you also could use the Apple Remote with mira.

Oh yes, I'm remembering at these /dev/diskXsY modifcations. This had to be done with a hex editor, right? And I think the AppleTV software created a lot of folders (numbered from 00-99 or so?) in the root directory of the specified drives, was looking rather bad.

2 Opteron systems: OSx86 10.5.8, Andy's 9.8.0 kernel, Asus A8N-SLI Premium, Opteron 185 o'clocked @ 2 x 2,95 GHz (2nd system 2.6 GHz), ATI Radeon HD2600XT 256MB Dual-Monitor 2x HP L2035, 4 GB RAM, Griffin FireWave as main audio device, Marvell + nForce LAN, Asus U3S6 USB3/SATA6 card, 5,5 TB harddisk, Firewire 800 card, Apple Remote + eHome IR receiver, 2x Wacom serial graphics tablet, Canon Pixma iP4700, Logitech Internet Navigator wireless keyboard/mouse combination.

My Audio stuff: M-Audio Transit USB (default audio), M-Audio ProFire 610, M-Audio ProFire Lightbridge (34 channels) using Creamware A16 ADAT converter MIDI: M-Audio Midiman 4x MIDI interfaceBehringer Audio Mixers: Xenyx 1002, Xenyx 1002FX, Xenyx 1202FX, Eurorack UB1002FX, Eurorack MX1804FX, Eurorack MX262A • FX devices: Lexicon MPX100 DSP, Behringer DSP-1000 Virtualizer, Behringer MiniFEX 800 DSP, Behringer Multicom Pro MDX4400 compressor RETRO: MSSIAH midi/sequencer/synthesizer cardridge for the C64 (Dual-SID), Steinberg M.S.I. MIDI Interface for C64

Last edited by naquaada; 05-04-2009 at 09:43 PM.
Reply With Quote
  #9  
Old 05-04-2009, 09:51 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by naquaada View Post
I'm using an Apple Remote by using an eHome-compatible IR receiver (f.e. from a Windows Media Center Remote) and the software mira. But that's something different. I know the IR Receiver Emulator Andy was talking of, it was neccessary to install FrontRow on a Tiger system. There also were patches that BackRow got a 'Quit' Option so that a modified Finder could be started. But I'm not sure if it's wort the effort, to get the same result build a hackintosh with a barebone hardware and add FrontRow in the login-items list. Then you also could use the Apple Remote with mira.

Oh yes, I remembered at these /dev/diskXsY modifcations. This had to be done with a hex editor, right? And as I remebered the AppleTV software created a lot of folders in the main root directory, looked rather nasty.
I don't think mira will work as it tends to map the remotes functions directly down to the functions being used and not the actual Apple remote IR conversion...
The other option is thus to mod the Finder.app also replacing BRFullScreenRenderer with BRWindowRenderer (to be able to switch with the keyboard to the OS with Apple key + tab)
Still you also need the Remote Emu daemon running to be able to use the interface...
I once made six little apps (1 for each button) which I mapped for the AppleTV.app with some tool which allows you to assign mouse functions for apps (mapping each mouse button needed to the proper button... needs 6 buttons on the mouse though...)
The apps where rather simpel... they just send the proper sysctl action to the proper kern. etc... function.
This way when the app is running one can use it with the mouse... (and it doesn't interfere with normal operations so the background daemon for the keyboard mappings isn't needed then...)
I tested this succesfully at the time on an AMD PC running Tiger 10.4.11
Reply With Quote
  #10  
Old 05-04-2009, 09:52 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by NebKiwi View Post
Wasn't PC_EFI capable of booting tiger?
Any EFI enabled booter should do...
Chameleon V2 would work like a charm without any problems at all...



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply