yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] IanKay:
My diamond has been acting up so I am giving this a go now (fingers crossed).

A question though.. if this works will I need to follow this procedure each time I flash? or once this is done can I just go back to flashing roms from the internal storage like I always have?
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Thanks for this Ive added it to the first post!

:)

Hi,

Glad you found it useful!

MG

Been asking for this for a while, thanks for the support!!

MG

Hi,

Normal flashing is done through the usb cable via your pc. this process takes much longer than flashing from internal storage.

the reason both methods are covers is because if you brick your diamond you can flash via USB to recover your device.

MG

Hi,

mostly the same but the method of flashing the rom to your device is different. (also the start is different because in one method you need to copy DAIMIMG.nbh to your device before starting MTTY

MG

Hi,

I use this every time i flash. just saves trouble in the future. once you get used to it it takes no time extra!!

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

I just updated my version of Windows 7 to the Official version and i have had to make a small adjustment to the procedure for x64, please see below:

Hope that helps

MG
[Touch Diamond, MDA Compact IV ROM Development] TrueTenacity:
is there any way to remove that x64 driver from your machine?

i've installed it, it didn't work right but now my ipod, phone and flash drive don't work when plugging them into my machine....
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

I dont think this has anything to do with the x64 driver, as i type im using MTTY and i have my pen drive connected and it is working fine, also my ipod has just connected up with no problems!

have you tryed rebooting your system?

let me know, and ill look into a solution!

MG
[Touch Diamond, MDA Compact IV ROM Development] TrueTenacity:
rebooted, uninstalled drivers for 3 days not and still nada...
[Touch Diamond, MDA Compact IV ROM Development] TrueTenacity:
Okay, i found the problem with my devices.... bad usb hub... but my phone still won't connect... just comes up as "unknown device"
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Lol, dodgy USB hubs!

try this:

Connect the phone when it is on (not in bootloader) and establish a USB connection as a Mass Storage device.

once that is done disconnect the phone, reboot your system, put the phone into bootloader.

Once your system has rebooted, connect the phone in bootloader and start from there.

let me know what happens. as always ENSURE THAT YOU DISALLOW USB CONNECTIONS IN ACTIVESYNC

Good Luck

MG
[Touch Diamond, MDA Compact IV ROM Development] AndyChecker:
Just a quick post to say thanks so much for all the information in the first few posts - it sorted out my tired, multiple flashes diamond!

I am currently on Window 7 Premium Retail and managed to use the new (2003) and working driver fine within that secret F8 mode. I hadn't booted with F8 yet so interesting for the geek in me too :)

One note to maybe add to the instructions is if you have used this F8 method for mtty then you will need to use the same F8 mode for updating radio versions etc too.

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

you dont need to MTTY before updating radios!! MTTY is only for ROM!

MG
[Touch Diamond, MDA Compact IV ROM Development] AndyChecker:
I know MTTY is only for ROMS - what I meant is if you use that old / special 2003 driver via the F8 method on Windows 7 you will need to boot into the same non signed driver mode if you want to flash your radio using DiamonCustomRUU (bootloader) as Windows 7 normal mode doesn't have the correct driver - well it didn't for me anyways, did it for you?
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Yeah i have already mentioned this in the first post. Also you should flash your radio from your internal storage!

MG
[Touch Diamond, MDA Compact IV ROM Development] hurricane21:
thanks alot for this man!

i just got a bad flash for my last rom, thinking to flash back to stock rom then flash again, but i am just too lazy.

so followed ur mtty thread and my diamond works flawlessly now!
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

glad to help, vote for sticky!!

MG
[Touch Diamond, MDA Compact IV ROM Development] William2009:
Thanks for this thread.

Now my phone works properly!
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hey,

glad it worked, vote sticky!!

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

I dont know what error code 10 is, i have NEVER manager to get this error to show up so i cannot offer a solution.

All i can say is im running Official versions of Vista x86 & x64 AND Win 7 Enterprise x86 & x64.

the only way i install the drivers is the way listed above and i have never had it fail.

I dont know what to say, we all get the same updates!!

Sorry!

MG
[Touch Diamond, MDA Compact IV ROM Development] polarbjørn:
Is there anybody who can help. As I have also OFFICIAL versions of Vista x86. But dont seem to be able to use MTTY.
[Touch Diamond, MDA Compact IV ROM Development] dieselboy:
My Diamond...

I just wanted to come back and post, that the exact MTTY command I used previously is task 29

I did not use any other commands, and afterwards I immediately flashed the new ROM...

For some reason, the commands listed in post 1, 2, 3 does not do the job for me. After task 29 is get this output (you can see it is different to yours)

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

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

Format BINFS end

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

task 29 doesnt format the correct part, it formats the Binary File System, but you need to format the NAND, where the rom is held.

to format NAND you need task 28 55aa (i read an updated bootloader for the diamond and changed the task!!)

MG
[Touch Diamond, MDA Compact IV ROM Development] dieselboy:
Then why only after task29 did it fix my problem?
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
I dont have a clue!! maybe i should add both the commands to the procedure?

It cant hurt!!

What do you think?

MG
[Touch Diamond, MDA Compact IV ROM Development] dieselboy:
I dont know LOL. All I know is that doing it your way this time round gave me some weird results. As soon as I did task 29 *like I did before, it all started working again. Plus, the first time I had issues was before you wrote this thread, so all I had to go on, was task 29.. and way back then I've had no issues since - until this flash..

What do ya think?
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
I think the issue here is where the bloating is occuring, since both of these tasks format different parts of the device, i.e:

task 28 = Format NAND

task 29 = Format BinFS

I can only assume that different roms will cause bloating in different parts of the device, which may be why 99% of the time task 28 55aa works, and the other 1% task 29 works.

you are the first person in the thread to report the phenomenon!!

MG
[Touch Diamond, MDA Compact IV ROM Development] dieselboy:
It's always me! :D
[Touch Diamond, MDA Compact IV ROM Development] Gnitrops:
Hello,

I tried to flash a new ROM from Internal Storage following the instructions on the 1st posts. However, instead of having the new ROM (donsalari's Clean ROM) I copied as DIAMMIMG.nbh, I just got my previous ROM reinstalled (Energy ROM!). What did I do wrong?
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

Doesnt look like you copied the rom over to internal storage!!

MG
[Touch Diamond, MDA Compact IV ROM Development] Hellas4:
Does mtty works on all HTC devices?such as diamond2 with the same commands??
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

I dont know, i think it should be the same but i cannot guarantee it!!

the only way you could tell is to follow the instructions and get MTTY running, connect your device to it and try task 8.

if your device reboots i think you should be ok

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

I figured it out!!

If you look at the output from my most recent MTTY, whe i did task 28 it formatted:

Storage start block=904, total block=821

when i did task 29 i got:

CE start start block=321, total block=1727

so task 28 specifically targets the area of memory where the rom is held, while task 29 does the entire binary file system.

so either will do!

MG
[Touch Diamond, MDA Compact IV ROM Development] PaulosCZ:
Very nice MTTY walkthrough. One small tip: after you execute "task 8" you can directly press VolDown and circle to perform hard-reset - no need to pen reset. The same trick can be performed after hard reset to flash a ROM.
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

I know this is possible but i am going to alter some of the instructions today as i have been playing around with them last night and this morning and i have found a better/faster way of doing it!

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

Just a quick note, i have revised the instructions.

After a few questions about task 28 and task 29 i decided to get to the bottom of this mystery which I did and ill try and explain:

Firstly when using task 28 the output is:

Cmd>task 28

Format start

Fill RSVD information for block 288 to 321

Storage start sector=0xD5C0, total sector=0xD140

Storage start block=888, total block=837

Total Bad Block in CE: 0

Erase physical block from 1178 to 1997

formatstorage Bad block found: 1625

si backup: Erase physical block from 2032 to 2048

Format end

and when using task 29 the output is:

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 1337 FAIL !!!

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

Format BINFS end

If you look at the blocks formatted by both tasks you can see that task 28 targets a specific set of blocks, while task 29 covers a much greater range, i.e. a full format.

I have changed the instructions to use task 29 as this removes the need to hard-reset after using mtty, since the Binary File System has been totally erased!

Please REVIEW the instructions from Post 2 & 3 from 6c onwards as they have both been re-written.

Hope that helps

MG
[Touch Diamond, MDA Compact IV ROM Development] quendil:
Thank you very much MG!

:)
[Touch Diamond, MDA Compact IV ROM Development] XDA-Geek:
Make sure when you disable the usb connection for ActvSync, either restart you computer or manually kill the services from task manager - rapimgr.exe and wcescomm.exe , then restart your phone to bootloader and Finally run MTTY !
[Touch Diamond, MDA Compact IV ROM Development] teorouge:
Will task 29 erase bad blocks, then? Cause I had MTTY many times and I always had bad blocks... :(
[Touch Diamond, MDA Compact IV ROM Development] adex_oa:
thumbs up!

:):);) fantastic job! you just helped me turn my diamond around after much stress!
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
No, Mtty wil not remove bad blocks!!

