Xbox:PiPROM: Difference between revisions
No edit summary |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Xbox]] | |||
[https://github.com/grimdoomer/PiPROM PiPROM] is a program for the Raspberry Pi that allows you to recover your EEPROM information by attaching three wires to your Xbox motherboard. In the event that your Xbox's hard drive is dying and unable to boot, you can build a new hard drive using the information found in the Xbox's EEPROM. However, if you did not back up the EEPROM before the hard drive died, you are limited to installing a modchip or using PiPROM to recover it. | [https://github.com/grimdoomer/PiPROM PiPROM] is a program for the Raspberry Pi that allows you to recover your EEPROM information by attaching three wires to your Xbox motherboard. In the event that your Xbox's hard drive is dying and unable to boot, you can build a new hard drive using the information found in the Xbox's EEPROM. However, if you did not back up the EEPROM before the hard drive died, you are limited to installing a modchip or using PiPROM to recover it. | ||
PiPROM is confirmed to work with the following Raspberry Pi versions: `1, 1B+, 2B, 3B, Zero-W`, with all other models being untested. It is also compatible with the Banana Pi, using a different read command. Please | PiPROM is confirmed to work with the following Raspberry Pi versions: `1, 1B+, 2B, 3B, Zero-W`, with all other models being untested. It is also compatible with the Banana Pi, using a different read command. Please update this page if you are successful with the other untested models. | ||
==Setting up I2C== | ==Setting up I2C== | ||
Depending on how you originally set up your Raspberry Pi and what model you have, I2C may already be configured. Open the Terminal and run the command `sudo i2cdetect -y 1` (or `sudo i2cdetect -y 0` for a model 1 Raspberry Pi) | Depending on how you originally set up your Raspberry Pi and what model you have, I2C may already be configured. Open the Terminal and run the command: | ||
:`sudo i2cdetect -y 1` (or `sudo i2cdetect -y 0` for a model 1 Raspberry Pi) | |||
If you receive a text based grid, it is set up properly. Otherwise, follow the below directions. | |||
# Open the Terminal and run the commands to install the I2C tools: | |||
# sudo apt-get install -y python3-smbus | |||
# | |||
# sudo apt-get install -y i2c-tools | |||
# Run the command `sudo raspi-config`, then navigate to Interfacing Options (or on old models, Advanced Options) I2C, then select Yes to enable it. It may ask you if you want it to be loaded by default, choose Yes. | |||
# Reboot your Raspberry Pi. | |||
# Now you should be able to run `sudo i2cdetect -y 1` (or `sudo i2cdetect -y 0` for a model 1 Raspberry Pi) and see a text based grid. | |||
==PiPROM Setup== | ==PiPROM Setup== | ||
# Open the Terminal and run the following commands: | |||
#* mkdir PiPROM | |||
#* cd ./PiPROM | |||
#* wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.73.tar.gz | |||
#* tar zxvf bcm2835-1.42.tar.gz | |||
#* cd bcm2835-1.42 | |||
#* ./configure | |||
#* make | |||
#* sudo make check '''(verify that there are no errors)''' | |||
#* sudo make install | |||
#* cd .. | |||
#* git clone https://github.com/grimdoomer/PiPROM.git | |||
#* cd ./PiPROM | |||
# Run the relevant command as marked in the table below: | |||
{| class="wikitable" | {| class="wikitable" |
Latest revision as of 17:01, 4 November 2024
PiPROM is a program for the Raspberry Pi that allows you to recover your EEPROM information by attaching three wires to your Xbox motherboard. In the event that your Xbox's hard drive is dying and unable to boot, you can build a new hard drive using the information found in the Xbox's EEPROM. However, if you did not back up the EEPROM before the hard drive died, you are limited to installing a modchip or using PiPROM to recover it.
PiPROM is confirmed to work with the following Raspberry Pi versions: 1, 1B+, 2B, 3B, Zero-W
, with all other models being untested. It is also compatible with the Banana Pi, using a different read command. Please update this page if you are successful with the other untested models.
Setting up I2C
Depending on how you originally set up your Raspberry Pi and what model you have, I2C may already be configured. Open the Terminal and run the command:
sudo i2cdetect -y 1
(orsudo i2cdetect -y 0
for a model 1 Raspberry Pi)
If you receive a text based grid, it is set up properly. Otherwise, follow the below directions.
- Open the Terminal and run the commands to install the I2C tools:
- sudo apt-get install -y python3-smbus
- sudo apt-get install -y i2c-tools
- Run the command
sudo raspi-config
, then navigate to Interfacing Options (or on old models, Advanced Options) I2C, then select Yes to enable it. It may ask you if you want it to be loaded by default, choose Yes. - Reboot your Raspberry Pi.
- Now you should be able to run
sudo i2cdetect -y 1
(orsudo i2cdetect -y 0
for a model 1 Raspberry Pi) and see a text based grid.
PiPROM Setup
- Open the Terminal and run the following commands:
- mkdir PiPROM
- cd ./PiPROM
- wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.73.tar.gz
- tar zxvf bcm2835-1.42.tar.gz
- cd bcm2835-1.42
- ./configure
- make
- sudo make check (verify that there are no errors)
- sudo make install
- cd ..
- git clone https://github.com/grimdoomer/PiPROM.git
- cd ./PiPROM
- Run the relevant command as marked in the table below:
Pi Model | Command |
---|---|
1 | make p1 |
1 B+ | make p1b |
2 B | make p2 |
3 B | make p2 |
Zero-W | make p2 |
Banana Pi | make p2 |
Other | Unknown |
Connecting Wires
For all versions of Xbox, including version 1.6, the wiring is the same. Ensure that you are using the correct pins, and that your wiring is not upside down on both the Xbox and Raspberry Pi ends or you may risk damaging either device. You do not necessarily have to solder the wire on either end, but if you are doing it without soldering, it is recommended to use a Female-to-Male jumper wire, and to plug the female side into the Raspberry Pi and the fully insert the male side into the Xbox. Test your connection by using the command sudo i2cdetect -y 1
(or sudo i2cdetect -y 0
for a model 1 Raspberry Pi) and making sure that some of the slots in the text grid are filled with numbers.
- Banana Pi's use the same pins, as shown in the pinout diagram.
Signal Name | Pi Pin | Xbox Pin |
---|---|---|
SDA | 3 | 14 |
SCL | 5 | 13 |
GND | 6 | 2 |
Reading/Writing
Turn your Xbox on. Run the desired command below while you are in the PiPROM directory. When you read the EEPROM, it will make an "eeprom.bin" file in your PiPROM folder.
Result | Command |
---|---|
Save Xbox EEPROM to Raspberry Pi (read) | sudo ./PiPROM.a -r ./eeprom.bin
|
Write eeprom.bin to Xbox (write) | sudo ./PiPROM.a -w ./eeprom.bin
|
Erase Xbox EEPROM (only use if you have a backup) | sudo ./PiPROM.a -e
|
Save Xbox EEPROM to Banana Pi (read) | See command below. |
Banana Pi command: sudo i2cdump -y 2 0x54 | sed 's/^....//' | cut -c -47 | tail -n +2 > eeprom.bin