yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] jongi:
you should probably state in your op whether mtty is a once off run or needs to be run at every flash. The information is probably somewhere in the thread but it has to be said it is more efficient to have it in the op.
[Touch Diamond, MDA Compact IV ROM Development] xaoc747:
See I have this one!

What I must make 1st of all and then step by step!?!?
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

Surely that is obvious?

If you need to MTTY before you flash a new rom surely it must be obvious that you need to use MTTY beore you flash a new ROM?

I dont mind helping people that are stuck, but im not here to spoon feed the idiots!!

MG
[Touch Diamond, MDA Compact IV ROM Development] xaoc747:
I see you are very intelligent and sharp on the word!? The worddiarrhea is not rate your slope!
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

OK, firstly you havent asked me a question so i dont know where you are getting problems.

can i suggest that if you are having an issue you actually ask me a question.

from the STUPIDLY big screenshot i can see that you have not installed the drivers for mtty, you also have not disabled usb connections in active sync.

In answer to your question READ POSTS 2 & 3, I don't know how much more step by step you need!!!

start with post 2, read it and then complete step 1-13

then move to post 3, read it then complete 1-8

MG
[Touch Diamond, MDA Compact IV ROM Development] xaoc747:
Thank you! I'll try!
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Thankyou!

??? Dude all im saying is if you have a question you need to ask me, i cannot figure out what exactly you want from what you sent in your message!!

MG

I will help you out but you need to tell me what step you are stuck with!!!

MG
[Touch Diamond, MDA Compact IV ROM Development] xaoc747:
MysticGenius I have Windows7 32bit and I've a problem on (6a: Press enter first to get prompt (Will Show as EITHER USB> or CMD> - Personally Mine Showed CMD>) I put an ENTER on my notebook and nothing, so what I'm doing wrong?
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

when you launch MTTY do you have the option to launch MTTY with USB?

there should be a button on the right hand side, the very bottom one.

MG
[Touch Diamond, MDA Compact IV ROM Development] xaoc747:
No! see my screen above!
[Touch Diamond, MDA Compact IV ROM Development] ianaluve:
HELP!!!!!!!!!

Hi Mystic,

I followed your instructions for using mtty upto 6d. Before I could disconnect the usb, my diamond rebooted. I immediately disconnected, pressed VOL DWN, looked at the post, realized I should have been pressing the Back [small arrow] button, did so, and then realized that last bit about pressing the back button was for using mtty when flashing from internal storage, so I let go of the back button, remained pressing the VOL DWN button but by this time my diamond had already started to boot. But it was stuck on the Vodafone Welcome Screen [I was using Dutty's Rom previously].

From what I read on the post, there's no rom in there for it to boot. I've done some perhaps silly things in panic. I performed a soft reset, and nothing happened. I connected it to the USB; active sync doesnt recognise it, neither did the custom RUU tool when i thought of reflashing my Dutty ROM. My computer [XP] isnt even recognizing it as a removable disk.

So the big question is - is my diamond now useless?

If not, what can I do?
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

ok then this means that something has gone wrong with your driver install.

have you followed post 2 and used the x86 drivers for active sync?

MG
[Touch Diamond, MDA Compact IV ROM Development] zenity:
Thanks for this thread, Easy to understand, and provided you follow the steps carefully, works perfectly, no more strange problems with my much flashed Diamond.

I agree, this thread NEEDS to be stickied. ( And WIKI'd ).
[Touch Diamond, MDA Compact IV ROM Development] Nirak:
did you perhaps forgot to recheck the 'allow USB connections' in activesync? (it's turned off while using MTTY).
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Thanks, glad to help!

and im glad you found it easy to follow!!!

MG
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi all,

I answered this by PM so ill post the same here so all can see:
[Touch Diamond, MDA Compact IV ROM Development] ianaluve:
Re:

Yo dude. Thanks for responding. I had tried that but it still wasnt recognizing it. My Diamond's flashing as I type so everything's alright now. Thanks : )
[Touch Diamond, MDA Compact IV ROM Development] ianaluve:
Re:

DUDE! Thank you! My Diamond's back in business! Woo Hoo!

Thanks all

Ian
[Touch Diamond, MDA Compact IV ROM Development] awaisanwaar:
@mystic

can i use mtty with hard spl 1.93 ?
[Touch Diamond, MDA Compact IV ROM Development] sakare11:
hye MysticGenius...

can i also update radio using MTTy from internal storage,its same way how to update rom?...its better than im using RUUupdater?using MTTy more stable,its right MysticGenius?...
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

dont MTTY before flashing a radio!! you will lose your rom install!!

just copy the radio ndh file to your internal storage and rename it DIAMIMG.nbh and just flash as if you were flashing a rom.

No need to MTTY before radio flash!

MG
[Touch Diamond, MDA Compact IV ROM Development] sakare11:
u mean while installing rom, i must put the radio file to internal storage...its install it together,im right?...sory for noob question...
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

the only way to flash both at the same time is if the ROM chef has cooked in a radio to the ROM your flashing, other than that No, you cant install them together.

to flash from internal storage the image needs to be named "DIAMIMG.NBH" since in windows you can only have 1 file with the same name you have to flash Radio then Rom (or ROM then radio).

the procedure i follow is:

1: Flash radio first before ROM update (NO MTTY)

2: MTTY

3: Flash new ROM

i do this because if anything goes wrong with the radio flash you can fix it before wiping your phone!

MG
[Touch Diamond, MDA Compact IV ROM Development] sakare11:
now i understand it...

thank a lot for replying and give a good answers...:D
[Touch Diamond, MDA Compact IV ROM Development] daytona789:
I had the code 10 driver error also. I just deinstalled the drivers completely and reinstalled with the ones from the first thread. Then I was able to select USB.
[Touch Diamond, MDA Compact IV ROM Development] subratkpatra:
Hi There... I've had a bad experience with one of the ROM's and now thinking of flashing it thru mtty... could u pls tell if i will loose all the data in internal storage by typing "task 49".. also on step 1 i.e. set 14 0 i get this output

Cmd>set 14 0

HTCST ÚÈÒHTCE

Cmd>

Is this ok!!!
[Touch Diamond, MDA Compact IV ROM Development] Shark_XXL:
No, you won't loose the internal storage data, this won't be touched by mtty. Only phone storage.

@ MysticGenius

Had issues due to a bad flash and mtty solved all my problems :)

thx for this great tutorial!! :)

