xboxscene.org forums

Pages: [1] 2 3 ... 7

Author Topic: Set Mode-b From Windows  (Read 211 times)

podger

  • Archived User
  • Hero Member
  • *
  • Posts: 501
Set Mode-b From Windows
« on: September 15, 2008, 10:58:00 AM »

I posted on this topic before. 651006

This exe uses the same code base as Benq_Un_lock and DVDKey32. As I updated those to remove the requirement for the Ctrl base io port, I have updated the mode-b exe also.

 I made one other improvement... I replaced an "If" statement with a "While" statement... So the cdb will be sent continuously till the drive responds. It will print a "." each time it is aborted ot timesout, I changed the time out to 250ms also..

The idea is that that exe is launched with the Hitachi powered off... When powered-on it will accept the CDB and the exe will stop and say "done!"...

At this stage the the drive should be in mode-b and appear as a drive in windows straight away before it's has a chance to mess things up... Removing the need to reboot or or disable/re-enable the SATA controller....

Usage:
    power off Hitachi
    type: Mode-B.exe xxxx .... where xxxx is the port number
    power on the hitachi... it should be in mode-b and appear in windows.


you will be familiar with the port number from iPrep etc.. But see hte link above for details.

*** This driver is known to cause BSOD in some setups and is not fo all people. Also you need admin rights for the IO.ll to load***

I find this useful as I just hate rebooting my PC, it takes way to long to boot...

Also if you spoof a Hitachi Slax will not see it... so if you have a 78/79 spoofed with stock firmware this will help you out.

i will write a 16 version for Dos if someone wants it but for the moment I just couldn't be bothered....


http://rapidshare.co...Mode_B.rar.html
Logged

Ranger72

  • Archived User
  • Hero Member
  • *
  • Posts: 3746
Set Mode-b From Windows
« Reply #1 on: September 15, 2008, 11:06:00 AM »

Nice, Thanks again Podger.

Your work for the scene is incredible.
Logged

darkshadow2k8

  • Archived User
  • Full Member
  • *
  • Posts: 133
Set Mode-b From Windows
« Reply #2 on: September 15, 2008, 02:59:00 PM »

so this puts it in mode b without slax cool stuff u the man
Logged

Ree1981

  • Archived User
  • Jr. Member
  • *
  • Posts: 99
Set Mode-b From Windows
« Reply #3 on: September 15, 2008, 04:11:00 PM »

Sweet. Thanks Podger. This app will surely come in handy. God knows Slax wasn't perfect.
Logged

tezza192

  • Archived User
  • Jr. Member
  • *
  • Posts: 81
Set Mode-b From Windows
« Reply #4 on: September 15, 2008, 05:26:00 PM »

Nice one Podger, good work!
Logged

podger

  • Archived User
  • Hero Member
  • *
  • Posts: 501
Set Mode-b From Windows
« Reply #5 on: September 16, 2008, 09:25:00 AM »

I got bored and did the 16 bit version.... for those of you who may have issues with BSOD using the windows version.

It's all in this link and on Xbins also.

http://rapidshare.co...Mode_B.rar.html

to use it, just copy it the ModeB_16.exe. to you iPrep disk... to run it
type

ModeB_16 xxxx

where xxx is the iPrep port.
Logged

skyippo

  • Archived User
  • Newbie
  • *
  • Posts: 7
Set Mode-b From Windows
« Reply #6 on: September 16, 2008, 11:14:00 AM »

Hey podger,

I am a little bit lost, well quite a bit actually. Am I suppose to do what you did on the original thread that you posted on getting the hitachi into modeb in windows or just follow from this thread? Thanks!

Respectfully,
skyippo
Logged

podger

  • Archived User
  • Hero Member
  • *
  • Posts: 501
Set Mode-b From Windows
« Reply #7 on: September 16, 2008, 11:59:00 AM »

skyippo: all you need is here, the old post should be closed with a point to this one....
Logged

danooch13

  • Archived User
  • Newbie
  • *
  • Posts: 45
Set Mode-b From Windows
« Reply #8 on: September 16, 2008, 01:51:00 PM »

Just tried this last night.  I have a via 6421 sata chipset.

