Rooting Your HTC My Touch 4G (Glacier)

DISCLAIMER: ROOT AT YOUR OWN RISK. I WILL NOT BE RESPONSIBLE FOR ANY DAMAGE ON YOUR PHONE, HENCE FOLLOW CLOSELY AND FOR WHAT YOU DON’T UNDERSTAND, ASK

in rooting your HTC glacier, there are 2 options:

    1. this option works on devices with android 2.2 froyo. users with 2.3.4 gingerbread will have to downgrade to root after which they can upgrade again. it includes the following methods:
    • Gfree method –  will only recommend this method to pros. more info can be found here
    • Root.sh method – method used here

2. if you do not want to downgrade then scroll to the bottom for the other method

for a guide on downgrading, click here.

the following procedure requires downgrading to 2.2.1 froyo

files needed

    1. visionary
    2. Root.rar

steps

    1. install visionary
    2. Download the root.rar file and unzip it to /sdcard on your device.
    3. Run VISIONary to gain temp root.

there are two different sets of instructions from here

  1. Terminal Emulator Method
    • Start terminal emulator up on your device.(I prefer this method b/c you can see the output.)
    • type “su” + enter to gain root privileges.
    • Type “cd /sdcard/root” + enter
    • Type “sh root.sh” + enter
    • Follow the on screen prompts.
  2. File Explorer Method
    • Start up root explorer, sufbs, or some other type of file browser with root privileges
    • Navigate to /sdcard/root on your device
    • Click on root.sh and allow it to run. Some file browsers ask you if you want to or not
    • Now wait about 18 to 20 seconds and restart your device into the bootloader to check if S=off is displayed
    • Start the device back up
    • Run visionary again and reboot again. This will make root stick.
      You can now uninstall visionary and enjoy permaroot.

alternative method

Alternative Root Process

you need to have the android sdk installed and ADB setup on your PC for this


1. uninstall visionary and superuser and restart your device to wipe out temp root.
2. download MT4G Modperm.zip and unzip its contents to your sdk tools directory.

Then:

For Windows Users:
1. Using Explorer navigate to the root of your sdk. Hold shift and right mouse click on the tools folder. Select “Open command window here”.
2. Type “adbbat” + enter. Wait till the batch file finishes.

For Linux Users:
1. Using file browser of your choice (or terminal) navigate to the tools folder of your sdk and double click on adbbat.sh (type sh adbbat.sh if you are using terminal).
2. Disconnect your phone from the PC.