regards
[Touch Diamond, MDA Compact IV ROM Development] 14andrewh:
Hi MysticGenius, great job with this thread! Until I started playing with 6.5.1 really didn't have a need for mtty - but now.. to ignore just causes all sorts of gremlins after a couple of days of usage.

Thanks again :D
[Touch Diamond, MDA Compact IV ROM Development] apple79:
Great work by the way!! Sorry for the NOB question,but how do I download this MTTY program? Like where is the download directory? Thanks for your help by the way. One last question, is it recommended to do a MTTY before and after Flashn a Rom, and lastly doing a Hard Rest at the end?
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Nice work, finally someone who has got round it!!

I have been trying to get the "Code 10" driver error but havent been able to get it!

thanks for your fix

MG
[Touch Diamond, MDA Compact IV ROM Development] skilty:
thanks for the reply,

got it running without the drivers (well it showed the usb option anyway), i've followed the rest of your instructions from there.. hopefully it'll solve some of the weird flashes i've done recently..

thanks for the guide :D
[Touch Diamond, MDA Compact IV ROM Development] @antonio@:
hi

I have 29 tasks running these results:

Cmd>task 29

Format BINFS start

Fill RSVD information for block 288 to 321

CE start sector=0x14, total sector of CE and TFAT=0x14

CE start start block=321, total block=1727

ERASE block 928 FAIL !!!

Write 0xFF start page=0x5040, total page=0x1AFC0

Format BINFS end

with the command "task 28 55aa"

I could solve my problem?

I confirmed that not format the memoryNand?

grazie
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

you are using the wrong commands!!!

I dont know what task 29 does!!!
[Touch Diamond, MDA Compact IV ROM Development] Reb0rn:
ROFL maybe it was good we didnt make it that easy for ppl to get this to work ... can one actually brick ones phone with the MTTY?
[Touch Diamond, MDA Compact IV ROM Development] makeveral:
good job MysticGenius! this was really needed :)
[Touch Diamond, MDA Compact IV ROM Development] robinbb:
Seconded. At last I have MTTY running OK! Ta
[Touch Diamond, MDA Compact IV ROM Development] @antonio@:
thanks I have resolved:

Cmd>task 28 55aa

