2012年5月28日月曜日

MTTY: Heaven for Flash Junkies on Windows Mobile Phone Devices

Over the last couple of weeks, as all of us flashing junkies are continuously flashing devices there has been an increase in "Strange Problems" which to all intents and purposes are just "clog ups" and "bad flashes".MysticGenius @ XDA, has shared this tutorial with us to understand the use of MTTY and the instructions on how to properly use it. The whole tutorial is in his words.

Now if I did a bad ROM flash with my previous device (HTC Universal), I could always fix this by clearing the FAT table with MTTY.
Believe me… if you flash and it stops ad 85% you will be very happy if you can use this tool!

Mtty

As we all know MTTY is the key here, but I can say from personal experience that this small piece of software is a MASSIVE pain in the ass to get working, i must have tried 15-20 different "recommended" procedures to get it work and all failed.

But I managed to find a failsafe method of getting MTTY working on Vista AND Windows 7, also x86 AND x64!! (I have all 4 windows installations and the methods detailed below worked on all)

NOTE: WORKS WITHOUT DRIVER INSTALL ON XP

If for some reason you cannot got this to work on XP do the following: (Thanks kgerry!!)

Steps:

  1. Launch ActiveSync on PC
  2. Go to Connection Settings
  3. Uncheck the Allow USB Connection
  4. Bring the Device to Bootloader
  5. Now Run MTTY

Here is how this Tutorial works:
Part 1: Driver Installation
Part 2: How to FLASH FROM INTERNAL STORAGE
Part 3: How to FLASH FROM YOU SYSTEM

************************************************************

Part 1: Driver Installation

Follow the Following Steps to Install the Driver:

  1. Download the Relevant Drivers for your system attached to this post: these work for both Vista and Win7, all you have to choose is x86 or x64
    EDIT: It has been found that with different versions of Windows 7 x64 need different Active Sync Drivers… If you are using Windows x64 please try "x64 AS Drivers Win 7 Tested & Working" FIRST!!!
  2. Connect Device to PC via Active Sync, Once Connected Uncheck USB Connections,DISCONNECT DEVICE then Reboot Computer.
  3. Bring device into bootloader (Reset + Hold Vol Down), This will show the Red, Blue, Green screen showing "Serial" – Once Computer booted, connect device in bootloader mode to USB, the word "Serial" will change to "USB".
  4. Go to "Control Panel -> System -> Device Manager" and select Microsoft Usb Sync in Mobile Devices section (NOTE: This MAY say HTC USB Sync but as long as you select your device!!):
    1
  5. Right Click and Select "Properties" then go to Driver tab, then Select "Update Driver"
    2
  6. Choose to "Browse Computer For Driver" (the second option):
    3
  7. Select "Let Me Pick From A List…." (the second option):

4

8.   Click "Have Disk":

5

9.   Select the folder with downloaded driver From Step 1 and select "wceusbsh.inf" (this is the same file for x86 & x64):

6

10.  You will get back to previous screen, then click Install

11.  WINDOWS 7 ONLY – The Below Warning will appear, Select "Install anyway":

7

12.  The drivers will be successfully installed:

8

13.  When you get back to "Driver Properties" check driver version. If the "Driver Date" has changed from 2nd step                        (2003 instead of 2007), the installation has been a uccess:

9

14.  Lastly leave the device connected and in "Bootloader" and reboot you system. Upon Rebooting an "Unknown                           Device" is installed, this is your HTC device.

Now the Active Sync Drivers are Installed

