- 精华
- 27
- 帖子
- 19830
- 威望
- 53 点
- 积分
- 30386 点
- 种子
- 0 点
- 注册时间
- 2007-3-22
- 最后登录
- 2024-9-7
|
This exe is a win32 app that extracts the drive key from the Lite-On 360 drive via Serial.
Be warned: This win32 program does not use the windows API. The exe writes directly to the ATA controller's I/O ports (which requires Geek Hideout's I/O dll, which I have included in the rarr). It also requires that you be using an ATA - SATA adapter to connect your 360 drive to your PC, or an SATA controller that has a legacy mode (try the BIOS setup options on your controller).
Geremia - initial concept
C4eva - the CDB's and how to send them
Podger - for the code
Seventhson - for the userspace parallel ATA driver
-----------------------------------------------------------------------------------------------------------------
USAGE:
Dumps Inquiry String to Inquiry.bin & Drive Key to Key.bin
usage: DVDKey32 command_base control_base com_port
command_base: base register of ATA command block in hex (e.g. 1F0 or 170)
control_base: base register of ATA control block in hex (e.g. 3F6 or 376)
legacy mode sata: command base = i/o from msinfo32, control base = command base + 0x0A (usually)
com_port: 1 to 9
pio_mode: 16 or 32 (default: 16)
As with Geremia's dos16 exe, power the drive on before each attempt and with the tray half open...
e.g.
DVDKey32 1cc0 1cca 1
Command base register is the port you would generally get from iPrep
Control base register in the case of Via 6421 at least is (Command base register + 0x0A)
Com port that the serila adapter is attached to
If you have trouble with 16-bit transfer, which you shouldn't, then you can try 32-bit PIO transfers, using the 4th optional parameter....
Msinfo32 does not mention the Control base register... However, a slax boot disk does.. If you are having problem figuring out the control base register try this.
1. Boot from your Slax 2.1 cd
2. login to Slax user/pass root/toor
3. type: dmesg | grep sata
you should then see something like this:
sata_via 0000:04:0b.0: version 2.0
sata_via 0000:04:0b.0: routed to hard irq line 5
ata5: SATA max UDMA/133 cmd 0x1CC0 ctl 0x1CCA bmdma 0x1CA0 irq 22
ata6: SATA max UDMA/133 cmd 0x1CD0 ctl 0x1CDA bmdma 0x1CA8 irq 22
Line 3 is the first port in your card... line 4 is the second and so on...
看来还是在DOS下的好用啊...
有兴趣的可下载来搞搞:
. |
|