Format start

Fill RSVD information for block 288 to 321

Storage start sector=0x9600, total sector=0x11040

Storage start block=633, total block=1089

Total Bad Block in CE: 0

Erase physical block from 923 to 2048

formatstorage Bad block found: 1216

Format end

:) ;)
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Im really glad this is helping people, i just with it could be stickied!!!

(It should be stickied!!)

MG
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
No Problem!!

MG
[Touch Diamond, MDA Compact IV ROM Development] epiphone:
Gee, @antonio@ you got the exact same issue as I see thread below.... but I haven't tried task 28 55aa yet (although task 28 didn't work). Can you describe how you got yourself into that fix in the first place? I am still wondering what hit me.

http://xdaforums.com/showthread.php?t=539958

I booked my phone in to the HTC fellows but they just called back saying my mobo is fried and are asking for a phenomenal sum to get it repaired... am now hoping that they don't know about MG's mtty method and it can work! :)
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
I thinkk you should try the exact procedure i prescribed.

including "set 14 0" "task 28 55aa", "task 0" and double hard reset!

Just follow the instructions exactly and i think you will be fine.

You cannot "fry" the mobo on these phones, to do so you would have to microwave the device! or put a crack in the mobo through dropping it.

I dropped mine in the toilet the other day, i turned it off, took the case of it, let it dry for a few hours, reassembled it and it worked!! - these phone pretty tough!!

I do not believe what they are saying and i think they are trying to get some more money from you!!

Does your device turn on? yes.... so no fried mobo!!!

when do you get you device back?

MG
[Touch Diamond, MDA Compact IV ROM Development] epiphone:
Haha.... damn dude... hope you disinfected your phone! :)

I can't wait to try your method and prove that xda community is one up against htc folks! Not sure when they will return the set, think should be this couple of days. They did however manage to already make some money from me anyhow... there is a minimum charge just for booking it in.

I will make sure I report back to your thread my results, good/bad. I can indeed turn on my phone, get into bootloader, and see "Serial" change to "USB" when I try to flash via PC.
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
lol yeah!!!

Do you not have insurance from your provider? why did you take it directly to htc?

also how old is you device? (how long since you paid for it!!)

also what did htc want to charge you? (if this fais i may be able to help you out in a different way ;):D)

Im pretty sure if you can get to that you will not have an issue, just DONT flash the NRGZ rom again until you get a rom onto your device and working.

I would try BSB or a stock rom before the ENERGY rom.

MG
[Touch Diamond, MDA Compact IV ROM Development] epiphone:
They are quoting me something like 350 USD to get the mobo changed, which is exactly what I kinda paid for the phone in June 2008 when I first bought it first hand. It has been more than a year so I do not have anymore warranty left.
[Touch Diamond, MDA Compact IV ROM Development] MrAdelphi02:
Thank you for this thread, but I can't seem to make this work!!!

I have Windows 7 Ultimate, but even rebooting the computer in 'Ignore digitally signed drivers' still wont let me update the x64bit driver...

My download isn't wce_x64.inf as in the very well presented pictures, but instead it shows up as wceusbsh.inf

Is the download correct???
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
yeah the download is correct, the images were supplied by someone else (credited in the first post)

wceusbsh.inf is correct, i think i stated that in the instructions.

mmm seems odd, i have this installed on 7 Ultimate also and it worked, you can either try again or.... i am actually doing a fresh install of windows 7 tonight, so if you can wait i will see whats going on.

i can assure you that this method is SPECIFICALLY for windows 7 and Vista with many successes.

I would suggest, connecting your device is bootloader mode, go to your system/device manager and uninstall the device completely.

disconnect, reboot your system, then start from post 1 step 1.

Best of luck, (i will try also tonight, im pretty sure Reb0rn in the thread has this working on Win7 x64!!)
[Touch Diamond, MDA Compact IV ROM Development] Reb0rn:
yup... works for me... but i got my drivers from another source then the ones u have here thou... maybe its that...

Maybe i should send u them as i can assure you they work in Win 7 Ultimate final with my "start without verified digital signature bla bla bla" **** on x64:P
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Yeah that would be great!! ill note you my email

MG
[Touch Diamond, MDA Compact IV ROM Development] Reb0rn:
Sweet ;) Those drivers work 100% tested as long as you follow the guide.
[Touch Diamond, MDA Compact IV ROM Development] epiphone:
Report : Still cannot fix my problem. I think the problem is in the "Total Bad Block in CE: 1".... others are seeing it at =0.