**If you are facing problems with the x64 Drivers then follow the below point:

      1. 1st try the Signed x64 Drivers by Kholk from HERE.
      2. If that doesnt work for you then neither Vista x64 nor Windows 7 x64 will let you load or start those drivers of they are not digitally signed. If this is the case then if you have installed the driver but it has stopped it due to the driver not being Digitally Signed, you have to start Windows Vista/7 in "Ignore digitally signed drivers" mode. When you start your computer, keep hitting F8 and it will prompt you if you wanted to start in safe mode blab la blaa, and in the bottom of that list is an option that says something like this "START WINDOWS WITHOUT DIGITALLY SIGNED DRIVER CHECK" or something like that.
      3. Also, Everytime when you need to use MTTY, you must follow the above procedure.

        ********************************************************************

        Part 2: How to Flash from Internal Storage

        Follow following Steps to Flash from INTERNAL STORAGE

        1. Complete Part 1 and Install the Drivers
        2. Download Mtty 1.42.
        3. Ensure that you have HARD-SPL on you Device
        4. Download a ROM of your Choice, RENAME the *.nbh for your ROM to: DIAMIMG.nbh
        5. Copy DIAMIMG.nbh to the "Internal Storage" of your Device.
        6. Bring device into bootloader (Reset + Hold Vol Down), this will show the Red, Blue, Green screen showing "Serial" – Connect device in bootloader mode to USB, the word "Serial" will change to "USB"
        7. Run mtty1.42.exe, You will se a box showing "COM1″ from this list select "USB" – If USB isn't in the list, something has gone wrong in the "Driver Installation" Section of POST 1
        8. Leave default parameters, (8 bits / Flow Control NONE / Stop bits 1 / Parity None / Local Echo No) and Click OK
        9. Run following commands:

        I.  Press enter first to get prompt (Will Show as EITHER USB> or CMD> – Personally Mine Showed CMD>)

        ———————
        MTTY OUTPUT:
        ———————
        CMD>
        ———————

        II.  Type "set 14 0″ without the quotes to tell bootloader to boot the OS after reset:

        ——————–

        MTTY OUTPUT:

        ———————
        CMD>set 14 0
        HTCST ÚÈHTCEUSB>
        ———————

        III.  Type "task 29″ to get your device formatted:

        ———————
        MTTY OUTPUT:
        ———————
        Cmd>task 29
        Format BINFS start
        Fill RSVD information for block 288 to 321
        CE start sector=0×14, total sector of CE and TFAT=0×14
        CE start start block=321, total block=1727
        ERASE block 1337 FAIL !!!
        Write 0xFF start page=0×5040, total page=0x1AFC0
        Format BINFS end

        Cmd>
        ———————

        IV.  Type "task 8″ to ask your device reboot:

        ———————
        MTTY OUTPUT:
        ———————
        Cmd>task 8

        Cmd>
        ———————

        10.  Immediately DISCONNECT your device and hold "Vol Down and Back" (Back = Small Arrow above "End Call"                               Button) to Initiate ROM Flash.

        11.  After ROM flash Hard-reset (Pen Reset, then Press and Hold Vol Down and Circle) again, on completion "Press Vol                   Up To Boot" Is displayed, press "Vol Up" and allow the ROM to boot.

        ***************************************************************************

        Part 3: How to Flash from your System

        Follow following Steps to Flash from SYSTEM

        1. Complete Part 1 and Install the Drivers
        2. Download Mtty 1.42.
        3. Ensure that you have HARD-SPL on you Device.
        4. Now bring device into bootloader (Reset + Hold Vol Down), this will show the Red, Blue, Green screen showing "Serial" – Connect device in bootloader mode to USB, the word "Serial" will change to "USB"
        5. Run mtty1.42.exe, You will se a box showing "COM1″ from this list select "USB" – If USB isn't in he list, something has gone wrong in the "Driver Installation" Section of POST 1
        6. Leave default parameters, (8 bits / Flow Control NONE / Stop bits 1 / Parity None / Local Echo No) and Click OK
        7. Run following commands:
          1. Press enter first to get prompt (Will Show as EITHER USB> or CMD> – Personally Mine Showed CMD>)———————
            MTTY OUTPUT:
            ———————
            CMD>
            ———————
          2. Type "set 14 0″ without the quotes to tell bootloader to boot the OS after reset:———————
            MTTY OUTPUT:
            ———————
            CMD>set 14 0
            HTCST ÚÈHTCEUSB>
            ———————
          3. Type "task 29″ to get your device formatted:———————
            MTTY OUTPUT:
            ———————
            Cmd>task 29
            Format BINFS start
            Fill RSVD information for block 288 to 321
            CE start sector=0×14, total sector of CE and TFAT=0×14
            CE start start block=321, total block=1727
            ERASE block 1337 FAIL !!!
            Write 0xFF start page=0×5040, total page=0x1AFC0
            Format BINFS end

            Cmd>
            ———————

          4. Type "task 8″ to ask your device reboot:———————
            MTTY OUTPUT:
            ———————
            Cmd>task 8

            Cmd>
            ———————

        8.  Immediately DISCONNECT your device then Press and Hold Vol Down to bring the device back to bootloader and                    connect to USB.

        9.  Run ROM Flasher and flash via USB. After rom flash is completed Hard-reset (Pen Reset, then Press and Hold Vol                      Down and Circle) then allow the ROM to boot.

        You can Red full Discussion of this Tutorial HERE

        Thanks:

        • Reb0rn – for pointing me to the light!
        • l2tp – for the images
        • lunasea – for providing me with working drivers
        • Of course to anyone else I forgot.

        0 件のコメント:

        コメントを投稿