xboxscene.org forums

Author Topic: Development Thread For Hdtool.exe  (Read 360 times)

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Development Thread For Hdtool.exe
« on: March 13, 2010, 08:10:00 PM »

1. Makefile for hdtool.exe: http://pastebin.com/nkVmYpxh
2. Modified source for hdtool.c: http://pastebin.com/iBf6dVup
3. Get source for hdparm win32 (google filename: hdparm-6.9-1-src.tar.bz2) and deposit rawio.c in the same folder as hdtool.c, fs.h, hdreg.h and rawio.h in include subfolder of hdtool folder.
4. make.
 
hdtool is a Cygwin remake of hdtool from xbox linux. http://forums.xbox-s...&...t&p=4657231

Source came from hdparm source from sourceforge, work by Christian Franke and Linux kernel source. Hence I think GPL license applies.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Development Thread For Hdtool.exe
« Reply #1 on: March 30, 2010, 08:40:00 AM »

Change to rawio.h at http://pastebin.com/1ZkVz8zY

Change to hdtool.c at http://pastebin.com/g0JcM6Bm

To fix a bug with reading of eeprom.bin

Logged

tyldd

  • Archived User
  • Newbie
  • *
  • Posts: 18
Development Thread For Hdtool.exe
« Reply #2 on: April 24, 2010, 03:41:00 PM »

QUOTE(tyldd @ Apr 24 2010, 09:05 PM) View Post

hi!
i'm sorry for being a noob but oh well.

i'm wondering if you couldn't just compile a new version of your win32/cmd hdtool? as opposed to offering modified source files.. because i'm having troubles with eeprom reading while attempting to lock a new drive..

thanks for all the hard work!  love.gif

i've managed to find a way (DOS-on-USB) to lock the hd using a pw i got from the evox dashboard backup. but it ended up in a E#06 lol. so it would still be interesting to see a new compiled version, maybe locking directly with eeprom would work?  rolleyes.gif
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Development Thread For Hdtool.exe
« Reply #3 on: April 24, 2010, 07:03:00 PM »

QUOTE(tyldd @ Apr 25 2010, 05:41 AM) View Post

so it would still be interesting to see a new compiled version, maybe locking directly with eeprom would work?  rolleyes.gif


 cool.gif Was already done
Logged