3. Open terminal emulator on the phone and type “/data/local/rage” + enter. Wait for “Forked XXXXXXXX children” to appear and then close the terminal.
4. Start terminal back up. It should force close.
5. Start terminal back up, again. This time it should stay open and you should have a “#” prompt instead of a “$” prompt. Then type “/data/local/temp.sh.
6. When the script finishes run /data/local/rage again and sit tight. The phone should start acting weird and do a soft reboot. Then right after everything loads it should do a hard reboot. After the hard reboot reboot and check S.(If it doesn’t do the two reboots just reboot into hboot yourself after rage finishes with the “forked xxxxxxxx children” message.
7. Enjoy root!
If you still have problems getting su to work after this uninstall visionary, shutdown, pull battery, and restart. Should work after that.
If you have tried EVERYTHING and still cannot get it to work for through the process and wait 30 minutes to an hour. The driver might have a cache delay write and you may need to give it some time to allow the sync command to work.
If su doesn’t stick, root again! You can’t overroot it! Winking smile

rooting without downgrading

  1. head over to http://www.htcdev.com/bootloader/ to unlock your bootloader first
  2. Download recovery and SU images.
  3. Save the recovery img to your Android SDK tools (c:\android-sdk-windows\tools) or platform-tools (c:\android-sdk-windows\platform-tools) folder and rename to “recovery.img”
  4. Turn off your phone.
  5. Hold the volume down button + power until you boot to a white screen.
  6. Use the volume rocker to select FASTBOOT then press the power button to select it.
  7. Connect your phone to your PC

Open up a windows command prompt and navigate to your sdk tools or platform tools folder. by using the following commands:

for tools, cd c:\android-sdk-windows\tools    or

for platform-tools, cd c:\android-sdk-windows\platform-tools

  1. Type FASTBOOT DEVICES to make sure your computer “sees” your phone and is ready to flash the recovery. You should get a serial number and then the word fastboot as the output
  2. Type fastboot flash recovery recovery.img and press enter. Give it a minute to do it’s thing. You should get a message that says writing recovery and success.
  3. Unplug your phone and use the volume rocker to select BOOTLOADER and then again to select RECOVERY and you should be booted into recovery.
  4. repeat the process with the SU img file and you’re done.

28 thoughts on “Rooting Your HTC My Touch 4G (Glacier)

  1. Hi and thanks…..i am at this step “4. repeat the process with the SU img file and you’re done” and i am getting it the SU img file. Can you please help me locate it in the Superuser-3.0.7-efghi-signed rar file

  2. thanks man…but i am getting failed and error messages when i try using it. Can you please elaborate more on how to go about it. i would very much appreciate that…thank you once again

  3. 1. This is how I went about the first step and the results I had:

    “C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot devices
    SH11XT600232 fastboot

    C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash recovery recovery.img
    sending ‘recovery’ (3624 KB)…
    OKAY [ 1.203s]
    writing ‘recovery’…
    OKAY [ 0.966s]
    finished. total time: 2.169s.”

    But i am having diffficulties with the last step, since i can’t locate the SU img file and seems not to be entering thew right commands. So please help me out…Thank You

  4. thanx 4 your replay…but this is what i had when i use that command:

    C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash Superus
    er-3.0.7-efghi-signed.zip
    unknown partition ‘Superuser-3.0.7-efghi-signed.zip’
    error: cannot determine image filename for ‘Superuser-3.0.7-efghi-signed.zip’

    Please i am not doing something right from the first step?…pleaase check if i flashed my recovery right in the first place :(. i am a novice in this, so please bear with me…Thank You

    • 1. Do you have the su zip file in your internal memory
      2. If the recovery was installed successfully, run
      fastboot boot recovery.img

      3. Install zip from SD card
      4. Select the su zip file

    • If you don’t, simply use the following
      1. Unzip the file. Locate the following files:
      Superuser.apk in the app folder
      Su in the bin folder

      Put them in your platform-tools/tools folder

      adb remount
      adb push su /system/bin
      adb push su /system/xbin
      adb shell chmod 4755 /system/bin/su
      adb shell chmod 4755 /system/xbin/su
      adb install Superuser.apk

  5. And on the cwm menu, use the second method I posted after which you should get ROM manager from the playstore. Update your recovery from there.
    I suggest replacing cwm with twrp

  6. Please i’m having this responds:

    C:\Program Files (x86)\Android\android-sdk\platform-tools>adb remount
    adb server is out of date. killing…
    * daemon started successfully *
    error: device not found

    i don’t have the su zip file in your internal memory so i tried your second alternative and i had the above error message: error: device not found

    adb remount
    adb push su /system/bin
    adb push su /system/xbin
    adb shell chmod 4755 /system/bin/su
    adb shell chmod 4755 /system/xbin/su
    adb install Superuser.apk

  7. Sorry i used your instead of me in my comment “i don’t have the su zip file in your internal memory so i tried your second alternative and i had the above error message: error: device not found”

  8. Capture3

    when i used;
    adb remount
    adb push su /system/bin
    adb push su /system/xbin
    adb shell chmod 4755 /system/bin/su
    adb shell chmod 4755 /system/xbin/su
    adb install Superuser.apk

  9. is there a way for to roll the process back and reboot again? because root checcker says i don’t ‘ve no access and SU not found:

    root checker

    screenshot

  10. No please…its htc glacier mytouch 4g with Android Version 2.3.4, HTC Sense version 2.1 , and Software Number 2.35.531.1 710RD

  11. Dude I have this problem when I type fastboot flash recovery recovery.img! hope you can help me..

    C:\Android\sdk\platform-tools>fastboot flash recovery recovery.img
    error: cannot load ‘recovery.img’

Leave a reply to pbwiafe Cancel reply