When I use dosflash to flash samsungs and benq's the port comes up as 9800.  So I typed mode_b 9800.  This made my machine "angrily" shut off.  On reboot, windows said it recoved from a serious error.  After that I tried again and added 0x0A to 9800 to get 980A.  Ran the command again and same thing.

Looked at the ports in msinfo.  Saw 9400, 9800 and about 4 other ones.  So I tried 9400 and same thing.  I have yet to try 940A.

Am I doing something wrong here?
Logged

dimmellee

  • Archived User
  • Newbie
  • *
  • Posts: 17
Set Mode-b From Windows
« Reply #9 on: September 16, 2008, 02:57:00 PM »

QUOTE(danooch13 @ Sep 16 2008, 09:27 PM) *

Just tried this last night.  I have a via 6421 sata chipset.

When I use dosflash to flash samsungs and benq's the port comes up as 9800.  So I typed mode_b 9800.  This made my machine "angrily" shut off.  On reboot, windows said it recoved from a serious error.  After that I tried again and added 0x0A to 9800 to get 980A.  Ran the command again and same thing.

Looked at the ports in msinfo.  Saw 9400, 9800 and about 4 other ones.  So I tried 9400 and same thing.  I have yet to try 940A.

Am I doing something wrong here?

 Does the same for me on my via 6421 chipset, and my port is 9800 too, but as stated the io has problems with some systems. Try booting into dos as you do for samsungs and then use the dos version, worked first go for me in dos.

This post has been edited by dimmellee: Sep 16 2008, 09:59 PM
Logged

danooch13

  • Archived User
  • Newbie
  • *
  • Posts: 45
Set Mode-b From Windows
« Reply #10 on: September 16, 2008, 02:35:00 PM »

Cool, will try that tonight and report back.

Did you use port 9800 or 980A?

Meaning did you add 0x0A?
Logged

SoNiC4520

  • Archived User
  • Newbie
  • *
  • Posts: 20
Set Mode-b From Windows
« Reply #11 on: September 16, 2008, 03:23:00 PM »

How do I know which port my drive is hooked up to? blink.gif
Logged

danooch13

  • Archived User
  • Newbie
  • *
  • Posts: 45
Set Mode-b From Windows
« Reply #12 on: September 16, 2008, 03:31:00 PM »

Well, what I did was annoying.  But what people seem to  be doing is using iprep and it will tell you the port it will use.

I would go that direction.
Logged

SoNiC4520

  • Archived User
  • Newbie
  • *
  • Posts: 20
Set Mode-b From Windows
« Reply #13 on: September 16, 2008, 03:34:00 PM »

Ok ill give that a try

Edit: I dont understand how to make it show the port

This post has been edited by SoNiC4520: Sep 16 2008, 10:51 PM
Logged

danooch13

  • Archived User
  • Newbie
  • *
  • Posts: 45
Set Mode-b From Windows
« Reply #14 on: September 16, 2008, 07:02:00 PM »

Ok.  I am home and tried it with modeb_16.  When I use dosflash, it sends the mtk vendor intro on port 9400.  So what I did was typed modeb_16 9400 and waiting until like 5 lines of dots appeared and saw nothing happoened.  I restarted the machine and am now trying the control base register 940A, which slax confirmed for me.  As of right now with 940A I have 8 lines of dots.  It shouldnt be taking this long right?

I plugged the drive in using a connectivity kit, after modeb_16 started drawing dots.  

Also a little info on this drive.  I have been playing with it for weeks trying to get it into modeb, but nothing.  Slax most of the time reported abnormal status after spinning up disk.

Any ideas?  Is this drive bricked?  What can I do?

QUOTE(SoNiC4520 @ Sep 16 2008, 06:10 PM) *

Ok ill give that a try

Edit: I dont understand how to make it show the port



Boot slax 2.1 (login to slax with user: root and pw: toor) and type dmesg | more and look for the following.  Hit enter to go through the lines.

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

When you see something like that, those are your ports.  I am still having trouble with it, but in this example there are 4 choices for ports (like I said I am still not sure which one is right yet, I posted a question already).  Here the ports are 1cc0 and 1cd0 and the control reg's are 1cca and 1cda

This post has been edited by danooch13: Sep 17 2008, 02:03 AM
Logged
Pages: [1] 2 3 ... 7