All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Unable to unlock WD10JPLX
PostPosted: May 2nd, 2018, 23:37 
Offline

Joined: May 2nd, 2018, 23:20
Posts: 10
Location: United States
I was trying to perform an ATA secure erase on one of my hard drives (like I have many times before), and something went wrong. I normally use a live Ubuntu image with hdparm to initiate the secure erase, and I haven't had an issue before.

I'm not sure what happened this time, but the drive is locked and I cannot seem to unlock it. I know (or thought I knew) the user password for the drive, but all attempts to disable the security with:
Code:
hdparm --user-master u --security-disable 1234Pass /dev/sda

fail with a 'SG_IO: bad/missing sense data'.

I've read viewtopic.php?f=1&t=8374 and followed the guide linked in the post made on February 16th, 2018: http://www.hddoracle.com/viewtopic.php?f=86&t=2353

I get some errors when trying to remove the password with WDC Marvel 3.3.1 (Demo) in a Mini Windows Xp running from a Hiren’s BootCD:
Attachment:
error.png
error.png [ 50.26 KiB | Viewed 2154 times ]


I'm not really sure what to do at this point. I was trying to secure erase the drive so I don't care about the data on it, I would just like to have a usable drive again.


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 4:05 
Offline

Joined: May 30th, 2005, 17:07
Posts: 457
Hi,
WD10JPLX-00MBPT0 it's Hitachi drive and you need to use Hitachi tools

Mikippp


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 9:29 
Offline

Joined: May 2nd, 2018, 23:20
Posts: 10
Location: United States
Thanks Mikippp, that's a step in the right direction.

So would that be Zu with P. and S. ?

Edit: I don't have any special hardware, so I'm hoping I can put the drive in safe mode and unlock it without any extra hardware.


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 13:54 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 9510
Location: Portugal
ElementalBlack wrote:
So would that be Zu with P. and S. ?


NO !!!

ZU only works on "older" M24 ARCH drives (IBM native). Your drive is ARM based HGST so NOT SUPPORTED BY ZU.

Also as stated this drive is HGST ARM and NOT WD so WD Marvell tools will NOT WORK on it.

You need to :

- Remove PCB.
- Read and change NVRam.
- Place PCB back.
- Gain access to modules.
- Replace security module with module of unlocked drive or factory copy.
- Return NVRam to initial state.

Here you can see the procedure to unlock ARM based HDDs (IBM based) :

http://www.hddoracle.com/viewtopic.php?f=95&t=2060

You need tool that supports your drive ... Most likely PC-3000 only ...

Or you need to know "Super On" command for your specific drive and use ATA terminal ...

http://www.hddoracle.com/viewtopic.php? ... 737#p16649

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 14:22 
Offline

Joined: May 2nd, 2018, 23:20
Posts: 10
Location: United States
So I need some sort of hardware to unlock this, such as a PC-3000?

I cannot figure out what happened, as I'm almost positive I remember the password. The device is in high security mode right now according to hdparm, so I should be able to issue a security unlock for it.

Is there some sort of ATA restriction on unlocking a drive from the user account even if the password is known?

MHDD isn't even able to see the drive from what I can tell, even though everything is running over IDE on a desktop, so I'm forced to use hdparm to issue commands.


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 14:37 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 9510
Location: Portugal
ElementalBlack wrote:
So I need some sort of hardware to unlock this, such as a PC-3000?


NO !

You need a firmware tool that supports your drive (HGST ARM) OR to know the VSCs to read/write NVRam and Modules on your drive.

It doesn't have anything to do with Hardware. SeDiv for example is SOFTWARE ONLY and can unlock HGST. I don't know if it does support your SPECIFIC DRIVE as i did never test with it, possible NOT as it's a recent drive so your best option/bet is PC-3000 that most likely DO support your specific drive.

Problem with ARM and M24 Arch IBM based drives (HGST included) is that they change SUPER ON with almost every new family so even if you know some SUPER ON commands they will NOT WORK on other drives from same brand and arch but with diferent family.

It's not a question of having a hardware firmware tool it's a question of having a tool that knows the "Super ON" of your specific drive ...

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 14:40 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 9510
Location: Portugal
ElementalBlack wrote:

I cannot figure out what happened, as I'm almost positive I remember the password. The device is in high security mode right now according to hdparm, so I should be able to issue a security unlock for it.

