Skip to content
kooscodePublic

About

OXOS: a clean-room, ABI-compatible open-source OG Xbox kernel in C++

Resources

Stars

29 stars

Watchers

2 watching

Forks

Repository files navigation

OXOS = Open Xbox Operating System

OXOS is an open-source replacement for the original Xbox's kernel and BIOS. It runs retail games and dashboards in xemu and on real consoles, from a fully open BIOS image: no Microsoft code or boot-ROM dump is needed to build or run it.

The OXOS boot screen: click to play the video

Sharp boot splash with bootup video and trainer in action!! (click to play)

Highlights

  • Every console revision, 1.0 to 1.6: Conexant, Focus and Xcalibur video encoders, composite to 1080i.
  • Complete kernel: Every function and variable of the retail kernel, written clean-room.
  • Open Source BIOS: Original code from first instruction at boot to launching and running any XBOX Title.
  • Big disks: exFAT (no size limits) and LBA48; FATX disks with extra F:/G: partitions keep working.
  • Blank disk to dashboard without a PC: New disks are formatted as exFAT at boot; press the X button for the OXOS File Manager to upload files and launch XBEs from any browser.
  • Titles from Disk/ISO: Fully supports running Titles of your own discs dumped to HDD, XISO or CCI.
  • Universal Trainers: Loads a trainer menu for games matching any of 1,000 trainers included. Off as shipped: one line turns it on.
  • Title patches: Patches any title from an .ini file!
  • Your dashboard: C:\OXOS\oxos_settings.ini lists the dashboards to start, in order (EvoX, the XBL Dashboard, ... as shipped); none there: the stock C:\xboxdash.xbe.
  • Boot video: OXOS's own intro plays straight after the boot logo, on by default; or a video of your choice; any button skips it ([boot_video] in C:\OXOS\oxos_settings.ini; make your own).
  • Launch redirects: [launch_redirect] in C:\OXOS\oxos_settings.ini starts another XBE in place of one a title launches, e.g. a new Xbox Live updater instead of the old one (how to use it).
  • Kernel extensions + SDK: SDK for Kernel intercepting ALL Kernel functions and Title events (like Title Launch/Exit)
  • In-Game Shortcuts (IGS): The standard In Game Reset we are used to (LT + RT + BACK + BLACK), plus your own button combinations to start any XBE, in every title, with a toast on screen first (C:\OXOS\extensions\oxos_igs.ini).
  • Video mode toast: Each title's video mode shows briefly ("Video Mode: 720p"); show_video_mode = no under [toasts] in C:\OXOS\oxos_settings.ini turns it off.
  • Sound that stays on: A title that leaves the sound chip frozen no longer leaves you silent: OXOS notices at the next title switch, shows "Audio Codec Frozen - Restarting" and restarts into the same launch.
  • Saves / System Link / XBOX Live: OXOS is fully compatible with stock consoles and XB Live / Insignia.
  • Error screens that explain themselves: What happened and what to try, instead of a bare number; a kernel crash shows its code and parameters for a bug report.
  • nxdk homebrew: Fully supports the latest nxdk and nxdk-sdl3 homebrew.
  • Release Testing: 1,080 automated tests (host + xemu) plus hardware boots.

Try it

Download the latest release (oxos_vX.Y.Z.zip) and unzip it: the BIOS images are in OXOS/bios/.

xemu: in Machine → Settings → System, set Flash (BIOS) File to bios_vX.Y.Z.bin and leave MCPX Boot ROM File empty. Use the free xemu-dashboard disk or your own disk image.

Console: flash the image for your revision to a modchip bank. Then copy the zip's whole OXOS folder to C:\ (on an exFAT disk: /C/), for Universal Trainers and the per-title fixes:

  • easiest: hold X while the console boots, open the web address it shows in a browser, go to C: and upload the whole OXOS folder (OXOS File Manager);
  • or by FTP: start OXOS/apps/oxos_ftp.xbe and copy the folder with any FTP client.

When updating, keep your own .ini files (they hold your settings).

Console Image
1.0 – 1.4 bios_vX.Y.Z_256k.bin (256 KB bank) or bios_vX.Y.Z.bin (1 MB bank)
1.6 bios_1.6_vX.Y.Z_256k.bin (256 KB bank): only this image works on a 1.6

Tested on a 1.4 (Focus), an MCPX 1.1 console, a 1.6 (Xcalibur) and a Conexant debug kit. Reports from other revisions are welcome in the issues. On a 1.6 with a Modxo, keep the LPC wires short (wiring notes).

OXOS File Manager

Blank Hard Disk Found: a countdown before OXOS formats the disk as exFAT No Dashboard Found: no dashboard could be loaded, check C:\OXOS\oxos_settings.ini or add the default C:\xboxdash.xbe; Press X to launch Web File Manager
1. A blank disk is formatted as exFAT 2. No dashboard yet: press X
The OXOS File Manager screen on the Xbox, with its web address The OXOS File Manager in a browser
3. The File Manager on the Xbox 4. The File Manager in the browser

