Git Product home page Git Product logo

xboxonehdd's Introduction

Xbox One HDD Tools

What this does

Given any HDD over 500GB in size, you can format it for use with your Microsoft Xbox One console

How

Magic

Instructions

All of this must be done as root! I HIGHLY suggest you do this on a livecd or usb booted system if you don't 'know linux' and would rather not wipe the wrong hard drive.

  1. Connect your HDD and take note of what its called (ex: sda, sdb etc)
  2. Run the script with the device name as the first parameter
  3. It will bitch about missing partitions etc, but write a file with commands to create said missing partitions
  4. Run the created script
  5. Copy the correct files to the newly created partitions
  6. Unmount the newly created partitions
  7. Run the main script again

Putting it back together

When you put the new HDD in your console for the first time and boot up, the console will go the the green "Xbox One" screen, pause for a second or two, then shut down. Boot the console again. This time it should pause at the green screen for a while longer, then go to a black screen for even longer. It can take several minutes before anything happens after this, the xbox is automatically creating temporary files during this time. If you copied everything correctly, it WILL go to the dashboard eventually, just be patient!

What is linux?

Wait for a windows version

Required Files

These can be gotten off your original HDD easily

└── [4.0K]  System Update
    ├── [4.0K]  A
    │   ├── [341M]  deltas.xvd
    │   ├── [ 36M]  SettingsTemplate.xvd
    │   ├── [ 24M]  sosinit.xvd
    │   ├── [ 62M]  sostmpl.xvd
    │   ├── [267M]  systemaux.xvd
    │   └── [850M]  system.xvd
    ├── [4.0K]  B
    │   ├── [ 30M]  SettingsTemplate.xvd
    │   ├── [ 23M]  sosinit.xvd
    │   ├── [ 45M]  sostmpl.xvd
    │   ├── [ 91M]  systemaux.xvd
    │   └── [761M]  system.xvd
    └── [ 44M]  updater.xvd

xboxonehdd's People

Contributors

juvenal1 avatar seivan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xboxonehdd's Issues

old but still working

Thanks for your work! It's still working and helped me recover the xbox of a friend of mine.

Simply cloning (dd bs=1M) an existing (and working) hdd from another xbox don't work, even after running OUS1. Deleting every files (every partition except System Update) from the new drive and running this script solved the issue. Magic :D
Since the code is written for python 2 and my installation of Ubuntu 22.04 didn't want me to install python2, I booted an old Ubuntu 16.04 and was done in under 10 minutes.

So issue for record: Upgrade the code for python3

partition not found

First - THANK YOU for this great work!

More and FYI than and issue as far as I'm concerned.
I tried running this on Ubuntu 18.04.3 LTS.
I don't have the original error unfortunately, but the mkxboxfs.sh seems to need a delay in it, now.
The create of the GPT table and partitions works, but the immediate attempt to name the partitions (and format them) fails.
In order to resolve the issue for me, I broke the generated script up into 3 separate scripts:

  1. create the GTP table & partitions
  2. name the paritions
  3. format the partitions.

Then, I ran each manually.
This seemed to work just fine.

dose this still work

Hey I'm trying this guide on my Xbox and it just seems to sit at the green xbox logo forever, any help would be great

2019-8-17

Hi! I am using xbox for the time being and does this work in 2019?
Thanks, XxXbinarystudiosXxX1

reverting to 500gb?

i was using this to replace the original hard drive, which was removed by another person. i know for a fact that it is a 2 tb s model, but when i put in a two terabyte, it formats back to 500gb on the console. coiuld i be doing something wrong? i run the xboxonehdd. py script first ( in sudo) then the mkxboxonefs.sh file, then xboxonehdd again. i use the OSU update file as well, to recover the system

System Error E200 000000EF 000000

I followed the methods on two videos I found on youtube except when placing the update files inside of folder A and B from my old hard drive I used the OSUDT3 download from the Microsoft support page. I tried to boot up the xbox and got the xbox logo and was immediately brought to something similar to the error code in the title. I tried all of the offline update tools and was given E101 errors. I made sure to format the thumb drive to ntfs if that was the issue and formatted each one. I can't get this thing working and I refuse to send it to Microsoft. Would it be possible to update your python script and make a clone of your xbox's System Update partition for us. I kept getting partition not found errors when running the script, yet they were still being created. I did have to reformat and manually rename some of them. Your input would be greatly appreciated.

Can I use SSHD instead?

Hi,

From the ReadMe, I read that this repo is for HDD. Does it support SSHD fully? Or, the SSHD would be used as it if is an HDD.

Thank you!

I try to start the xboxonehdd command and get this?

Traceback (most recent call last):
File "./xboxonehdd.py", line 86, in
partitions = disk.header.partition_table.active_partitions
File "/media/ubuntu/XBOXHDDF/xboxonehdd-master/gptutil.py", line 120, in partition_table
return self.read_gpt_partition_table()
File "/media/ubuntu/XBOXHDDF/xboxonehdd-master/gptutil.py", line 144, in read_gpt_partition_table
self.gpt_partition_table = GPTPartitionTable.from_header(self)
File "/media/ubuntu/XBOXHDDF/xboxonehdd-master/gptutil.py", line 158, in from_header
o.partitions.append(GPTPartition.from_table(o, data))
File "/media/ubuntu/XBOXHDDF/xboxonehdd-master/gptutil.py", line 195, in from_table
o.last_lba, o.flags, o.name) = struct.unpack(cls.fmt, data)
struct.error: unpack requires a string argument of length 128

dead original HDD!

Hey Juvenal1! thanks for your work on this. Question, what if my hdd is screwed? will the required files form the original hdd of another system work? :(

Error: E200 00000074 00000000

Hi,
First off, thank you for your work creating and publishing the scripts! I've also seen your posts across so many forums, so thanks for supporting the community!

I've been trying to replace a friend's dead xbox one hard drive. The physical drive won't even list in any OS as being present. Thus I wasn't able to clone or pull any files off of it.

I have another 512 GB hard drive that I wanted to setup and try to get working. (This xbox is well out of warranty). I've been able to get the drive partitioned with the scripts (or automatically with Microsoft's Factory Reset USB) and also load the System Update A and B files according to your instructions with the first boot before putting OSU2 in B. After updating B with OSU2, I let the boot up go and it fails around 40%. I've also run the Offline Update with either OSU1 or OSU2 and the results all end up the same (of course, with different reboot cycles). The same with the Factory Reset USB that only has updater.xvd.

No matter whether I manually do the files, or try the Offline Update tool, the xbox won't get past 40% when "Preparing Console" and fails with the error: System Error: E200 00000074 00000000. Do you have any suggestions?

I'm so close and I'd hate to have to send it back to Microsoft when I know it's probably just some file system issue. Thanks for any help you can offer.

EDIT: I wanted to mention I've also tried both "Reset this Xbox" options in the offline troubleshooter. Both the option to keep games and the option to really factory reset. Same result...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.