Skip to content

TeamFoxbat/xbe2bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xbe2bin

WARNING: FLASHING EXTRACTED FIRMWARE MAY BRICK YOUR CHIP. YOU HAVE BEEN WARNED.

xbe2bin is a Python script intended for extracting STM32 firmware binaries from Xbox Executables (XBE). It is specifically configured for extracting XboxHD+ firmware from the XboxHD+ app but could easily be reconfigured for other applications if necessary.

Currently, it does the following:

  • Pulls latest release from XboxHD+ app on GitHub (or alternatively uses local .xbe files)
  • Verifies that an .xbe file is likely an XBE
  • Finds the STM32 firmware binary based on a known preamble and verifies that it matches a known pattern and length
  • Checks for known strings for extra validation
  • Displays version number of firmware (if not already available from GitHub release tag name)
  • Combines both the bootloader and program into a single flashable binary
  • Displays md5sum of firmware binary
  • Saves extracted firmware binary to new file

Syntax

Pull latest from GitHub release page:

python xbe2bin.py

Use local files instead:

python xbe2bin.py upgrade.xbe firmware.xbe

About

Extracts STM32 firmware from Xbox Executables

Resources

License

Stars

Watchers

Forks

Languages