a bad block is a bad block.

Sorry!

MG
[Touch Diamond, MDA Compact IV ROM Development] gsmdb:
Much better alternative method is

- Run ActiveSync

- Run Connection Settings

- Run Connect

ActiveSync detects all connections (included USB). Leave it there in this state (dont close the window)

- Run Mtty
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
No,

you need to disable the USB connection in active sync.

i have to say, the method you stated is the method that was originally prescribed but this thread is a method that works regardless of what machine/system/ps you are using.

so no i will not post your method in the first few posts!!

MG
[Touch Diamond, MDA Compact IV ROM Development] gsmdb:
I've used it since my first time using MTTY so disable USB is unnecessary ;-)

Just my opinion
[Touch Diamond, MDA Compact IV ROM Development] aviv2007:
MysticGenius

i see you update your post

and i want to know what is the different between the act "task 29"

to old one "task 28 55aa"
[Touch Diamond, MDA Compact IV ROM Development] atifsh:
read page 30
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

most people have a problem with MTTY if USB isnt disabled.you are just lucky!

(and the only person to have ever reported it working without disabling USB!!)

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

I have posted about this:
[Touch Diamond, MDA Compact IV ROM Development] donald-c:
Ahh trying to install the MTTY drivers is so annoying :|

Done it before (Win7 RC took ages though) now with the RTM it wont work at all :(

Even followed every step perfectly :p the only thing different is that the driver says it is digitally signed so step 10a doesn't apply :/

Using x86 btw.

Any other ideas to install?

Twice I posted in this thread about trouble installing & twice as soon as I save it seems to work :/

Sorry guys :p

If it doesn't work right away try, restarting your device a few times & reconnect in bootloader it seems to do the trick :p
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

can you tell me what step you are having trouble with?

(also with regards to your question about the radio in your signature, PM me!)

MG
[Touch Diamond, MDA Compact IV ROM Development] nazirul87:
i have a problem friend. i try to open this mtty n perform the task 29. but i forgot to copy the rom into the device. n now my fone just appear touch diamond loading n nothing happened. any solution to solve this problem..

help me!!
[Touch Diamond, MDA Compact IV ROM Development] 02xda2:
Hi, Nazirul

Bring your device to Bootloader connect to PC and flash your Rom from PC using HTC RUU.
[Touch Diamond, MDA Compact IV ROM Development] nazirul87:
which ruu i need to use. radio, hard spl or rom ruu? i try to turn it on "appear touch diamond on screen", but the computer cant detect it.
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Brilliant work! (dont think im poking fun, just in the last 3 days 4 people have PM'ed with the same issue!! :D:D

you guys keep me on my toes! lol

essentially your phone is fine, just bring the device to bootloader, connect it to usb, then flash any rom you want using the CustomRUU.

(it doesnot matter which RUU you use, they all do the same thing!)

Thanks

MG
[Touch Diamond, MDA Compact IV ROM Development] polarbjørn:
Code 10

Did anybody find a solution to Code 10 when trying to update driver. Been trying again today but sane problem.
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
No sorry!

I cant even get the error!!

MG
[Touch Diamond, MDA Compact IV ROM Development] polarbjørn:
I just tried again without disabling USB and i get the usb up now in MTTY. Is it wise to try it???
[Touch Diamond, MDA Compact IV ROM Development] polarbjørn:
code 10

It worked, I had to connect phone to PC with active sync, I didnt untick the USB. Disconnected phone but left active sync on. Ran MTTY and USB showed up under COM2. It seems to be working, is there a way to check if yhe nand was formatted??
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

use task 29. it formats the entire binary file system!

MG
[Touch Diamond, MDA Compact IV ROM Development] j4velin:
i downloaded the x64 AS Drivers Win 7 Tested & Working.zip from the 2nd post but when i reboot after installing the 2003-drivers, windows (7, x64) doesnt recognize my device (device still connected and showing USB in Red, Blue, Green screen [is this the "bootloader"?]).

any idea?
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
hi,

did you read the first posts?

Just reboot your system and keep hitting F8 during the startup and select the "ignore digitally signed drivers" option

MG
[Touch Diamond, MDA Compact IV ROM Development] HkDng:
I strictly followed the instruction with many times of

"Uncheck/Check the Allow USB Connection" ....

But no USB on the dropdown list.

Noted that I am running on Windows 7.

Any clues?

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

i suggest you uninstall the drivers and follow the instructions again!

Honestly, i have this installed this so many times using these instructions and never had a problem.

I have this installed on vista and win 7 x64 & x86.

MG
[Touch Diamond, MDA Compact IV ROM Development] j4velin:
i did it exactly like described in the x64 part of the first post
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

evidentially not!! If you had it would be working!!!

i worked these instructions out on 4 different operating systems, vista and 7 x64 & x86.

the only thing i do is follow these instructions and it works 100% of the time. also i have, within the last 3 days,installed windows 7 x64 onto my GF laptop, and my parents home system and have it working on both machines.

i have done this maybe 15 times in the last 6 weeks with different friend and different OS's and it DOES work!!

if this doesn't work for you, it is what I call a P.I.C.N.I.C Error!!

(Problem In Chair, Not In Computer)

MG
[Touch Diamond, MDA Compact IV ROM Development] quendil:
:D:D:D:D:D:D:D:D:D:D:D:D:D:D

Just Genius!!!
[Touch Diamond, MDA Compact IV ROM Development] HkDng:
MG, Can I ask a stupid question, How can I uninstall the drivers?
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

Put your device into bootloader connect it to your PC via USB then go into System->Device Manager

find your device and right click and select remove!!

MG
[Touch Diamond, MDA Compact IV ROM Development] HkDng:
Hi MG,

After reading your instruction very very .... carefully and with my skill in Windows Operating System, my Windows 7 :D , finally I got it done :)

Thank you very much.

PS: Plz correct "task 28" in ur #3 and #4 posts.
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

Glad you got it cracked, i told you everystep must be done exactly!!

Also correct task 28? task 28 is no longer used and it has been replaced with task 29!!

Please Read:
[Touch Diamond, MDA Compact IV ROM Development] HkDng:
But when I typed "task 29" responded is "invalid command" ??? So I try "task 28" :)
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
something went wrong for you!

