xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
3 Pages V < 1 2 3  
Reply to this topicStart new topic
> Locking Hdd With Usb-(s)ata Adapter.
aliaric
post Sep 8 2012, 04:26 PM
Post #31


X-S Enthusiast


Group: Members
Posts: 2
Joined: 2-September 12
Member No.: 465071
Xbox Version: v1.6
360 version: unknown



I have demounted Seagate Free Agent Go board. I try to test it with your solution.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ldotsfan
post Sep 9 2012, 01:35 PM
Post #32


X-S Messiah
*******

Group: Dev/Contributor
Posts: 3098
Joined: 23-March 08
Member No.: 376711
Xbox Version: v1.1
360 version: unknown



I noticed the latest version of smartmontools had security freeze lock capability so I extended it to do the rest of the security feature set:

CODE

smartmontools-5.43 # ./smartctl --get=security /dev/sdc
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.5.0] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

ATA Security is:  Disabled, NOT FROZEN [SEC1]
smartmontools-5.43 # ./smartctl --set=security-setpass,XBOXSCENE /dev/sdc
PASSWORD XBOXSCENE
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.5.0] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

ATA Security setpass
smartmontools-5.43 # ./smartctl --get=security /dev/sdc
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.5.0] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

ATA Security is:  ENABLED, PW level MAX, not locked, not frozen [SEC5]
smartmontools-5.43 # ./smartctl --set=security-disable,XBOXSCENE /dev/sdc
PASSWORD XBOXSCENE
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.5.0] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

ATA Security disabled
smartmontools-5.43 # ./smartctl --get=security /dev/sdc
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.5.0] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

ATA Security is:  Disabled, NOT FROZEN [SEC1]


What this means is that all usb chipsets supported by smartmontools: sat, cypress, sunplus, jmicron are now available. It is also supported on various OS/platforms:

QUOTE

It should run on any modern Darwin (Mac OS X), Linux, FreeBSD, NetBSD, OpenBSD, Solaris, OS/2, Cygwin, QNX, eComStation or Windows system.

Windows and OS X are especially interesting. I will try to patch eeprom support before releasing the changes. I will try to release a Windows executable at a later stage.

This post has been edited by ldotsfan: Sep 9 2012, 01:37 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
shambles1980
post Sep 9 2012, 04:49 PM
Post #33


X-S Freak
*****

Group: Members
Posts: 1031
Joined: 5-May 11
From: wales uk
Member No.: 453248
Xbox Version: v1.2
360 version: v4.0 (jasper)



keep up the good work smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ldotsfan
post Sep 11 2012, 04:11 PM
Post #34


X-S Messiah
*******

Group: Dev/Contributor
Posts: 3098
Joined: 23-March 08
Member No.: 376711
Xbox Version: v1.1
360 version: unknown



Windows 64-bit version with eeprom support.

CODE

D:\>smartctl.exe --set=security-eeprom-setpass,eeprom.bin /dev/sdc
smartctl 5.43 2012-06-30 r3573 [x86_64-w64-mingw32-win7-sp1] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

ATA Security setpass

D:\>smartctl.exe --get=security /dev/sdc
smartctl 5.43 2012-06-30 r3573 [x86_64-w64-mingw32-win7-sp1] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

ATA Security is:  ENABLED, PW level MAX, not locked, not frozen [SEC5]

D:\>smartctl.exe --set=security-eeprom-disable,eeprom.bin /dev/sdc
smartctl 5.43 2012-06-30 r3573 [x86_64-w64-mingw32-win7-sp1] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

ATA Security disable


I'll be creating the 32bit version as well.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ldotsfan
post Sep 12 2012, 04:12 PM
Post #35


X-S Messiah
*******

Group: Dev/Contributor
Posts: 3098
Joined: 23-March 08
Member No.: 376711
Xbox Version: v1.1
360 version: unknown



1. Windows 32bit version with eeprom support compiled.
2. Linux version with eeprom support compiled.

An empty 8Gb stock FATX image compressed with 7zip is only 1.2MB. Combined with a disk cloning program of your choice(Acronis or HDD Raw Copy Tool etc) this opens up the possibility of formatting a xbox hdd entirely from Windows - provided you have a compatible USB/ATA adapter but now the list of supported models is much larger. You'll still need xplorer360 to copy files over though.

This post has been edited by ldotsfan: Sep 12 2012, 04:13 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ldotsfan
post Sep 13 2012, 02:42 PM
Post #36


