xboxscene.org forums

Pages: 1 [2] 3

Author Topic: Xboxdumper - Creating Xbox Hdd From Windows Os  (Read 504 times)

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Xboxdumper - Creating Xbox Hdd From Windows Os
« Reply #15 on: April 02, 2010, 08:05:00 PM »

QUOTE(tripslipfall @ Apr 3 2010, 09:55 AM) View Post

Can you do this with a fully formatted PC drive?

If so, how?

Because when I do it, I don't get the BRFR at the beginning, and Xplorer360 for some reason only finds a Partition 0.

1. Yes. Read my post that is a few posts in front of this post.
2. With a hex editor, I use HxD. Insert the value BRFR at offset 0x600. I haven't figured out why xboxdumper doesn't do it automatically in some situations.
3. If xplorer360 only finds one partition, something went wrong. Can you copy and paste the output of xboxdumper here?
 
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Xboxdumper - Creating Xbox Hdd From Windows Os
« Reply #16 on: April 02, 2010, 08:23:00 PM »

QUOTE(ldotsfan @ Mar 29 2010, 09:46 PM) View Post

3. Run diskmgmt.msc. Take note of the Disk number corresponding to the xbox hdd, for example Disk 1 by using the drive size as a guide.
4.
CODE

xboxdumper prepare \\.\PhysicalDrive1

Make sure the first line of output is
CODE

Written -> BRFR


where PhysicalDriveN represents the xbox hdd, the number N must match the Disk number identified in step 3. In this case, N is 1.

Can a mod edit the post to put a warning that selecting the wrong drive will thrash the primary boot drive with Windows OS? All users are to double check and ensure the right drive is selected before proceeding.
Thanks
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Xboxdumper - Creating Xbox Hdd From Windows Os
« Reply #17 on: April 05, 2010, 07:18:00 AM »

QUOTE(myfirstxbox @ Apr 5 2010, 06:49 PM) View Post

I read somewhere that I need to hook xbox to router  ... I dont have a router .....  cant I hook it xbox to my lappy . Internet I use is "3"  three modem broadband is my only source of surfing the net.

Don't see the relevance of the question to the topic of the thread. Why don't you post a separate topic on it?
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Xboxdumper - Creating Xbox Hdd From Windows Os
« Reply #18 on: April 10, 2010, 12:54:00 AM »

1. Integrated NghtShd's xbpartitioner partitioning code into xboxdumper. It now understands the ozpaul_b partitions and creates the  compliant partition table at the hdd offset 0. No GUI though and currently hardcoded to create a F partition only. Other partitioning variants are supported in the code but yet to be exposed.
2. Integrated the 32k/64k FATX stuff.

Untested and WIP. Will document the changes in a separate development thread. Binaries at sourceforge.

Changes will fold back to xboxhdm3 in due time once I figure out how to get devfs working in ldots's xboxhdm initrd and it get tested.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Xboxdumper - Creating Xbox Hdd From Windows Os
« Reply #19 on: April 10, 2010, 01:21:00 AM »

QUOTE(ldotsfan @ Apr 2 2010, 10:45 AM) View Post

4. I'll be contacting the author of Xbox 360 Commander. This is related to point 3 and a GUI integrating xboxdumper/hdtool/xplorer360 will be very nice indeed. I hope he's receptive to supporting old-school xbox1 guys like us  dry.gif

Had some luck with Release 6 of Xbox 360 Commander. Will do more testing.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Xboxdumper - Creating Xbox Hdd From Windows Os
« Reply #20 on: April 17, 2010, 08:53:00 AM »

Revision 15a of Xbox 360 Commander was finally good to go with the full fileset of Kingroach's Ndure 3.1 on a 10Gb FATX hdd image, including the shadowC file and the 2 XBE at the root of C partition.

Will test in the xbox and see if the xbox likes the files created by 360 Commander.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Xboxdumper - Creating Xbox Hdd From Windows Os
« Reply #21 on: April 17, 2010, 08:43:00 PM »

