Archive for the ‘Hacks’ Category
Back to Geek: XBox 360 Linux Hack?
Saturday, November 26th, 2005The chaps at Microsoft (or Micro$hit as some of you prefer) have been busy securing their XBox360; which the Free60 Project aims to crack and port an open operating system to (Linux, Darwin, BSD come to mind), so far they’ve gathered a lot of useful and detailed information on the inner workings of the XBox360, which seems to be seured down by:
- The flash is encrypted with a per-box key
- The key is stored inside the CPU
- The boot ROM is stored inside the CPU
- Also inside the CPU is a hypervisor that verifies the running state of the kernel, making sure there is no modification (RAM checksums), else the Xbox360 panics and blows up!
- The CPU contains ROM inside of it to store the checksums
- All interrupt/exception handling is done by the hypervisor
- All code runs in kernel mode
- The emulator for first generation games can be updated via an official Microsoft download burned to CD by the user, though the CDs’ content will be encrypted and signed with public key cryptography.The boot ROM is stored inside the CPU
This will be an interesting project to watch over the next couple of months. The XBox360 will make a rather handsome tripple core server. I’m positive, impenetrable as it may seem, some rather geekish bloke will be able to circumvent this, as they did with OSx86. I’m betting apple will use the same technology to protect against Mac OS X for intel running on regular PCs
On a side note, Sony will demonstrate their PS3 at CES 2006
OSx86: The Ultimate Guide on how to get OS X up and running on your Intel Box
Thursday, September 1st, 2005
Ever since I put up Screenshots of Mac OS X running under Windows a few weeks back, I’ve been bombarded with all sorts of questions on how to get it installed, what kind of machine is needed to get it up and running, and most importantly where do I find the files needed for this and so on. Here’s an attempt to answer all of your questions please let me know if there’s anything I’ve missed.
Question 1: Where do I get MacOSx86?
Authorized users should obtain the OSX files from Apple. It is illegal to obtain them from torrent sites by searching under and of the following keyword combinations: “VMWare files for patched Mac OS X Tiger Intel” or “Deadmoo” or “OSx86”
Question 2: What kind of machine do I need to run Mac OS X?
Any machines that has SSE2 is able to run OS X86, you will need SSE3 in order to run Rosetta, a workaround to run Rosetta on SSE2 is available. Its CPU intense however as it translates every SSE3 instruction into SSE2
Question 3: How do I find out if my machine has SSE2/SSE3?
Download the About CPU-Z application and run it on your machine, it will tell you what kind of instructions your CPU has (see screenshot below).
Question 4: I have a Prescott CPU and I’m unable to run Rosetta!
I ran into the same problem on my installation, Mac OS X is unable to resolve whether you have SSE3 or not if your motherboard has an 865PE chipset. You can either replace your motherboard or run the SS3 2 SSE2 Patch
Question 5: What’s the ultimate machine to run Mac OS X on?
I’m not sure if this is the ultimate configuration, these are the specs for the machine that Apple is currently leasing to developers.
CPU: must support SSE3
Chipset: Intel 915 chipset (others may work if they support ich4 or ich5)
GPU: Intel Graphics Media Accelerator 900
Motherboard: Intel D915GUXLK
I would definitely recommend having at least 1 Gigabyte of RAM, although we ran this emulated on a laptop with 256 MB and several applications running in the background.
Question 6: How would I know if my current hardware would run?
Well there’s no official hardware compatibility list, OSx86 Project and several other sites rely on Wiki to report whether hardware would work or not.
You can check HCL | NON-COMPATIBLE HARDWARE LIST
Question 7: There’s no Networking or Sound on VMWare!
Yes, VMWare was not designed to run bootlegged operating systems. There are no drivers for sound and networking on VMWare, I don’t think anyone has bothered to write drivers for it; as it can be run Natively.
Here’s a list of soundcards and Ethernet cards that would work with a native OS X installation:
Sound:
-ADI AD1985
-Audiotrak Maya 5.1 USB Audio
-C-media AC’97
-C-Media USB Audio
-Creative SB Live! 24-Bit External USB
-Griffin iMic
-Intel ICH4/ICH5/ICH5R/
-Intel ICH6 AC’97
-M-Audio Revolution 7.1 (Uses OSX drivers)
-Realtek AC’97 Audio for VIA a.k.a VT8235 (try SPDIF-output)
-Realtek ALC650
-Realtek ALC655
-Realtek ALC850 (nForce4 Audio, needs edited kext)
-Realtek ALC855
-Realtek ALC860
-Sigmatel C-Major Audio (copy over AppleAC97 kext from Darwin)
-Sonica Theater (USB)
-SoundMax Integrated Digital Audio (AC97)
-VIA VT8233, VT8237
Ethernet:
-3Com 3c900 (10mbit only)
-3Com 3c905/3c905B/3c905C NIC
-3Com 3c920 10/100 Integrated
-Broadcom BCM4400 10/100 integrated controller
-Broadcom NetXtreme BCM5705M Gigabit Ethernet
-Intel 82559-based NIC (EtherExpress Pro/100+)
-Intel PRO/100 VE and PRO/1000
-Intel 82557 EE PRO/100
-Intel 82540EM Gigabit Ethernet
-Intel 82547EI/82562EZ
-National Semiconductor DP83816 “MacPhyter”
-Netgear FA311 - ( http://homepage.mac.com/yukidon/mac/en/dp8381x.html )
-Realtek RTL8139/810x Family Fast Ethernet NIC
-Realtek 8100C
-Realtek 8139 - D-Link DFE-530TX+, also many generics/onboard
-Realtek 8169/8169S - Gigabit NIC’s (Netgear GA311) -
-SMC-1211TX (Recognized as RTL8139 [Realtek]
-Surecom EP-320X-R 100/10/M
Video cards/chipsets:
- Integrated i915G Intel GMA900 (works with all resolutions, Quartz Extreme, Core-Graphics and 2d/3d acceleration)
- Almost all other video cards will work properly, but no hardware acceleration is used
Question 8: How do I install OSx86 natively?
There are several guides on to do this here’s one of my favorites http://www.xplodenet.com/blog/?page_id=11
Question 9: These look very complicated is there an easier way?
Well you can replicate the tiger-x86 image onto a separate hard driver (Separate partition will not do). You can lookup the guide on www.osx86-project.org
Question 10: But that requires Linux and looks complicated! Isn’t there a way to do this on windows?
Well I’m not particularly a fan of making things complicated; again you will need a separate harddrive, a separate partiontion will not do! I repeat will not do. You can also use an external drive if you wish (make sure your BIOS supports booting from USB devices)
- Obtain the OSX files from Apple. It’s illegal to get the from torrent.
- Unrar the files to the root of your C Drive
- Download the Forensic Acquisition Utilities or Rawrite DD (http://uranus.it.swin.edu.au/~jn/linux/rawwrite/dd.htm)
- Unzip these files and copy dd.exe (as well as every file in that directory to the root of c: drive as well)
- Download WMI Tools from Microsoft, and install them; go to programs > WMI Tools and run WMI Object Brower, an Internet Explorer page will fire up (if you have SP2 installed allow the blocked content)
- Select WIN32_SystemPartitions.PartComponent in the left column then right-click on the drive device id (Disk #0, Partition #0, etc) in the right column and select Go to Object
- The device window will open and click the associations tab
- Exploring with this tool you should be able to match drive letters (Win32_LogicalDisk.DeviceID = “C:”) to its physicaldisk reference (Win32_DiskDrive.DeviceID = “\.\PHYSICALDRIVE0”)
- Now that you know the Physical ID of the drive you want to use the following command to do it:
dd if=c:\tiger-x86-flat.img of=\.\PhysicalDriveSomething
Where something is the Physical Drive ID - The command will seem to hang, but you’ll notice your drive is firing up, just let it complete it’s business, it would take anytime from 10 minutes to hours depending on your hardware configuration
- Once it’s done, reboot and select the new drive as your boot drive, Voila! You’re done
Question 11: My friend has Mac OS X86 installed on his machine, can I replicate it from there?
Yes you can! You can even map a real hard disk to your virtual machine and replicate it from there check this guide: http://www.bombich.com/mactips/image.html
Question 12: You mentioned windows applications running on Mac OS X86 is this true?
Yes, buggy but true. I managed to run a few applications, nothing too hardcore. Darwine allows the Windows API to be created in x11 terminal, and thus run win32 applications through the help of Winehelper.
I would like to take the opportunity to thank the Darwine team for their great achievements of porting the open-source Wine (http://www.winehq.org) to Mac OS X. I bow to you guys!
Screenshots of Mac OS X Running Under Windows XP
Monday, August 22nd, 2005As I’m about to clone this into a harddrive (OS X runs painfully slow when emulated under Windows; although this can be fixed.), I thought I’d take a few screenshots. Behold, Mac OS X Tiger running under Windows XP SP2.. what word can be used to describe that?

Setting up VMWare [Memory / Harddisk / Floppy Image / etc.]

Apple Bootloader Firing Up

Apple OS X Loading

First Click On The Apple

About OS X

Advanced Diagnostics

Harddrive Content
Note: MacOS X On a sub $300 PC (Celeron 2.66 Ghz) can outrun a MacOS X running on a G4
OSx86 Project: Mac OS X on a sub $300 USD Intel “White” Box
Sunday, August 14th, 2005Your next Mac could cost you only $300 USD or less, and run faster than any G4 or G5 you’ve ever used. The future is already unfolding!
Based on the Apple OS X x86 Developer Kit, the OSx86 Project offers a hack designed to over-ride TPM Chip (Trusted Platform Module), Apple’s anti-competitve chip intended to prevent the system from running on Ordinary PCs and stifle innovation.
By removing the TPM Kernel extension (AppleTPMACPI.kext) and writing the drivers (Known as Kernel Extensions) so that they can run your own Non-Apple-Gadgets such as Wi-Fi cards, VGA Cards, etc. Mac OS X can now be run on any x86 Box (Intel or AMD) that offers SSE 2, although you will need SSE3 if you plan on running Power PC Applications on Rosetta.
Many believe (although I’m highly doubtful) that Apple wanted to demonstrate the weakness of TPM security, and may have plans to eventually license the operating system to PC Makers eventually.
The setup can be done in 30 steps or less (if you happen to download a ready made VMWare image for instance) a guide on how to setup Max OS X on an intel box can be obtained from http://www.xplodenet.com/?p=guide the OS through BitTorrent, my test setup ran perfectly and much faster than a G4 with 1024 MB of RAM on a humble box I purchased primarily for testing Mac OS X, an Acer Power F2 (Intel Celeron 2.66 Ghz with 512 MB RAM) I wouldn’t have believed it if i didn’t run both systems back to back! Of course there are several reasons why you should wait for Apple to realease it’s own Intel Boxes, the current legal-status of OS X intel is one, and the uncompleted developer nature of OS X for intel is another.
For more information you can check:
http://osx86project.org/
http://www.osx86.classicbeta.com/wiki
Deviriginizing my imate PDA
Friday, March 4th, 2005To all engineers matter in this vast universe can be analyzed, categorized and placed into one of these categories:
- things that need to be fixed
- things that will need to be fixed after you’ve had a few minutes to play with them.
My iMate Pocket PC Phone Edition fell into the second category this morning, I woke up and decided to listen to our latest jam. Tired, looking & acting like a zombie I ended up hooking the wrong earphones into it, and they broke inside, leaving me with a phone I couldn’t make or receive calls on (as it was under the impression it still had the earphones stuck inside)
Unable to send it off to a repair shop, as I had purchased it from Dubai and wasn’t willing to mail it and wait a week for it to be returned. I decided to fix it myself.
You wouldn’t believe just how hard it is to crack open the case, it took approximately 25 minutes to do so. First off, You will need to backup of your device as the backup battery might deplete during the course of this.. then you will need to take off the back cover and remove the battery. Underneath it you will see 4 slot small screws, and 2 TROX screws (6-point star shaped pattern), one of which is concealed under the void sticker (removing this screw will void your warrantee), then you gently have to remove the black back cover (near the camera) by gently pulling it and pushing it outwards toward the SD slot, underneath you will find the built in antenna, which is mounted by another set of TROX screws. After unscrewing those two, you will need to gently separate the back and front part of the case.
The fixing part didn’t take a very long time about 4 minutes as I had to sharpen one of my screw drivers to fit in the small opening between the ends of the soldered jack. Having done so I realized how similar this is to having sex with a virgin, you have to take it slow and be ever so delicate, it might take sometime; but it’ll be fairly easier the next time, and she/it will never be the same.