This is from the XDA bootloader instruction manual!!

Are you sure you typed "task 29" and not "taks 29"

MG
[Touch Diamond, MDA Compact IV ROM Development] themroc:
No ActiveSync After MTTY

Maybe you could add to the first post at the end:

- Recheck "Allow USB Connections" in ActiveSync (cost me half an hour to find out :-))
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
Hi,

Two Things:

1: I thought that might be obvious? If you want to establish active sync i really didnt think anyone would need me to tell then to re-allow active sync!

Maybe i should re-think.

2: I dont have Active Sync, i use WMDC on Win 7 and in WMDC "Allow USB connections" does not stop the device connecting!

MG
[Touch Diamond, MDA Compact IV ROM Development] Dajek:
Its write:

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 360 FAIL !!!

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

Format BINFS end

what is wrong ?
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
nothing, the format completed.

MG
[Touch Diamond, MDA Compact IV ROM Development] A2Z:
after the BSB651D I tried to upgrade via mtty to BSB1F and MTTY was looking 'different'

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 146 FAIL !!!

ERASE block 202 FAIL !!!

ERASE block 231 FAIL !!!

ERASE block 1010 FAIL !!!

ERASE block 1357 FAIL !!!

ERASE block 1366 FAIL !!!

ERASE block 1737 FAIL !!!

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

