Hooray, it happened. HTC Desire S was included in the list of supported devices for Cyanogenmod firmware, it happened with the release of 7.1. Previously, there was also the possibility of firmware, but I had to use assemblies with XDA, although they worked. Who cares how - welcome under cat.
Training
So, you have HTC Desire S with official HTC firmware. In order to avoid misunderstandings with software compatibility, I recommend, for a start, to roll all the official updates that exist now for this beast. More we will be interested in the version of HBOOT (bootloader). To find out, you need to turn off the phone (and turn
it off
completely ; to do this, you must uncheck the
Quick Download checkbox in the settings, or turn it off as it is, and distort the battery), then hold down the volume rocker. The bootloader menu will be displayed on the screen, the HBOOT version will be shown above, the correct and necessary one is 0.98.0002, although it should work from 0.98.0000 too, but I did not check it. Also on top should be the inscription S-ON, this means that the phone is not unlocked.
Roll recovery and do S-OFF
We go to
revolutionary.io and download the latest version of the softphone from there, which will help us to do what we’re looking for, and although its status is still beta, it works perfectly, out of 5 attempts (with different phones) everything ended successfully. While the jump is in progress we fill in the form, the serial number of the device can be peeped under the battery cover, or on the box.

')
After clicking the
Generate key button, the site will return the key.

It needs to be remembered, but better written. Now go to
Menu-> Phone Settings-> Applications-> Development and tick
USB Debugging . In addition, you need to install the driver, you can take it
here “Revolution” by this time should have already downloaded, unpack the archive where it is convenient, for example in C: \ revo.
Well, the preparation for the process is finished, we begin to sew. We connect the phone via USB cable to the computer, wait until the device is installed in the operating system, go to the folder with the unpacked archive and start the revolutionary.exe (I don’t know the linux owners, but I think it’s not much more difficult). Next, follow the instructions of the program, everything is simple.

Toward the end of the procedure, the question will be asked:
Do you want to download (Internet connection required) and flash ClockworkMod Recovery? - here, you definitely need to agree, otherwise, then you will have to roll up the recovery separately (although for supporters of other recovery mods, you just have to refuse).
While revolutionary is working, the phone will reboot several times, this is normal. It is strictly not recommended during the process to remove the device from the cable and to do other unnatural things. Great risk to get beautiful glossy bricks. When the revolutionary is finished, boot again into the bootloader to make sure: S-OFF is received. Above the pink inscription Revolutionary will flaunt. With the volume rocker, go to the recovery item and press the power button, ClockworkMod should load.
By the way, what is S-ON / S-OFF? That's what about this w3bsit3-dns.com tells us:“On the new HTC devices, a security called secuflag has been installed. This protection mounts read-only in the / system and / recovery sections, that is, we cannot directly change / copy system files from the phone, nor can we flash zip files through fastboot and recovery, since the protection only allows HTC signed files .S-OFF turns off all checks in the bootloader, mounting in the / system and / recovery read / wrire sections.
In this case, we have the opportunity to change the system files, delete unnecessary programs from the firmware directly from the phone, resize the system partitions, download picture (Splash), etc. ”Back up and sew
First of all, I recommend making a full backup of the system built into the recovery utility
Nandroid , so that if something goes wrong, you can roll back. To do this in lockworkbod, go to the
backup and restore item (navigation in the menu is done with the volume rocker, select the menu item with the power button) and select the
Backup item. The backup process is displayed on the screen. Saving goes to the SD card along the way: clockworkmod / backup /, the backups themselves are called up to the current date.
Attention! Do not rename the directories with backups, otherwise they will not be restored later, Nandroid will swear at the mismatch of MD5 sums.
After the backup is complete, you can flash Cyanogenmod 7.1. We take it
here , I recommend stitching only stable releases, as a last resort, RC (release candidates). You will also need to pick up an archive with proprietary Google applications, this is
here . I deliberately do not provide direct links to files, versions do change from time to time. Downloaded archives need to be thrown into the root of the SD card. To do this, you do not have to pull the card out of the phone or boot into Android, just go to the
Mounts and Storage item and select
mount USB storage , after this manipulation, the SD card will appear as a removable disk in your computer, after copying, just leave this menu item and card will be mounted again.
Well, that was the last step, the firmware itself. To begin with, we will do a full wipe (wipe, clear) of the file system.
Wipe data / factory reset-> Yes - delete all user data . Now select the
install zip from sdcard-> choose zip from sdcard items and first
specify the update-cm-7.1.0-DesireS-signed.zip archive, and after the end of the process we repeat for
gapps-gb-20110828-signed.zip .
Conclusion
Congratulations, you can now restart the phone and, offering prayers and promises to be good to the gods, wait for the device to be fully loaded. If everything went well, you will be met by an android on a skateboard,

and then the standard initial settings dialog. After this, the first thing to do is to create a Google account, then the Google Apps Setup dialog will open, where you can select the products you need from the good corporation.
Attention! This dialog will open only once, I do not know how to call it again, so think ahead that you may need from these applications. In addition, I also want to note that this firmware is already rutovana, that is, it contains the su utility, and there is no need to take additional actions to obtain the superuser rights. By the way, using this manual, you can install other ROMs that are compatible with HTC Desire S, but it's better for them to read about the installation nuances on the thematic sites.
PSBy the way, often phones with custom firmware are not accepted under warranty, so before going to SC (if necessary) you need to return the device to stock form, but this is in the next article.
PpsAnd remember, everything you do with your phone, you do at your own peril and risk. The author of the article is not responsible for damaged devices and nerves and other bathert connected with the re-flashing of YOUR device.