Spildit wrote:
Strange ...
Can you dump modules with WDMarvel ?
http://wdmarvel.com/WDMarv_demo.rarS/A Operations - S/A Modules Operations
I tried this last night with no luck (disabled driver signing in windows to load the driver, etc). This morning however I tackled it again with hddsupertool and discovered I can get it working by using a different sata controller. Though I haven't tried WDMarvel with this controller, it will probably work now since hddsupertool works with this controller.
So basically this is what I did:
The hdduspertool website mentions that controllers limit what commands can be sent to the drive and this affects vendor-specific commands which is what I need in order to dump the files for the slow fix. I read somewhere else that JMicron chips yield better results, but the article escapes me and I don't remember which chip specifically they mentioned, but I decided to try the ones I have. In one of my PC's I have a Gigabyte motherboard with a JMB362 esata chip which I had success on.
I went to the bios, making sure it's enabled. Iswitched it to IDE mode - not sure if that's really needed though.
After this, I plugged in the drive so the BIOS can detect it during bootup. I then booted an Ubuntu live CD, but I switched off swapping so that it doesn't try to mount the swapfile partition on the drive otherwise I'd be sitting waiting forever.
After booting into Ubuntu, I proceeded to download and install hddsupertool and ran it. After doing fdisk -l I could see the drive being listed. I then proceeded to run hddsupertool and tried to identify the drive and SUCESS!!
Code:
ubuntu@ubuntu:~$ sudo hddsupertool
hddsupertool 1.6-1.5 20160130
Finding devices
Q) Quit
R) Refresh drive list
1) /dev/sda OCZ-TRION100 85FB51HHKMCX
2) /dev/sdb WDC WD2002FAEX-007BA0 WD-WMAY00591989
3) /dev/sdc WDC WD10JPVX-00JC3T0 WD-WXN1E15A5J0X
Choose which drive > 3
Main menu
q) Quit
h) Toggle script help
1) Device information
2) Read sectors
3) Write sectors
4) Erase sectors
5) Tools
6) Security
7) VSC
8) Image device
9) Custom
Enter your choice:
> 1
1
Device information menu
q) Quit
p) Previous menu
h) Toggle script help
1) Identify device
2) Smart info
Enter your choice:
> 1
1
Raw buffer:
0: 7a 42 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00 zB.?7.......?...
10: 00 00 00 00 20 20 20 20 57 20 2d 44 58 57 31 4e .... W -DXW1N
20: 31 45 41 35 4a 35 58 30 00 00 00 40 00 00 31 30 1EA5J5X0...@..10
30: 30 2e 41 31 31 30 44 57 20 43 44 57 30 31 50 4a 0.A110DW CDW01PJ
40: 58 56 30 2d 4a 30 33 43 30 54 20 20 20 20 20 20 XV0-J03C0T
50: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10 80 ..
60: 00 40 00 2f 01 40 00 00 00 00 07 00 ff 3f 10 00 .@./.@.......?..
70: 3f 00 10 fc fb 00 10 01 ff ff ff 0f 00 00 07 00 ?...............
80: 03 00 78 00 78 00 78 00 78 00 00 00 00 00 00 00 ..x.x.x.x.......
90: 00 00 00 00 00 00 1f 00 0e ff 04 00 4c 00 44 00 ............L.D.
a0: fe 03 00 00 6b 74 69 7d 23 61 68 74 49 bc 23 61 ....kti}#ahtI.#a
b0: 7f 40 60 00 60 00 fe 00 fe ff 00 00 00 00 00 00 .@`.`...........
c0: 00 00 00 00 00 00 00 00 b0 6d 70 74 00 00 00 00 .........mpt....
d0: 00 00 00 00 03 60 00 00 01 50 e6 4e 23 5b 27 88 .....`...P.N#['.
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 40 ...............@
f0: 18 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .@..............
100: 21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 !...............
110: 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 ................
120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
190: 00 00 00 00 00 00 00 00 00 00 00 00 35 70 00 00 ............5p..
1a0: 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 ...@............
1b0: 00 00 18 15 00 00 00 00 00 00 00 00 3e 10 00 00 ............>...
1c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
1d0: 00 00 00 00 01 00 00 10 00 00 00 00 00 00 00 00 ................
1e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
1f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a5 fe ................
Model= WDC WD10JPVX-00JC3T0
Serial= WD-WXN1E15A5J0X
Firmware revision= 01.01A01
supports 48 bit commands = 1
total addressable sectors= 1953525168
words per logical sector= 0
Size in bytes= 1000204886016
Size in MiB= 953869
logical sectors per physical sector(2^x)= 3
enhanced_security_erase_supported= 1
security_count_expired= 0
security_frozen= 0
security_locked= 0
security_enabled= 0
security_supported= 1
error_recovery_control= 0
long_sector_access =0
drive look ahead supported= 1
drive look ahead status= 1
write_uncorrectable supported= 0
Device information menu
q) Quit
p) Previous menu
h) Toggle script help
1) Identify device
2) Smart info
Enter your choice:
> p
p
Ok, now on to dumping, modifying and rewriting to drive:
Code:
Main menu
q) Quit
h) Toggle script help
1) Device information
2) Read sectors
3) Write sectors
4) Erase sectors
5) Tools
6) Security
7) VSC
8) Image device
9) Custom
Enter your choice:
> 7
7
VSC menu
q) Quit
p) Previous menu
h) Toggle script help
1) WD dump mod 42 (older Caviar drives)
2) WD royl (Marvel) dump mod 02
3) WD royl (Marvel) dump mod 32
4) WD royl (Marvel) patch mod 02 (slow fix)
5) WD royl (Marvel) patch mod 32 (slow fix)
6) WD royl (Marvel) dump all modules
Enter your choice:
> 2
2
***SNIP***
VSC menu
q) Quit
p) Previous menu
h) Toggle script help
1) WD dump mod 42 (older Caviar drives)
2) WD royl (Marvel) dump mod 02
3) WD royl (Marvel) dump mod 32
4) WD royl (Marvel) patch mod 02 (slow fix)
5) WD royl (Marvel) patch mod 32 (slow fix)
6) WD royl (Marvel) dump all modules
Enter your choice:
> 3
3
***SNIP***
77d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
77e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
77f0: 00 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 ................
Header:
0: 52 4f 59 4c ROYL
Module ID = 50
Size in sectors = 60
32 bit checksum = 0x2c2729f0
Mod version:
10: 30 30 31 37 30 30 30 30 00170000
Calculated Checksum = 0x2c2729f0 (good)
VSC menu
q) Quit
p) Previous menu
h) Toggle script help
1) WD dump mod 42 (older Caviar drives)
2) WD royl (Marvel) dump mod 02
3) WD royl (Marvel) dump mod 32
4) WD royl (Marvel) patch mod 02 (slow fix)
5) WD royl (Marvel) patch mod 32 (slow fix)
6) WD royl (Marvel) dump all modules
Enter your choice:
> 4
4
WD ROYL Patch Mod02
This modifies data in the service area of the drive!
Use at your own risk!
These commands can take several minutes and appear to be hung.
Please be patient and let it finish on its own.
q) Quit
p) Previous menu
1) Read the module to a file and create the patch.
2) Write the patched data back to the disk.
3) Restore the original dump.
Enter your choice:
> 1
1
Performing identify device command
Model: WDC WD10JPVX-00JC3T0
Serial: WD-WXN1E15A5J0X
Reading the module
Header:
0: 52 4f 59 4c ROYL
Module ID = 0x2
Size in sectors = 0x5
32 bit checksum = 0x8a875ee5
Total records = 0x2f
Calculated Checksum = 0x8a875ee5 (good)
Writing origial dump to file WD-WXN1E15A5J0X_mod02original.bin
Data record #27:
6de: 00 01 02 01 80 0c 00 00 20 03 00 00 00 00 32 00 ........ .....2.
6ee: 00 00 64 00 00 00 1e 00 00 00 05 d6 06 c0 12 00 ..d.............
6fe: 00 19 00 00 00 00 03 09 01 00 00 00 00 10 00 02 ................
70e: 10 00 20 01 00 00 00 00 32 00 00 96 00 01 32 .. .....2.....2
Data record #27 after patch:
6de: 00 01 00 01 80 0c 00 00 20 03 00 00 00 00 32 00 ........ .....2.
6ee: 00 00 64 00 00 00 1e 00 00 00 05 d6 06 c0 12 00 ..d.............
6fe: 00 19 00 00 00 00 03 09 01 00 00 00 00 10 00 02 ................
70e: 10 00 20 01 00 00 00 00 32 00 00 96 00 01 32 .. .....2.....2
Calculated Checksum = 0x8a875ee7
Writing patched mod to file WD-WXN1E15A5J0X_mod02patched.bin
WD ROYL Patch Mod02
This modifies data in the service area of the drive!
Use at your own risk!
These commands can take several minutes and appear to be hung.
Please be patient and let it finish on its own.
q) Quit
p) Previous menu
1) Read the module to a file and create the patch.
2) Write the patched data back to the disk.
3) Restore the original dump.
Enter your choice:
> 2
2
Performing identify device command
Model: WDC WD10JPVX-00JC3T0
Serial: WD-WXN1E15A5J0X
Reading the module
Header:
0: 52 4f 59 4c ROYL
Module ID = 0x2
Size in sectors = 0x5
32 bit checksum = 0x8a875ee5
Total records = 0x2f
Calculated Checksum = 0x8a875ee5 (good)
Reading the patch file
Writing the patched module to the drive
Verifying data
Data verified!
WD ROYL Patch Mod02
This modifies data in the service area of the drive!
Use at your own risk!
These commands can take several minutes and appear to be hung.
Please be patient and let it finish on its own.
q) Quit
p) Previous menu
1) Read the module to a file and create the patch.
2) Write the patched data back to the disk.
3) Restore the original dump.
Enter your choice:
> p
p
VSC menu
q) Quit
p) Previous menu
h) Toggle script help
1) WD dump mod 42 (older Caviar drives)
2) WD royl (Marvel) dump mod 02
3) WD royl (Marvel) dump mod 32
4) WD royl (Marvel) patch mod 02 (slow fix)
5) WD royl (Marvel) patch mod 32 (slow fix)
6) WD royl (Marvel) dump all modules
Enter your choice:
> 5
5
WD ROYL Patch Mod32
This modifies data in the service area of the drive!
Use at your own risk!
These commands can take several minutes and appear to be hung.
Please be patient and let it finish on its own.
q) Quit
p) Previous menu
1) Read the module to a file and create the patch.
2) Write the patched data back to the disk.
3) Restore the original dump.
Enter your choice:
> 1
1
Performing identify device command
Model: WDC WD10JPVX-00JC3T0
Serial: WD-WXN1E15A5J0X
Reading the module
Header:
0: 52 4f 59 4c ROYL
Module ID = 0x32
Size in sectors = 0x3c
32 bit checksum = 0xab45fef2
Table offset = 0xa4
Calculated Checksum = 0xab45fef2 (good)
Writing origial dump to file WD-WXN1E15A5J0X_mod32original.bin
Calculated Checksum = 0x451487fd
Writing patched mod to file WD-WXN1E15A5J0X_mod32patched.bin
WD ROYL Patch Mod32
This modifies data in the service area of the drive!
Use at your own risk!
These commands can take several minutes and appear to be hung.
Please be patient and let it finish on its own.
q) Quit
p) Previous menu
1) Read the module to a file and create the patch.
2) Write the patched data back to the disk.
3) Restore the original dump.
Enter your choice:
> 2
2
Performing identify device command
Model: WDC WD10JPVX-00JC3T0
Serial: WD-WXN1E15A5J0X
Reading the module
Header:
0: 52 4f 59 4c ROYL
Module ID = 0x32
Size in sectors = 0x3c
32 bit checksum = 0xe9f04fd8
Table offset = 0xa4
Calculated Checksum = 0xe9f04fd8 (good)
Reading the patch file
Writing the patched module to the drive
Verifying data
Data verified!
WD ROYL Patch Mod32
This modifies data in the service area of the drive!
Use at your own risk!
These commands can take several minutes and appear to be hung.
Please be patient and let it finish on its own.
q) Quit
p) Previous menu
1) Read the module to a file and create the patch.
2) Write the patched data back to the disk.
3) Restore the original dump.
Enter your choice:
> q
q
Script reached EXIT command at line 57, exiting normally...
Total program run time = 738 seconds
ubuntu@ubuntu:~/hddsupertool-1.6-1.5-x64-free$
Afterwards, I copied the drive files under the hddsupertool folder to a flashdrive to backup my origional and modified firmware and proceeded to reboot.
Now, attempting to recover data from the drive. Well it mounts and opens up quicker, and I can navigate the directory structure, but getting to the files I need... When I try to copy a file, it starts off promising, and then the speed slows down until it chokes. If I use unstoppable copier, it seems to freeze - I can't pause or cancel it where I could before the firmware change.
I also tried linux mounting of the drive, using cp, rsync and dd/ddrescue, but it's just hanging on me.
I'm letting the drive rest while I update this, will try again in a bit.
Any advice?