X-S Messiah
*******

Group: Dev/Contributor
Posts: 3098
Joined: 23-March 08
Member No.: 376711
Xbox Version: v1.1
360 version: unknown



Uploaded Windows version of files to here.

You'll need a compatible usb/ata adapter, see list at smartmontools
Basic instructions:
1. Unzip files with 7-zip to a given folder, for example hdd folder. Copy eeprom.bin to this folder.
2. Restore 8gb.bin (empty 8GB FATX hdd image created by xboxdumper) to target hdd connected via usb adapter. Use raw mode or bit-level restore. Example of such a tool: HDD Raw Copy Tool. EDIT: Alternative method in the next post.
3. Copy desired files to target hdd with xplorer360.
4. Lock target hdd with these instructions by running the command below in Command Prompt with Administrative Rights. You can do a search for Command Prompt in Windows and right-click on the item for the "Run As Administrator" option.
a.
CODE

smartctl -i /dev/sdX

where sdX is target hdd. Make sure the output matches your expectations of the target hdd in terms of size and model.
Possible values of sdX: sda, sdb, sdc and so on. If you are using Windows 32 bit, use smartctl-w32 instead.
b. Then lock once identity is confirmed
CODE

smartctl --set=security-eeprom-setpass,eeprom.bin /dev/sdX

where sdX could be sda or sdb and so on, matching the value in part a.
c. Confirm hdd is locked
CODE

smartctl --get=security /dev/sdX

where sdX could be sda or sdb and so on, matching the value in part a.

This post has been edited by ldotsfan: Sep 17 2012, 02:01 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ldotsfan
post Sep 17 2012, 02:11 PM
Post #37


X-S Messiah
*******

Group: Dev/Contributor
Posts: 3098
Joined: 23-March 08
Member No.: 376711
Xbox Version: v1.1
360 version: unknown



Alternative method of creating a xbox hdd:

Option:
1. Shell Script: See this thread
2. Create.c. A Linux/Windows program that does the same thing. But you'll need smartctl to identify the right hdd on Windows:
CODE

smartctl -i /dev/pd#

where # is 0,1,2,3 and so on. Identifying the target hdd to be partitioned/formatted with FATX.
CODE

create #

# has to be the same number used in smartctl.

This post has been edited by ldotsfan: Sep 17 2012, 03:20 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ldotsfan
post Oct 6 2012, 07:50 AM
Post #38


X-S Messiah
*******

Group: Dev/Contributor
Posts: 3098
Joined: 23-March 08
Member No.: 376711
Xbox Version: v1.1
360 version: unknown



The versions uploaded were buggy when tested with a locked hdd from a xbox. I've cross-checked against the code from xbox linux and corrected the bug.

I will upload Windows and Linux versions once I've rebuilt them. Uploaded version 1.1 to here.

This post has been edited by ldotsfan: Oct 6 2012, 04:59 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ldotsfan
post Oct 22 2012, 03:17 PM
Post #39


X-S Messiah
*******

Group: Dev/Contributor
Posts: 3098
Joined: 23-March 08
Member No.: 376711
Xbox Version: v1.1
360 version: unknown



smartmontools version 6.0 was released on Oct 10. I have patched the security and eeprom features to this version as well and will update the executables for Windows and Linux.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
guileppc
post Dec 11 2012, 01:21 AM
Post #40


X-S Enthusiast


Group: Members
Posts: 1
Joined: 11-December 12
Member No.: 466448



Hi guys. I came here because i only got Intel mobos so it's a no go to try locking drives with the Xcalibur boot cd.

I tried hdparm and smartctl using usb on my laptop but it didn't work (using Debian 6), both commands hanged. I tried on my Mac with Parallels and same problem, so it's my usb adapter.
Finally i tried with an Ubuntu Live CD (x64) and i managed to get the "smartctl --set=security-eeprom-setpass,eeprom.bin /dev/sdX" command working, but the drive is still not locked. The "funniest" thing is that hdparm launched on my laptop (Debian x86), but using my Live CD it keeps showing "command not found". Strange.
Really not easy. My XBox has already a modded drive but is only 8gb and i want to replace it with a 40gb.

I'm downloading a Debian x86 Live CD to test with hdparm. After that i think i won't have any more ideas. Anyone sees what i'm doing wrong ? (i know pretty much shell, but i'm totally new to XBox hacking)

Thanks wink.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





3 Pages V < 1 2 3
Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 19th May 2013 - 12:45 PM