Cmd>set 14 0

HTCST ÚÈÒHTCE

Cmd>task 28 55aa

Format start

Fill RSVD information for block 288 to 321

Storage start sector=0x10EC0, total sector=0xA100

Storage start block=1116, total block=644

Total Bad Block in CE: 1

Erase physical block from 1407 to 2048

Format end

Cmd>task 0 <- I can't get the device to reboot with this command...

Anyone know other ideas? Seems this fellow has a similar issue, he mentioned something about changing his nand chip... how do I do that? I tried some of the commands he did when tried on my set:

Cmd>info 8

--- 2K bytes sector version ---

DEVICE NAME=samsung_k9k2g08

DEVICE ID=0xAA

DEVICE MAKER ID=0xEC

PAGE SIZE=0x800

TOTAL PAGE SIZE=0x840

BLOCK COUNT=0x800

BLOCK PAGE=0x40

Checking block information

BLOCK 0 (0x0) is reversed block

BLOCK 1 (0x1) is reversed block

BLOCK 2 (0x2) is reversed block

BLOCK 3 (0x3) is reversed block

BLOCK 8 (0x8) is reversed block

BLOCK 10 (0xA) is reversed block

BLOCK 11 (0xB) is reversed block

BLOCK 12 (0xC) is reversed block

BLOCK 13 (0xD) is reversed block

BLOCK 14 (0xE) is reversed block

BLOCK 28 (0x1C) is reversed block

BLOCK 29 (0x1D) is reversed block

BLOCK 30 (0x1E) is reversed block

BLOCK 31 (0x1F) is reversed block

BLOCK 226 (0xE2) is bad block <=========== this should be the root of my issue?? My RUU flash always shows ERROR 226

Partition[0], type=0x20, start=0x2, total=0x63E

Partition[1], type=0x23, start=0x640, total=0x8C0

Partition[2], type=0x25, start=0xF00, total=0xF040

Partition[3], type=0x4, start=0xFF40, total=0xB080

CE Total Length(with sector info) = 0x801FA00

CE CheckSum Length(without sector info) = 0x7FA0000

http://xdaforums.com/showthread.php?t=493595
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

sometimes the outputs look slightly different depending on device and computer.

and you want to use "task 29" not "task 49" as you stated in your post

MG
[Touch Diamond, MDA Compact IV ROM Development] atifsh:
and task 29 doesnt clean internal storage. :)
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Glad to help!! vote for sticky!!

take care

MG
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
ROFL!!

you nearly made me choke on my breakfast!!! nice typo!!

OK, firstly, get MTTY here:

(I put it in the 2nd and 3rd post! :))

Second, ONLY use MTTY BEFORE flash. MTTY formats the area of memory where the rom is held, so using MTTY before you flash AND after will do the following:

1:MTTY Formats

2:ROM Flash and populates the freshly formatted memory

3:MTTY Formats again

4:User tries to start phone and wonders why it wont start!!

Its like a PC, you format, you reinstall windows but once windows is reinstalled you dont format it again.

Hope this helps

MG
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
No, just the BinFS

MG
[Touch Diamond, MDA Compact IV ROM Development] atifsh:
yup i know that, that was just the extension of ur answer before that. u skiped this part of his question :)
[Touch Diamond, MDA Compact IV ROM Development] apple79:
Hey thanks soo much for clearing it up! Sorry I made you almost choke during your breakfast, what would we all do without you. Before I use the MTTY, I should install the hard spl? Or after? Thenflash it? Like whenever I do the Mttydo I have to re-install the hard spl? Thanx again for you help!
[Touch Diamond, MDA Compact IV ROM Development] apple79:
Hey thanks soo much for clearing it up! Sorry I made you almost choke during your breakfast, what would we all do without you. Before I use the MTTY, I should install the hard spl 1.93 olinex? Or after? Then flash it? Like whenever I do the Mttydo I have to re-install the hard spl? Thanx again for you help!
[Touch Diamond, MDA Compact IV ROM Development] alias_scg:
problem or not ?!?

Hello,

I have problem during MTTY.

I'm using XP and this is difference btw screen you show in MTTY proces:

Cmd> set 14 0

