Tip Us!

All input fields are optional, fill out as much or as little as you'd like.

HTC myTouch 4G (T-Mobile): Root and custom recovery

by on April 13, 2012 11:03 pm
29
views38847
12
8
0

Some say that any Android user’s experience is sorely lacking if the user hasn’t yet rooted his/her device and installed custom recovery. Rooting allows users root access to fully customize their devices the way they want them.

To make things even better, installing custom recovery allows users to flash custom ROMs developed by other Android users to get the most out of their devices. This particular method of rooting the HTC myTouch 4G works only on stock software.

If you’ve already upgraded to Gingerbread via OTA update, rooting is not impossible for you. You’ll just need to downgrade first in order to achieve root. If your HTC myTouch 4G is already running 1.17.531.2 or lower, then you may skip the instructions for downgrading and proceed to the instructions for rooting. You may check your myTouch 4G’s software version through Settings > About Phone.

Caution

The procedure described in this guide works only on the HTC myTouch 4G from T-Mobile. We do not encourage trying this technique on other HTC mobile device models as it may lead to bricking.

Rooting also voids the my Touch 4G’s warranty, so root at your own discretion.  We shall not be responsible for whatever happens to your phone as a result of following these instructions.

Requirements

  • HTC myTouch 4G (T-Mobile)
  • 7-Zip, WinRAR, or other similar programs that can extract both ZIP and RAR archives.
  • This process may delete data on your device, so make sure to create a backup for your important files and phone data.
  • Make sure your HTC myTouch 4G’s battery has been fully charged. This will prevent your HTC myTouch 4G from shutting off in the middle of the update process.
  • Make sure that you’ve enabled USB Debugging on your myTouch 4G. You can do so through Settings > Applications > Development > USB Debugging.
  • Install the USB drivers for your phone on your computer, otherwise ADB won’t be able to communicate with your phone.
  • Download the following files required for rooting:
  • If your phone is on Gingerbread firmware, download the following additional files required for downgrading:

Once you have everything, you may now proceed to downgrading, rooting, and installing ClockworkMod Recovery on your HTC myTouch 4G.

Downgrading to 1.17.531.2

Perform these steps only if your HTC myTouch 4G is running on Gingerbread firmware (version 2.xx.xxx.x).  Check your firmware version at Settings > About phone.  If your phone is already running on firmware version 1.17.531.2 or earlier, skip this procedure and proceed immediately to the instructions for rooting in the next section.

  1. Extract the contents of adb-fastboot-win.rar (if you’re on Windows) or adb-fastboot-linux.rar (if you’re on Linux) into a folder on your computer.  Make sure all the files are inside the root of that folder–not inside any subfolder.
  2. Unzip fre3vo.zip and misc_version_02.zip into the same folder where you extracted the ADB package to.  The extracted files must be within the same folder as adb or adb.exe.
  3. DO NOT extract, rename, or modify PD15IMG.zip.
  4. Copy PD15IMG.zip to the same folder as adb or adb.exe.
  5. Connect your myTouch 4G to your computer via USB cable.
  6. On your computer, open a terminal window and change directory to where adb and the other files are.  If you’re on Windows, open the folder where you extracted the files to and double-click on commandprompt.bat to open a command prompt window in the same directory.
  7. Enter the following commands at the command prompt or terminal window:
    • adb push fre3vo /data/local/tmp
    • adb push misc_version /data/local/tmp
    • adb shell
    • chmod 777 /data/local/tmp/fre3vo
    • chmod 777 /data/local/tmp/misc_version
    • /data/local/tmp/fre3vo -debug -start FAA90000 -end FFFFFFFF
    • adb shell
  8. The prompt on your terminal or command prompt window should now show # instead of $.  This means that your phone has temporary root access.
  9. Continue entering the following commands:
    • /data/local/tmp/misc_version -s 1.00.000.0
    • exit
  10. At this point, the misc_version on your phone has already been downgraded.  The next steps will downgrade the firmware.
  11. At the terminal or command prompt window, enter the following commands:
    • adb push PD15IMG.zip /sdcard/PD15IMG.zip
    • adb reboot bootloader
  12. Your phone will reboot into bootloader mode.  Once you reach the HBOOT (bootloader) screen, use the Volume keys to highlight “BOOTLOADER” and press the Power key to select it.  Your phone will detect the presence of PD15IMG.zip and will automatically apply the update and flash firmware 1.17.531.2 to your phone.

