How To Downgrade the G2, Desire Z, Desire HD and MyTouch 4G Back to Froyo, So You Can Root It

Do you have an HTC Desire Z, Desire HD, Mytouch 4G or G2 and need to downgrade from Gingerbread so you can root it? Check out our how to guide below.

I. Before you begin.

1. Must be running a Gingerbread ROM.

2. You must have adb installed, if you don’t, follow our guide here.

II. Gaining temporary root.

1. Download the fre3vo and misc version files.

2. Extract them and place them both into your adb tools folder.

3. Connect your phone via the USB cable and select charge only mode.

4. On your computer, click on the Start menu.

5. In the search box in the start menu, type cmd and hit enter.

6. When the command prompt window opens, you must navigate to the folder adb is in. Type the following with hitting enter at the end of the line:

cd C:\androidsdk\tools

7. In the command prompt window, type the following commands, hitting enter after each line.

adb shell cat /dev/msm_rotator

8. The return command should read: /dev/msm_rotator: invalid length. If so, continue on.

9. Type the following commands, hitting enter after each line:

adb push fre3vo /data/local/tmp

adb shell

chmod 777 /data/local/tmp/fre3vo

/data/local/tmp/fre3vo -debug -start FAA90000 -end FFFFFFFF

10. If you receive any type of error after doing the above, reboot your phone then try ONE of the following below, ONE at a time.

a. Still in a command prompt window, type the following (one at time, until one works. You must reboot your phone before trying another entry) hitting enter after each entry.

/data/local/tmp/fre3vo -debug -start 10000000 -end 1FFFFFFF

or

/data/local/tmp/fre3vo -debug -start 20000000 -end 2FFFFFFF

or

/data/local/tmp/fre3vo -debug -start 30000000 -end 3FFFFFFF

or

/data/local/tmp/fre3vo -debug -start F0000000 -end FFFFFFFF

or

/data/local/tmp/fre3vo -debug -start E0000000 -end EFFFFFFF

11. Once a correct entry is received, it will restart adb. Once it does, confirm temporary root is obtained.

12. In a command prompt window, type the following, hitting enter after the command.

cd C:\androidsdk\tools

adb shell

13. You should now see a # (indicating root) and not the $ sign.

14. exit.

III. Changing version numbers for downgrading.

1. On your computer, click on the Start menu.

2. In the search box in the start menu, type cmd and hit enter.

3. When the command prompt window opens, you must navigate to the folder adb is in. Type the following with hitting enter at the end of the line:

cd C:\androidsdk\tools

4. In the command prompt window, type the following commands, hitting enter after each line.

adb push misc_version /data/local/tmp/misc_version

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

adb shell

/data/local/tmp/misc_version -s 1.00.000.0

5. The output should be the following:

–set_version set. VERSION will be changes to: 1.00.000.0

patching and backing up partition 17…

IV. Backing up data in temporary root.

1. If you have nothing to back up, proceed to the next section.

2. Downdload the fre3vo vision temp root file.

3. Extract and place in your adb tools folder.

4. Plug in your phone via the USB cable and select charge mode.

5. On your computer, click on the Start menu.

6. In the search box in the start menu, type cmd and hit enter.

7. When the command prompt window opens, you must navigate to the folder adb is in. Type the following with hitting enter at the end of the line:

cd C:\androidsdk\tools

8. In the command prompt window, type the following commands, hitting enter after each line.

adb push su /data/local/tmp/

adb push busybox /data/local/tmp/

adb push fixsu.sh /data/local/tmp/

adb install SuperUser.apk

adb shell chmod 755 /data/local/tmp/fixsu.sh

adb shell /data/local/tmp/fixsu.sh

9. Go into the Android market and install a backup application such as, Titanium Backup or MyBackup Root.

10. Perform a full backup.

V. Downgrading.

1. Download the appropriate file for your device.

a. G2

b. Desire Z

c. Mytouch 4G

d. Desire HD (file is missing, if you have this file please use our contact us form and link to it so we can add it here for others, thanks)

2. Place the download file into your adb tools folder.