QUOTE(ldotsfan @ Apr 17 2010, 10:53 PM) View Post

Will test in the xbox and see if the xbox likes the files created by 360 Commander.

Xbox booted successfully.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Xboxdumper - Creating Xbox Hdd From Windows Os
« Reply #22 on: April 19, 2010, 05:48:00 AM »

QUOTE(reddwarffan @ Apr 19 2010, 05:38 AM) View Post

And now I read you are developing a Windows solution for xboxhdm3 - man this just gets better and easier!

xboxhdm3 is unfinished with no definite timeline and it is still Linux based. xboxdumper is the tool that is Windows based.

QUOTE

Just to let you, I have a spare stock Xbox HDD which I will offer up for testing.  However, due the ash cloud over the UK am the moment I am unable to buy a new test rig from ebay for a few weeks yet.  When I do, and should you need testers, let me know and I will help out.

Thanks for the offer.

QUOTE

I have a question for you.

1)  I done quite a bit of reading on this but I cannot find a definitive answer.  I know you can create the necessary partitions and install files etc using hotswapping and your new windows method (which I have yet to test), but is it possible to lock a hdd using an IDE enclosure and a laptop running XP SP3 (which is my current setup)?  The nearest I could find to an answer was this post, but it's an old post - maybe a different approach has been found?

The answer in the past was a No. Now I'm not so sure, Cypress USB ATA chipsets used on some IDE enclosures support ATA security.
CODE

Cypress usb-pata bridge may use the ATACB proprietary scsi pass through command. The best way to know if your device support it, is to check your device usb id (most Cypress usb ata bridge got vid=0x04b4, pid=0x6830)

In the Linux kernel, CONFIG_USB_STORAGE_CYPRESS_ATACB need to be configured.

I'm not sure how such devices present themselves to Linux and I'm also uncertain the level of support Windows drivers provide for such devices as far as ATA security features are concerned, ie the hdd locking stuff.

That is at the OS layer. For userland applications like hdparm, hdtool, changes may be needed as well.

A quick Google yielded this result
CODE

SCSI subsystem

libata is the name of a set of drivers and some glue code that allows the SCSI layer to talk to ATA devices. From user land, for quite some time SATA drives have been showing up as /dev/sda (a SCSI disk device). More recently this was extended to PATA devices, and some old drivers were ported to libata.

libata does support HDIO_DRIVE_CMD and HDIO_DRIVE_TASK for backwards compatibility -- mainly for hdparm, hdtemp, smartmontools, etc. However it does not support HDIO_DRIVE_TASKFILE, and it is suggested that people use SG_IO instead.

The SCSI ioctl SG_IO allows the same features as the IDE TASKFILE, but sends the commands through the SCSI subsystem. Since the SCSI and ATA commands are nothing alike libata maintains translation code to do this for common commands, as mandated by the SAT2 T10 committee document referenced above.

If a command does not fit into the SAT2 translation you can wrap the ATA command with an SG_IO header and pass it using ATA16 pass-through commands


In plain English, a lot of work is still needed.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Xboxdumper - Creating Xbox Hdd From Windows Os
« Reply #23 on: April 20, 2010, 05:41:00 AM »

QUOTE(reddwarffan @ Apr 20 2010, 03:54 AM) View Post

If we could agree on a certain model, I may look into it as plenty of selection available on ebay.  If your plate is full then it can wait - I am just curious about locking via usb - maybe I am too far ahead of myself?

I just did another Google for Cypress MSC driver and it turned out positive results for both Windows and Mac OS X: ATA security.

Now we need to find out if the driver extends the capabibility of hdd locking to user tools like hdtool.exe.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Xboxdumper - Creating Xbox Hdd From Windows Os
« Reply #24 on: April 21, 2010, 07:35:00 AM »

QUOTE(reddwarffan @ Apr 21 2010, 04:13 AM) View Post

