xboxscene.org forums

Pages: [1] 2 3 ... 40

Author Topic: Editing Mtkflash To Work With Your Sata Chipset  (Read 1950 times)

Grim187

  • Archived User
  • Hero Member
  • *
  • Posts: 2036
Editing Mtkflash To Work With Your Sata Chipset
« on: May 20, 2006, 08:58:00 AM »

Editing MTKFlash to Work With Your SATA Chipset
3 Step Guide to Get Your Drive Recognized

Will my Chipset work?
What drive do you have?
Hitachi: most likely but you wont be able to use mtkflash so you have no need for this tut.
MS25: as long as its not a sil then yes it will.
MS28: as long as its not a sil you can use the vcc trick, altho its a lot easier if you have a via sata chipset and use the 10sec trick.


Note: This TUT is Out Dated, Please Try Xtreme Bootmaker Before Continuing (link)



Stuff you will need
HEX Editor (Hex Workshop is Recommended)
SATA Controller Card or an Onboard SATA Controller (Should tell you in your mobo/computer specs/manual)
If you do not have a SATA Controller You can most likely find one at your local Computer store or online (The Best to get is a Via VT6421l, Find the Best Price on Froogle)


1. Finding out What SATA Chipset You Have
If you have a SATA Controller Card it should say on the Box, In the Manual or on The Chip itself, If you have a Onboard Check your mobo/Computer Manufacturers Website

Example:
Onboard:  VIA KM400 / 8237 = VIA 8237 SATA Chipset
SATA Controller Card: VIA 6421


2. Finding The Correct Values
Install your SATA Controller's Driver (If it isn't Already Installed).

You will need to Open up MSInfo32.exe (Start>Run, Type "MSinfo32.exe" w/o Quotes, Press OK), with MSinfo open (Should Look Something Like This) Click the + next to "Components", Click the + next to "Storage" Now Click on SCSI (Some Chipsets Have this Info under IDE) You Should See Something That looks Like This

Name   Serial ATA Controller
Manufacturer
Status   OK
PNP Device ID   PCI\VEN_2211&DEV_4433&SUBSYS_31491106&REV_80\3&61AAA01&0&78
I/O Port   0x00006655-0x000066A2
I/O Port   0x00000000-0x00000003
I/O Port   0x00008877-0x000088A4
I/O Port   0x00000000-0x00000003
I/O Port   0x00000000-0x0000000F
I/O Port   0x00000000-0x000000FF
IRQ Channel   IRQ 20
Driver   c:\windows\system32\drivers\driver.sys (5.1.2600.201, 74.63 KB (76,416 bytes), 5/15/2006 7:00 AM)

All of that Should Look Different in Your Info, Next to Name it Should Say Something About "Serial ATA" if it Doesn't Try Scrolling Down, Make Sure Your in the Right Place or Check in IDE,
What You Are looking For in This is 8bytes (16 Numbers/Letters) That MTKFlash Can Identify Your Chipset with, The First 4bytes are Found in The "PNP Device ID" (2 Numbers/Letters = one byte)

PNP Device ID   PCI\VEN_2211&DEV_4433&SUBSYS_31491106&REV_80\3&61AAA01&0&78

So From This Example Your Line So Far Should be 11223344 (Need it Explained Better? Click Here)
The Next 4Bytes are Found in 2 Different Lines of "I/O Port" Hex Values, You Want to Identify The 2 Lines That Have a 7Byte Difference (These are Commonly the 1st and 3rd Lines), Extract the Last 4 Digits of the First Section of Numbers/Letters from Them and Swap the 2 Bytes (As You did with The "PNP Device ID" Line)

I/O Port   0x00006655-0x000066A2
I/O Port   0x00008877-0x000088A4