Is there some sort of ATA restriction on unlocking a drive from the user account even if the password is known?



Even if security is FROZEN you should be able to UNLOCK the drive !!!!

You need to UNLOCK first and only then DISPASS. You might not be able to remove the password on the locked drive without unlocking it first.

Your USER ACCOUNT must have privileges to run the tool that will need direct I/O access (by installing a driver) to send the ATA commands to the drive ...

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 14:42 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 9510
Location: Portugal
You need to use Security UNLOCK ATA command - 0xF2 and then send the password to the drive buffer. Then you can use 0xF6 to disable the password :

http://www.hddoracle.com/viewtopic.php?f=59&t=1214

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 17:04 
Offline

Joined: May 2nd, 2018, 23:20
Posts: 10
Location: United States
After reading your post I'm not clear on what I should try.

Is the SeDiv demo the best approach at this point? What other software tools could support this drive to provide the Super On?


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 18:42 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 9510
Location: Portugal
ElementalBlack wrote:
After reading your post I'm not clear on what I should try.

Is the SeDiv demo the best approach at this point? What other software tools could support this drive to provide the Super On?


NO !

SeDiv DEMO would not help you out. You would need the FULL version and most likely it would not help you at all.

If you were to know the Super On you could even use free ATA terminal. You don't know Super On so the best option would be ... PC-3000 ?

Lacking that try to remember the password and try to remove it with Victoria, MHDD, etc assuming you can make the drive detectable again) ?

You can as well send the drive to a data recovery firm ?

You can try to send the drive to someone with tools to unlock it ?

I don't know if the SeDiv FULL version would support that drive but most likely it wouldn't ...

I do have a BIG collection of SUPER ON commands for modern drives (ARM HGST) but i would have to try them all and see if one would work and there are chances that it would still not work ... Bu the way my collection of Super ON was obtained from PC-3000 so if PC-3000 doesn't support your drive (i don't know that as well) then i don't have Super On command for it as well ...

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 18:43 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 9510
Location: Portugal
ElementalBlack wrote:
After reading your post I'm not clear on what I should try.

Is the SeDiv demo the best approach at this point? What other software tools could support this drive to provide the Super On?


You did try to clear the drive so you don't care for the data.

At this point any data recovery firm should be able to help you as long as PC-3000 does support your drive.

Removing the password with data loss should be very cheap !

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 18:44 
Offline

Joined: May 2nd, 2018, 23:20
Posts: 10
Location: United States
This is looking pretty bleak.

Isn't PC-3000 a hardware solution that I would have to purchase?


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 18:52 
Offline
User avatar

Joined: December 19th, 2006, 8:49
Posts: 9510
Location: Portugal
ElementalBlack wrote:
This is looking pretty bleak.

Isn't PC-3000 a hardware solution that I would have to purchase?


And costs at least $6000 ....

So better to send the drive to someone who have it ?

_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 20:04 
Offline

Joined: January 29th, 2012, 1:43
Posts: 432
Location: United States
ElementalBlack wrote:
I was trying to perform an ATA secure erase on one of my hard drives (like I have many times before), and something went wrong. I normally use a live Ubuntu image with hdparm to initiate the secure erase, and I haven't had an issue before.

I'm not sure what happened this time, but the drive is locked and I cannot seem to unlock it. I know (or thought I knew) the user password for the drive, but all attempts to disable the security with:
Code:
hdparm --user-master u --security-disable 1234Pass /dev/sda

fail with a 'SG_IO: bad/missing sense data'.

I just did some testing and the first thing I can say is you are likely using an Ubuntu version above 16.04. Linux broke something in the ATA passthough after kernel version 4.4. That is why you get the 'SG_IO: bad/missing sense data'. It should be an IO error instead. Not that it will solve your problem, but try with an older version of the live CD.

(Side Note: at least I know my software is not the only thing affected by this change in the Linux kernel).

So the result you are seeing means there was an error with the command, the same kind of error that can be from a wrong password. Adding the option --verbose to the command could produce some possible helpful information to a few of us on here (with the older Ubuntu version). But if you don't have the password correct, or something bad happened that changed the condition of the drive, then you may be out of luck for any easy solution.

_________________
http://www.sdcomputingservice.com
Home of HDDSuperClone and HDDSuperTool


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 20:36 
Offline

