Xboxdhm
Xboxdhm
Xboxdhm
The first two options will bring you to the fatx-enabled linux (only
difference is the layout). Option three will let you boot to linux with
"automatic" locking/unlocking tools available. FreeDOS and let you use the
unlockx, hdlock, hdunlock, hddisabl tools. Going from DOS to linux or vice
versa you will need to reboot.
The locking/unlocking tools
---------------------------
WARNING! Using the locking utilities from CD the tools cannot store any log
files with used passwords, as the CD is read-only. It will be stored to the
virtual filesystem in RAM but is gone after rebooting. These logs are useful
if you accidentially use an incorrect HD passwd. If using the DOS based
locking tools (unlockx, hdlock) to lock a drive the passwd used will be
written to screen and you will be prompted to write this down. If you run the
locking tool from CDROM I furthermore advise you to insert a formatted floppy
in your primary floppy-drive and run the command : 'savelog'. This will write
the log-files from the locking tools to floppy.
Be warned that locking HDD's is serious buisness! Don't just fool around with
the locking tools and always be sure you backup the passwords you use. Locking
the HDD with an unknown password will make the HDD useless if you dont store
the log or write down the password!
From version 1.7 you can lock and unlock a HDD from both the linux and DOS
prompt.
Linux (option 3 from the xboxhdm boot menu) :
* unlockhd, will search the xboxhd CD for the eeprom.bin image. If not
found you have the option to insert a floppy with the eeprom of define
the path manually. If the eeprom is supplied the tool will unlock and
disable locking using a password generated directly from the eeprom.
* lockhd, will search the xboxhd CD for the eeprom.bin image and likewise
lets you tell the tool where to find the image if it wasn't included on
the CD. When locking the password is also generated from the eeprom.
Moreover the Master Password is also set to 'XBOXSCENE' (without the
quotes). You can use this to unlock the HDD if you loose the eeprom
password you your eeprom gets lost. Boot the xboxhdm to DOS (option 4)
and run the atapwd tools to unlock using Master passwords.
DOS (option 4 from the xboxhdm boot menu) :
(The first two tools require that you have bootet xboxhdm to linux (option 1
or 2) and made the DOS floppy from the xboxhd tool.
* lockhd, will prompt you to choose a drive and will lock the HDD with the
password written to the floppy by xboxhd
* unlockhd, will both unlock the HDD and disable locking with the password
written on the floppy
Should the password generated by xboxhdm be incorrect (bad eeprom dump, or
a
bug in the password tool <- you can never rule this out completely), you
should still be able to unlock the drive again with the password stored on
the
floppy in : input/hdpass.txt
* hdlock, Only locks a HDD
* hdunlock, Only unlocks a HDD but doesn't disable locking. The drive will
relock after reboot if you only run this tool.
* hdddisabl, Disables locking. To be used after hdunlock so that locking
stays off after rebooting.
* unlockx, One option locks a drive, another option unlocks and disables
locking in one go. Warning! This tools has been known to not work well
with some drives. I recommend hdlock/hdunlock.
* atapwd. Good for checking the drive security status. Can also be used to
unlock with the Master password. If you locked your HDD using the linux
tools the Master Password is 'XBOXSCENE'. If you locked it with
ConfigMagic the Master password is set to 'TEAMASSEMBLY'
WARNING! The locking tools are not made by me, so dont make me responsible if
something goes wrong. Locking HDD's is not without risk. Until proven
otherwise I think the safest choice is to use the linux locking/unlocking
tools. Even if the eeprom is bad or the password generation algorithm is wrong
the Master Password is set, so you should always be able to unlock using that.
Final tips on locking/unlocking!
Most PC Bioses seems to enable the Freeze Lock command on unlocked drives on
bootup. I guess this is a safety messeaure since you cannot accidently lock or
erase prepare a unit when it's frozen. However when the freeze lock is set you
cannot relock the drive either. This is rare though and can be disabled in
most bioses by disabling automatic hardware detection on bootup on the Primary
channel (where the HDD is). We dont need this for booting a CD anyway.
Remember to reenable automatic detection on primary master after using xboxhdm
if your regular PC HDD is on primary master and is the boot device.
If your Bios doesn't support disabling of the auto detection your can try to
pull out the IDE cable of the HDD before booting the PC (put with the power
cable in the HDD) and put back the IDE cable when you reach the xboxhdm boot
menu.
The xboxhd-tool
--------------
When you boot to linux you will be told that you can start the xboxhd tool by
typing 'xboxhd' and pushing enter. This should give you this screen :
CODE
__ ___ _ _______ ___ ___ _
\ \ / / | | | | | _ \ | \/ | | |
\ V /| |__ _____ __ | |_| | | | | | . . | __ _| | _____ _ __
/ \| |_ \ / _ \ \/ / | _ | | | | | |\/| |/ _' | |/ / _ \ '__|
/ /^\ \ |_) | (_) > < | | | | |/ / | | | | (_| | < __/ |
\/ \/_.__/ \___/_/\_\ \_| |_/___/ \_| |_/\__,_|_|\_\___|_|
You have the following options :
1) Build a new Xbox HD from scratch
2) Rebuild C-partition on existing Xbox-drive
3) Clone existing Xbox HD
4) Install F-drive
5) Wipe current fatx partition table
6) Generate HD Key (requires eeprom)
7) Make DOS floppy with HD lock/unlock tools
8) Quit
Make your choice [1-8] :
As of version 1.6.1 the drive detection mechanism was improved so that you can
run the xboxhd tool even if the drive is locked. You will be told that the
drive is locked and only the options 6) & 7) will be available to the user.
This should let you get the HDD password and generate the DOS floppy boot disk
with the nessecary unlocking tools.
Option 1
Use this option if you want to build an xbox HD from a blank drive. It is
two-step procedure.
First step is where the partition table is written to disk.
Second step is where xboxhd will format all fatx partitions and afterwards
build the C-partition with the files your put in the C-folder on the CDROM and
build the E-partition with the TDATA and UDATA folders you put in the E-folder
on the CDROM. If you left the C- and E-folders empty on the CDROM (by mistake
or on purpose) you will be prompted to insert a CD with the xbox system-files.
The tool will then search for the files.
You can also choose option 1) for rebuilding an existing xbox HD completely.
If the current fatx partition table is valid this will then not be a two-step
procedure.
Option 2
Choose this option if you just want to rebuild the C-partition. This could be
used if some system-files have been corrupted, if you are in a clock loop or
as a way to downgrade your dash. It is equivalent to the second step described
in option 1) above, but only formats and rebuilds the C-partition leaving all
game-saves on E: untouched.
Option 3
lets you clone an existing xbox HD onto another drive. You will be prompted
which device is the source device and which is the destination device.
Option 4
Install an F-drive if you HDD is large enough - this is checked!
Note that when building a HDD from scratch using option 1) the size of the HDD
is automatically checked, and if found large enough the user will be given the
option to build the F-drive at that stage.
Option 5
Use this if a current partition table is corrupted and you want to rebuild the
drive from scratch using option 1)
Option 6
This will let you calculate the HD unlock key. It requires that you have the
eeprom.bin from Evox or ConfigMagic on your CDROM in the eeprom-folder.
Current drive status and HD passwd is printed on screen and to file
(hdkey.txt).
In tests this gave the correct key for my HD put write down and (or) save they
key anyway so that you can always unlock your drive.
Option 7
You will be prompted to insert a floppy and push enter. A DOS floppy with
locking and unlocking tools will be created.
Option 8
Quit the tool and return to the linux prompt.
The xbrowser
Most people dont like typing commands. I included tools to make browsing and
manipulating files on the xbox HD more user-friendly. At the command prompt
type 'xbrowser' and hit enter. This will mount the CDROM with the linux
distribution (and your xbox-files) and if an xbox drive is present on the
primary IDE master channel the xbox C- and E-drives will be mounted. Then a
semi-graphical filemanager (Midnight-Commander) will open with a tabbed
(two-window) view of you CDROM on the left and the xbox C- and E-drive on your
right.
+<-/CD/----------------------------------------v>++<-/xbox----------------------
---------------------v>+
| Name | Size | MTime || Name
| Size | MTime |
|/.. |UP--DIR| ||/..
|UP--DIR| |
| ABOUT_THIS_CD.txt | 1392|Apr 14 17:48|| C
| 4096|Apr 14 17:48|
| C | 4096|Apr 14 17:30|| E
| 4096|Apr 14 17:48|
| E | 4096|Apr 14 17:30||
| | |
| check | 0|Apr 14 17:30||
| | |
| isolinux | 4096|Apr 19 02:13||
| | |
| readme.txt | 6013|Apr 18 21:47||
| | |
| xbox | 4096|Apr 14 17:30||
| | |
| | | ||
| | |
| | | ||
| | |
| | | ||
| | |
| | | ||
| | |
| | | ||
| | |
| | | ||
| | |
+------------------------------------------------++-----------------------------
-----------------------+
|/.. ||/..
| | |
+------------------------------------------------++-----------------------------
-----------------------+
GNU Midnight Commander 4.6.0
$
1Help 2Menu 3View 4Edit 5Copy 6RenMov 7Mkdir 8Delete 9PullDn 1
0Quit
TIP : Use this filemanager (xbrowser) to install softmods. Before you burn the
bootable linux CD you could add a folder (hacks) to the linux directory with
all the files needed for the hack (Bert, Ernie, ST.DB, PBL,....). Then use
xbrowser to copy files to the xbox HD.
TIP : Hotswapping with this linux distro is easy. I recommend the following.
Place your xbox so that the PC's primary master ide cable will reach the xbox
HD. Pull the DVD IDE cable and boot the xbox. It will stop with error 12. At
this point the xbox HD is unlocked and will stay this way. Put you xboxhdm
bootable CD in the PC and boot. At the boot-prompt it will stop for 5 mins.
The bios has done its hardware detection without the xbox HD attached yet -
linux still hasn't. So at this boot prompt you pull the ide-cable on the xbox
HD, and plug in the primary master ide cable of the PC. Then hit enter to boot
to linux. After booting, execute 'xbrowser' to see if the drive was found.
For more info read the HOWTO's and ReadMe's include in the package.
------------------------------------------------------------------------------
Thanx to all testers for usefull feedback and ideas.
Happy hacking - hope you dont have to use this tool too often