Reply
Established Member
LochyMacleod
Posts: 4
Registered: ‎04-21-2012
0
Accepted Solution

Install western digitial 640gb WD6400BEVT firmware

Long story short, i wanted to use my spare hdd for my xbox so i flashed it so the xbox would regonise it, so now it thinks its a hitachi 240gb

 

I want to re install the firmware back to its original state.


any ideas where to get it and how to reinstall it

Thanks Lochy

Honored Contributor
fzabkar
Posts: 1,780
Registered: ‎02-06-2010
0

Re: Install western digitial 640gb WD6400BEVT firmware

Assuming you used HDDHackr, then use your UNDO.BIN file to restore your drive to its original state.

If you've lost your UNDO.BIN, then don't be tempted to use one from another drive. You will probably brick your drive if you do. Instead there are ways to recreate the UNDO.BIN from information in the reserved System Area on the drive, but you will need to do a bit of work in DOS. I can help you with this.

Established Member
LochyMacleod
Posts: 4
Registered: ‎04-21-2012
0

Re: Install western digitial 640gb WD6400BEVT firmware

Thank you, i have lost my undo.bin.

I would appreciate the help.

Established Member
LochyMacleod
Posts: 4
Registered: ‎04-21-2012
0

Re: Install western digitial 640gb WD6400BEVT firmware

I feel this could take a while, as we are on different time zones, so if u want you can post as much as you can for me to do and i will just go ahead and do it

Honored Contributor
fzabkar
Posts: 1,780
Registered: ‎02-06-2010
0

Re: Install western digitial 640gb WD6400BEVT firmware

Before we start examining the firmware, you may like to try some simpler things.

The first is to attempt to restore the drive's original factory capacity.

One way to do this is to use the NHPA command in MHDD. The RHPA command displays the factory capacity.

Use version 4.5 of MHDD. It incorporates ATA command scripting whereas v4.6 does not.

http://hddguru.com/software/2005.10.02-MHDD/

You will need to configure your SATA controller in BIOS for legacy or IDE compatibility mode. This will make your SATA drive look like PATA. MHDD expects to see your drive as the master on the secondary IDE port.

If your WD6400BEVT reports 250GB as its factory capacity, then this will be because HDDHackr has altered the drive's firmware. In this case the NHPA command will leave the capacity unchanged at 250GB.

The next thing to try is to edit the Hitachi HDDSS.BIN file. The header of this file contains Hitachi's firmware version, serial number, model number, and total capacity in LBAs. We will need to replace these data with WD's parameters.

The following article is my attempt to understand how HDDHackr works:
http://www.users.on.net/~fzabkar/HDD/HddHackr_analysis.html

Here is the HDDSS.BIN file for a Hitachi 250GB drive:
http://digiex.net/attachments/downloads/download-center-2-0/consoles-homebrew/3814d1265962338-xbox-3...

This is the section we need to modify:

Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000  30 39 30 38 31 32 50 42 34 32 33 38 51 53 4A 47  090812PB4238QSJG
00000010  56 39 30 41 50 42 32 4F 43 36 34 47 48 69 74 61  V90APB2OC64GHita
00000020  63 68 69 20 48 54 53 35 34 35 30 32 35 42 39 53  chi HTS545025B9S
00000030  41 30 30 20 20 20 20 20 20 20 20 20 20 20 20 20  A00             
00000040  20 20 20 20 3B 0F D7 3F 82 77 FE 41 C6 F6 A2 5D  
00000050  FC 17 2C 17 7A D4 F8 D6 70 59 1C 1D .. .. .. ..


You need to replace the text strings as follows:

Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000  53 65 72 69 61 6C 20 6E 75 6D 20 2B 20 73 70 61   Serial num + spa
00000010  63 65 73 20 46 69 72 6D 77 61 72 65 57 44 43 20   ces FirmwareWDC
00000020  57 44 36 34 30 30 42 45 56 54 2D 78 78 78 78 78   WD6400BEVT-xxxxx
00000030  78 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   x
00000040  20 20 20 20 3B 0F D7 3F 82 77 FE 41 C6 F6 A2 5D
00000050  FC 17 2C 17 7A D4 F8 D6 B0 82 85 4A .. .. .. ..


You could use a freeware hex editor such as HxD:
http://mh-nexus.de/en/hxd

The 4 bytes at offsets 58 - 5B are the total capacity of your WD drive in LBAs. This will be printed on the label, 1250263728. You then need to convert this number into hexadecimal format. Google's calculator can do this for you:

http://www.google.com/search?q=1250263728+in+hex

The result is ...

1 250 263 728 = 0x4A8582B0

Now take the hexadecimal value and reverse the byte order so that the number is in "little endian" format, ie ...

B0 82 85 4A

Then enter the above numbers at offsets 58 - 5B.

Now use HDDHackr to apply the modified HDDSS.BIN to your drive. If this doesn't work (HDDHackr may complain that your WD drive is too small), then we will need to use MHDD to read the original firmware information from the drive's firmware zone. For this you will need to boot MHDD from a writeable medium such as a floppy drive or USB flash drive. The latter will require you to enable legacy USB support in BIOS.

I'll explain the procedure in my next post, if you get to this point.

Established Member
LochyMacleod
Posts: 4
Registered: ‎04-21-2012
0

Re: Install western digitial 640gb WD6400BEVT firmware

[ Edited ]

Thanks, it worked using the hex editor it now shows all 600GB.

Very much appreciated :smileyhappy:

Forums | Ideas | News and Announcements | Register | Sign in | Help | Forum Guidelines
Copyright © 2001 - 2014 Western Digital Technologies, Inc. All rights reserved. | Trademarks | Privacy | Community Terms of Service | Site Terms of Use | Copyright | Contact WD