xboxscene.org forums

Pages: 1 ... 3 4 [5] 6 7 ... 12

Author Topic: XboxHDM2 (USB Edition) - Alpha Release  (Read 1341 times)

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
XboxHDM2 (USB Edition) - Alpha Release
« Reply #60 on: May 07, 2009, 06:16:00 PM »

QUOTE(scullc @ May 8 2009, 06:42 AM) View Post

I was thinking - can this tool unlock the xbox drive or not?
But is seems you may have already given a solution from Bomb Blokes post?
Is that right?

 tongue.gif I realized what is the problem. I never described the unlocking capability in xboxhdm2 or documented it - did I?

Bomb Bloke was asking for a temporary unlock before a reboot, you are referring to an permanent unlock like xboxhdm (original).

Good news - unlockhd command is available too. The syntax is exactly the same as the original xboxhdm, unlockhd -a /dev/hda or unlockhd -a /dev/hdb and so on. I recycled the same hdtool binary from ldots' xboxhdm that does the underlying locking/unlocking work - there is no magic in this  jester.gif
Logged

Bomb Bloke

  • Archived User
  • Hero Member
  • *
  • Posts: 2398
XboxHDM2 (USB Edition) - Alpha Release
« Reply #61 on: May 07, 2009, 09:05:00 PM »

QUOTE(ldotsfan @ May 7 2009, 10:49 PM) View Post
May I know what scenario do you have in mind for doing this?

This.

That is to say, could this be used to temporarily unlock those stock drives that have masterpasscodes, then slap on a softmod without the EEPROM and without hotswapping?

To my understanding, while the old XBoxHDM could unlock the drive in this manner, you couldn't get back to the file copying console thingies without rebooting the system (hence the lock'd snap shut again before you could take advantage of it).

Granted, it wouldn't work for all X-Boxes. I've no idea as to what percentage. But it'd still be pretty cool.  smile.gif

Presumably if "unlockhd" is available, "hdunlock" is too?
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
XboxHDM2 (USB Edition) - Alpha Release
« Reply #62 on: May 08, 2009, 08:52:00 AM »

QUOTE(Bomb Bloke @ May 8 2009, 09:57 AM) View Post

That is to say, could this be used to temporarily unlock those stock drives that have masterpasscodes, then slap on a softmod without the EEPROM and without hotswapping?


How does unlockstockhd command sound? It will come with the option to select either Western Digital or Seagate stock hdd. Then the known master password for either hdd will be automatically applied.

Shouldn't be too difficult to implement . But of course whether it actually works is a separate issue - are there anybody out there willing to test this with a stock unmodded xbox - preferably with a Western Digital hdd?
Logged

Bomb Bloke

  • Archived User
  • Hero Member
  • *
  • Posts: 2398
XboxHDM2 (USB Edition) - Alpha Release
« Reply #63 on: May 08, 2009, 08:31:00 PM »

QUOTE(ldotsfan @ May 8 2009, 09:44 PM) View Post
Shouldn't be too difficult to implement . But of course whether it actually works is a separate issue - are there anybody out there willing to test this with a stock unmodded xbox - preferably with a Western Digital hdd?

Heck, I'll go out and buy another stock box next week...

QUOTE(scullc @ May 9 2009, 01:00 AM) View Post
i have a Seagate HDD here. in facts its the one i have being doing the testing on.
if this HDD is reverted back to MSDash via HDM and locked with its epproom - does this not constitute a stock drive?

Probably not... It's hard to say. Unlocking a drive probably removes the stock master passcode. Probably.

Locking a different drive in such a way that it'll end up with a master passcode (eg through ConfigMagic - the code'll be TEAMASSEMBLY), then fully unlocking/relocking it with something that doesn't (eg ATAPWD), would be the way to test this. If the master code set by ConfigMagic is still there, then it can be assumed that your stock drive would've also maintained it's stock code.

Of course, if your drive was re-locked using the Linux based tools, then it certainly won't have it's original master code anymore (it'll've been changed to XBOXSCENE).
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
XboxHDM2 (USB Edition) - Alpha Release
« Reply #64 on: May 08, 2009, 10:09:00 PM »

QUOTE(Bomb Bloke @ May 9 2009, 09:23 AM) View Post

Heck, I'll go out and buy another stock box next week...
Probably not... It's hard to say. Unlocking a drive probably removes the stock master passcode. Probably.

Locking a different drive in such a way that it'll end up with a master passcode (eg through ConfigMagic - the code'll be TEAMASSEMBLY), then fully unlocking/relocking it with something that doesn't (eg ATAPWD), would be the way to test this. If the master code set by ConfigMagic is still there, then it can be assumed that your stock drive would've also maintained it's stock code.

Of course, if your drive was re-locked using the Linux based tools, then it certainly won't have it's original master code anymore (it'll've been changed to XBOXSCENE).

