📜 ⬆️ ⬇️

Course young Desire'voda

To write such an article I was inspired by the fact that for a person who joined the slender ranks of Desire'vodov, information about the Android platform is very much fragmented. On the one hand, there is one platform for all Android devices, on the other hand, each device has its own nuances and subtleties. In addition, there is a lot of information on such forums as w3bsit3-dns.com.ru and forum.xda-developers.com , but as a rule it is spread over all topics. We have to wade through hundreds of pages in an attempt to extract valuable pieces of information.

Finger Memory Architecture

Our smartphone has four types of memory:

Like any other Unix-smartphone, HTC Desire ROM contains the OS kernel, the file system and the rest of the OS.
Flash memory ROM is divided into sections, which, if necessary, can be updated separately and independently of each other:
When performing wipe (reset to factory settings), the data, cache and ext area are erased (on the memory card).

Bootloader, as noted above, consists of IPL (Initial Program Loader) and SPL (Second Program Loader, aka HBOOT). IPL is implemented in hardware and its change, in fact, is not possible. This is an analogue BIOS chip in terms of a PC.
SPL is responsible for preparing the hardware of the phone for launching, loading and executing the OS kernel. In addition, it allows you to perform phone firmware and communicates via USB from a PC before the phone OS is loaded (the so-called fastboot mode). It is important to remember that SPL firmware is critical and in case of a violation of its firmware or damage for any other reason, you will receive a so-called “brick”, a brick, that is, an absolutely useless piece of iron for 20,000 rubles. The SPL firmware must necessarily correspond to the firmware of the radio controller chip (radiofirmware).
So we got to the next section of memory - recovery. Outwardly, this is a small menu that allows you to perform all sorts of service functions. Currently, the most common “recovery” for Desire are the following: ClockworkMod, Amon_RA and psfMod.
To be able to flash the recovery, you must unlock the possibility of flashing unsigned (almost all third-party firmware are not signed) firmware recovery (make the so-called S-OFF). You need to download the image for the disk (http://alpharev.nl/). Burn it to the CD disc, boot from it and follow the instructions.
For any work related to flashing the phone, you need a root.

Ruth, intelligent and merciless

And so what we have: a PC, HTC Desire, a USB cable.
The first step in the direction of "refining" our smartphone is getting the root.
What is the root and why do we need it so much? In simple words - this is an administrator account that will allow you to get everything your soul desires over the system:
For all these buns, the UnrEVOked Routing Program is required . We go to the site, choose our phone, download the version of the program corresponding to our OS. In the case of Windows, install the HBOOT driver . If HTC Sync is installed, delete it (except for HTC Driver Installer). Reboot the computer.
Set the following checkmark in the phone “Settings> Applications> Development> USB Debugging” and “Settings> Applications> Unknown Sources”
Run the previously downloaded reflash_package.exe in administrator mode (right click> Run as administrator). We connect the phone to the PC. We wait a few minutes until the process of rutting is completed. The superuser icon should appear in the list of installed programs.
Third-party firmware

Third-party firmware can be based either on official firmware from HTC Sense (labeled for example - FRF91), or on the source code from Google (AOSP, Android Open Project Project) or CyanogenMod project.
Unlike official firmware, third-party firmware, as a rule, is already rooted. In addition, they can contain a modified interface, have a certain set of pre-installed programs and all sorts of "chips":
A fairly complete list of third-party firmware, as well as their characteristics and links to firmware pages you can find here.
If you have any comments, corrections or additions to the table, please write me a profile on Google.
For any work on flashing and working with the phone via USB, I recommend using the following program - QtADB. It will allow you to take screenshots of the screen, view statistics on occupied memory, install \ delete programs and much more.
You can download it either on the project site or already configured here .

PS You perform any actions on the firmware of the phone at your own peril and risk. No one except you is responsible for this!

Source: https://habr.com/ru/post/106970/

All Articles