Rooting the myTouch 4G

  1. [ Skip this step if you performed the instructions for downgrading to firmware 1.17.531.2. ] Extract the contents of adb-fastboot-win.rar (if you’re on Windows) or adb-fastboot-linux.rar (if you’re on Linux) into a folder on your computer.  Make sure all the files are inside the root of that folder–not inside any subfolder.
  2. Unzip the contents of the following packages and save all extracted files inside the same folder where you extracted adb or adb.exeto:
    1. busybox.zip
    2. ace_glacier.hboot-0.85.2007.zip
    3. gfree_07.zip
    4. psneuter.zip
    5. root_psn.zip
    6. su-2.3.6.2-efgh.zip
  3. Move or copy recovery-clockwork-5.0.2.0-glacier.img into the same folder where adb or adb.exe is located.
  4. Connect your myTouch 4G to the computer via USB cable.
  5. On your computer, open a terminal window and change directory to where adb and the other files are.  If you’re on Windows, open the folder where you extracted the files to and double-click on commandprompt.bat to open a command prompt window in the same directory.
  6. At the command prompt or terminal window, enter the following commands:
    • adb push busybox /data/local/tmp/
    • adb push gfree /data/local/tmp/
    • adb push hboot-eng.img /data/local/tmp/
    • adb push psneuter /data/local/tmp/
    • adb push recovery-clockwork-5.0.2.0-glacier.img /data/local/tmp/recovery.img
    • adb push root_psn /data/local/tmp/
    • adb push su /sdcard/
    • adb push Superuser.apk /sdcard/
    • adb shell
    • chmod 755 /data/local/tmp/*
    • /data/local/tmp/psneuter
  7. After the last command, you will exit from the ADB shell.  You need to enter the ADB shell again.  Enter the following commands:
    • adb shell
    • cd /data/local/tmp
    • ./busybox md5sum /dev/block/mmcblk0p18
  8. The last command above will display an md5 checksum.  Copy and paste the md5 checksum into a text editor (e.g., Notepad).  For our purposes, let’s refer to this checksum as md5sum1.
  9. Continue entering the following commands:
    • ./gfree -f -b hboot-eng.img -y recovery.img
    • ./root_psn
    • sync
    • ./busybox md5sum hboot-eng.img
  10. The last command above will display another md5 checksum.  Copy and paste the md5 checksum into a text editor (e.g., Notepad).  For our purposes, let’s refer to this checksum as md5sum2.
  11. Continue with the following command:
    • ./busybox md5sum /dev/block/mmcblk0p18
  12. The command above will display another md5 checksum.  Copy and paste the md5 checksum into a text editor (e.g., Notepad).  For our purposes, let’s refer to this checksum as md5sum3.
  13. This is where the md5 checksums come into play:
    • If md5sum1 and md5sum3 are the same, then something went wrong.  Perhaps the firmware was not properly downgraded. Try starting over from the beginning of this section.  If the same thing happens, try performing the steps for downgrading the firmware (see the previous section).
    • If md5sum2 and md5sum3 are the same, everything is fine.
    • If md5sum3 does NOT match md5sum1 or md5sum2, then do not reboot.  For help, join the #G2Root chat channel on Freenode.
  14. If md5sum2 and md5sum3are the same, reboot your phone by entering the following command at the command prompt or terminal window:
    • reboot

Congratulations! Your HTC myTouch 4G has now been rooted, with S-OFF, and with ClockworkMod Recovery installed. Enjoy!

WRITER

Google+ E-mail

We're all multi-talented and multi-faceted here, but, perhaps, Carl is the most multi-faceted in the bunch. Among Carl's many interests, Android holds a special place. He's particularly fond of reviewing Android apps and writing step-by-step guides for fellow Android fans.

YOU MIGHT LIKE

Comments
  • mikemike85

    I just followed these steps exactly, and they worked great until I got to the reboot part after rooting. My md5 sums 2 & 3 matched, so I typed reboot. Now my phone just vibrates 4-5 times and flashes the led. ADB is recognizing the phone as being in recovery. What can I do to get my phone working again? I dont want a brick. :-)

  • Davin

    recovery-clockwork-5.0.2.0-glacier.img LINK IS NOT WORKING

  • Davin

    Also, Having problems with downgrading. I’ve turned on USB debugging, but the command prompt says “no device detected”. Ideas?

    • Davin

      Ok I guess the question is, where is the best place to find the drivers and how are they implemented?

    • Davin

      Ok update, Everything worked out great, I solved my issues and this is an excellent post. Thanks

      • Zach

        So what was the issue as I am having it myself.

  • Lance

    worked awesome did this 2 months ago been running custom ROMS ever since. Even had to do the whole downgrade process if followed exactly as directions say works great. upgraded to clockwork mod touch, this also works great. love my phone now thanks to you.

  • Lance

    Davin you can get clockwork here
    http://forum.xda-developers.com/showthread.php?t=1242901. Link has been down a while.

  • dave

    when I tried to push the su and superuser file to the sd card it said failed to copy- permission denied. I have the usb debugging on and have completed the downgrade without a hitch so far. thanks for the help

    • david

      ok figured it out. I had to turn my phone onto “charge only.” now I am to step 9 and it states “./gfree -f -b hboot-eng.img -y recovery.img: not found.”

    • http://www.facebook.com/terron.moore Terron Moore

      I am having this same issue how dd you fix it?

  • Albert

    The command prompt always says adb: not found while doing step 9. Can I get some help please?

    • Brandon Plemon

      make sure to be in the platform-tools directory, secondly if you are on a mac you have to type ./adb everytime.

  • meshun8

    I just rooted my anroid mytouch 4g (t-mobile), which was already unlocked for any carrier and I was successful in rooting it!

    NOTE: you may want to connect your phone and as another user suggested put it in “charge only” mode. You may need to switch between the “disk mount” and “Charge only” mode while implementing the cmd commands. Thanks for this great post!

  • http://www.facebook.com/steves718 Steven Simon

    ok, i got all this done (great instructions btw) – now can i update or will I lose root access?

  • Johnny v2

    In step 12 of downgrading firmware when I select bootloader I get loading zip no image! loading nbh no image or wrong image! then it repeats the 2 messages in the same order again. I have tried with charge only and disk mount same results. When I look at sd card through computer is see the file PD15IMG and it has a win rar zip picture before file name. Please advise as to what I need to do. All steps before work good. Just will not let me flash 1.17, can hit bootloader many times but no luck and leaves me to have to remove battery and comes back up as Gingerbread. Used PD15.IMG link above.

  • http://www.facebook.com/Bismar03 Bismar Burgos Lantigua

    I tried to root my htc my touch 4g but it show Fail-pu , how can i revive it ?

  • Vikodin

    im trying to root and do some other clockwork stuff and i can get as far as port 5037 and device not found. all my files are in one basket, phone plugs into computer, tries to upload photos but when i run cmd i cannot connect to it. is there something really simple im not doing right??? vikodin at gmail.com

  • Aasdib

    It says device not found during step 6. What should i do?

  • http://www.facebook.com/terron.moore Terron Moore

    I am having problems when i go to adb push su /sdcard/ is says permission denied. Any fixes?

  • Andrew

    Do you know if this will work with the MyTouch4g Slide, aka HTC Doubleshot?

  • http://www.facebook.com/itchap Peter Smith

    Awesome post, just took me a while to find the right files throughout the internet :)

  • bernard

    the files won’ open for me at all. keeps saying the page cannot be found, any ideas. thanks

  • Jassy65

    it says adb: not found help..!

  • raphy

    No se puede descargar nada de aqui ya que no esta disponible por favor alquien que se conduela de mi tengo este telefono y lo quiero liberar para poder ponerle la ultima actualizacion de andriud

  • Ed Ros

    only one of the links is working
    ** UPDATE PLEASE ***

  • Ariane

    ALL LINKS ARE DEAD.

  • gs

    my mytouch4g still will not recognize PD15IMG from the boot loader. i’ve formated my sdcard and redownloaded the file

  • Benji

    How come my device is not found when i get to the cmd?

Would you like to view our mobile friendly site? Try it out