is it more of a trial and error approach i.e. buy one, fingers crossed and hope for the best

Unless somebody with better knowledge on the topic steps out, yes this is going to be trial and error  tongue.gif
Logged

tyldd

  • Archived User
  • Newbie
  • *
  • Posts: 18
Xboxdumper - Creating Xbox Hdd From Windows Os
« Reply #25 on: April 24, 2010, 02:17:00 PM »

QUOTE(ldotsfan @ Mar 30 2010, 03:43 PM) View Post

dry.gif A minor bug fix for the reading of eeprom.bin and a newer copy of hdtool.exe uploaded to sourceforge.


from which date and in which dir can the new and fixed eeprom reading hdtool.exe be found at sourceforge?

i don't know if i'm using the 'old' version but:
IPB Image
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Xboxdumper - Creating Xbox Hdd From Windows Os
« Reply #26 on: April 24, 2010, 06:56:00 PM »

QUOTE(tyldd @ Apr 25 2010, 04:17 AM) View Post

from which date and in which dir can the new and fixed eeprom reading hdtool.exe be found at sourceforge?

i don't know if i'm using the 'old' version but:
IPB Image

From the date of the post. xboxdumper folder.

The problem seemed to be unrelated to eeprom. Read this. What version of Windows are you using?

CODE

hdtool /dev/hda

will tell you the current security status of the hdd and whether Windows/motherboard bios implements Security Frozen. If you are using the same PC as the one you used for xboxhdm2.1, likely the security is frozen.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Xboxdumper - Creating Xbox Hdd From Windows Os
« Reply #27 on: April 25, 2010, 03:40:00 AM »

QUOTE(ldotsfan @ Apr 10 2010, 02:54 PM) View Post

1. Integrated NghtShd's xbpartitioner partitioning code into xboxdumper. It now understands the ozpaul_b partitions and creates the  compliant partition table at the hdd offset 0. No GUI though and currently hardcoded to create a F partition only. Other partitioning variants are supported in the code but yet to be exposed.
2. Integrated the 32k/64k FATX stuff.

Untested and WIP. Will document the changes in a separate development thread. Binaries at sourceforge.

Changes will fold back to xboxhdm3 in due time once I figure out how to get devfs working in ldots's xboxhdm initrd and it get tested.

Hdd size calculation bug fixed. Will upload changes to sourceforge. Had to define
CODE

#define _FILE_OFFSET_BITS 64

to make Cygwin happy. Now F/G partitions LBA offsets/sizes should be correct.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Xboxdumper - Creating Xbox Hdd From Windows Os
« Reply #28 on: May 02, 2010, 09:11:00 AM »

QUOTE(reddwarffan @ May 2 2010, 03:41 PM) View Post

If I double-click the file in XP nothing happens.  If I drag 'n' drop into Windows/Run, i.e. 'D:\Documents and Settings\Administrator\Desktop\xbox\XboxDumper\hdtool.exe /dev/hdc' an error is produced.  Is it a DOS file?
Thanks in advance

It's a Windows console-based executable that depends on Cygwin. You'll need cygwin1.dll in the xboxdumper folder. What's the error encountered?
Logged

reddwarffan

  • Archived User
  • Newbie
  • *
  • Posts: 8
Xboxdumper - Creating Xbox Hdd From Windows Os
« Reply #29 on: May 03, 2010, 10:39:00 AM »

QUOTE(ldotsfan @ May 2 2010, 04:11 PM) View Post

It's a Windows console-based executable that depends on Cygwin. You'll need cygwin1.dll in the xboxdumper folder. What's the error encountered?



I must admit I read it but it never sunk in...then a few hours later it clicked...doh.  
I did say I was catching up to speed with my xboxing days smile.gif
Anyway, I ran hdtool.exe from a command prompt and the console booted up wink.gif
Will report back on XboxDumper testing later this week.
Logged
Pages: 1 [2] 3