How To Root HTC Inspire 4G – Install Custom ROM On Inspire 4G


We have been sharing number of ways to root Android device, and here is complete step by step guide to root HTC Inspire 4G. So just root your HTC smartphone and unleash it. Once you root your Inspire 4G you do install number of third party apps and do stuff that you cannot do on your normal smartphone.

In this method we would be using ClockworkMod Recovery to root the device. So before you sit down to start with this set of steps, make sure you have the below programs and tools with you.

So before you start with it, it is recommended to backup all your data which include contacts, reminders, photos, music, memos, notes.

Steps To Root HTC Inspire 4G

In order to root HTC Inspire 4G first we need to get the root access and then we would flash Engineering HBoot. Once done, install the custom recovery image and then flash CyanogenMod on your Inspire 4G.

Downgrade Firmware

In order to root HTC Inspire 4G successfully you need to downgrade it. For that follow these instructions and create a goldcard. Once it is done, go ahead with the below steps.

First unzip all the folders that are present in the temporary folder. And copy the all the unzipped contents into the folder where the executable file of adb is located (you and .

Now connect your Inspire 4G to the computer and fire the below commands on the terminal,

adb push psneuter /data/local/tmp
adb push misc_version /data/local/tmp
adb shell chmod 777 /data/local/tmp/psneuter
adb shell chmod 777 /data/local/tmp/misc_version
adb shell /data/local/tmp/psneuter
adb shell

NOTE: If you see # instead of $, then it implies that you are in ADB shell. So continue with the the below command

/data/local/tmp/misc_version -s 1.31.405.3
exit

Now copy the downloaded files of 1.32.405.6 firmware in the SD card. Once the files are copied, open the terminal on the computer and fire the below command:

adb reboot bootloader

It will display you with some instructions, so just follow them step by step and you would be successfully flashing the firmware of  1.32.405.6 version.

Root, S-OFF, ClockworkMod Recovery, and Engineering HBoot

You need to make sure that your HTC Inspire 4G is in debugging mode. You can do that by navigating it as Settings » Applications » Development » USB debugging. And then, fire the below commands on the terminal on your computer:

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-3.0.2.6-ace.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

Once you are done firing the above commands, you would be thrown out of shell. So, fire the below ones so that you can get into shell again.

adb shell
cd /data/local/tmp
./busybox md5sum /dev/block/mmcblk0p18

Now the completion of above set of commands would give you an number, so just make note of it. We would be referring that number as NUM1. Once done, fire the below commands:

./gfree -f -b hboot-eng.img -y recovery.img
./root_psn
sync

On the completion of the processing of the above commands, fire the below command and note the output number. We would be referring it as NUM2.

./busybox md5sum hboot-eng.img

Now you need to fire the below command which would give you NUM3.

./busybox md5sum /dev/block/mmcblk0p18

So we have NUM1, NUM2  and NUM3. Based on the below points you can take the further steps:

  • If md5 #1 and md5 #3 match, then gfree 0.07 failed to powercycle the eMMC chip on the device. Either the software version is too high and the device was not downgraded per the previous section or you have to use gfree 0.05 instead. Download gfree 0.05, reboot and attempt again.
  • If md5 #2 and md5 #3 match, then everything should be fine and you can continue.
  • If md5 #3 does NOT match md5 #1 or md5 #2, then DO NOT REBOOT. Ask for more help by joining IRC chat channel #G2Root on Freenode for further help.

Now fire the command on the terminal, which would reboot your smartphone. And now you are done with rooting of your device with S-OFF, the Engineering HBoot & the ClockworkMod Recovery.

Flash CyanogenMod

In this method you copy the Google Apps and CyanogenMod ZIP folders on the SD card and boot in the ClockworkMod Recovery mode. Below are the ways to do it:

  1. If the Android SDK is installed on your computer, you can run the following command from a terminal or command prompt:

adb reboot recovery

        2. Launch the Terminal Emulator app on your device and run the command:

reboot recovery

        3. With your phone initially turned off, press and hold the Volume Down and Power buttons simultaneously for a few seconds. The handset will boot to hboot mode or straight away to recovery mode. If it boots in hboot mode, use the Volume Down button to highlight “Recovery” and press the Power button to boot into recovery mode.

Once your smartphone is in ClockworkMod Recovery mode, use side volume buttons to navigate and trackball or power button to select and go with the options,  Wipe data/factory reset and Wipe cache partition.

And when it prompts you to choose the location, choose the options labelled as Install zip from sdcard and Choose zip from sdcard.

First choose the ZIP file of CyanogenMod so that it flashed it and if you want to install the Google Apps too, repeat the above step and choose the ZIP file of Google Apps.

Once the whole installation is finished, click on +++++Go Back+++++ to go back to the main menu and choose the Reboot system now option option. This will reboot the device in CyanogenMod.

That is it! This is how you can root HTC Inspire 4G and install custom ROM on HTC Inspire 4G

via Source

Filed under: Android,Tips & Tutorials
Tags: ,
August 15, 2011 by: Prasanth Chandra

Leave a Reply