Slashdot Mirror


Strong Hints On Flashing Your Xbox

customsex writes: "bunnie has written a nice one with pictures documenting his adventure flashing his bios on his xbox. check it." His page also points you to the Sony vs. Connectix case regarding reverse engineering of hardware.

15 of 219 comments (clear)

  1. Phone message: by mESSDan · · Score: 5, Funny

    That phone message was pretty funny, the x-box guy sounds pretty nervous/antsy. "We'd uh, like you to remove that rom image, and uh, call us when you do. Or call me and uh, we can talk about it."

    One cool thing to note is that this wasn't a lawyer calling him, it was one of the x-box dev guys.

    --

    -- Dan
  2. Hardware hackers only by Alien54 · · Score: 4, Insightful
    You need the following to do this: tongs-style soldering iron (to remove the existing flash device), a fine-tipped soldering iron, a microscope, flux, and some solder paste is always nice, but you can use just plain old fine solder too. If you don't have tongs-style soldering iron, you can just cut the device off the board if you have extras laying around (presumably you also have a ROM burner--I use the Needham's Electronics EMP series) or you can build your own (I built an improved version but I haven't got the docs on the web yet...)

    So it looks like hardware hackers only with the appropriate tools and skills.

    There was also this tidbit:

    If you are looking for the FLASH ROM contents of the XBOX, you won't be able to download them even though I've extracted them. I got a call [recording edited to protect sensitive info] from Microsoft within 12 hours of posting this page regarding the binaries...

    Sounds like MS is on the ball on this one, as far as protect their hardware secrets.

    --
    "It is a greater offense to steal men's labor, than their clothes"
  3. Microsoft at their best by torqer · · Score: 4, Interesting
    The XBOX keeps "multiple versions of the BIOS around in case different games rely on features or even bugs found in previous BIOS versions."

    man pretty smart of microsoft to realize their own mistakes may be required in games

  4. Doesn't MS lose money on every Xbox? by Anonymous Coward · · Score: 4, Funny

    And make money on every game to make up for it?

    So, let's all buy an Xbox, convert it to running Linux, and come up with a cool open source development environment to build our own games.

    We can destroy MS and get a good gaming console out of it at the same time. :)

    I would also love to make a C64 emulator CDROM with about 500 old games and a nice menuing system to select which games to play, and make the save and load work from all the games as well.

    A system like the X-box would be great for that.

  5. "Flashing" an XBOX? by bnitsua · · Score: 5, Funny

    Do we really need to post a story everytime some guy plays Halo naked in front of his television?

  6. Long-term benefit by smittyoneeach · · Score: 5, Interesting

    Recall reading the Wired article about the XBox, where they mention that its initial $300 dollar price will be driven down to around $100 as soon as possible.
    Sorry about the low end of the computer market, but it'll be cool when you can drop a grand, pick up a ten-pack of them, and construct your Much-Ballyhooed Beowulf Cluster (MBBC).
    Maybe one day /. itself could run on such an installation. Feel the irony.

    --
    Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
  7. The point? by SilentChris · · Score: 5, Interesting
    I'm not entirely sure I see the point of this exercise. Bear with me. I can see upgrading the drive cables or trying to solder on extra memory for performance reasons (as some people have done), but flashing the BIOS of the XBox seems to be a pointless exercise. First, you need to have pretty strong hardware knowledge -- it's not something that's going to be "mod chipped" in the future. Secondly, and more important, apparently the BIOS is heavily encrypted and/or compressed, so (if Microsoft used its noodle) it will be extremely difficult to retrieve.

    As opposed to hacking an XBox to use Linux (which I agree is a noble pursuit, if not flawed), why not find a cost-effective way to make a "LBox" out of cheap hardware. Put a penguin on the cover or something.

    Me, personally, I bought my XBox for playing games and DVDs, like most people. I love fucking around with hardware myself, but this thing is a toy to be played with and enjoyed for me, not a job.

    1. Re:The point? by SpinyNorman · · Score: 5, Insightful

      You could never make an "L-box" as cheap as the X-box because the beauty of it is that it's subsidized hardware! Every X-box subverted to another purpose not only deprives Microsoft of razor-blade revenue, but actually causes them to lose money!

      If X-box can be made to run Linux, then it would be an excellent base for an open source Tivo!

  8. Re:running things for different platforms by dreamquick · · Score: 4, Insightful

    Hmm X-Box games on a PC?

    You will not see that for at least a year. There are a few reasons:

    1) X-Box is a product - if i can play the games elsewhere why should i buy an x-box? e.g. Halo looks like it rocks, and if the only place i can play it is on an X-Box then that means i have to buy one if i want to play it.

    2) X-Box is an appliance with a roadmap already laid out for it - if i remember the goal is to get it to become a home multi-media station, if you give people a reason not to buy one then you risk losing a market segment.

    3) Assuming a 3rd party does this then they will be sued to hell and back by MS - this guy got a telephone message within 12 hours for releasing something only the most techie of people would have a use for. What do you think they would do if/when someone releases an emulator.

    I suggest a year simply because after this people and the company will see exactly who won the console war - if anyone, if it is the x-box that won then you can release an emulator in the hopes of getting people hooked and eventually buying a console.

    If the x-box didn't win then you release an emulator to keep the devolopers happy that they can still sell games.

    The only problem is if it all ends in a draw between X-box and another console - in that case you want to produce the best games you can and make sure you can only play them on your machine!

  9. Sure, you can hack an X-box by multiplexo · · Score: 5, Funny

    But I'm waiting for someone to hack the new Maytag Neptune washer and dryers, the ones with the 4" plasma touch screen. I want one that will run Linux and play DVDs while I'm doing my laundry. Or actually if I had the washer and dryer I could have one running Linux and the other serving as a game/DVD console, and I could wash my clothes.

    --
    cheap labor conservatives - they want to keep you hungry enough to be thankful for minimum wage.
  10. Re:running things for different platforms by JWhitlock · · Score: 5, Insightful
    Conversely, when will someone get me a program that will let me play DOA3 or other xgames on my PC? I wouldn't think that would be too hard. I think MS should even support it because if we can buy a program to let us buy and run games on our PC, they don't lose money on each console sold.

    This is not a bug, it's a feature.

    XBox = DirectX, known version, known platform, known hardware, soon-to-be-discovered bugs, soon-to-be-discovered optimizations, etc. etc.

    It's a game developer's Nirvana, to only have to code for one platform, knowing that the way it looks on your development system is exactly how it will look on the buyer's system. No unexpected incompatible drivers. No hardware conflicts. No performance bottlenecks on strange systems with cheap-ass components. No Packard-Bells.

    It's like asking why the clothing industry can't make a good-looking pair of one-size-fits-all shoes.

  11. Harddrive by omega9 · · Score: 5, Informative

    This gets on topic towards the end:

    Correct me if I'm wrong, but I understand that the HDs in the Xbox are standard IDE drives. I've also read that people have attempted to chain the drives into their PC's IDE loop and mount them, but have been unable to because of a prop filesystem. Seeing as how the drives are 8-10 GB, what if you were to dd if=/dev/xbox of=/spare/drive bs=1024 to a spare drive >10GB (to hold the info). This way you don't damage your Xbox drive and you have a copy of it to play with. The reason?

    I have worked with proprietary systems in the past that were (more or less) similar to the Xbox, in that they used standard PC hardware and theory but needed to be secure from hardware "hack" attempts. Microsoft has had the tools to do something similar for a while. Reports state the Xbox is using a W2K kernel. The most associated filesystem with W2K is NTFS. With NTFS it's possible to create an encrypted filesystem. Now, if you wanted to handle the de/crypt as fast as possible where would you put it? In hardware.

    Take it a step further. Instead of adding extra de/crypt hardware to the mainboard why not consolidate a little bit more and take it straight to the I/O, that is the BIOS. Perhaps the HD is using an encrypted filesystem that is being handled directly by the BIOS. This would make some sense, since a software part could be broken all to easy. This also protects all components equally. Replace the BIOS and you can't read the HD, replace the HD but the BIOS can't read it (which has been proven).

    I venture that if you were to hammer out the details of the filesystem it would provide insight into the working of the BIOS. The sour part of this is that we already know it can be done (to some extent) because we have seen shots of MAME running on Xbox hardware. Though, perhaps that was under different rules since it was an SDK kit.

    --
    I'm against picketing, but I don't know how to show it.
  12. Harddrive is ATA password protected by Namarrgon · · Score: 5, Informative
    That's not so easy. The HD is locked by a password, as provided for by the ATA spec. It's not the filesystem that's the difficulty.

    What you can do is power the HD with a cable from a PC, turn on the PC then the Xbox, wait till the Xbox firmware unlocks the drive, does what it has to do, then goes idle.

    Then you turn off the Xbox (drive stays powered), carefully unplug the IDE cable & attach it to your PC's IDE controller instead. Rescan the drives & you should see it AND be able to read from it. Some info here, and elsewhere on those forums.

    Reportedly, the filesystem is a variant on the good old FAT, and not even encrypted. There are some differences, but apparently nothing too challenging (but it won't mount as an ordinary FAT partition, of course).

    Executables are signed, and modifying the exe invalidates the signature, so that won't be easy to get around. Perhaps replacing the BIOS would help, but you'd want to find out the HD password first...

    And yes, the MAME port was done on an SDK kit, which is much more open of course).

    --
    Why would anyone engrave "Elbereth"?
  13. Why flash the ROM? by Ungrounded+Lightning · · Score: 4, Informative

    All we need is one person to create an X-box game that just flashes in a Linux BIOS and can boot a linux image from CD.

    Why bother flashing the ROM?

    Just reverse-engineer its contents sufficiently to see how it loads from the CD. Then make a new LILO version-or-replacement that will boot linux (and other stuff) on the X box - perhaps with a soft BIOS under it and/or suitable modifications to certain linux modules that use BIOS services.

    The only way I can imagine this failing is if the BIOS runs the entire game in protected mode with no way to subvert it.

    Of course flashing the BIOS ROM is cleaner when you're done (except that you can't run the games anymore.)

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  14. Another XBox presentation by naoursla · · Score: 5, Informative
    Microsoft recently gave a presentation at my school on how the XBox works. I don't know how much of this information is available elsewhere, but here is what we were told:

    DVD is not included because it would have cost $8 more per box. They decided to let the people who wanted it pay for the license. The DVD codec is stored in the dongle.

    The controllers are big because printing smaller circuit boards is expensive. There is a Japanese controller that about half the size of the US controller and they said it would work on the US version.

    A guy named Horace designed the logo (he's also done branding work for Nike) and working on the branding. The first concept sketch was done with a green highlighter marker. The color stuck.

    The XBox allows ripping of CDs into 128 bit using WMAC codec. The CD tracks can be used to replace game music streams (perhaps by choosing a radio station in your racecar). Volume level is normalized when ripping CDs.

    The strategy for the XBox is to provided ease of development. Single platform. No plans to upgrade since that would destroy ease of development.

    The XBox uses an extremely stripped Win2K kernel. The original was something like 12MB. The stripped version is around 28kb (I didn't get the exact number). When the XBox boots, the kernel is running in ring 0 and nothing else is running. The game loads all of the remaining libraries. A game could also use completely custom libraries.

    No dynamically linked libraries. All libraries are statically linked into games during development. Driver upgrades will only be on new games to prevent DLL incompatibility hell.

    The XBox has "strong security". They do a lot of tricks to make sure that you cannot hack the box (regions, copy protection, unauthorized software). A comment was made about unsoldering three chips. Microsoft does all production of disks and all games have been 'encrypted' to run on the XBox. It sounds similar to the DVD encryption, but Microsoft is holding all the keys so that they do not leak.

    The developer talking to us said he would like to see Linux running on the box, but thought it unlikely that anyone would get past the security schemes.

    They said that no mouse or keyboard would be released. "Not a Trojan horse".

    The hard drive has three 700MB partitions that are allocated to the three most recently played games. These partitions are used to cache data from the slow DVD drive. After loading onto the drive, subsequent loads will be must faster.

    4.5 MB are allocated for each game to store persistent world data and save games. For example: If you crash into a coffee store in a driving game, the next day you play the windows might be boarded up. A few days later the store has a "Closed for Repairs" sign on it. These world details would be up to the game developer to implement of course, but the potential is there.

    Ethernet is enabled out of the box for local networks. The presenting developer was aware of software allowing internet play and seemed happy about it. Microsoft has an online program in the works where you will be able to get software updates for the XBox. Something was said about providing emulators and MAME was mentioned.

    Graphics chip is a custom nVidia GeForce3 chip. It is slightly older and probably slightly slower that current consumer chips, but the standard platform will allow games to be much faster since code can be optimized for the standard platform that they are not going to change.

    They will release a voice-peripheral with hardware compression that plugs into the controller. This could be used in multiplayer games like Halo for communication. This was described as a work around for not having a keyboard.

    The Devkit does not have the security lock on it (which is why MAME was only on a Devkit - I don't think we'll be seeing a consumer version until MS authorizes it). The Devkit has a 9GB hard drive that acts as a DVD simulator. The developer downloads their executable to the hard drive then reboots and the XBox loads it. It can simulate DVD load time too. There is an extra serial port on the Devkit, which is used for kernel debugging. There is also a way to set the game region. The game region might be software settable on the consumer boxes too.

    There is a 64MB memory limit. The XBox will crash if this is exceeded. More memory will not be available in the future.

    System menus use a vertex shader to do green x-ray effects. The entire vertex shader is stored on the GPU and only polygons are sent to the card once the shader is loaded.

    DOA3 has the best 3rd party utilization of the XBox and it uses pixel vertex shaders.

    Halo has 8 texturing passes. One of the MS developer beat Halo on the hardest level using only pistol whip.