Thanks for the faith in the tool but it's really difficult to predict the outcome.

The command to use (assuming WDC hdd  on primary master)

CODE

hdtool -d /dev/hda -p 5744435744435744435744435744435744435744435744435744435744435744 -o UNLOCK


for Seagate
CODE

hdtool -d /dev/hda -p 536561676174652020202020202020202020202020202020202020202020202020 -o UNLOCK

Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
XboxHDM2 (USB Edition) - Alpha Release
« Reply #65 on: May 09, 2009, 06:52:00 PM »

QUOTE(ldotsfan @ May 9 2009, 11:01 AM) View Post

The command to use (assuming WDC hdd  on primary master)

I uploaded hdparm to sourceforge. It has a flag to toggle between master and user password and natively uses ASCII passwords - which is useful for the scenario Bomb Bloke wants to test.

Subsequently it will probably evolve into the xboxhdm's ATAPWD equivalent in xboxhdm2 but runs from SLAX (like the rest of the tool) instead of DOS.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
XboxHDM2 (USB Edition) - Alpha Release
« Reply #66 on: May 11, 2009, 08:05:00 AM »

QUOTE(ldotsfan @ May 10 2009, 07:44 AM) View Post

I uploaded hdparm to sourceforge. It has a flag to toggle between master and user password and natively uses ASCII passwords - which is useful for the scenario Bomb Bloke wants to test.

Subsequently it will probably evolve into the xboxhdm's ATAPWD equivalent in xboxhdm2 but runs from SLAX (like the rest of the tool) instead of DOS.

To install hdparm, copy it to slax folder on usb drive. Navigate to the folder and start a console.

Parameters supported
CODE

 --security-set-pass PASSWD  Lock drive, using password PASSWD:
                                  Use 'NULL' to set empty password.
                                  Drive gets locked if user-passwd is selected.
 --security-unlock   PASSWD  Unlock drive.
 --security-disable  PASSWD  Disable drive locking.
The above commands may optionally be preceded by these options:
--security-mode  LEVEL      Use LEVEL to select security level:
                                 h   high security (default).
                                  m   maximum security.
 --user-master    WHICH      Use WHICH to choose password type:
                                  u   user-password.
                                  m   master-password (default).


Example of a temporary unlock of primary master hdd (until the next reboot)
CODE
hdparm --user-master m --security-unlock XBOXSCENE /dev/hda


To check security status
CODE
hdsecinfo /dev/hda

Logged

scullc

  • Archived User
  • Full Member
  • *
  • Posts: 110
XboxHDM2 (USB Edition) - Alpha Release
« Reply #67 on: May 12, 2009, 03:50:00 AM »

testing has slowed...
the unlockhd command worked perfectly. no probs at all. thanks again for your great work.
i then tried a rebuild of the HDD and am fairly sure i encountered the familiar path problem & had to reinput the path manually to find the .iso (/usr/local/bin/qemu -hda /dev/hda -cdrom /mnt/sdb1/linux.iso -boot d)
this was a few days ago - and my memory now hazy  huh.gif
i'll retest as soon as and let you know.

the work is on hdparm is coming along nicely. good work, man!
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
XboxHDM2 (USB Edition) - Alpha Release
« Reply #68 on: May 12, 2009, 08:06:00 AM »

QUOTE(scullc @ May 12 2009, 04:42 PM) View Post

the unlockhd command worked perfectly. no probs at all. thanks again for your great work.

Great  biggrin.gif

QUOTE(scullc @ May 12 2009, 04:42 PM) View Post

i then tried a rebuild of the HDD and am fairly sure i encountered the familiar path problem & had to reinput the path manually to find the .iso (/usr/local/bin/qemu -hda /dev/hda -cdrom /mnt/sdb1/linux.iso -boot d)

 dry.gif an elusive bug. Do you remember the sequence that triggered it?

QUOTE(scullc @ May 12 2009, 04:42 PM) View Post

the work is on hdparm is coming along nicely. good work, man!

It's intended to give ATAPWD like capability, I didn't write hdparm, it's another sourceforge hosted open-source project , I merely compiled it in SLAX.

Can I appeal for more testers for xboxhdm2? Thanks..
Logged

lordcukraz

  • Archived User
  • Newbie
  • *
  • Posts: 1
XboxHDM2 (USB Edition) - Alpha Release
« Reply #69 on: May 12, 2009, 09:56:00 PM »

ok so I have followed all the steps but when i try to boot it the prompt tells me that it is unable to find the kernel image:linux... Can I please get a hand with this?
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
XboxHDM2 (USB Edition) - Alpha Release
« Reply #70 on: May 13, 2009, 09:28:00 AM »

QUOTE(lordcukraz @ May 13 2009, 10:48 AM) View Post