HTCST ÚČŇHTCE

Cmd>task 29

Format BINFS start

Fill RSVD information for block 288 to 321

CE start sector=0x14, total sector of CE and TFAT=0x14

CE start start block=321, total block=1727

ERASE block 280 FAIL !!!

ERASE block 470 FAIL !!!

ERASE block 954 FAIL !!!

Write 0xFF start page=0x5040, total page=0x1AFC0

Format BINFS end

Cmd>task 8

Is MTTY done or not?

reg
[Touch Diamond, MDA Compact IV ROM Development] zenity:
Seems that there are a few differences in the output from the task 29 command.

Cmd>set 14 0

HTCST ÚÈÒHTCE

Cmd>task 29

Format BINFS start

Fill RSVD information for block 288 to 321

CE start sector=0x14, total sector of CE and TFAT=0x14

CE start start block=321, total block=1727

ERASE block 157 FAIL !!!

ERASE block 594 FAIL !!!

Write 0xFF start page=0x5040, total page=0x1AFC0

Format BINFS end

Cmd>task 8

Notice the different 'FAIL !!!' notices.

However this does not seem to have any impact on the eventual outcome, namely, after running Task 29, your Diamond's OS 'partition' has been formatted and is now ready for flashing :)

Just noticed a difference in the set 14 0 command too, possibly there are some minor differences in the Diamond's firmware that we don't usually see?
[Touch Diamond, MDA Compact IV ROM Development] alias_scg:
If I understand you this is ok?

I can flash it now?

thx
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
LOL no probs, you should definately install hardSPL first, and you only need to install it once. radio, rom and hardspl are all installed to different places.

MG
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
which part?

MG
[Touch Diamond, MDA Compact IV ROM Development] pedmond:
It really is time to make this a sticky... Please?
[Touch Diamond, MDA Compact IV ROM Development] mr.vic:
hey guys, need some advice because i think i bricked the phone. :/

took a few tries but got the drivers working on my win7 x64 laptop

tried to load the Hard SPL program, each time it would fail, tried several times. connection failure

in bootloader it says i have

DIAM110 64M

SPL 1.93.0000

realizing i couldnot install hard spl for whatever reason, I moved on to mtty

followed the steps as directed, had the diamimg.nbh file in root folder, restarted device and it went to grey screen and said loading. it stalled and didnt do anything. i tried to reset device, it resets and now when i turn it on it stops at rogers logo doesnt go past this screen.

I restarts phone, enter bootloader screen. it flashes error message no image file, then displays new message "trigger USB Host..." i tap screen few times, plug in usb cable and get the 3 stripe color screen again, with the grey section on bottom saying USB (uplug USB it says serial)

I try instal hard spl again. seems to work, gets to a progress bar but doesnt get past 0%. after a few minutes it gives error 262 and wants to go through a recovery process. followed instructions for recovery but didnt resolve the problem. also the device isnt recognizable in windows when connected with the usb cable.

is there a way to recover the device?

thanks.
[Touch Diamond, MDA Compact IV ROM Development] AlAneed:
This is really a great tool :)

Sorry but, is it working with non-htc devices ??

I have E-TEN X500 and I have this problem :(

If there are special steps for E-TEN devices please let me know

Best regards
[Touch Diamond, MDA Compact IV ROM Development] SinnerNL:
Some help please!

I'm not getting USB in MTTY

I've tried this on 2 computers (both windows 7 x86)

I follow all the steps, and when I finally update the driver, it doesn't give me the warning (for windows 7) it just installs it, then I reboot with the device still connected and in bootloader. and it starts up, starts installing something, gives me an error saying it did not succeed in installing.

and that's it... Am I missing anything here?

it's not working, any help would be greatly appreciated

anything I can do about this?
[Touch Diamond, MDA Compact IV ROM Development] benko286:
MTTY driver for win7/vista x64, finally

I believe you will need to edit guide again, this time it will be easier:)
[Touch Diamond, MDA Compact IV ROM Development] zenity:
Come on guys, I'm fed up looking through the threads for this invaluable guide, it really NEEDS to be stickied....
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
I dont know if this works! and no-one has posted any feedback to state it works so for now i will leave it thanks.

EDIT, I tryed this and it has ABSOLUTELY NO efct on installing drivers,it just flashes up a windows to say:

"Nothing has been done!:

My method works!!

MG