[Desire Android Development] benko286:
Root guide for users who have branded(locked) Desire

Before you start to root your branded(locked) Desire you need to know:

How to make GoldCard

GoldCard Tool v0.0.5

Requirements:

Latest HTC Sync software installed (www.htc.com)

Spare microSD card

Windows PC (Tested on Windows7 x64,Vista x86)

.Net Framework 2.0

Step by step instructions:

Format the microSD card to FAT32 format.

Put the microSD card in your device and boot it.

Launch GoldCard Tool (Right Click and run as Admin if needed)

Connect Android device to USB (USB Debugging must be enabled on the device)

Click 'Get CID' (If MMC1 fails try MMC0)

Click the link to open revskills.de, enter the CID number from Goldcard Tool and create your goldcard image, which will be e-mailed to you.

Enable USB Mass Storage on the device.

Click 'Refresh' and select your microSD card in the drop down menu.

Click 'Load GoldCard.img' and open the .img file you got by email.

Click 'Patch MMC'

You now have a goldcard!

[Notes]

HTC Sync is required for drivers only

Android SDK is not required

Guide to root with Tiny Core Linux

IMPORTANT - this tutorial will not work if you have installed 2.2 OTA update from HTC!

Download Tiny Core Linux Live CD

---- For a bootloader of 0.75.* or lower AND a current ROM of 1.15.* or lower Download

---- For a bootloader of 0.80.* or lower AND a current ROM of 1.21.* or lower Download

Burn the downloaded iso on CD/DVD

Boot your computer from that CD/DVD, once you booted it will ask you to press Enter or F2/F3 keys, you need to press Enter

Insert the goldcard into the phone.

Start the HTC Desire in bootloader by holding back and turning it on by the power button

Connect the USB cable to the phone and PC

Open a terminal by clicking the icon that looks like a monitor at the bottom on Tiny Core Linux and type the following commands:

sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom
cd /mnt/cdrom/desire
sudo ./step1.sh

Wait until the phone restarts back into the white bootloader screen

Turn the phone off via the bootloader menu (or pull the battery and USB cable) and remove the goldcard. Put a non-goldcard SD into the phone or reformat the goldcard and put it into the phone. Put the phone back into bootloader mode (Press Power button and Back button).

In terminal type the following command:

sudo ./step2.sh

Once the phone has finished, you will see a screen with a green text. Use the optical tracker to navigate the menu to select Wipe and then press Wipe data/factory reset

Once complete you should be back in the main menu. Now select the option Flash zip from sdcard and than choose rootedupdate.zip

Once back in the main menu, choose restart the phone - the rooting process is now finished:)

Guide to root using Windows, MAC OS X and Linux

IMPORTANT - this tutorial will not work if you have installed 2.2 OTA update from HTC!

Download following items:

---- If you have a bootloader version 0.75.xxxx or below AND a current ROM of 1.15.xxx.x or below - DOWNLOAD / MIRROR

---- If you have a bootloader version 0.80.xxxx or below AND a current ROM of 1.21.xxx.x or below - DOWNLOAD / MIRROR

Unzip the file you downloaded to a directory, then open a command prompt / terminal window at that directory.

Turn off your HTC Desire, put GoldCard and then turn it back on with the 'back' button held down. You'll see 'FASTBOOT' written on the screen in a red box. Connect the phone to the computer.

In the command prompt/terminal window, enter either 'step1-windows.bat'(for windows), './step1-mac.sh'(for mac) or './step1-linux.sh'(for linux)

Turn the phone off via the bootloader menu (or pull the battery and USB cable) and remove the goldcard. Put a non-goldcard SD into the phone or reformat the goldcard and put it into the phone. Put the phone back into bootloader mode (Press Power button and Back button)

Navigate to the 'BOOTLOADER' and then 'RECOVERY' option on the menu, using the volume buttons to move and the power button to select.

In the command prompt/terminal window, enter either 'step2-windows.bat', './step2-mac.sh' or './step2-linux.sh' as appropriate.

When this has completed, your device should be at the 'recovery'("green") screen. Select Wipe and then press Wipe data/factory reset

Once complete you should be back in the main menu. Now select the option Flash zip from sdcard and than choose rootedupdate.zip

Once back in the main menu, choose restart the phone - the rooting process is now finished