[HTC Wildfire S] emveefr:
Firts before all, I WILL NOT BE RESPONSABLE IF YOU'VE GOT ANY PROBLEM FOLLOWING THESE STEPS.

What to learn in this tut ?

- GAIN FULL ROOT ACCESS IN ADB SHELL easily, thanks to zergRush

- DOWNGRADE from a ROM compatible HBOOT 1.03 to a ROM compatible HBOOT 0.9 (and consequently avoid RUU Output Errors)

Thanks to mphi tuto, aparici help and zergRush I managed to do it whereas with other techniques it doesn't work.

Techniques not working to downgrade :

Installing a modified PG76IMG.ZIP (version has been modified to be after my current ROM version, modifying android-info.txt) with GoldCard and Bootloader Install

--> Bootloader loads and checks the zip on your goldcard, but after finishing to check it goes back to bootloader menu

Installing with the RUU by replacing the rom.zip in temp folder. I extracted rom.zip content then change version in android-info.txt, then recompress a new zip and replace the other by the new one.

--> Signature Version Error even if the ROM version is changed…

I guess it doesn't work because the phone is not rooted and S-OFF.

Working downgrade steps :

Download HTC Sync USB Drivers and the tools you will need here, including zergRush (found here) : http://www.mediafire.com/?z2l7n2gxznz6276

Download the HTC Official ROM which is hboot 0.9 here : http://www.filefactory.com/file/cbb...35.3029H_7.46.35.08_release_183799_signed.exe

Back up your phone data on a SD card or something else

Shut down your phone then insert GoldCard in it and power on (Creating a goldcard http://xdaforums.com/showthread.php?t=954723)

Connect your phone to your computer via USB and select HTC Sync mode (also verify USB debugging is enabled).

Extract the tools at the root of your computer (example c:\tools)

Run Windows CMD and move to the tools folder, then execute these commands

Put the tool on your sd_card

adb push flash_image /sdcard/flash_image

Add zergRush to your phone

adb push zergRush /data/local/zergRush

Enter interactive shell mode

adb shell

Launch zergRush

chmod 755 /data/local/zergRush
/data/local/zergRush

The resulting output should be like this :

[**] Zerg rush - Android 2.2/2.3 local root
[**] (C) 2011 Revolutionary. All rights reserved.

[**] Parts of code from Gingerbreak, (C) 2010-2011 The Android Exploid Crew.

[+] Found a GingerBread ! 0x00017118
Sending 149 zerglings ...[ * ] Trying a new path ...[ * ] Sending 149 zerglings ...[ * ] Trying a new path ...[ * ] Sending 149 zerglings ...[ * ] Trying a new path ...[ * ] Sending 149 zerglings ...
[+] Zerglings caused crash (good news): 0x401219c4 0x0054[ * ] Researching Metabolic Boost ...
[+] Speedlings on the go ! 0xafd260a9 0xafd39f9f[ *] Poping 24 more zerglings[ * ] Sending 173 zerglings ...

[+] Rush did it ! It's a GG, man !
[+] Killing ADB and restarting as root..enjoy!

Kudos you're root !! you can even exit adb, you still will be root as long as your phone is connected via usb .

Now execute those commands :

cat /dev/mtd/mtd0 > /sdcard/misc.img
cat /sdcard/flash_image > /data/flash_image
chmod 777 /data/flash_image
exit

Once you've exit from adb shell type this :

adb pull /sdcard/misc.img misc.img

Now the misc.img is in your tools folder. Run HxD.exe and select OK when prompted.

Open misc.img in the current directory, and change line 11 which contains the version number of your current ROM. Change it by number of the future ROM you want to install.

Changes will appear in red. Save the file to misc2.img.

Copy the img t the SDCard using this command :

adb push misc2.img /sdcard/misc2.img

Return to the shell where you're root

adb shell
/data/flash_image misc /sdcard/misc2.img

After this, run the RUU installer and let it do its work !

You should have succeed :)

Please send me your hboot version and your before and after configuration of roms before and after the downgrade or upgrade following this tutorial if you succeed in it !

Experimentations :

Being root in adb allows you to do things like those who are S-OFF. If you tried something, inform me by PM for me to add informations to this part of the tuto.

Before and after configs Working:

- ROM 1.48.118.0 T-mobile Poland TO ROM 1.33.401.2 StockWWE, HBOOT 1.03, S-ON, CID: T-MOB009

- ROM 1.64.192.1 Vodafone FR TO ROM 1.30.401 Official HTC Rom, HBOOT 1.03 S-ON

- ROM T-Mobile NL rom TO ROM 1.30.401 Official HTC Rom

It seems to be not working on T-Mob USA phones, take care following steps

Special Thanks :

mphi for his tuto, aparici for his help, revolutionary for their local root

----------

Hope it will help :) ! Let me know how it's going for you !

Please click Thanks if you find the post useful :)