Press X on a controller while the boot logo shows, or on the "No Dashboard Found" screen: OXOS shows a web address. Open it in any browser on the same network to:

  • browse the drives;
  • upload single files or whole folders (a complete dashboard in one go, about 11 MB/s);
  • create folders, rename files and folders, and delete files and empty folders;
  • launch any .xbe.

It is built into the kernel and its memory is freed when a title starts, so games lose nothing. There is no log-in: anyone on the local network can use it while it is on screen. Details.

For whole disks, FTP: each release includes the OXOS FTP server, OXOS/apps/oxos_ftp.xbe (apps/oxos_ftp). Upload it with the File Manager and launch it there, then use any FTP client (FileZilla, WinSCP, lftp) to copy, move and delete across the disk, several clients at once, at about 8 – 10 MB/s.

Universal Trainers

Tip

Trainers are OFF by default
To turn them on, set enabled = yes under [oxos_trainers] in C:\OXOS\oxos_extensions.ini.

The trainer menu before Halo 2: trainer 1 of 8, made for this version, switched on with 4 of 13 cheats; Cloaked selected, switched in the game with BACK The trainer menu before Halo 2: trainer 2 of 8, made for another version, greyed out under a red VERSION NOT COMPATIBLE band
A trainer for this version of the game: on, with its cheats A trainer for another version: not compatible, stays off

Start a game that has a trainer, from any dashboard, launcher or disc: the trainer menu comes first. Switch the trainer and the cheats you want on, then Start Game (A), or BACK for the dashboard. Games without a trainer start as always.

  • Consoles and xemu: works on a real Xbox and in xemu, also with an ISO loaded through xemu's Load Disc (copy the OXOS folder to xemu's C: as on a console).
  • ~1,000 trainers ship with the release! (C:\OXOS\trainers\)
  • Some cheats are enabled with a button press in game - We show their buttons in the menu! (i.e. Halo 2's Cloaked is "BACK" )
  • Multiple Trainers Support! If a game has multiple trainers, pick one with LEFT and RIGHT; trainers not meant for your game version are clearly marked.
  • Adding and removing trainers: copy .etm files into C:\OXOS\trainers\, or delete them there. We will rescan the folder each time the trainer menu starts, or manually launch C:\OXOS\extensions\oxos_trainers.xbe to rescan.
  • Fully supports "Title Update" and will recognize a game was updated and apply trainer for updated game version
  • This is a Kernel level hook and works from every dashboard, ISO disc images and with original discs; XBMC4Gamers' own trainers keep working.
  • Details.

Games and disks

  • exFAT: format the disk as exFAT on a PC, or let OXOS do it: a blank or non-Xbox disk is formatted at boot after a 30 s countdown (turn the console off to keep it). The drives are folders at the disk's root: /C, /E, /F, ... (details).
  • Game folders: tools/oxos_isonator turns a disc image into a folder that dashboards such as XBMC4Gamers list as the game itself.
  • Trainers: Universal Trainers for any dashboard; XBMC4Gamers trainers (.etm, .xbtf) also work as on a modded stock BIOS. The pack: third_party/xbox_trainers.

OXOS includes no games: make the images from discs you own.

Developers

Building, testing, debugging and the source layout: kernel/README.md. Specifications: spec/. Real-console testing runs unattended on a hardware-in-the-loop rig.

Not yet

  • One image for every revision (the 1.6 still needs its own).
  • Retail 1.0 – 1.3 consoles are untested (the Conexant encoder is tested on a 1.0 debug kit).
  • Debugging on a real console.

What OXOS adds to a stock kernel, and what is planned next: spec/oxos_features.md.

Credits and license

OXOS is GPL-2.0 (LICENSE). It uses XboxDev/cromwell (GPL-2.0), rmenhal's in-game reset and virtual DVD drive from NKPatcher (GPL-2.0), Paul Bartholomew's (oz_paulb) LBA48 patch and partition table (GPL), Team Resurgent's Hermes mount request (GPL-3.0) and libCCI's CCI format (GPL-2.0), EvoX M8+ as the reference studied for large disks and the in-game reset, Intel's Pentium III microcode, xemu-dashboard (MIT), and for its console apps nxdk with SDL3 (zlib) through Ryzee119's nxdk-sdl3 (MIT). Full notices: THIRD_PARTY_NOTICES.md.

Legal

An independent project, not affiliated with or endorsed by Microsoft. "Xbox" is a trademark of Microsoft Corporation. How OXOS was made, and the legal basis for it: dmca_compliance.md.

About

OXOS: a clean-room, ABI-compatible open-source OG Xbox kernel in C++

Resources

Stars

29 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages