0-duke / wdpassport-utils

WD Passport Ultra Linux Utilities
GNU General Public License v2.0
228 stars 84 forks source link

Python3 version does not recognize my drive #17

Closed XenHat closed 4 years ago

XenHat commented 4 years ago

Similar to #14 I have a device here that can be read (but not more more) at https://github.com/0-duke/wdpassport-utils/tree/0a251b2a3a647513c430efab7a1bb3a18fedd642:

sudo python2 ./wdpassport-utils.py -d /dev/sda -s
WD Passport Ultra linux utility v0.1 by duke
[*] Device state
    Security status: No keys
    Encryption type: unknown

but cannot be read with the python3 version:

 sudo ./wdpassport-utils.py -d /dev/sda 
[!] No Western Digital Passport device found.

The drive came here without a label for repair and doesn't have a standard SATA adapter (micro usb is soldered directly to the PCB (sigh...)). All I can currently say about it is that it is from Western Digital, and Not For Resale (P/N WD10TMVV)

0-duke commented 4 years ago

Few observations: 1) this utility has been developed and tested with WD Passport Ultra. It seems to support WD MyBook but I don't know if can be used with any other WD HD device without changing the code 3) Can you open/mount the device with the official WD utility for Windows?

XenHat commented 4 years ago

Few observations:

1. this utility has been  developed and tested with WD Passport Ultra. It seems to support WD MyBook but I don't know if can be used with any other WD HD device without changing the code

2. Can you open/mount the device with the official WD utility for Windows?
  1. I do not know if this drive qualifies as a WD Passport, I found this repository by searching for the error message in dmesg. IMG_20200506_110400_1 IMG_20200506_110418_1

  2. I will try and report.

XenHat commented 4 years ago

OK, the drive shows up as a WD Elements 1023 USB Device in Windows (USBSTOR\DISK&VEN_WD&PROD_ELEMENTS_1023&REV_2005). Do I guess correctly that there is no way to get this drive working as the WD Drive Utilities don't see it ("Attach a supported WD Drive") and I cannot mount it under either Windows or Linux?

0-duke commented 4 years ago

Correct, if the drive doesn't work with the official utility there is nothing you can do with our wdpassport-utils. I'm closing this issue.