Installing a local update on Android is a process that scares many users. Fears are associated with the risk of the device becoming bricked, data loss, or firmware incompatibility. However, in some cases, manual firmware becomes the only way to update a smartphone: when the manufacturer has stopped supporting the model, when automatic updating is stuck, or when you want to upgrade to custom firmware with advanced functions.
Unlike OTA updates (over the air), local installation requires active actions from the user: downloading the correct firmware file, preparing the device and choosing the appropriate installation method. In this article we will analyze all the current methods - from the simplest update via Recovery to advanced methods using ADB i Fastboot, and also tell you how to avoid common mistakes and what to do if something goes wrong.
Why install the update manually?
Automatic updates via Settings โ System โ Software update are convenient, but not always available. Here's when to consider a local installation:
- ๐ The manufacturer stopped supporting your model (for example, Samsung Galaxy S8 or Xiaomi Redmi Note 5), but enthusiasts have released unofficial firmware with the latest Android.
- โก The device does not receive OTA due to regional restrictions (for example, Google Pixel US firmware is not updated in Russia).
- ๐ Over-the-air update slows down at the download or installation stage (a common problem on cheap smartphones small memory capacity).
- ๐ง You want to install custom firmware (for example, LineageOS or Pixel Experience) for advanced functions.
- ๐ ๏ธ It is necessary to roll back to the previous version of Android after an unsuccessful update.
Local firmware is also useful if you testing beta versions of Android (for example, through the app Android Beta app for Pixel). In this case, manual installation allows you to avoid bugs that may arise during automatic updating.
โ ๏ธ Attention: Some manufacturers (for example, Huawei or Honor) block the possibility of manual firmware on new models. Before you start, check if you are unlocked bootloader - without this, most methods will not work.
Preparing the device for a local update
An unprepared device is the main cause of failures during firmware. Follow this checklist to minimize risks:
โ๏ธ What to do before flashing the firmware
Pay special attention firmware selection. The file must correspond to:
- ๐ฑ Device models (for example, Samsung Galaxy A52 5G is
SM-A526B, and notSM-A526Ufor the American market). - ๐ข Region (firmware for Europe may not be suitable for Asia due to differences in communication modules).
- ๐ Android versions (You cannot install Android 14 on a device that officially supports only Android 12).
Download firmware only from official sources:
- ๐ For Samsung:
SammobileorFrija(download utility). - ๐ For Xiaomi:
Mi Flash ToolorXiaomi Firmware Updater. - ๐ For Google Pixel:
Google Developer Site. - ๐ For custom firmware:
XDA DevelopersorLineageOS Wiki.
โ ๏ธ Attention: Firmware files often weigh 2-4 GB. Download them over a stable Wi-Fi connection, and not through the mobile data - an interrupted download may lead to file corruption.
If you plan to use ADB or Fastboot, install on your PC:
- ๐ฅ๏ธ
Platform Toolsfrom Google (includesadb,fastboot). - ๐ Drivers for your device (for example, Samsung USB Drivers or MediaTek Preloader).
Methods for installing a local update
The choice of method depends on your device model, whether it is unlocked bootloader, and what firmware file you have. Let's consider all current options.
1. Update via Recovery (the safest method)
This method is suitable if you have a firmware file in the format .zip (for example, OTA update or custom firmware). unlock bootloader and is suitable for most devices.
Instructions:
- Download the firmware and rename the file to
update.zip(for convenience). - Move the file to the root directory of the internal memory or to SD card.
- Turn off the device and hold down the combination of buttons to enter
Recovery:- For Samsung:
Power + Volume Up + Bixby. - For Xiaomi/Redmi:
Power + Volume Up. - For Google Pixel:
Power + Volume Down, then selectRecovery Mode.
- For Samsung:
Recovery select Apply update from SD card or Apply update from ADB (if the file is on a PC).update.zip and confirm installation.Reboot system now.If Recovery there is no option to install updates, then your device uses stock recovery without such. functions. In this case, you will have to use ADB Sideload (see the next method).
What to do if Recovery does not see the update.zip file?
Check that the file is actually called update.zip (case is important!). If the problem persists, try:
1. Transfer the file to the SD card (sometimes the internal memory is not readable in Recovery).
2. Use a different name format (for example, just update without .zip).
3. Check the file for integrity (it may have been downloaded with an error).
2. Installation via ADB Sideload
Method ADB Sideload suitable if your device does not support installation .zip directly from Recovery, but you have access to ADBThis is true for many devices Google Pixel, OnePlus and some models Xiaomi.
Step-by-step. instructions:
- Download the firmware and rename it to
update.zip. - Connect the device to the PC via USB (use the original cable!).
- Boot into
Recovery Mode(see button combinations above). - In the menu
RecoveryselectApply update from ADB. - On the PC, open the command line in the folder with
platform-toolsand enter:adb devicesMake sure that the device is detected.
- Enter the command for installation:
adb sideload update.zip - Wait for the process to complete (progress will be displayed both on the PC and on the device screen).
- After installation, select
Reboot system now. - ๐ Use another USB cable (preferably the original one).
- ๐ฅ๏ธ Reinstall the drivers
ADBon the PC. - ๐ Reboot the device and PC.
If the process is interrupted with an error adb: failed to read command: No error, try:
3. bootloader)
This method requires unlocked bootloader and is suitable for devices with chips Qualcomm (most flagships Samsung, OnePlus, Xiaomi). Firmware via Fastboot allows you to install a full system image, including boot, recovery and other sections.
Important: Unlocking bootloader resets the device to factory settings! Make a backup copy in advance.
Instructions:
- Unzip the downloaded firmware (usually this is a folder with files
.img). - Connect the device to the PC and boot into
Fastboot Mode:- For Google Pixel:
Power + Volume Down. - For Xiaomi:
Power + Volume Down(then selectFastboot). - For Samsung:
Power + Volume Down + Bixby(modeDownload Mode).
- For Google Pixel:
fastboot devices
Make sure that the device is detected.
fastboot flash boot boot.imgfastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash dtbo dtbo.img
(the list of commands depends on the structure of the firmware).
fastboot rebootโ ๏ธ Attention: On devices Samsung with a chip Exynos (for example, Galaxy S21 Ultra) for firmware viaFastboota special utility is requiredOdin. Using standardFastbootcommands may lead to errors!
4. Firmware via Odin (only for Samsung)
Devices Samsung use their own firmware protocol, so for them needed Odin โan official utility from Samsung (available online as Odin3). It supports firmware files in the format .tar or .md5.
Instructions:
- Download
Odin(version 3.14.4 or later) and firmware for your model (for example,AP_..., BL_..., CP_..., CSC_...). - Unzip the firmware (usually several files with the extension
.tar.md5). - Run
Odinas administrator. - Download the device into
Download Mode(Power + Volume Down + Bixby). - Connect the smartphone to the PC. In
Odina message should appearAdded!!. - Upload the firmware files into the appropriate fields:
BLโBL_...(Bootloader).APโAP_...(System).CPโCP_...(Modem).CSCโCSC_...(Country-Specific Code). selectHOME_CSC.
Start and wait for completion (the process will take 5-15 minutes).If Odin gives an error FAIL! with code SW REV CHECK FAIL, which means the firmware version is not compatible with your device. Try downloading another version or check the model matches.
Table: Comparison of firmware methods
| Method | Unlocking required bootloader? | Supported file formats | Is data saved? | Complexity |
|---|---|---|---|---|
| Recovery (zip) | โ No | .zip (OTA, custom firmware) | โ Yes | โญโญ (simple) |
| ADB Sideload | โ No | .zip | โ Yes | โญโญโญ (average) |
| Fastboot | โ Yes | .img (full partition images) | โ No (reset) | โญโญโญโญ (difficult) |
| Odin (Samsung) | โ No (but reset when using CSC) | .tar.md5 | โ ๏ธ Partially (depending on CSC) | โญโญโญ (average) |
Typical errors and how to avoid them
Even when following the instructions, users often encounter problems. Let's look at the most common errors and their solutions.
1. Error "E: signature verification failed"
This error occurs if the firmware file is not signed with an official key (typical for custom firmware). Solutions: Recovery, if the firmware file is not signed with an official key (typical for custom firmware). Solutions:
- ๐ง If the firmware is custom, find a version with signature verification disabled (look for files marked
unsignedorno-verity). - ๐ Reflash
Recoveryto custom (for example, TWRP), which ignores signature verification. - ๐ Check the integrity of the file (it may have been downloaded with an error).
2. The device does not turn on after the firmware ("brick")
If after the firmware the device does not respond to the power button, does not show the splash screen and is not detected. PC, this is called "hard brick". In most cases, it can be restored, but you will need special equipment (for example, for Samsung or for Qualcomm). What to do: Try holding down the power button for 30-60 seconds (sometimes it helps "soft" brick). USB JIG for Samsung or EDL Mode for Qualcomm).
What to do:
- ๐ Try holding the power button for 30-60 seconds (sometimes it helps with a โsoftโ brick).
- ๐ฅ๏ธ Connect to the PC and check whether the device is detected in
FastbootorDownload Mode. If so, repeat the firmware. - ๐ ๏ธ For Qualcommdevices: try to log into
EDL Mode(usually by shorting the contacts on the board) and flash throughQFilorMi Flash. - ๐ Contact the service center if self-recovery fails.
3. Error "Invalid". IMEI" or loss of network after flashing
This problem occurs if, when flashing via Fastboot or Odin partitions modem (CP) or EFS (where the IMEI). Solutions:
- ๐ก Reflash only the partition
modem(fileCP_...tar.md5inOdinorvendor/radio.imginFastboot). - ๐ข Restore the backup copy of the partition
EFS(if you made a backup before the firmware). - ๐ For Samsung: use the utility Samsung Tool PRO to restore IMEI.
If IMEI is lost irrevocably, it is impossible to restore it yourself - you will need to contact a service center with proof of purchase of the device.
4. Stuck on the logo after flashing the firmware ("bootloop")
If the device turns on, but constantly reboots on the logo, the reason is usually:
- ๐ Incompatibility of the firmware with the model device.
- ๐๏ธ Partition damage
systemorboot. - ๐ง Lack of
wipe(cleaning) before installing custom firmware.
Solutions:
- ๐ Repeat the firmware, first running
Wipe Data/Factory ResetvRecovery. - ๐ Reflash only the partition
boot(if the problem is in it). - ๐ง Install a different version of the firmware (the current one may contain bugs).
If after updating the device the device gets hot, discharges quickly or slows down, reset to factory settings via Recovery. Often this solves problems with optimizing the system after the update.
How to roll back to the previous version. Android
A rollback to the old firmware may be necessary if the new update contains critical bugs, is slow or does not support the functions you need. However, this process has nuances:
- ๐ On most devices, a rollback is only possible through full firmware (not via OTA).
- ๐ On some models (for example, Google Pixel) rollback is blocked by the function
Anti-Rollback. - ๐ต Rollback can lead to data loss if you do not make a backup in advance.
Instructions for rollback:
- Find the official firmware of the old version for your model (for example, on
SammobileorXiaomi Firmware Updater). - Reset to factory settings (
Wipe DataonRecovery). - Flash the old version using the selected method (
Odin,FastbootorRecovery). - If the device is not turns on, try flashing only the partition
bootorsystem(withoutuserdata).
โ ๏ธ Attention: On devices with Dynamic Partitions (Android 10+), rolling back to older versions may lead to data loss in the partitionuserdata, even if you do not performedwipe. Always make a backup copy!
FAQ: Frequently asked questions about local updates
Is it possible to install firmware from another model?
No, this will lead to the "briku" device. The firmware must correspond to the exact model (for example, SM-G973F for Galaxy S10 and SM-G973U for the American version - these are different devices!), with the exception of some custom firmware (for example, LineageOS). which support several models.
Why did photos and applications disappear after the firmware?
If you performed Wipe Data or flashed the full image via Fastboot/Odin, user data (/data partition) have been erased. You can only restore them from a backup. In the future, use HOME_CSC v Odin or --disable-verity v Fastbootto save the data.
How to check Is the bootloader unlocked?
Turn off the device and boot into Fastboot Mode. If you see the message Device State: Unlocked, it means bootloader unlocked. If Locked โ unlocking will be required for the firmware. via Fastboot. On some devices (for example, Huawei) unlocking requires an official code from the manufacturer.
Is it possible to flash a custom Recovery (TWRP) without unlocking the bootloader?
No, installation TWRP or another custom Recovery requires unlocked bootloader. The exception is some old devices (for example Samsung Galaxy S5), where Recovery can be flashed through Odin without complete unlocking.
What to do if Touch ID or Face Unlock does not work after flashing?
This is typical problem when downgrading to an older version of Android or flashing unofficial builds. Biometric data is stored in a secure partition, which can be damaged. Solutions:
- Reflash the partition
persist(if it is in your firmware). - Perform a full reset and set up the biometrics again.
- If the problem persists, install the official firmware via
Odin/Fastboot.
Before any firmware, check the MD5 hash of the downloaded file - this ensures that the file is not damaged. The hash can be checked with utilities like 7-Zip or MD5 Checker.