Joined: May 2nd, 2018, 23:20
Posts: 10
Location: United States
maximus wrote:
I just did some testing and the first thing I can say is you are likely using an Ubuntu version above 16.04. Linux broke something in the ATA passthough after kernel version 4.4. That is why you get the 'SG_IO: bad/missing sense data'. It should be an IO error instead. Not that it will solve your problem, but try with an older version of the live CD.

(Side Note: at least I know my software is not the only thing affected by this change in the Linux kernel).

So the result you are seeing means there was an error with the command, the same kind of error that can be from a wrong password. Adding the option --verbose to the command could produce some possible helpful information to a few of us on here (with the older Ubuntu version). But if you don't have the password correct, or something bad happened that changed the condition of the drive, then you may be out of luck for any easy solution.


I was using 18.04, but I just tried --security-unlock and other --security-* commands as the user account (with the password I set) and as the master account with the default passwords for HGST and WDC on 16.04.

I still get a "SG_IO: bad/missing sense data, sb[]: 70 00 05 ..." with 16.04, are you saying the version needs 14.04?

I can try Victoria For Windows, but I don't know how this is supposed to be run. I'd like to be able to run it from a live USB drive, but I'm not sure how to do that, or what Windows version it requires.


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 20:57 
Offline

Joined: May 2nd, 2018, 23:20
Posts: 10
Location: United States
I just tried it with --verbose and it gives a ton of info, but I understand none of it.

I tried to issue a unlock with the default master password:
Code:
hdparm --verbose --user-master m --security-unlock "                                " /dev/sda


and it gave:
Code:
outgoing cdb:  85 0a 06 00 00 00 01 00 00 00 00 00 00 40 f2 00
outgoing_data:  01 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: ATA_16 status=0x2, host_status=0x0, driver_status=0x8
SG_IO: sb[]:  70 00 05 00 00 00 00 0a 04 51 40 00 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 04 51 40 00 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: desc[]:  04 51 40 00 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      ATA_16 stat=00 err=00 nsect=04 lbal=00 lbam=00 lbah=00 dev=00
security_password: "                                "

/dev/sda:
Issuing SECURITY_UNLOCK command, password="                                ", user=master
oflags.bits.lob_all=0x8a, flags={ feat nsect command }
oflags.bits.hob_all=0x00, flags={ }


Let me know if the verbose output of another command would be helpful, or if there's anything helpful in the one above.


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 21:02 
Offline

Joined: January 29th, 2012, 1:43
Posts: 432
Location: United States
Quote:
I was using 18.04, but I just tried --security-unlock and other --security-* commands as the user account (with the password I set) and as the master account with the default passwords for HGST and WDC on 16.04.

I still get a "SG_IO: bad/missing sense data, sb[]: 70 00 05 ..." with 16.04, are you saying the version needs 14.04?

I don't think it will matter or help any. The end result is the command failed, although I don't know why 16.04 still gives the bad/missing sense data error.

_________________
http://www.sdcomputingservice.com
Home of HDDSuperClone and HDDSuperTool


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 3rd, 2018, 21:09 
Offline

Joined: January 29th, 2012, 1:43
Posts: 432
Location: United States
ElementalBlack wrote:
Let me know if the verbose output of another command would be helpful, or if there's anything helpful in the one above.

I believe the output shows the command failed with an abort when trying to unlock the drive. I don't think any more can be found from more verbose output. It is not accepting the unlock command with the password provided.

_________________
http://www.sdcomputingservice.com
Home of HDDSuperClone and HDDSuperTool


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 4th, 2018, 19:04 
Offline

Joined: January 29th, 2012, 1:43
Posts: 432
Location: United States
I would like to add that when trying passwords to unlock, there is a limit before the security count expires. Once the security count expires you must power cycle the drive to try new passwords, otherwise it will just keep failing even if you were to find the correct password. You can see if the security count is expired from the output of the following command, which is what I am assuming you are using to tell that the drive is locked.
Code:
sudo hdparm -I /dev/sda

_________________
http://www.sdcomputingservice.com
Home of HDDSuperClone and HDDSuperTool


Top
 Profile  
 
 Post subject: Re: Unable to unlock WD10JPLX
PostPosted: May 5th, 2018, 12:04 
Offline

Joined: September 30th, 2005, 7:33
Posts: 609
If this is a Hitachi ARM drive and you want to erase it , you can use the FormatUnit command to do the task . It will not ask for password and at the end the drive will be unlocked.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Majestic-12 [Bot] and 33 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group