ArcadeHustle / X3_USB_softmod

Taito X3 USB Boot Softmod
7 stars 5 forks source link

X3 Western Digital HD Cloning #3

Open TypeX3Mod opened 5 years ago

TypeX3Mod commented 5 years ago

X3 is protected by an ATA Password. Each X3 has a unique password tied directly to the BIOS of the motherboard. For X3s with Western Digital hard drives, you can read the ATA password, unlock the drive and relock the drive using the following tools.

ATA Password Extraction To obtain the ATA password on a Western Digital X3 drive, you will need to physically remove the drive and either attach it to a local SATA port on your computer (Press ESC when it boots since it will prompt for the BIOS password) or use a USB SATA caddy since WDMarvel supports USB based drive trays.

  1. Install WDMarvel Demo (Turn test mode on to disable driver signing if using a 64 bit Windows)
  2. Run WD Marvel
  3. Select the WD Hard Drive, and use WinAPI USB if you using a dock or WinAPI SATA if connected directly
  4. Click on RAM - Edit Config in RAM
  5. You will see your ATA password in ASCII and also see your Master Password
  6. Click Save to File to obtain a bin of the drive. You can use this this bin and a hex editor to pull the password in hex to be used later in hdparm.

Unlocking the drive

  1. Now that you have the password in hex, you can use linux (Ubuntu Live USB works great)
  2. In a linux terminal, type "sudo hdparm -I /dev/sda" assuming the WD drive is the only SATA drive in the system. It will tell you the details of the drive and current status. In the security section you should see it's enabled.
  3. Enter the following hdparm command to unlock the drive with your OWN ATA hex password (Below is an example hex password).

sudo hdparm --user-master u --security-disable hex:58333A30303030303846433A57645566528C74648D89756A7912345B12345A12345 /dev/sda

Drive Cloning

  1. With the drive unlocked, you can either use DD to clone to another drive or open the drive and view the files in Windows!
  2. Use your favorite cloning software to clone the drive to another drive or SSD. To create an exact backup you will have to use a WD drive so you can change the serial number/model/firmware to boot an original game. More information on that later.

    Re-lock the drive

  3. With the drive successfully backed up, you will have to re-enable the security on the drive. It's as simple as running hdparm with the same ATA password on the drive.
  4. Once back inside linux, you can run "sudo hdparm -I /dev/sda" to view the status. Under security it will show " not enabled" but it might also show up as "frozen". To get past the frozen state, simple unplug the SATA cable and re-plug it back in. Viewing the status again will show up as "not frozen"
  5. Issue the following command below with your own ATA password in hex to enable security back on the drive.

sudo hdparm --user-master u --security-mode m --security-set-pass hex:58333A30303030303846433A57645566528C74648D89756A7912345B12345A12345 /dev/sda

ArcadeHustle commented 5 years ago

"This very thing was one of my first questions here and the post was deleted (by Mitsurugi-w) due to possible legal issues" https://www.arcade-projects.com/forums/index.php?thread/4494-interest-check-guide-on-cloning-x3-hard-drives/&postID=63083#post63083

"This stuff is very new and could help people clone intellectual property of Taito or newer games that are still business for them. Don't post anything until @Mitsurugi-w and I come with a final position (on how to monetize this)." https://www.arcade-projects.com/forums/index.php?thread/4494-interest-check-guide-on-cloning-x3-hard-drives/&postID=63116#post63116

"Like Darksoft said and we have said in other threads this method can be used in hacking newer games and systems so we want to keep it pretty quiet and not public. You can already find most info by searching Xbox HDD cloning online. If you want to help each other via PM, go ahead. Just not in the open forums. Sorry guys (but I'm not sorry!)." https://www.arcade-projects.com/forums/index.php?thread/4494-interest-check-guide-on-cloning-x3-hard-drives/&postID=63170#post63170

ArcadeHustle commented 5 years ago

Archived WDMarvel Demo installer: WDMarv_demo.zip

volt72 commented 3 years ago

Does this method work on a ttx4? I figured it would be worth asking before trying anything.

641i130 commented 2 years ago

Does this method work on a ttx4? I figured it would be worth asking before trying anything.

I was able to clone TTX4 hard drive a bit differently... I unlocked bios by going in, doing the OUGA#110 and choosing development mode in the settings (look around). Then booted into a live linux USB stick I had laying around. I used dd (beginners beware; DD is dangerous for noobz) command and sent the entire drive into an img file to write to a different drive later when I feel like it. You also are able to mount the decrypted partitions because once the PC boots it decrypts the drive regardless of what mode you're in. It has 3 volumes and I copied them all. I'm not sure how the bios will react to a drive that isn't ATA encrypted, but the procedure above seems like it should work for a TTX4 system. I'll probably try it out later this week if I'm feeling like it.