The situation when the Android operating system stops functioning or is completely removed from the device is one of the most stressful for the owner of a smartphone. This can happen as a result of an unsuccessful flashing attempt, a failure during the update process, a virus attack, or a critical error when using superuser rights. The device turns into a “brick”, refusing to boot to the desktop and responding only to basic bootloader commands.
However, in most cases system recovery this is still possible if the hardware of the gadget is not physically damaged. There are several proven methods to bring your device back to life: from standard reset tools to complex manipulations using ADB and specialized software from manufacturers. It is important to understand that the success of the operation directly depends on the device model, the state of the bootloader and the availability of backups.
Before taking active steps, you need to assess the scale of the problem. If the screen is black or displays a logo that constantly changes to a reboot, then the system partition is damaged. In this case simple switching on it will not help; outside intervention will be required. Next, we will analyze in detail the algorithms of actions for various scenarios.
Diagnostics of the system and bootloader state
The first step before any restoration is an accurate diagnosis. It is necessary to understand exactly what state the bootloader (bootloader) is in. It is he who is responsible for initializing the equipment and starting the operating system. If the bootloader is locked or damaged, standard methods may not work.
Try holding down the key combination to enter recovery mode. This is usually a combination of the Volume Down button and the Power button, held down for about 10 seconds. If the device vibrates and shows the Fastboot logo or the Recovery menu, then the hardware is intact. Otherwise, if there is no reaction even when connected to a charger, the problem may lie in the power controller.
- 📱 Recovery Mode: standard recovery menu, which allows you to reset or install updates.
- 🚀 Fastboot / Download Mode: low-level modes for direct flashing of memory partitions.
- ⚠️ Bootloop: cyclic reboot, indicating damage to the system files.
⚠️ Attention: If the device becomes very hot in the battery area when trying to enter diagnostic modes, turn it off immediately. This may indicate a short circuit on the board, and further attempts to turn on may lead to a fire.
It is also worth checking whether the device is detected by the computer. Connect your smartphone via USB cable to your PC and open Device Manager. If an unknown device with a yellow icon or with the name "QHSUSB_BULK" (for Qualcomm) or "MediaTek PreLoader" appears in the list, this means that the processor is working, but the boot area is empty or damaged.
Factory reset via Recovery
The easiest and safest way to try to resuscitate the system is to use built-in Recovery menu. This method is relevant if system files are logically damaged, but the recovery partition itself is intact. It allows you to clear the cache and user data, which often solves the problem of cyclic reboots.
To enter the Recovery menu on most devices, you need to turn off the smartphone, and then hold down the volume up button and the power button at the same time. In some models Samsung a cable connection to the computer is required. When the logo appears, release the buttons. If you see a menu with text in English, use the volume buttons to navigate and the power button to confirm.
☑️ Preparing to reset
Select item Wipe data/factory resetin the menu. Confirm the action by selecting Yes or Factory data reset. After the process is complete, be sure to select Wipe cache partitionto delete temporary files that could cause the conflict. Complete the procedure by selecting Reboot system now.
⚠️ Attention: After resetting the settings on modern versions of Android (starting from 5.0 Lollipop), FRP (Factory Reset Protection) protection will work. You will definitely need the login and password for the Google account that was synchronized with the device before the reset. Without this data, it will be extremely difficult to unlock the phone.
If after a reboot the system reboots again or displays an error, it means that deeper sections of the firmware are damaged, and a complete reprogramming via a computer will be required.
Using ADB and Fastboot for recovery
For more advanced users whose devices are unlocked bootloader, the ideal tool would be a combination of ADB (Android Debug Bridge) and Fastboot. These utilities are part of the Android SDK Platform Tools and allow you to interact with your phone at a low level. This method requires drivers and basic knowledge of working with the command line.
First you need to install Platform Tools on your computer and connect your smartphone in Fastboot mode. Open a command prompt (cmd) in your tools folder. Check the connection with command fastboot devices. If the serial number is displayed, the connection is established. Next, you can try to reflash critical partitions if you have original images (img files) for your model.
fastboot flash boot boot.imgfastboot flash recovery recovery.img
fastboot reboot
These commands will replace the boot partition and recovery partition with working copies. However, if the system is completely removed, you will need to flash the entire set of partitions or use the “dirty flash” method over the current firmware.
Where can I find the original boot.img images?
The original images of the bootloader and other partitions can be extracted from the stock firmware (ROM), downloaded from the manufacturer’s official website or trusted resources like XDA Developers. Look for archives that match your exact Android model and version. Extraction is usually done using an archiver app or the payload_dumper utility for update.zip files.>
On locked devices (especially with activated Verified Boot), attempting to write to system partitions will result in the error “FAILED (remote: device is locked).”
Firmware through official utilities manufacturers
Each major smartphone manufacturer develops its own software for restoring devices. This is the most reliable method, since the utilities automatically select the correct firmware version and partition structure. The use of third-party tools is less preferable here, since they may not take into account the specific features of the hardware platform.
Below is a table of the main utilities for popular brands. They should be downloaded only from official sites to avoid the introduction of malicious code.
| Brand | Utility name | Connection mode | Features |
|---|---|---|---|
| Samsung | Odin / Smart Switch | Download Mode | Works only with .tar/.md5 files, requires Samsung USB drivers. |
| Xiaomi | Mi Flash Tool | Fastboot | Requires bootloader unlocking via Mi account, supports clearing all data. |
| Sony | Xperia Companion | Flash Mode (Vol-) | The “Software Recovery” function completely reinstalls the system automatically. |
| Motorola | Rescue and Smart Assistant | Fastboot / Rescue | Automatically detects the model and downloads the appropriate firmware from the server. |
The firmware process usually looks like this: start the app, connect the switched off phone in a special mode, select the firmware file and click “Start”. The process takes from 5 to 20 minutes. At this time, you cannot disconnect the cable or interrupt the computer.
After completing the procedure, the device should automatically reboot. The first boot after factory firmware may take longer than usual (up to 10 minutes), as the system optimizes applications and creates new configuration files.
Recovery via SP Flash Tool and MediaTek chipsets
Devices built on processors MediaTek (MTK) are often restored using the utility SP Flash Tool. This is a powerful tool that allows you to work with the phone's memory even when it is turned off, using the BROM (Boot ROM) protocol. This is a salvation for phones that do not respond to buttons and do not have a Fastboot menu.
To work, you will need a scatter file that describes the device’s memory card. It is located in the folder with the unpacked firmware. In the SP Flash Tool app, you need to download this scatter file, select the firmware mode (usually “Download Only” or “Firmware Upgrade”) and click the Download button. Then connect the switched off phone to the computer by holding down the volume button (sometimes both volume buttons).
⚠️ Attention: In SP Flash Tool there is an option “Format All + Download”. Use it only as a last resort if you know what you are doing. It completely erases memory markings and IMEI codes. Restoring IMEI after such a procedure requires additional complex manipulations with NVRAM backups.
If the process was successful, a green window with a checkmark will appear. This means that the images are recorded in memory. However, if the firmware is not digitally signed by the manufacturer, the phone may not start due to checking the integrity of the bootloader.
Use a high-quality USB cable that is not damaged. Cheap cables often cause voltage sags, which leads to recording errors in the middle of the process and can finally “kill” the bootloader.
Solving problems with loading and cyclic reboots
Even after successful firmware, startup problems may occur. A common situation is when the phone turns on, shows the logo, and then turns off again. This may be caused by incompatibility of the Android version with Recovery installed or partition damage data.
In such cases, manually wiping partitions via ADB helps if you have access to Recovery mode with ADB support. The command adb shell allows you to access the file system. To reset the data partition, you can use the command:
adb shell recovery --wipe_data
Or, in older versions:
adb shell rm -rf /data/*
It is also worth checking the integrity of the SD card. If your phone has a memory card installed, remove it and try to start the device. A damaged file system on an external drive sometimes blocks the main system from loading, as Android tries to mount all available storage at an early stage of boot.
If nothing helps and the phone is not detected by the computer in any of the modes, there may be a hardware problem: the power controller, eMMC/UFS memory has burned out, or the display cable has come loose. In this case, diagnostics are required at a service center.
Frequently asked questions (FAQ)
Is it possible to recover data after reinstalling the system?
If you performed a full reset (Wipe Data/Factory Reset) or flashing with cleaning, it is almost impossible to recover data using standard methods. Modern Android encryption algorithms make data unreadable without the key, which is destroyed when reset. Only professional laboratories can help, and not always.
What to do if the computer does not see the phone in Fastboot mode?
Most likely, you do not have the drivers installed. For Qualcomm devices you need Qualcomm HS-USB QDLoader 9008 drivers, for MediaTek - VCOM drivers. Also try a different USB port (preferably USB 2.0) and the original cable.
Is it safe to use custom Recovery (TWRP) for recovery?
TWRP allows you to make full backups and restore the system from an image. It is safe if you are sure of the Recovery source. However, on devices with strong protection (Samsung Knox, Huawei), installing a custom recovery can permanently block some functions or trigger theft protection.
How long does it take to restore the system?
Resetting via Recovery takes 2-5 minutes. A complete flashing via a computer can last from 10 to 30 minutes, depending on the size of the firmware and the speed of the USB port. The first boot after this also takes time (up to 10 minutes).