3. Download the fastboot file.

4. Extract and place the appropriate operating system file into your adb tools folder.

5. If it is not already, plug your phone in via the USB cable and select charge mode.

6. On your computer, click on the Start menu.

7. In the search box in the start menu, type cmd and hit enter.

8. When the command prompt window opens, you must navigate to the folder adb is in. Type the following with hitting enter at the end of the line:

cd C:\androidsdk\tools

9. In the command prompt window, type the following commands, hitting enter after each line.

adb reboot bootloader

fastboot-windows devices (replace windows with your appropriate operating system name. i.e. linux, mac)

fastboot-windows oem rebootRUU

fastboot-windows flash zip StockROM.zip

fastboot-windows reboot (again, replace windows with your operating system’s name)

VI. Creating a goldcard.

1. ONLY CONTINUE IF THE ABOVE DID NOW WORK CORRECTLY.

2. Download flashgc and place in your adb tools folder.

3. If it is not already, plug your phone in via the USB cable and select charge mode.

4. On your computer, click on the Start menu.

5. In the search box in the start menu, type cmd and hit enter.

6. When the command prompt window opens, you must navigate to the folder adb is in. Type the following with hitting enter at the end of the line:

cd C:\androidsdk\tools

7. In the command prompt window, type the following commands, hitting enter after each line.

adb push flashgc /data/local/tmp

adb shell chmod 755 /data/local/tmp/flashgc

adb shell /data/local/tmp/flashgc –cid/sys/class/mmc_host/mmc/mmc:*/cid

8. Reverse your CID # and paste it here: http://psas.revskills.de/?q=goldcard

9. You will receive your gold card image via email.

10. Place the gold card image into your adb tools folder.

11. In your command prompt window, type the following, hitting enter after the command.

adb push goldcard.img /data/local/tmp/

12. Confirm temporary root, by typing the following.

adb shell

13. If presented with a $ sign, you must repeat the section “gaining temporary root”.

14. If presented with a # sign, type the following in the command prompt window, hitting enter after typing the command.

adb shell /data/local/flashgc /data/local/tmp/goldcard.img –backupfile /data/local/tmp/sdcardMbr-backup.img

15. Once flashed, typed the following in the command prompt window, hitting enter after typing the command.

adb pull /data/local/tmp/sdcardMbr-backup.img

16. Once completed, go back to the “downgrading” section of this how to and run the commands.

Thanks to Setherio for the latest adaptation of the procedure. If you would like to donate, please click here and visit his page. We take no credit for the procedure and all thanks and donations should go to the original developers, we simply made it easier to read and put it in a place that was easier to find.
Thanks to Cimer, Guhl, and agrabren for the original downgrade procedure.

Now, that you are on Froyo, you can head to our How To’s section to gain root using one of the methods listed there.

If this procedure helped you, please consider donating to the original developer or at least sending them a thank you.

Now that you are rooted, head here to learn some of the fun things you can do!

For all the devices we have rooting procedures for, head here.


Something Wrong? If you notice an issue with the procedure (broken link, steps out of date, etc.), use this form to let us know! Otherwise, if you just are having trouble with the procedure, reach out to us on Twitter, Facebook, or Google+.

  • luffy

    i can’t also can’t get past debug part. tried everything non works…

  • Eric90808

    Stuck on step 9 and 10 also. Every range returns errors of some sort. *sigh*

  • Troy Hall

    Stuck on part 3 i type in all the commands and it comes out right but at the very end it says “Error opening backup file.” can anyone help me with this?

  • Josh

    In step 9, the part that says: “fastboot-windows oem rebootRUU”, It just hangs saying “waiting for device”. My phone is in the reboot loader and when I hit the power button it switches between fastboot and something else but doesn’t seem to respond. I keep restarting (through reboot loader menu) and same thing. Any ideas?

  • John

    None of these entries work! I did it twice. What do I do!?

  • gmack

    is it possible to do this on a mac??

  • tase25

    They definitely did, but I like how it’s easier to read on this website. And to that I say thanks