ok so I have followed all the steps but when i try to boot it the prompt tells me that it is unable to find the kernel image:linux... Can I please get a hand with this?

Tell us more:
1. OS you are using: XP, Vista, Windows 7 RC etc
2. Brand of usb drive and size.
3. Folders and files on usb drive.
4. Steps and sequence you used, from which posts.
5. Does your PC support USB booting? Have you ever booted from usb drive successfully prior to this?
Logged

scullc

  • Archived User
  • Full Member
  • *
  • Posts: 110
XboxHDM2 (USB Edition) - Alpha Release
« Reply #71 on: May 13, 2009, 02:00:00 PM »

QUOTE(ldotsfan @ May 12 2009, 01:58 PM) View Post

 dry.gif an elusive bug. Do you remember the sequence that triggered it?

managed to repeat that 'bug' ldotsfan,

1. booted slax with locked HDD  - boot takes about 5 mins with my locked drive!
2. used the unlock command (unlockhd -a /dev/hda) - worked no prob  wink.gif
3. started xboxhd2
4. choose to go for a rebuild using selection 1.
5. inputted path (sdb1) & as heeded usual warnings...until 'Are you sure to use Primary Master [yes/no]?   - it then replied 'No DNS Servers found....'
6. i then inputted full path (/usr/local/bin/qemu -hda /dev/hda -cdrom /mnt/sdb1/linux.iso -boot d) but saw a warning 'could not open 'dev/kqemu' in the console background.

i just quickly looked at the HDM screen & selected HD generate code part. it displayed a qemu harddisk?

AM i right in assuming that a reboot will be needed to re-build once unlocking done?

have downloaded hdparm - will test when i get time

cheers
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
XboxHDM2 (USB Edition) - Alpha Release
« Reply #72 on: May 14, 2009, 08:41:00 AM »

QUOTE(lordcukraz @ May 14 2009, 01:23 AM) View Post

3:The contents of xboxhdm2 just as they were when I downloaded them and my linux.iso from xboxhdm as well as the eeprom.bin from my xbox.
4:Followed your initial post.
5:Yes it does support USB booting. It starts to boot from USB and then tells me it can't find the kernel image : linux

1. Navigate to the root folder of your flash drive , start a command prompt and execute this command
CODE
dir /s .

There's a dot after the /s  Copy the contents to pastebins and give the link here.
2. Did you read post #68 and #76 for the updated instructions?
Need a mod's help to modify post #1 since the instructions are obsolete.

QUOTE(scullc @ May 14 2009, 02:52 AM) View Post

AM i right in assuming that a reboot will be needed to re-build once unlocking done?

I may have to modify the xboxhd2 script since a reboot may not be necessary as xboxhdm2 is different in this aspect from xboxhdm. Will have a look at the bug when I get more time - thanks again for the detailed reproduction of the steps needed to duplicate the error. You are a great tester  smile.gif
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
XboxHDM2 (USB Edition) - Alpha Release
« Reply #73 on: May 14, 2009, 06:54:00 PM »

QUOTE(lordcukraz @ May 15 2009, 02:24 AM) View Post

Here you go... I just hope I can get this issue solved... A friend of mine paid to mail me his hard drive so I could format it for him (he also sent me his linux.iso) since his comp doesnt use IDE cables...

http://pastebin.com/m3ad02fd5

 dry.gif Seems that the file listing is missing the first few critical pages, try this instead
CODE

dir /s . > listing.txt

Then copy/paste the listing.txt into pastebin.

And the truth is your friend doesn't need your help - his xbox has 2 IDE connections, he can use xbox based tools to format his hdd: lxhdm, chimp. Check my sig for details.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
XboxHDM2 (USB Edition) - Alpha Release
« Reply #74 on: May 16, 2009, 10:45:00 AM »

QUOTE(lordcukraz @ May 15 2009, 10:58 AM) View Post

Is it me or the link is dead?

QUOTE(scullc @ May 14 2009, 02:52 AM) View Post

1. booted slax with locked HDD  - boot takes about 5 mins with my locked drive!
2. used the unlock command (unlockhd -a /dev/hda) - worked no prob  wink.gif
3. started xboxhd2
4. choose to go for a rebuild using selection 1.
5. inputted path (sdb1) & as heeded usual warnings...until 'Are you sure to use Primary Master [yes/no]?   - it then replied 'No DNS Servers found....'
6. i then inputted full path (/usr/local/bin/qemu -hda /dev/hda -cdrom /mnt/sdb1/linux.iso -boot d) but saw a warning 'could not open 'dev/kqemu' in the console background.

Found an unrelated bug in unlockhd - it ignores the drive parameter - will fix that  tongue.gif will continue to look for this bug you described
Logged
Pages: 1 ... 3 4 [5] 6 7 ... 12