[Desire Android Development] benko286:
Guide how to unroot, flash ROM and updates

fake-flash

Fake-flash is only possible with root access, you need to be rooted to use it. Basically, its a way to have recovery running on the phone without using a PC (making it safer as you are less likely to brick using no USB cable to push files, instead, you push directly from your phone). You can use "ROM Manager" from the marketplace to do this. Simply place the downloaded test recovery image on the phone and the downloaded rom zip (renamed to update.zip) and flash using ROM Manager.

Preperation

Download the fake-flash update zip from one of the links below

Copy the update.zip to the root of your SD card (the name MUST remain as update.zip)

When you want to launch the recovery image

Turn on your device with 'volume down' pressed and select 'Recovery'

When the exclamation mark appears, press and hold 'volume up' then press 'power'

Select the second option, 'Apply sdcard:update.zip

That's it, ClockworkMod recovery should launch! :)

DOWNLOAD

How to flash ROM

Download this

Turn off Desire and then turn it on while holding back button to enter bootloader(white screen)

Once in "white screen" press power button again to enter bootloader

Connect Desire with PC

Press Volume Down and than Power to enter Recovery

Now the red triangle should show up, go to folder you downloaded file and press recovery-windows.bat, recovery-mac.sh or recovery-linux.sh depending on which OS you have

Now you are in recovery mode (green screen), press Wipe and than Wipe data/clear storage, than press optical tracker to confirm it

After that press Volume Down to go back to main menu in recovery

Navigate to Flash zip from sdcard using optical tracker, select .zip confirm it and wait until process finish, after that press Reboot system and unplug you Desire

Enjoy your new ROM ;)

How to change boot animation

Download this

Copy bootanimation.zip to SD Card

Turn off Desire and then turn it on while holding back button to enter bootloader(white screen)

Once in "white screen" press power button again to enter bootloader

Connect Desire with PC

Press Volume Down and than Power to enter Recovery

Now the red triangle should show up, go to folder you downloaded file and press recovery-windows.bat, recovery-mac.sh or recovery-linux.sh depending on which OS you have

Navigate to Flash zip from sdcard using optical tracker, select .zip confirm it and wait until process finish, after that press Reboot system and unplug you Desire

Unplug your HTC and enjoy your new boot animation

Alternative method to install a custom boot animation (without Recovery Mode - by MasDroid)

You need to have HTC Sync and Android SDK installed (http://developer.android.com/sdk/index.html).

To get adb running on the Windows OS platform, for example, download & extract the Android SDK to the following path: %SystemDrive%\android-sdk-windows (e.g. C:\android-sdk-windows)

Turn on your phone and connect it to your PC via a USB port.

Place the downloaded bootanimation.zip into the same folder as the adb app (in the tools folder of the SDK).

Open command prompt and type cd C:\android-sdk-windows\tools, hit enter.

Type adb push bootanimation.zip /data/local, hit enter.

Reboot phone.

How to Unroot your HTC Desire to stock

If you Have A 0.75 Bootloader:

Generic RUU Download / Mirror #1

T-Mobile UK RUU Download

o2 UK RUU Download

3 UK RUU Download

If You Have A 0.80 Bootloader: Download

Other RUUs Avalible Here

You will need:

HTC Sync (For Drivers)

The Download Above

A Windows PC

A Goldcard (Not required for generic HTC Desires)

The Guide:

Make sure your goldcard is in your phone (If Required-if your phone is branded)

Turn your Desire on

Connect it to a Windows PC

Run the HTC RUU

Let it run

& YOUR DONE! ;)

You can use it to return your phone for warranty purposes!