[Wildfire General] lokeshramesh:
If Anyone having problem with doing S-OFF then verify this before proceeding:

1. Make sure you have Froyo (Official) WWE ROM installed. So that you will have version 2.2.1

2. Make sure you have WWE ROM installed so that your hboot version will be 1.01.0001 as there's some problem with others like 1.01.0002 or so..

3. Make sure HTC Sync is uninstalled as it may interrupt the normal operation of the tool. DON'T UNINSTALL DRIVERS.

4. Make sure you are in Charge Only mode and Debugging Mode Option selected. If not goto Settings > Applications > Development > USB Debugging - Check this option.

5. Make sure your phone is connected with turned on in normal mode not in hboot or recovery or fastboot mode.

6. If you have Eclair ROM upgrade it to FROYO and if you have Regional ROM which has hboot different from 1.01.0001 then downgrade it to WWE ROM by using below method provided by dannyjmcguinness:

1. Started out with hboot 1.01.0002 and Froyo 2.2.1 preinstalled when I bought it new.

2. Achieved shell root using the psneuter hack (newbies, you may find it easier using SuperOneClick 1.65 or 1.7 for this). You should now have root #.

3. Run command "adb shell cat /dev/mtd/mtd0 > /sdcard/mtd0.img". This creates an image of mtd0 on sdcard. There are other tutorials with theses kind of steps and you may find it referred to as misc.img as opposed to mtd0.img. This doesn't really matter as long as the final command includes the correct file name. This command will fail if connected as disk drive, you must be charge only.

4. Reconnect as disk drive allowing computer gui access to sdcard. Using a hex editor (I used HxD, which is freeware) open disk image mtd0 on sdcard. On line 6 you should find a version number and it will look something like 2.22.405.1. This needs to altered to correspond to the RUU you intend to flash. If you are on hboot 1.01.002 you need an WWE RUU first that contains hboot 1.01.001 so you are still looking at reinstalling Froyo. Those allready on hboot 1.01.001 may choose any WWE RUU. I'm not absolultley sure, but it may be possible for those on those on hboot 1.01.002 to skip to another RUU but I think you would more than likely get a "customer ID" error.

5. I used the goldcard method to flash my RUU. There are many tutorials, but some seem to sequence different steps. To get mine working I used the goldcard tool available on these forums, but found it wouldn't work. It does, however do a good job of getting your CID and reversing it for you, so copy that and use the page provided with the tool to get your goldcard via email.

6. Make sure you are connected as disk drive and open HxD again. Open the goldcard image as read-only. Also open the sdcard (after using windows to full format it, fat32). Oh yeah, dont forget it needs to be a primary partition (do this before format) there is a handy free tool called "MiniTool Partition Wizard Home Edition", which is so easy to use. Make sure physical sd disk is opened and read-only is unchecked.

7. Copy the goldcard using HxD (select all, or 0 - 17F) and overwrite the same blocks on sdcard. Save it.

8. Disconnect phone from PC and allow phone to mount, reconnect as disk drive. If phone or PC asks for format keep repeating sequence until normal operation can be maintained.

9. Download "flash_image" a file with no extension. Push it to sdcard. You need to have flash_image and your modified mtd0.img on your sdcard (It may be useful to ceate goldcard before creating mtd0.img, unless you back it up to PC before goldcard creation).

10. Run command (connected charge only, as root) "cat /sdcard/flash_image > /data/flash_image

11. Run command "chmod 0755 /data/flash_image" On a seperate note I've been using permission set 67676 as I've noticed the permission set seems to be more then 4 digits, there seems to be 5, poosibly even 6 digits. This particular permission changes some of the permissions to capital characters. What use this is, i dont know I'm looking into it though

12. run command "/data/./flash_image misc /sdcard/mtdo.img"

13. You should now be able to flash RUU or pull rom.zip from temp files when running RUU and rename PC49IMG.zip

14. PC49IMG.zip should be pushed to root of sdcard if using goldcard (I don't know if RUU can be flashed normally without goldcard, but i think so, i dont think RUU pushes rom.zip to sdcard but it may be necessary as a CID thing).

15. Its now successfully downgraded to 1.01.0001 (WWE FROYO ROM)

Or check here too for downgrading:

http://xdaforums.com/showthread.php?t=1132028&highlight=1.01.0002+to+1.01.0001

Hope after this checks you can S-OFF successfully.