Removing the operating system Android from a phone is a situation faced by both beginners and experienced users. Most often this happens when you unsuccessfully try to get root access, experiment with custom firmware, or accidentally format a partition /system via TWRP. The result is the same: the device does not boot, freezes on the logo or does not respond at all to the power button.
Unlike computers where you can quickly reinstall Windows, recovery Android requires knowledge of specific tools - Fastboot, ADB, SP Flash Tool or Odin (for Samsung). Without the right actions, the phone risks turning into a โbrickโ. In this article, we will look at all the working methods for bringing the system back to life - from official firmware to manual bootloader recovery.
Important: if you are not sure of your actions, it is better to contact a service center. Incorrect manipulations with the firmware can damage eMMCthe drive or NANDmemory, which will make repairs more expensive.
1. Diagnosis of the problem: what exactly happened?
Before you begin restoration, you need to understand how serious the damage is. Symptoms of โdeleted Androidโ are different:
- ๐ต The phone does not turn on at all (black screen, no reaction to charging).
- ๐ Stuck on the manufacturer's logo (Samsung, Xiaomi, Huawei etc.).
- ๐ค Appears error
No OS installedorDM-Verity corruption. - ๐ ๏ธ The device boots into Fastboot Mode or Recovery, but the system does not start.
If the phone at least responds to the power button or goes into Fastboot (bootloader mode), the chances of recovery are high. Things are worse if the device is completely โdeadโ - this may indicate damage to the bootloader (bootloader) or hardware problems.
โ ๏ธ Attention: If you unlocked Android before uninstalling bootloader, recovery will be easier. On locked bootloaders (for example, Huawei or Xiaomi without unlocking), you may need an official manufacturer account or a visit to the service center.
For diagnostics, try:
- Connect the phone to a charger on 10โ15 minutes (sometimes a discharged battery simulates the โdeathโ of the device).
- Hold down the combination of buttons to enter Recovery or Fastboot (see table below).
- Connect to a PC and check if the device is recognized in
Device Manager(Windows) or through the commandlsusb(Linux/Mac).
2. Recovery via Fastboot: official method
Fastboot is a protocol for flashing devices at the bootloader level. If the phone enters this mode (usually hold Power + Volume down), you can reflash the system with the official firmware.
To do this you will need:
- ๐ฅ๏ธ Computer with installed drivers ADB/Fastboot (download from website Android SDK).
- ๐ฑ Official firmware for your model (look on 4PDA, XDA Developers or the manufacturerโs website).
- ๐ Cable USB Type-C (preferably original).
Instructions:
- Unpack the archive with the firmware into the folder with
fastboot.exe. - Open the command line (
Win + R โ cmd) and go to this folder:cd C:\path\to\folder\with\firmware - Connect the phone to mode Fastboot and run the command to check the connection:
fastboot devicesIf the device is detected, you will see its serial number.
- Run the firmware (the command depends on the manufacturer). For example, for Google Pixel:
fastboot flash all -wFor Xiaomi each may require separate firmware. section:
fastboot flash boot boot.imgfastboot flash system system.img
โ ๏ธ Attention: On some devices (for example, Samsung), flashing via Fastboot requires a special tool Odin. Using unofficial firmware may lead to blocking Knox and loss of warranty.
Download the correct firmware version for your model|
Install ADB/Fastboot drivers on your PC|
Unlock the bootloader (if not unlocked)|
Charge the phone to at least 50%|
Connect the original USB cable-->
3. Recovery via TWRP (if custom recovery is installed)
If the phone had one TWRP (custom recovery), and the system was deleted, you can restore it through a backup or flash a ZIP archive with firmware. This method works even if the partition is empty. data-i="116">If there is a backup, select /system empty
Steps:
- Boot into TWRP (usually
Power + Volume up). - If you have a backup, select
Restoreand restore the partitionSystem. - If there is no backup:
- Download the firmware in format
.zip(for example, LineageOS or stock firmware from 4PDA). - Transfer it to your phone via
ADB Sideloador OTG channel. - B TWRP select
Install โ Select ZIPand flash archive.
- Download the firmware in format
Wipe โ Format Data (if the system does not boot).If TWRP is missing, it can be installed via Fastboot:
fastboot flash recovery twrp.img
fastboot boot twrp.img
What to do if TWRP asks for a password when boot?
If you have previously encrypted data on Android, TWRP may ask for a password. In this case:
1. Connect the phone to the PC and enter in the terminal:
adb shell twrp decrypt [your_password]
2. If the password is unknown, you will have to format the partition /data (all data will be deleted).
4. Firmware via SP Flash Tool (for Mediatek)
Devices on chips Mediatek (Xiaomi Redmi, Realme, Tecno etc.) are flashed via SP Flash Tool. This method is suitable if the phone does not boot even in Fastboot.
Procedure:
- Download SP Flash Tool and firmware in format
.scatter(fileMTxxxx_Android_scatter.txt). - Run Flash_tool.exe, click
Scatter-loadingand select.scatterfile. - Tick the sections
boot,system,recovery(you can leave the rest if you are not sure). - Connect turned off the phone to the PC (without the battery, if it is removable).
- Click
Download- the firmware will start automatically. - ๐ Problems with the cable/port (try another USB or cable).
- ๐ฅ๏ธ Missing drivers (install Google USB Driver or Mediatek VCOM).
- ๐ Completely discharged battery (keep on charge for 30+ minutes).
- ๐ ๏ธ Damaged bootloader (requires flashing via EDL Mode).
โ ๏ธ Attention: Do not flash the partition preloader unless absolutely necessary! An error when writing it can kill the device forever.
| Manufacturer | Firmware tool | Combination for Fastboot/Recovery |
|---|---|---|
| Samsung | Odin | Power + Volume down + Bixby |
| Xiaomi/Redmi | Mi Flash Tool or Fastboot | Power + Volume down |
| Huawei/Honor | Huawei Multi-Tool | Power + Volume down (on some models you need to connect a cable) |
| Google Pixel | Fastboot | Power + Volume down |
5. If the phone is not recognized by the computer
It happens that the device is not recognized in Fastboot or SP Flash Tool. Reasons:
For devices Qualcomm (for example OnePlus, Oppo) there is a mode EDL (Emergency Download Mode). To enter it:
- Turn off the phone.
- Close the contacts
Test Pointon the board (needs parsing device). - Connect to a PC - the device will be detected as
QDLoader 9008. - Flash through QFil or Mi Flash Tool.
If the phone does not respond to buttons, try a โhard resetโ: press Power + Volume up + Volume down for 10โ15 seconds. On some models Samsung this resets the bootloader.
6. When recovery is impossible without the service
There are cases when independent recovery Android is unrealistic:
- ๐ง Damaged eMMCchip (the phone is not detected in any mode, even after connecting to charging).
- ๐ Locked bootloader on devices with protection FRP (for example, Samsung after reset).
- ๐ฑ Data for unlocking is lost (Mi Account on Xiaomi, Google Account after reset).
- ๐ฅ The board is damaged (after falling, moisture or unsuccessful repair).
In such cases, professional equipment is required - for example, JTAG-programmer or ISP-firmware. The cost of repairs can reach 50โ70% of the price of the phone, so before visiting the service, evaluate the feasibility.
โ ๏ธ Attention: If the phone was purchased on credit or lease, independent firmware may violate the terms of the contract. Check with your operator or bank.
If the phone does not turn on, does not respond to charging and is not detected by the PC, this is 90% a hardware problem. Independent attempts to flash the firmware are useless here.
7. How to avoid repeated removal of Android
To avoid encountering the problem again, follow the rules:
- ๐ Always make a backup via TWRP or
adb backupbefore experiments. - ๐ Unlock bootloader officially (via
fastboot oem unlock), and not using "left" methods. - ๐ฅ Download firmware only from trusted sources (4PDA, XDA, official sites).
- ๐ Do not interrupt the firmware - even if the process is frozen, wait 10-15 minutes.
If you often experiment with firmware, install OrangeFox Recovery or TWRP with support for A/Bpartitions. This will allow you to roll back to a working version of the system in a few minutes.
What are A/B partitions?
Modern Android devices use a scheme with two slots for the system (A and B). This allows you to update without the risk of being โbrickedโ:
- When flashing the firmware, the update is installed in an inactive slot.
- If something goes wrong, the phone boots from the old slot.
- In TWRP you can choose from which slot to load (Boot Slot A/B).
FAQ: Frequently asked questions
Is it possible to recover data after deleting Android?
If you did not format the partition /data, there are chances. Connect the phone to the PC in mode TWRP i copy files from /data/media/0 (internal memory). To restore deleted data, use DiskDigger or PhotoRec, but success is not guaranteed.
The phone is flashing, but freezes on the logo. What should I do? data-i="245">Reasons:
Reasons:
- Incompatible firmware (download the version specifically for your model and region).
- Damaged
bootpartition (reflash it separately via Fastboot). - Conflict with magisk or other modifications (do
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img).
Do you need to unlock the bootloader before restoring?
If it is already unlocked - no. If blocked:
- For Xiaomi you need to link your account Mi and wait 7โ30 days.
- For Samsung unlocking resets Knox, which voids the warranty.
- On Google Pixel unlocking erases the data, but does not affect the warranty.
Without unlocking, you cannot flash custom firmware it will work out.
How much does it cost to restore Android in the service?
Prices depend on the problem:
- Firmware via Fastboot/Odin: 1000โ3000 โฝ.
- Recovery via JTAG/ISP: 3000โ8000 โฝ.
- Replacement eMMC-chip: 5000โ15000 โฝ (plus the cost of spare parts).
In official services (Samsung Service, Xiaomi Authorized), the firmware can be free under warranty if the problem is not caused by user actions.
Is it possible to flash Android on a phone with iOS?
No, this is impossible. iPhone and Android use fundamentally different architectures: iOS runs only on Apple processors (ARM64), and Android firmware is built for specific chipsets (Qualcomm, Mediatek, Exynos, etc.). Even if you physically replace the memory, the system will not boot due to the lack of drivers for the hardware.