Xbox:EEPROM: Difference between revisions

From ConsoleMods Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Xbox]]
[[File:Xbox EEPROM - 1.0.jpg|thumb|200px|In earlier consoles, the EEPROM is located between the SMC (upper) and TSOP (lower).]][[File:Xbox EEPROM - 1.6.jpg|thumb|200px|In 1.6 consoles, the EEPROM is located next to the LPC.]]In a [[Xbox:Original Xbox Mods Wiki|Microsoft Xbox]], certain configuration values are stored in a small re-writable eight-legged chip, located near the LPC. This is referred to as the '''EEPROM''', and it holds a mere 256 bytes in [[Xbox:Versions|all Xbox versions]].
Before modifying your Xbox permanently (softmod or hardmod), it's recommended to backup your EEPROM and optionally your C: drive. A backed up EEPROM will allow you to access a locked hard drive on a PC or with [[Xbox:Chimp|Chimp]] if you are using a softmod or are keeping your hard drive locked on a hardmod. Backing up your C: drive will allow you to restore your hard drive to it's original state if something goes wrong.
 
Some of the system settings it maintains are:
 
* The console's unique HDD key, used for opening [[Xbox:Drive Locking|the disk's ATA security lock]] on boot.
* The console's serial number, used for identifying a specific console.
* The console's language setting, used by games which support more than one.
* The console's region, used to determine which discs it's allowed to boot.
* The console's IP settings and MAC address, previously used for Xbox Live's purposes, and now used by [https://insignia.live Insignia].
* The console's allowed display modes, determining [[Xbox:Games with Alternate Display Modes|the resolution settings games may select from.]]
 
[https://xboxdevwiki.net/EEPROM Refer to XboxDevWiki for a more detailed overview of its contents and data layout.]
 
Some options, such as the system language, display modes, and audio modes, may be changed through the official [[Xbox:Microsoft Dashboard]]. Other dashboards tend to leave the EEPROM alone, storing their settings on the console's hard disk drive instead. You cannot use [[Xbox:UnleashX]] or [[Xbox:XBMC]] to enable HD display modes for games, for example - they must be enabled in the EEPROM separately, and even those dashboards themselves may only enter HD after this has been done.
 
Modded console users, or those with access to external EEPROM readers (such as a Raspberry Pi running [[Xbox:PiPROM]]), have the ability to change ''all'' data values stored within the EEPROM - including the region, HDD key, and even the console's serial number. Doing so can be dangerous, as an Xbox with a corrupted EEPROM will be unable to boot - instead displaying a solid red front LED (or rarely, solid green), with no video output at all. Some advanced modchips, such as the OpenXenium, are able to work around a corrupted EEPROM. Without such an addon, an external EEPROM reader device is required to restore the chip's contents and revive the system.


'''It is highly recommended to FTP the backups to your PC for safe keeping.'''
On a PC, [[Xbox:LiveInfo]] or [https://github.com/Ernegien/XboxEepromEditor Xbox EEPROM Editor] can be used to review, modify, or even create fresh EEPROM data sets. As useful as these tools are, however, '''it's strongly recommended to back up your original EEPROM to your PC as soon as you are able.''' [[Xbox:Drive Locking|In particular, the loss of your HDD key may mean loss of access to your Xbox's hard disk drive!]]


==Backing up your EEPROM (Installers)==
==Backing up your EEPROM (Installers)==


With Xbox Softmod Tool, an EEPROM backup will automatically be made and placed in E:\backups. Softmod Installer Deluxe (SID) and installer discs have "Backup EEPROM" and "Backup C Drive" options, which will make a backup in E:\backups.
With Xbox Softmod Tool, an EEPROM backup will automatically be made and placed in `C:\Backups\`. Softmod Installer Deluxe (SID) and installer discs have "Backup EEPROM" and "Backup C Drive" options, which will make a backup in `C:\Backups\`. Copy this to your PC at your earliest opertunity.


==Backing up your EEPROM (EvolutionX)==
==Backing up your EEPROM (EvolutionX)==


Navigate to System Utils → Backup. Selecting this will backup of your EEPROM, on-board Bios, HDD Password, and HDD config and place it in `C:\Backup\`. If your dashboard is not installed on the C: drive, it may not work.  
While running the [[Xbox:EvolutionX|EvolutionX dashboard]], navigate to System Utils → Backup. Selecting this will backup of your EEPROM, on-board Bios, HDD Password, and HDD config and place it in `C:\Backup\`, from which it should be copied to your PC. If your dashboard is not installed on the C: drive, it may not work.  


==Backing up your EEPROM (ConfigMagic)==
==Backing up your EEPROM (ConfigMagic)==


Press Start to enter the application, then Start again to open the main menu. Select "Create Backup Files". This will create an EEPROM backup on the E: drive. Most actions in ConfigMagic will make a backup of the EEPROM on the root of the E: drive.
While running [[Xbox:Config Magic]], select "Create Backup Files". This will create an EEPROM backup on the `E` partition, from which it should be copied to your PC. Most other actions in ConfigMagic will also create backups beforehand, but beware: you'll require separate hardware to restore your backups if you render your system inoperable!


==Backing up your EEPROM (PiProm)==
==Backing up your EEPROM (PiPROM)==


In the event that you cannot boot into the Xbox to backup your EEPROM, you can use a Raspberry Pi and three wires to dump it from the chip directly. A full guide can be found [[Xbox:PiPROM|on the PiPROM page]].
In the event that you cannot boot into the Xbox to backup your EEPROM, or if your EEPROM chip corrupts and needs to be restored, you can use a Raspberry Pi and three wires to dump from, or write to, the chip directly. [[Xbox:PiPROM|A full guide can be found on the PiPROM page]].


==Backing up your EEPROM (Xbox-EEPROM-Utility)==
==Backing up your EEPROM (Xbox EEPROM Utility)==


[https://github.com/dx4m/Xbox-EEPROM-Utility Xbox-EEPROM-Utility] allows for dumping and writing to the EEPROM with just the Xbox motherboard using a readily available ESP-8266 or ESP-32 microcontroller, as well as being able to perform a variety of SMC functionality like remotely powering on/off the console via a web interface.
[https://github.com/dx4m/Xbox-EEPROM-Utility Xbox EEPROM Utility] allows for dumping and writing to the EEPROM with just the Xbox motherboard using a readily available ESP-8266 or ESP-32 microcontroller, as well as being able to perform a variety of SMC functionality like remotely powering on/off the console via a web interface.
 
==Backing up your EEPROM (Arduino)==
 
Adapted from PiPROM's code, [https://github.com/Ryzee119/ArduinoProm ArduinoProm] can be used with an Arduino module instead - such as a Pro Micro Leonardo. Alternatively, the [https://github.com/dtomcat/ArdPromSD ArdPromSD] is an altered board design that can directly read or write backups from or to a microSD card. [https://www.ogxbox.com/forums/index.php?/topic/8747-i The ArdPromSD is explained on the OGXbox forums.]


==Backing up your EEPROM (PC COM Port)==
==Backing up your EEPROM (PC COM Port)==
A PC equipped with a COM port can be fitted with [[Xbox:EEPROM COM Reader|a simple adaptor]] for reading from or writing to an Xbox EEPROM chip.
A PC equipped with a COM port can be fitted with [[Xbox:EEPROM COM Reader|a simple adaptor]] for reading from or writing to an Xbox EEPROM chip.


==Backing up your C: Drive==
[[Category:Xbox]]
 
For softmodding, it's recommended to FTP into your Xbox and copy everything from the C: drive onto your PC. If something goes wrong on install, you can use your EEPROM backup to open the drive with XboxHDM and put the files back onto it.

Revision as of 13:36, 26 January 2023

In earlier consoles, the EEPROM is located between the SMC (upper) and TSOP (lower).
In 1.6 consoles, the EEPROM is located next to the LPC.

In a Microsoft Xbox, certain configuration values are stored in a small re-writable eight-legged chip, located near the LPC. This is referred to as the EEPROM, and it holds a mere 256 bytes in all Xbox versions.

Some of the system settings it maintains are:

  • The console's unique HDD key, used for opening the disk's ATA security lock on boot.
  • The console's serial number, used for identifying a specific console.
  • The console's language setting, used by games which support more than one.
  • The console's region, used to determine which discs it's allowed to boot.
  • The console's IP settings and MAC address, previously used for Xbox Live's purposes, and now used by Insignia.
  • The console's allowed display modes, determining the resolution settings games may select from.

Refer to XboxDevWiki for a more detailed overview of its contents and data layout.

Some options, such as the system language, display modes, and audio modes, may be changed through the official Xbox:Microsoft Dashboard. Other dashboards tend to leave the EEPROM alone, storing their settings on the console's hard disk drive instead. You cannot use Xbox:UnleashX or Xbox:XBMC to enable HD display modes for games, for example - they must be enabled in the EEPROM separately, and even those dashboards themselves may only enter HD after this has been done.

Modded console users, or those with access to external EEPROM readers (such as a Raspberry Pi running Xbox:PiPROM), have the ability to change all data values stored within the EEPROM - including the region, HDD key, and even the console's serial number. Doing so can be dangerous, as an Xbox with a corrupted EEPROM will be unable to boot - instead displaying a solid red front LED (or rarely, solid green), with no video output at all. Some advanced modchips, such as the OpenXenium, are able to work around a corrupted EEPROM. Without such an addon, an external EEPROM reader device is required to restore the chip's contents and revive the system.

On a PC, Xbox:LiveInfo or Xbox EEPROM Editor can be used to review, modify, or even create fresh EEPROM data sets. As useful as these tools are, however, it's strongly recommended to back up your original EEPROM to your PC as soon as you are able. In particular, the loss of your HDD key may mean loss of access to your Xbox's hard disk drive!

Backing up your EEPROM (Installers)

With Xbox Softmod Tool, an EEPROM backup will automatically be made and placed in C:\Backups\. Softmod Installer Deluxe (SID) and installer discs have "Backup EEPROM" and "Backup C Drive" options, which will make a backup in C:\Backups\. Copy this to your PC at your earliest opertunity.

Backing up your EEPROM (EvolutionX)

While running the EvolutionX dashboard, navigate to System Utils → Backup. Selecting this will backup of your EEPROM, on-board Bios, HDD Password, and HDD config and place it in C:\Backup\, from which it should be copied to your PC. If your dashboard is not installed on the C: drive, it may not work.

Backing up your EEPROM (ConfigMagic)

While running Xbox:Config Magic, select "Create Backup Files". This will create an EEPROM backup on the E partition, from which it should be copied to your PC. Most other actions in ConfigMagic will also create backups beforehand, but beware: you'll require separate hardware to restore your backups if you render your system inoperable!

Backing up your EEPROM (PiPROM)

In the event that you cannot boot into the Xbox to backup your EEPROM, or if your EEPROM chip corrupts and needs to be restored, you can use a Raspberry Pi and three wires to dump from, or write to, the chip directly. A full guide can be found on the PiPROM page.

Backing up your EEPROM (Xbox EEPROM Utility)

Xbox EEPROM Utility allows for dumping and writing to the EEPROM with just the Xbox motherboard using a readily available ESP-8266 or ESP-32 microcontroller, as well as being able to perform a variety of SMC functionality like remotely powering on/off the console via a web interface.

Backing up your EEPROM (Arduino)

Adapted from PiPROM's code, ArduinoProm can be used with an Arduino module instead - such as a Pro Micro Leonardo. Alternatively, the ArdPromSD is an altered board design that can directly read or write backups from or to a microSD card. The ArdPromSD is explained on the OGXbox forums.

Backing up your EEPROM (PC COM Port)

A PC equipped with a COM port can be fitted with a simple adaptor for reading from or writing to an Xbox EEPROM chip.