-jordn- Posted March 26, 2007 Share Posted March 26, 2007 is it possible to specify boot flags on boot? -v, -f, -s? also, has anybody tried installling any kexts such as natit? (according to wikipedia, apple tv has a 7300 chip inside) i personally think that the reason its not booting is due to the graphics card. it seems to be more heavily reliant on quartz. if there are any graphics card kexts in the package(s), try adding your device IDs to them. sorry if ive hijacked the post with {censored}. jordn Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-332754 Share on other sites More sharing options...
Dragon Posted March 26, 2007 Share Posted March 26, 2007 Ok, i've found the problem. /System/Library/CoreServices/Setup Assistant.app /System/Library/CoreServices/Finder.app Both apps are checking the hardware name and won't start until we found a hack. I've been able to boot the AppleTV OSX system on my Mac mini with a 10.4.8 Finder. XianLi posted this on the green demon Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-332763 Share on other sites More sharing options...
Artistan Posted March 26, 2007 Author Share Posted March 26, 2007 What is the hardware name of aTV? Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-332785 Share on other sites More sharing options...
mifki Posted March 26, 2007 Share Posted March 26, 2007 AppleTV1,1 Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-332788 Share on other sites More sharing options...
Artistan Posted March 26, 2007 Author Share Posted March 26, 2007 So far all I get trying to run Finder.app or Setup Assistant.app is a system hanging. Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-332866 Share on other sites More sharing options...
Urbz Posted March 26, 2007 Share Posted March 26, 2007 thats due to two things: 1- it's looking for watchdog 2- checking device id. mess with finder and setup assistant first, otherwise the rest it futile. hex time! Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-332884 Share on other sites More sharing options...
Sabr Posted March 26, 2007 Share Posted March 26, 2007 Good work guys. This is coming along pretty fast Good luck! Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-332907 Share on other sites More sharing options...
Paranoid Marvin Posted March 26, 2007 Share Posted March 26, 2007 So what do you all think the best route to take would be? Sticking a hackintosh kernel + kexts into a native aTV image and then trying to boot. OR Making a full OSx86 install and trying to bring in all the aTV stuff. I better get OSx86 working first before I can even try anything off the image.... Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-332912 Share on other sites More sharing options...
Artistan Posted March 26, 2007 Author Share Posted March 26, 2007 Mar 26 10:59:15 chaos FrontRow[445]: ******** Application Startup ******** Mar 26 10:59:15 chaos FrontRow[445]: No matching IR micro server found. Mar 26 10:59:15 chaos FrontRow[445]: VERS: failed to get ImageVersion for display Mar 26 10:59:15 chaos FrontRow[445]: VERS: failed to get BootImageVersion for display Mar 26 10:59:15 chaos FrontRow[445]: *** OS 8L2127, IR F.F.F, EFI (null), SI F.F.F/F.F.F, Software 175 *** Mar 26 10:59:15 chaos FrontRow[445]: Unsupported hardware - Exiting Just to clarify, "chaos" is the name of my computer. When starting Finder.app this is the log entry. This error is cause by by watchdog, i think. Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-332936 Share on other sites More sharing options...
DiaboliK Posted March 26, 2007 Share Posted March 26, 2007 something of interest in finder.app : and did anyone find the fake finder? thers also a fake system in there also. Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-332960 Share on other sites More sharing options...
Artistan Posted March 26, 2007 Author Share Posted March 26, 2007 Disable Launch? checking if having watchdog(patched) makes any difference. kernel extension AppleTCOWatchdog.kext/ has problems: Missing dependencies: { "com.apple.kpi.unsupported" = "A valid compatible version of this dependency cannot be found" } Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-332981 Share on other sites More sharing options...
BlackShadowWolf Posted March 26, 2007 Share Posted March 26, 2007 something of interest in finder.app : and did anyone find the fake finder? thers also a fake system in there also. The fake Finder is in all Mac OS X systems, Ive seen it on my iMac G5 and my MacBook Pro. I think its probably for Classic compatibility or something. If you do show hidden files and folders, its there Under /System/Library/CoreServices Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-333002 Share on other sites More sharing options...
XofVerlis Posted March 26, 2007 Share Posted March 26, 2007 Come on, this system isn't that difficult to get working. It's really simple when it all comes down to it. @Artisan: You won't get it working unless you start digging a little bit deeper and increase your knowledge of Mach-O files. Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-333062 Share on other sites More sharing options...
DiaboliK Posted March 26, 2007 Share Posted March 26, 2007 Come on, this system isn't that difficult to get working. It's really simple when it all comes down to it. @Artisan: You won't get it working unless you start digging a little bit deeper and increase your knowledge of Mach-O files. lets see some results from you, seeing how you say its so simple..... Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-333074 Share on other sites More sharing options...
Mr. Bond Posted March 26, 2007 Share Posted March 26, 2007 He does have a point...you're going to have to do some dissasembling to remove some of those checks, in addition to who knows what else we haven't found yet. Also...Stoth (sp?) on IRC said he had a kext to disable watchdog he was testing...that might be of some help as well. EDIT: spoke too soon...it's on the AkwardTV site. A patch to "sedate" it. Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-333082 Share on other sites More sharing options...
Artistan Posted March 26, 2007 Author Share Posted March 26, 2007 Come on, this system isn't that difficult to get working. It's really simple when it all comes down to it. @Artisan: You won't get it working unless you start digging a little bit deeper and increase your knowledge of Mach-O files. I'm pretty sure that WatchDog will be no significance trying to get this working on the full OS. Ofcourse this is just and assumption. But I'm digging the further to figure out anything how this hardware check is working. My impression so far, and this has no solid proof but "Finder.app" seems to be a modified or even actually FrontRow 2.0. So in theory it must be performing something similar to what the "FrontRowPass.kext" is bypassing. Except it seems that it check it at EFI level. Injection might be the answer? Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-333130 Share on other sites More sharing options...
glassJAw Posted March 26, 2007 Share Posted March 26, 2007 What would happen if you tried to install OSX on the AppleTV thing? Maybe that could get some answers? Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-333138 Share on other sites More sharing options...
Artistan Posted March 26, 2007 Author Share Posted March 26, 2007 What would happen if you tried to install OSX on the AppleTV thing? Maybe that could get some answers? Won't work. Apple TV only has SSE2 and a full OSX requires SSE3 for certain component. The appleTV OS is a special version of 10.4.7 that runs on SSE2. EDIT: Ok, I guess it's not impossible but, that not what where trying to do on this thread. Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-333139 Share on other sites More sharing options...
XofVerlis Posted March 27, 2007 Share Posted March 27, 2007 Well, my good friend bikedude880 got it working with some help from the other developers. Doesn't get past the intro movie, but it's there in all it's glory. http://digg.com/apple/AppleTV_booting_on_a_PC/ Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-333273 Share on other sites More sharing options...
Peter Schneider Posted March 27, 2007 Share Posted March 27, 2007 You'll get Finder.app working like this: first, decrypt the code segment whichever way. Then use otx to dump the code segment. Find this part: +301 00005804 750a jne 0x00005810 +303 00005806 c7442404a4d04500 movl $0x0045d0a4,0x04(%esp,1) No Remote Present - Exiting +311 0000580e eb22 jmp 0x00005832 +313 00005810 a1f8fc6b00 movl 0x006bfcf8,%eax isEmbeddedHardwareDevice +318 00005815 89442404 movl %eax,0x04(%esp,1) +322 00005819 a15c046c00 movl 0x006c045c,%eax BRXHardwareUtility +327 0000581e 890424 movl %eax,(%esp,1) +330 00005821 e87b7c6b00 calll 0x006bd4a1 +[bRXHardwareUtility isEmbeddedHardwareDevice] +335 00005826 84c0 testb %al,%al +337 00005828 7519 jne 0x00005843 +339 0000582a c7442404c0d04500 movl $0x0045d0c0,0x04(%esp,1) Unsupported hardware - Exiting isEmbeddedHardwareDevice returns false, so the jne jumps out. Change it to 7419. Voilá, it runs on a normal Mac (not on AppleTV anymore, though ) Have fun! Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-333306 Share on other sites More sharing options...
Artistan Posted March 27, 2007 Author Share Posted March 27, 2007 now if only otx would stop crashing on me.... Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-333309 Share on other sites More sharing options...
hazkid Posted March 27, 2007 Share Posted March 27, 2007 You'll get Finder.app working like this:first, decrypt the code segment whichever way. Then use otx to dump the code segment. Find this part: [...] isEmbeddedHardwareDevice returns false, so the jne jumps out. Change it to 7419. Voilá, it runs on a normal Mac (not on AppleTV anymore, though ) Have fun! Could you describe how to do this? Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-333311 Share on other sites More sharing options...
Peter Schneider Posted March 27, 2007 Share Posted March 27, 2007 Apple Binary Protection is described in http://osxbook.com/book/bonus/chapter7/binaryprotection/ . I'll leave it to you to find out how to reverse this. It's a fun excercise. otx will crash on the encrypted binary since it cannot parse the encrypted data. Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-333314 Share on other sites More sharing options...
Artistan Posted March 27, 2007 Author Share Posted March 27, 2007 Thanks for the info. That makes sense now. Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-333316 Share on other sites More sharing options...
A Wang Posted March 27, 2007 Share Posted March 27, 2007 So basically is it possible to build a PC box to run Apple TV OS now? Link to comment https://www.insanelymac.com/forum/topic/46360-make-apple-tv-os-run-on-a-regular-pc/page/3/#findComment-333594 Share on other sites More sharing options...
Recommended Posts