This is Only Known to Work if You Use The 2 "I/O Port" lines With a Difference of 7 in Order (as Shown Above) (Altho some Don't have a Difference of 7, In this Case Just Use lines 1 and 3 as if they had a Difference of 7), As They are Values for The Master and Slave Channels of The SATA Controller,
So in this Example Your line Should be 55667788 (Need it Explained Better? Click Here),
Put Together The 4bytes of Hex (8 Numbers/Letters) That You Have From The "PNP Device ID" Line and the 4 You have from The "I/O Port" Lines and You Have The Values You Need to Insert in to Your MTKFlash.exe File.


3. Injecting Chipset's Hex Values

Now Open up MTKFlash.exe in Your Hex Editor (Hex Workshop: Right Click on the file and Click "Hex Edit using Hex Workshop"), Your Hex Editor Should have a Goto Function (Hex Workshop: Ctrl+g (If your Hex Editing Program doesn't have this Function Scroll to the Bottom and look for Chipset Names) Open it and put in B370 in Hex, Make Sure You have it "Start at the Beginning" of the file, Once here you should See in the Text part, The Names of ChipSets ICH5,VIA8237,NV NForce3,ect. (Should Look Something Like This),
If Your Chipset is in Here that's Good You can compare the Actual Hex Value's to the ones "On File" and if There not the Same Change What you Need to, The Info for a Chipset is 1byte (2 00's In Hex) Before the Name of That Chipset (in TXT),If Your Chipset is Not Here You Can Just Edit one That is (I do Not Recommend Creating a New one), For Example Say i Have a VIA8237 Chipset These are The Values That i Would Edit (Don't Edit the 00 in RED)
IPB Image
To Conclude the Example's in Step 2 (Don't Edit The Selected 00's)



I know there's still a lot of people having trouble getting mtkflash to recognize there 360 drive, although this is not a tutorial on getting your drive recognized I am here to help so for all of you guys still having trouble try these steps:

1.Unplug Sata Cable

2.Boot to dos

3.Boot to dash

4.Connect Sata Cable

5.Run "MTKFlash r /m /sata orig.bin" (if your chipset info shows up here Select it, if it doesn't continue with 6 and 7)

6.Hit ESC

7.Run "MTKFlash r /m sata orig.bin"

make sure to only select the name of your chipset(or the one that you edited the values in under), if it doesn't show up the 2x then try a 3 time, if it still hasn't shown up then you need to go back to editing mtkflash(try editing in "F001 7001" as the last 4 digits)


If you are Having Problems Dumping/Flashing your MS28 Drives Firmware and Have a Via Chipset Try These Steps

1. After Running MTKFlash (with your chipset as an option) Turn off your Drive

2. Select your Chipset in MTKFlash

3. Quickly Turn the Drive Back on (you only have 10sec After making the selection to turn the drive back on)

I have Heard of Limited Success using this Method on Chipsets Other then VIA


I Recommend using a Newer (Brand New is the Best) Floppy disk as you will be writing your firmware on to it and will need it to be error free and i suggest that you only write to your drive from your hdd or Thumb Drive not a floppy (you want the lease amount of errors when writing back)

Write from HDD Mini-TUT

1. put the file you want to write and your edited MTKFlash in the main Dir of your hdd (usually C:\)

2.1. If you have a Fat Partition: Run dos, at the A:\ Prompt type "C:\" (with out quotes) and you should now have a C:\ prompt

2.2 if you have a NTFS Partition: Download NTFS Dos <download link>, extract all the files from the zip file to the floppy, boot in to dos, type "ntfsdos" (without quotes) and hit enter, it will run and mount your hdd (usually D:) then type in the drive letter (Example: D:\) and hit enter,

3. now Run MTKFlash and Flash your TS Drives Firmware




Credits:
Geremia (XBH)
Everyone at XS and XBH
A Special Thanks to Commodore4Eva


If you Have Any Questions/Comments Feal Free To Email me [email protected]
Logged

nachomans

  • Archived User
  • Full Member
  • *
  • Posts: 196
Editing Mtkflash To Work With Your Sata Chipset
« Reply #1 on: May 20, 2006, 10:30:00 PM »

Excellent work... biggrin.gif
Logged

gords

  • Archived User
  • Newbie
  • *
  • Posts: 3
Editing Mtkflash To Work With Your Sata Chipset
« Reply #2 on: May 21, 2006, 12:56:00 AM »

Yes great tute, helped me get MTKFlash working on my mobo.
Logged

geebee

  • Archived User
  • Full Member
  • *
  • Posts: 202
Editing Mtkflash To Work With Your Sata Chipset
« Reply #3 on: May 21, 2006, 02:06:00 AM »

i have added this to the big tutorial...great work Grim
Logged

fredward

  • Archived User
  • Newbie
  • *
  • Posts: 24
Editing Mtkflash To Work With Your Sata Chipset
« Reply #4 on: May 23, 2006, 05:18:00 PM »

Name   VIA VT6421 RAID Controller   
Manufacturer   VIA Technologies, Inc.   
Status   OK   
PNP Device ID   PCI\VEN_1106&DEV_3249&SUBSYS_32491106&REV_50\3&267A616A&0&60   
I/O Port   0x0000B000-0x0000B00F   
I/O Port   0x0000A800-0x0000A80F   
I/O Port   0x0000A400-0x0000A40F   
I/O Port   0x0000A000-0x0000A00F   
I/O Port   0x00009800-0x0000981F   
I/O Port   0x00009400-0x000094FF   
IRQ Channel   IRQ 17
Logged

BALLIN5

  • Archived User
  • Newbie
  • *
  • Posts: 22
Editing Mtkflash To Work With Your Sata Chipset
« Reply #5 on: May 23, 2006, 07:24:00 PM »

i guess i have no scsi driver installed on my computer because i get no information at all when selecting system information components ans then selecting scsi the information is blank! I currently have a sata harddrive connected and its my main harddrive but system info doesnt like to show me anything!

I have a ms-7184 motherboard and a ati ixp 450 southbridge now where do i get the drivers for viewing sata system info so i could have my 360 drive found when using mtkflash!
Logged

oisuxx

  • Archived User
  • Newbie
  • *
  • Posts: 40
Editing Mtkflash To Work With Your Sata Chipset
« Reply #6 on: May 23, 2006, 08:18:00 PM »

im having some trouble

since it wass 2 sets of numbers i cant tell which way to chang em



PNP Device ID   PCI\VEN_1106&DEV_3149&SUBSYS_18991019&REV_80\3&13C0B0C5&0&78

so it sould be 60119413

then

I/O Port   0x0000B400-0x0000B407
I/O Port   0x0000B800-0x0000B803
 
004b008b?
Logged

macmanx

  • Archived User
  • Newbie
  • *
  • Posts: 3
Editing Mtkflash To Work With Your Sata Chipset
« Reply #7 on: May 23, 2006, 07:50:00 PM »

QUOTE(oisuxx @ May 24 2006, 02:49 AM) View Post

im having some trouble

since it wass 2 sets of numbers i cant tell which way to chang em
PNP Device ID   PCI\VEN_1106&DEV_3149&SUBSYS_18991019&REV_80\3&13C0B0C5&0&78

so it sould be 60119413

then

I/O Port   0x0000B400-0x0000B407
I/O Port   0x0000B800-0x0000B803
 
004b008b?


You should have:
06114931

And:
00B400B8

The problem though is that your I/O Port's may not be right (their difference is greater than 7).  Can you provide all your I/O Ports?
Logged

smash_linux

  • Archived User
  • Newbie
  • *
  • Posts: 19
Editing Mtkflash To Work With Your Sata Chipset
« Reply #8 on: May 23, 2006, 08:42:00 PM »

I/O Port   0x00009400-0x0000943F
I/O Port   0x00009000-0x0000900F
I/O Port   0x00008800-0x0000887F

Which one of these I/O Port have a difference of 7?

Thanks!
Logged

macmanx

  • Archived User
  • Newbie
  • *
  • Posts: 3
Editing Mtkflash To Work With Your Sata Chipset
« Reply #9 on: May 23, 2006, 09:25:00 PM »

QUOTE(smash_linux @ May 24 2006, 03:13 AM) View Post

I/O Port   0x00009400-0x0000943F
I/O Port   0x00009000-0x0000900F
I/O Port   0x00008800-0x0000887F

Which one of these I/O Port have a difference of 7?

Thanks!


None of them do.  Can you provide a a text read out of all the information listed under the SCSI section?
Logged

fredward

  • Archived User
  • Newbie
  • *
  • Posts: 24
Editing Mtkflash To Work With Your Sata Chipset
« Reply #10 on: May 23, 2006, 10:07:00 PM »


Name   VIA VT6421 RAID Controller   
Manufacturer   VIA Technologies, Inc.   
Status   OK   
PNP Device ID   PCI\VEN_1106&DEV_3249&SUBSYS_32491106&REV_50\3&267A616A&0&60   
I/O Port   0x0000B000-0x0000B00F   
I/O Port   0x0000A800-0x0000A80F   
I/O Port   0x0000A400-0x0000A40F   
I/O Port   0x0000A000-0x0000A00F   
I/O Port   0x00009800-0x0000981F   
I/O Port   0x00009400-0x000094FF   
IRQ Channel   IRQ 17   
Driver   c:\windows\system32\drivers\viamraid.sys (5.1.2600.520, 90.50 KB (92,672 bytes), 5/18/2006 5:43 PM)
Logged

smash_linux

  • Archived User
  • Newbie
  • *
  • Posts: 19
Editing Mtkflash To Work With Your Sata Chipset
« Reply #11 on: May 23, 2006, 09:34:00 PM »

QUOTE(macmanx @ May 23 2006, 11:32 PM) View Post

None of them do.  Can you provide a a text read out of all the information listed under the SCSI section?


Name   WinXP Promise FastTrak 376 ™ Controller
Manufacturer   Promise Technology
Status   OK
PNP Device ID   PCI\VEN_105A&DEV_3376&SUBSYS_809E1043&REV_02\3&61AAA01&0&70
I/O Port   0x00009400-0x0000943F
I/O Port   0x00009000-0x0000900F
I/O Port   0x00008800-0x0000887F
Memory Address   0xDB000000-0xDB000FFF
Memory Address   0xDA800000-0xDA81FFFF
IRQ Channel   IRQ 16
Driver   c:\windows\system32\drivers\fasttx2k.sys ( 1.00.0.15, 133.25 KB (136,448 bytes), 21/04/2004 8:22 PM)

My mobo is a P4S8X with a SiS 963 chipset.  I tried to find someone that has that mobo but didn't find anything on the board.  Thanks.
Logged

Grim187

  • Archived User
  • Hero Member
  • *
  • Posts: 2036
Editing Mtkflash To Work With Your Sata Chipset
« Reply #12 on: May 24, 2006, 01:42:00 AM »

i am working on a solution to this, if i find a fix i will have a mod amend my post
Logged

dUUden

  • Archived User
  • Newbie
  • *
  • Posts: 5
Editing Mtkflash To Work With Your Sata Chipset
« Reply #13 on: May 24, 2006, 04:56:00 AM »

How dou u see the 7 byte difference in

I/O Port 0x00006655-0x00006662
I/O Port 0x00008877-0x00008884


ok im just a bit slow (IMG:style_emoticons/default/tongue.gif)

6662-6555=7 duh

This post has been edited by dUUden: May 24 2006, 12:01 PM
Logged

Grim187

  • Archived User
  • Hero Member
  • *
  • Posts: 2036
Editing Mtkflash To Work With Your Sata Chipset
« Reply #14 on: May 24, 2006, 04:22:00 AM »

QUOTE(dUUden @ May 24 2006, 03:27 AM) View Post

How dou u see the 7 byte difference in

I/O Port 0x00006655-0x00006662
I/O Port 0x00008877-0x00008884
 uhh.gif

ya that isent really right in hex

6655+7=666D
8877+7=888E

but i think that would have confused people that dont understand hex
Logged
Pages: [1] 2 3 ... 40