Flash and restore of HTC Desire 516 Dual Sim smartphone
HTC Desire 516 Dual Sim is a smartphone that, like many others Android devices, it can be flashed in various ways. Reinstallation of system software is a necessity that does not occur so rarely among owners of the model in question. Such manipulations allow, if carried out correctly and successfully, to a certain extent to “refresh” the device in of software, as well as restore performance lost as a result of failures and errors.
The success of the sewing procedures predetermines the correct preparation of the tools and files that will be necessary in the work process, as well as the clear execution of the instructions. Also, do not forget the following:
Responsibility for the result of manipulations with the device lies solely with the who performs them. All actions described below are performed by the owner of the smartphone at his own peril and risk.
Training
The preparatory procedures that precede the direct process of transferring files to device partitions can be time consuming, but it is strongly recommended to complete them in advance. Especially in the case of HTC Desire 516 Dual Sim, the model often creates problems for its s in the process of manipulating the system software.
Drivers
Installing drivers to pair a device and software tools for firmware is usually straightforward. You just have to follow the instructions for Qualcomm devices in the article:
Lesson: Installing drivers for Android firmware
Just in case, the file with the drivers for manual installation is always available for from the link:
drivers for firmware HTC Desire 516 Dual Sim
In view of the possible need to restore the smartphone software, as well as the mandatory deletion of data from the device during the software installation process, you should keep all the valuable information contained in the phone memory in a safe place. . And it is also highly recommended to create backup of all partitions using ADB Run. Instructions can be found in the material at the link:
Lesson: Explay Tornado Smartphone Firmware
programs and files
Since various software installation methods are applicable to the device in question, which are quite different from each other, the links to the necessary programs and files will be posted in the description of the methods. Before proceeding with the direct execution of the instructions, it is recommended that you familiarize yourself with all the steps that will have to be carried out, as well as all the necessary files.
Firmware
Depending on the status of the device, as well as the objectives set by the who makes the firmware, the method to perform the procedure is selected. The methods described below are ordered from simple to complex.
Method 1: MicroSD + Factory Recovery Environment
The first method by which you can try to install Android on HTC Desire 516 is to use the native recovery environment (recovery) capabilities provided by the manufacturer. This method is considered official, which means that it is relatively safe and easy to implement. the software package for installation according to the instructions below, using the link:
the official firmware of HTC Desire 516 to install it from a memory card
As a result of following the steps below, we get a smartphone with the official firmware installed for the European region of the version.
There is no Russian language in the package! Russification of the interface will be described in an additional step of the instructions below.
-
- We copy without UNPACKING or renaming the file obtained from the previous link to the root of the MicroSD card formatted in FAT32.
See also:Flash drive writes disk is write protected
-
- Turn off the smartphone, remove the battery, insert the card with the firmware into the slot, replace the battery.
- We start the device as follows: press and hold simultaneously the "Volume +" keys y "Switched on" until the Android image appears, within which a certain process is carried out.
- Let's release the buttons. The firmware process has already started and will continue automatically, and its progress is indicated by a filling progress bar on the screen below the animation and the inscription: "Installing a system update ..." .
- After the operation is completed, the phone will automatically reboot and after initialization of the installed components, the Android welcome screen will appear.
Important: Be sure to delete the firmware file from the card or rename it; otherwise, on subsequent visits to factory recovery, the automatic firmware will start again.
Optional: Russification
For Russification of the European version of the operating system, you can use the Android application Morelocale 2. The program is available on Google Play.
Morelocale 2 for HTC Desire 516 Play Store
- The application requires root rights to function. Super rights to the model in question can be easily obtained using KingRoot. The procedure itself is quite simple and is described in the link material: Lesson: Get root rights with KingROOT for PC
- Install and run Morelocale 2
- On the screen that opens after starting the application, select the item "Russian (Russia)" , then click on the button «Use privilege of Super « and grant root rights to Morelocale 2 (the button "Let" in the King request popup).
- As a result, the location will change and the will receive a fully Russified Android interface, as well as installed applications.
Method 2: running ADB
ADB and Fastboot are known to allow almost all possible manipulations to be done with memory sections of Android devices. If we talk about HTC Desire 516, even in this case, with the help of these wonderful tools, you can make a full firmware of the model. For convenience and simplification of the process, you can and should use the ADB Run container.
The result of following the instructions below will be a smartphone with the official firmware version 1.10.708.001 (the last existing one for the model), which contains the Russian language. You can the file with the firmware from the link:
the official firmware HTC Desire 516 Dual Sim to install via ADB
- and unzip the file with the firmware.
- The resulting unzipped folder contains a multi-volume archive containing the most important image for the installation: "System" . It should also be extracted into the directory with the rest of the image files.
- Install ADB Run.
- Open the directory with ADB Run in Explorer, found along the path
C:/adb
, and then go to the folder "Img" . - Copy the files boot.img , system.img , recovery.img , obtained as a result of unzipping the firmware, in folders with the corresponding names contained in the directory
C:/adb/img/
(that is, the file boot.img is in the folder,C:adbimgboot
and so on). - Writing the above three image files to the corresponding sections of the HTC Desire 516 flash memory can be considered a complete system installation. Generally, you do not need to install the rest of the image files, but if necessary, copy them to the folder
C:adbimgall
. - Turn on USB debugging and connect device to PC.
- Launch Adb Run and use it to restart the device in the mode "Fastboot" . To do this, first select item 4 "Restart devices" in the main menu of the application, and then enter the number 3 from the keyboard - the item "Restart the bootloader" . Press "Enter" .
- The smartphone will restart in the state "" , indicated by the starter protector "HTC" frozen on the screen on a white background.
- In ADB Run, press any key and then return to the main program menu - item «10 - Back to menu» We chose "5-Fastboot" .
- The next window is a menu for selecting a memory partition to which the image file will be transferred from the corresponding folder in the directory
C:adbimg
. - Optional but recommended procedure. We clean the sections to be recorded, as well as the section "Data" . Choose «E - Delete partitions (delete)» And then one by one we go to the items corresponding to the names of the sections:
- 1 - "Start" ;
- 2 - "Recovery" ;
- 3 - "System" ;
- 4 - "Data" .
It is not necesario delete "Modem" y "Splash1" !
- We return to the image selection menu and write down the sections.
- We are showing the section "Start" - point 2.When you select the command «Save section» , a window will open showing the file to be transferred to the device, just close it. Then you will need to confirm that you are ready to start the procedure by pressing any key on the keyboard.
- Once the process is complete, press any button on the keyboard.
- Select «Continue with Fastboot» typing "Y" on your keyboard and then pressing "Enter" .
- Similar to the previous step of the instruction, we transfer the image file from "Recovery"y "System" to the memory of HTC Desire 516.The image of the "System" it is essentially the Android operating system that is installed on the device in question. This section is the largest in of volume and therefore takes a long time to rewrite. The process must not be interrupted!
- If it is necessary to update the rest of the partitions and the corresponding image files are copied to the directory
C:adbimgall
, to install them, select the item «1 - Firmware all partitions» in the menu selection "Fastboot Menu" .And wait for the process to complete. - At the end of the recording of the last image, select the query on the screen "Reboot device Normal mode (N)" entering "N" from the keyboard and pressing "Enter" This will cause the smartphone to restart, take a long time to start, and as a result, the initial setup screen for HTC Desire 516 will appear.
Method 3: Fastboot
If the method of flashing each section of HTC Desire 516 memory individually seems too complicated or too long, you can use one of the Fastboot commands, which allows you to type the main part of the system without, in some cases, unnecessary action. .
- and unzip the firmware (step 3 of the installation method via ADB Run above).
- for example here and unzip the package with ADB and Fastboot.
- Copy three files in the folder that contains the system image files: boot.img , system.img , recovery.img to the Fastboot folder.
- Create a text file android-info.txt in the Fastboot directory. This file should contain a single line:
board=trout
. - Then you need to run the command line as follows. Right click on a free area in the directory with Fastboot and images. In this case, the «Shift» key must be held down on the keyboard .
- In the menu that opens, select "Open command window" , and as a result we get the following.
- We put the device in fastboot mode. To do this, you can use one of two methods:
- Factory recovery item "Restart bootloader" To enter the recovery environment, you must simultaneously press the buttons "Volume +" y "Switched on" on the switched off smartphone with the memory card removed and hold the keys until the recovery menu items appear.See also: How to update Android via recovery
- Switch to fastboot mode using the command line opened in step 4 of this instruction. We connect the phone loaded in Android with YUSB debugging enabled to the PC and type the command:
adb reboot bootloader
After pressing the key «Enter», the The device will shut down and boot into the desired mode. - We check the correctness of the pairing of the smartphone and the PC. On the command line, send the command:
fastboot devices
The system must respond with the serial number 0123456789ABCDEF and the inscription "Fastboot" . - To avoid errors when performing the following steps, we tell Fastboot the location of the images by entering the command:
set ANDROID_PRODUCT_OUT=c:имя_каталога_с_fastboot
- To start the firmware, enter the command:
fastboot flashall
. Press "Enter" and watch the execution process. - Once the procedure is complete, the sections "Start" , "Recovery" y "System" they will be overwritten and the device will reboot to Android automatically.
- If other sections of HTC Desire 516 memory need to be overwritten in this way, put the necessary image files in the fastboot folder, and then use the following syntax commands:
fastboot flash имя_раздела имя_файл-образа.img
For example, let's note the section "modem" . By the way, for the device in question, recording the "modem" section is a procedure that may be necessary after restoring the smartphone from a non-operational state, if as a result the smartphone works as it should, but there is no connection. .Copy the required images into the directory with Fastboot (1) and send the commands (2):
fastboot flash modem modem.img
- When done, restart HTC Desire 516 from the command line:
fastboot reboot
Method 4: custom firmware
HTC Desire 516 has not gained much popularity due to its hardware and software features, so unfortunately it is impossible to say that the device has a lot of modified firmware.
One of the ways to transform and update the device in question in of software is to install an Android shell modified by one of the s of the device, called Lolifox. You can all the necessary files that will be needed by performing the steps in the instructions below, using the links below.
custom firmware for HTC Desire 516 Dual Sim
In the proposed solution, its author has done serious work in of changing the interface of the operating system (looks like Android 5.0), deodexing the firmware, removing unnecessary apps from HTC and Google, and also added an item to the settings that allows you to control the launch of applications. In general, the custom works fast and stable.
Custom recovery installation.
To install a modified operating system, you will need custom recovery capabilities. We will be using ClockworkMod Recovery (CWM), although there is also a TWRP port for the device, which can be ed here. In general, installation on the D516 and working with different custom recoveries are similar.
-
- the custom recovery image from the link:
Скачать HTC Desire 516 Dual Sim CWM Recovery
- And then we install it via ADB Run or Fastboot, following the steps outlined above in methods No. 2-3, allowing you to write individual sections.
- Through ADB Run:
- Through Fastboot:
- We rebooted into modified recovery in the standard way. Turn off the smartphone, press and hold the "Volume +" keys y "Switched on" simultaneously until the CWM recovery command menu appears.
Custom Lolifox Installation
After the modified recovery is installed on HTC Desire 516, installing the custom software is straightforward. It is enough to follow the steps in the lesson instructions in the link below, which assume the installation of zip packages.
Read more: How can I go back to a previous version of Android?
Let us stop only at some points recommended for the implementation of the model under consideration.
- After copying the package with the firmware to the memory card, we reboot in CWM and make a backup. The procedure to create a backup is very simple through the menu item "Backup and restore" and it is highly recommended for its execution.
- We clean (clean) the sections "cache" y "data" .
- Install the Lolifox package from a MicroSD card.
- After completing the above, we are waiting for the to Lolifox, in fact, one of the best solutions for the model in question.
Method 5: Inoperative HTC Desire 516 Recovery
When operating and updating any Android device, a nuisance may occur: as a result of various crashes and errors, the device freezes at a certain stage, stops turning on, reboots incessantly, etc. Among s, the device in this state was called "brick." The way out of the situation can be the following.
The scratching methodology of HTC Desire 516 Dual Sim involves performing a fairly large number of actions and using various tools. Carefully step by step follow the instructions below.
Switch the smartphone to "Qualcomm HS-USB QDLoader9008" mode
- and unzip the archive with all necessary recovery files and tools programs and files to recover HTC Desire 516 Dual Sim As a result of unpacking, you should get the following:
- To recover, you need to put the smartphone in a special QDLoader 9006 emergency mode. Remove the battery cover.
- We remove the battery, the SIM cards and the memory card. Then we unscrew 11 screws:
- Carefully remove the part of the case that covers the motherboard of the device.
- On the motherboard we find two pins labeled as "GND" y "DP" . Afterwards, they will need to be bridged before connecting the device to a PC.
- We install the QPST software package from the folder of the same name obtained as a result of unzipping the file using the link above.
- Go to the directory with QPST (
C:Program FilesQualcommQPSTbin
) and run the file QPSTConfig.exe - We open the "Device " , we prepare the cable connected to the USB port of the PC. We close the s "GND" y "DP" of the D516 motherboard and, without opening them, we insert the cable into the MicroUSB connector of the phone.
- We remove the bridge and look at the window "Device " . If everything is done correctly, the device will be identified as "Qualcomm HS-USB QDLoader9008".
- Go to QPSTConfig and make sure the device has been successfully detected, as shown in the following screenshot. Do not close QPSTConfig!
- Reopen the folder with the QPST files and run the file emmcsw.exe on behalf of the .
- Add files to the fields in the window that opens:
- «Sahara XML file» : specify the file sahara.xml for enforcement in the Explorer window, which will open after clicking the button "Examine …" .
- "Flash Programmer" : enter the file name MPRG8x10.mbn from the keyboard.
- "Boot Image" : too we enter the name 8x10_msimage.mbn manually.
- Press the buttons and tell the program the location of the files:
- "Load XML def ..." - rawprogram0.xml
- "Load def patch ..." - patch0.xml
- We remove the mark in the checkbox «Program MMC device» .
- We check the correctness of the completion of all the fields (it should be as in the screenshot below) and click on "" .
- As a result of the operation, HTC Desire 516 Dual Sim will be put into a suitable mode for writing a dump to memory. In the Device , the device should be defined as "Qualcomm HS-USB Diagnostics9006" . If, after manipulating through QPST, the device was determined in some different way, we manually install the drivers from the folder "Qualcomm_USB_Drivers_Windows" .
Additionally
In the event that errors occur during QPST operation and the smartphone cannot be switched to mode "Qualcomm HS-USB Diagnostics9006" , we tried to carry out this manipulation through the MiFlash program. You can the appropriate flasher version for manipulation with HTC Desire 516 Dual Sim, as well as the necessary files, follow the link:
MiFlash and recovery files for HTC Desire 516 Dual Sim
-
- Unpack the archive and install MiFlash.
- We follow steps 8-9 described above in the instructions, that is, we connect the device to the computer in a state where it is defined in Device Manager as "Qualcomm HS-USB QDLoader9008" .
- Launch MiFlash.
- Presione el botón "Examine" in the program and specify the path to the directory "Files_for_miflash" located in the folder obtained when unzipping the file ed from the previous link.
- We press "To update" , which will lead us to the definition of the device by the program.
- Call the list of options for the button "Examine" by clicking on the triangle image next to the last one and selecting «Advanced ...» in the menu that opens.
- In the window "Advanced" , using the buttons "Examine", add files from folder "Files_for_miflash" a the fields of the Following way:
-
- "FastBootScript" - файл flash_all.bat ;
- "FlashProgrammer" - MPRG8x10.mbn ;
- "BootImage" - 8x10_msimage.mbn ;
- "RawXMLFile" - rawprogram0.xml ;
- "PatchXMLFile" : patch0.xml .
Once all files have been added, click "To accept" .
"NvBootScript" : I dont know to modify ;
-
- Next, mindfulness is required. We make the window visible "Device " .
- Presione el botón "Flash" on the blinker and look at the COM ports section on the "Dispatcher" .
- Immediately after the moment the smartphone is identified as "Qualcomm HS-USB Diagnostics9006" , we left MiFlash, without waiting for the end of the manipulations in the program, and we went to the next stage of recovery of the HTC Desire 516.
File system recovery
-
- Launch the app HDDRawCopy1.10Portable.exe .
- In the window that opens, double-click on the inscription "Double click to open file" , and then add the image Desire_516.img to through the Explorer window. Once the path to the image is determined, click the button "Open" .
- The next step is to click "Continue" in the HDDRawCopy window.
- Select registration "Qualcomm MMC Storage" and click "Continue" .
- Everything is ready to restore the file system of the smartphone. Press "BEGINNING" in the HDD Raw Copy Tool window, and then - "Yes" in the warning window about imminent data loss as a result of the next operation.
- The process of transferring data from the image-file to the Desire 516 memory partitions will begin, accompanied by the filling of the progress bar.
- The process is quite long, in no case do we interrupt it!
- Once the operations through the HDDRawCopy program have been completed, which will be indicated with the inscription «100% compete» in the application window,disconnect the smartphone from the USB cable, put the back of the device back in place, insert the battery and turn on the D516 by long pressing the button « On « .
- As a result, we get a fully functional smartphone, ready to install software using one of the methods No. 1-4 described earlier in the article. It is recommended to reinstall the firmware, since as a result of the recovery we get an OS that was preconfigured "for you" by one of the s who made the dump.
Therefore, having studied the installation methods of the system software on HTC Desire 516 Dual Sim, the gets full control over the device and can simply restore the performance of the device if necessary, as well as give the smartphone a "second life" through personalization.