Format BINFS end

Cmd>

===

normally only the last block failed in previous mtty session and rom upgrades , any idea whats happening or is this normal?

pls help
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
can you still flash a rom?

MG
[Touch Diamond, MDA Compact IV ROM Development] A2Z:
luckily when going into the three color i could flash the original tmobile rom its now booting that and i will try again.

Damn just found out my intenal memory storage was wiped completly...:-(

have you heard of this before??

update>> after a clean factory tmobile rom install all the fail messages showed again in mtty but the flash to BsB1e went ok this time...strange but at least one knows this can happen..
[Touch Diamond, MDA Compact IV ROM Development] Sleehond:
Man Man Man.

I dont understand this procedure for MTTY.

I have read the first 4-5 posts for about FIVE times, but i cant get it to work. Its to complex for me. It su X because i need to MTTY i think, my device keeps on hard resetting itself...

Anyone in dutch who can help me?

Btw, i have vista 32bits version. No idea where to start what to download etc.

And yes I HAVE READ the posts, not even once but like FIVE times.

Sorry to not understand this ... :(
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
NEVER heard of Internal Storage loss!!

to be honest with you i usually ignore the FAIL messages! i have different blocks fail at different times but as long as the format completes i dont usually worry!
[Touch Diamond, MDA Compact IV ROM Development] kidoucorp:
Hi,

typing "set 14 0" (without quotes) makes mtty freeze:(

any suggestions ?

My diamond seems to be bricked, rom update stuck @ 0% even in bootloader, now this with mtty :(
[Touch Diamond, MDA Compact IV ROM Development] toontoonizer:
I have a Sony Xperia X1 and task 29 does nothing in MTTY. Task 28 however does have a response. Just thought you might like to know what task 29 doesn't work for all handsets.
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
I wrote this for HTC devices so i can only work from the HTC bootloader.

I dont have Sony Xperia so i cant see bootloader!

Sorry

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

try putting your device in bootloader, run MTTY, do task 29, then task 8, then flash your phone via USB.

make sure ur battery has good charge before you do this tho!

let me know how it goes.

MG
[Touch Diamond, MDA Compact IV ROM Development] Goonish:
I'm using XP 32bit.

Everything seems to go, I've followed the instructions to the letter.

But once I get into MTTY command prompt it seems there's no response. I type in the commands from the tutorial and there's no follow up, it just goes to the next CMD> line??

Going to try again on a Windows 7 Machine later.
[Touch Diamond, MDA Compact IV ROM Development] kidoucorp:
I tried, but task 29 seems to freeze mtty too :( It say formating, but I never get the return to enter another command (Or maybe it's very long, I waited for about 15-20minutes ?)
[Touch Diamond, MDA Compact IV ROM Development] 4D3:
no, formatting should only take about 4 seconds.

can you flash a stock rom via USB?

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

MTTY works out of the box on XP 32bit so it is a case of disabling USB connections in Active Sync, rebooting your system and running MTTY.

any other problems are due to you doing something wrong!!

sorry i cannot help more!

MG
[Touch Diamond, MDA Compact IV ROM Development] kidoucorp:
I managed to flash a stock rom once, but the problem is still there... Freeze on boot screen, whithout displaying the red letters with SPL / Radio infos :(

I'll try again tonight and report.

If you have any other suggestions, you're welcome...
[Touch Diamond, MDA Compact IV ROM Development] kidoucorp:
Just tried again by flashing a stock rom in bootloader, but it's still stuck @ 0% :(

Any idea ?? pleaaaaase, I don't want to buy a new phone :rolleyes: