Updating the operating system to Android 12 is not just changing a number in the settings, but a serious transformation of the interface, security and functionality of your device. Even in 2026, this version remains relevant for millions of smartphones, especially when it comes to budget models or devices that the manufacturer has no longer officially supported. But how to download and install correctly Android 12so as not to turn your phone into a โbrickโ? This article covers all possible scenarios: from automatic over-the-air updating to manual firmware via fastboot or custom recovery.
It is important to understand that the installation process depends on three key factors: device brand (firmware for Samsung Galaxy and Google Pixel are fundamentally different), current Android version (updating from version 10 is easier than from version 8) and bootloader status (is it unlocked or not). We will analyze each of these aspects, and also warn against common mistakes that can cost you data or the functionality of the gadget. If you've never flashed firmware before, don't worry: the article has sections for both beginners and experienced users.
1. Compatibility check: is your smartphone suitable for Android 12?
Before downloading the firmware, make sure that your device officially supports Android 12 or at least has unofficial builds (for example, LineageOS 19). Here's how to check:
- ๐ฑ Official support: Go to the manufacturer's website (for example, support.google.com for Pixel or miui.com for Xiaomi) and find a list of devices that support Android 12. Typically, these are models released no earlier than 2019โ2020 year.
- ๐ Unofficial firmware: Check forums like XDA Developers or 4PDA according to your phone model. For example, for Redmi Note 8 Pro there may be custom firmware, even if Xiaomi has not officially released the update.
- โ๏ธ Technical requirements: Android 12 requires a minimum of
2 GB RAMi16 GB ROM, but for smooth operation better3 GB RAMi32 GB of memory. Devices with processors Qualcomm Snapdragon 6xx/7xx/8xx or Mediatek Helio G8x/G9x are usually compatible.
If your smartphone is not included in the official list, but has custom firmware, be prepared for the fact that some functions (for example contactless payments or encryption) may not work correctly. Also note that unofficial assemblies often lack certification Google Mobile Services (GMS)which means Google Play other services will have to be installed separately.
โ ๏ธ Attention: Installing an unofficial firmware will void the manufacturer's warranty and may lead to blocking of some functions (for example, Samsung Pay or Banking Mode in MIUI). Before flashing the firmware, save all data - the risk of losing information during manual installation is up to 30%.
| Brand | Models with official support for Android 12 | Models with unofficial support |
|---|---|---|
| Google Pixel | Pixel 3/3a/4/4a/5 | Pixel 2/2 XL (via LineageOS) |
| Samsung | Galaxy S10/S20/S21, Note 10/20 | Galaxy S9 (via crDroid) |
| Xiaomi | Mi 10/11, Redmi Note 10 Pro | Redmi Note 8 Pro (via PixelExperience) |
| OnePlus | OnePlus 7/8/9 series | OnePlus 6/6T (via OxygenOS ported) |
2. Preparing the device for updating: backup and unlocking
Even if you update โover the airโ (OTA), without a backup copy, start the process you can't. With manual firmware, the probability of losing data is close to 100%, and it is often impossible to restore them after resetting to factory settings. Here's what you need to do:
- ๐ฒ Synchronization with Google: Make sure that synchronization of contacts, calendar and notes is turned on. It is better to upload photos and videos to
Settings โ Accounts โ Googlesynchronization of contacts, calendar and notes is enabled. It is better to upload photos and videos to Google Photos manually. - ๐พ Local is suitable. copy: Use Titanium Backup (requires root) or standard tools like
Settings โ System โ BackupFor media files, connecting to a PC viaMTP. - ๐ Saving passwords: Export passwords from Google Smart Lock or a password manager (for example, BitwardenAfter flashing the firmware, you will have to import them again.
If you plan to manual firmwareyou will need to unlock the bootloader (bootloaderThis process erases all data on the device, so the backup must be completed to unlocking instructions. for popular brands:
- ๐ Google Pixel: Enable
Developer options(click on the build number inSettings โ About phone7 times), then activateOEM unlockingiDebugging USB. Unlocking is performed with the commandfastboot flashing unlock - ๐ Xiaomi: You need to link your Mi account to the device and wait 7-15 days (Xiaomi policy). Unlocking via Mi Unlock Tool.
- ๐ Samsung: Unlocking the bootloader on new models (after 2021) is often impossible without hacking (knox blocks this).
โ ๏ธ Attention: On devices Samsung with processors Exynos unlocking the bootloader is triggered Knoxafter which Samsung Pay, Secure Folder some banking applications will stop working!
Make a backup copy of your data|Check the model for compatibility|Unlock the bootloader (if necessary)|Download the firmware and tools (ADB, Fastboot)|Charge the phone at least 80%-->
3 Method 1: Over-the-air (OTA) update - the most. safe method
If your device officially supports Android 12, and the manufacturer has already released an update, OTA (Over-The-Air) - this is the easiest and safest method. Here's how it works:
- Connect to a stable Wi-Fi network (the update can weigh 1-3 GB).
- Go to
Settings โ System โ System update(the path may vary: for example, on Xiaomi thisSettings โ About phone โ MIUI update). - Click
Check for updatesIf Android. 12 is available, follow the instructions on the screen. - Wait for the download and installation. The device will reboot several times - this is normal.
If the update does not arrive automatically, you can try forcing it to start:
- ๐ For Google Pixel: Sign up for the beta app on Google's website, then check for updates.
- ๐ For Samsung: Use the app Smart Switch on PC to check for updates.
- ๐ For Xiaomi: Switch to region
IndiaorGlobalin the SIM card settings, then check for updates.
If OTA update is not available, but you are sure that your model supports it, try manually download the update file from the official website and install it via Settings โ System update โ Install manually. For example, for Pixel the files are located on developers.google.com, for Samsung on sammobile.com.
OTA update does not reset data, but requires at least 50% battery charge and stable Internet If the process is interrupted, the device may freeze at the logo.
4. Method 2: Manual update via Recovery (for official firmware)
If OTA does not work, but you have an official firmware file (usually with the extension .zip), it can be installed via stock recovery (recovery mode). This method is suitable for Google Pixel, OnePlus and some models Xiaomi.
Instructions:
- Download the firmware for your model from the official website. For example, for Pixel 4a it will be a file like
ota-rp1a.201005.004.a1.zip. - Move the file to the root folder of the phone's internal memory (not folders!).
- Turn off the device, then hold down the combination of buttons to enter recovery:
- ๐ฑ Google Pixel:
Power + Volume Down, then selectRecovery Mode. - ๐ฑ OnePlus:
Power + Volume Up. - ๐ฑ Xiaomi:
Power + Volume Up, then select the language.
- ๐ฑ Google Pixel:
Apply update from ADB (if you connect to a PC) or Apply update from file (if the file is on your phone).After completion, the device will reboot. The first launch may take up to 10โ15 minutes - do not interrupt the process!
โ ๏ธ Attention: On some devices (for example Samsung), stock recovery does not allow you to install firmware manually. In this case, you will need Odin (for Samsung) or Fastboot (for other brands).
What to do if the recovery does not see the firmware file?
If the file is not displayed in recovery, check:
1. Is the file name correct (should not contain Cyrillic or spaces).
2. Is it in the root folder (not inside folders like Download).
3. Does your recovery support installation of ZIP files (on some Samsung this is not possible).
If all else fails, try installing the firmware via ADB sideload:
adb sideload ota-file.zip
5. Method 3: Firmware via Fastboot or Odin (for experienced users)
If neither OTA nor recovery are suitable, the only option left is firmware via PC. This method requires an unlocked bootloader and knowledge of the command line. We will look at two options: Fastboot (for most Android devices) and Odin (only for Samsung).
5.1. Firmware via Fastboot (Google Pixel, OnePlus, Xiaomi, etc.)
Required:
- ๐ฅ๏ธ Computer with installed ADB and Fastboot (you can download from Android SDK Platform Tools).
- ๐ฑ Unlocked bootloader on the phone.
- ๐ Firmware files (usually an archive with the extension
.tgzor.zipcontaining filesboot.img,system.imgetc.).
Steps:
- Unpack the archive with the firmware into the folder with
fastboot. - Connect the phone to the PC in mode
fastboot(pressPower + Volume Downwith the device turned off). - Open the command line in the folder with the firmware and run:
fastboot flash boot boot.imgfastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash dtbo dtbo.img
fastboot reboot
5.2. Firmware via Odin (only for Samsung)
For Samsung you will need a app Odin (version 3.14+) and a firmware file in the format .tar.md5.
Steps:
- Download Odin and firmware (for example, from sammobile.com).
- Run Odin, connect the phone in mode
Download Mode(pressPower + Volume Down + Bixby). - B Odin select the firmware files in the appropriate fields (
BL,AP,CP,CSC). - Press
Startand wait for completion (do not disconnect USB!).
โ ๏ธ Attention: When flashing firmware via Odin never use the optionRe-Partition- this may lead to loss of IMEI and a non-functional network. Also avoid. filesCSC_HOMEif you do not want to reset the data.
fastboot wipe-cache
If this does not help, you will have to repeat the firmware or install stock recovery.-->
6. PixelExperience, etc.)
If the manufacturer has not released Android 12 for your model, but it is supported by the community, you can install custom firmware. Popular options:
- ๐ LineageOS 19 - pure Android without bloatware.
- ๐ฑ PixelExperience โfirmware with interface and functions Google Pixel.
- โก crDroid โoptimized for performance.
- ๐ GrapheneOS โfocus on security and privacy.
Installation process:
- Unlock the bootloader (see section 2).
- Install custom recovery TWRP (instructions are available at 4PDA or XDA).
- Download the firmware (for example,
lineage-19.1-20260501-nightly-device_codename.zip) and Gapps (if you need services Google). - Boot into TWRP, do
Wipe โ Advanced Wipe(selectDalvik, Cache, System, Data). - Install the firmware, then Gapps, then
Magisk(if needed root). - Reboot. The first launch may take up to 20 minutes.
After installing the custom firmware:
- ๐ Update to the latest version via
Settings โ System โ Updates. - ๐ ๏ธ Set Magisk for root access (if necessary).
- ๐ Check certification Google Play in
Settings โ Google โ Device certification.
โ ๏ธ Attention: Custom firmware may not support some functions:- Samsung DeX or OnePlus Warp Charge often break.
- Banking applications (for example, Sberbank Online) may block access due to lack of certification SafetyNet.
- Cameras may work worse due to the lack of proprietary drivers.
Custom firmware requires regular manual updates. Without them, the device becomes vulnerable to exploits (for example, DirtyPipe c). Linux kernels up to version 5.8).
7. Solved errors when installing Android 12
Even if you follow the instructions exactly, errors may occur. Here are the most common ones and how to fix them:
| Error | Cause | Solution |
|---|---|---|
Error: Could not do normal boot. Odin mode (Samsung) |
Incorrect file CSC or interrupted firmware |
Repeat the firmware with the correct CSC (not HOME_CSC) or use Repartition (risky!) |
Fastboot: FAILED (remote:'Not allowed in Locked State') |
Bootloader is not unlocked | Unlock the bootloader (see section 2) or use the official update method |
E: Unknown command [logical] in TWRP |
Outdated version recovery | Update TWRP to the latest version for your model |
| Stuck on the logo after flashing | Incompatible firmware or damaged cache | Boot into recovery and run Wipe Cache or reflash |
Error 7 in recovery |
Device model and firmware mismatch | Check the device code name (ro.product.device) and download the correct one firmware |
If after installing Android 12:
- ๐ต No network: Check IMEI (dial
*#06#). If it isnull, restore it via QCN or EFS (instructions are available at 4PDA). - ๐ Quick battery drain: Reset to factory settings or calibrate the battery (discharge to 0%, then charge to 100% without interruption).
- ๐ต The speakers/microphone do not work: The problem may be in the drivers. Try flashing a different firmware version (for example,
Globalinstead ofEU).
If nothing helps, go back to stock firmware via Fastboot or Odin. Instructions for downgrading are usually available on thematic forums.
8. Optimizing Android 12 after installation
After successful firmware, it is recommended to perform several steps to improve performance and security:
- ๐ Privacy settings:
- Disable
Settings โ Privacy โ Advertising โ Personalized advertising. - Limit background activity of applications in
Settings โ Applications โ Special Access. - Enable
Settings โ Security โ Google Play Protect.
- Disable
- โก Acceleration:
- Enable
Settings โ System โ Developer Mode โ Limit background processes(maximum 2-3 processes). - Disable animation: in
Developer modeinstallAnimation scaleon0.5x. - Use Lightweight Launcher (for example, Nova Launcher) instead of the standard one.
- Enable
- ๐ถ Network settings:
- Enable
Settings โ SIM cards and mobile network โ VoLTE(if supported). - Disable automatic connection to open Wi-Fi in
Settings โ Network and Internet โ Wi-Fi โ Advanced settings.
- Enable
For advanced users:
- ๐ ๏ธ Install Magisk for root access and modules (for example, ViPER4Android to improve sound).
- ๐ง Use ADB to disable unnecessary system applications:
adb shell pm uninstall -k --user 0 com.android.bips - ๐ Configure Digital Wellbeing to limit the time you use applications.
If root is lost after updating to Android 12, reinstall Magisk via recovery. To do this, download the latest version Magisk-v26.4.zip and flash it like a regular firmware.
FAQ: Frequently asked questions about installing Android 12
Is it possible to install Android 12 on a smartphone with 1-2 GB of RAM?
Technically yes, but the system will slow down. For smooth operation, a minimum of 3 GB RAM and 32 GB memoryis recommended. On weak devices (for example, Redmi 5A) it is better to use lightweight firmware like LineageOS for MicroG or Havoc-OS with Google background services disabled.
How to return the old version of Android if Android 12 is not working well?
To downgrade, you need to flash the stock firmware of the old version via Fastboot or Odin. Please note:
- On some devices (for example, Pixel), the downgrade is blocked due to the updated bootloader.
- After the downgrade, a data reset may be required.
- On Samsung downgrade often leads to a trigger Knox (loss of functions Secure Folder and Samsung Pay).
Look for instructions on downgrade at 4PDA or XDA for your model.
Why don't banking applications work after updating to Android 12?
This is due to SafetyNet โthe Android integrity verification system. Banking applications (for example, Sberbank Online or Tinkoff) block access, if: Sberbank Online data-i="397">Solutions:
- Custom firmware installed.
- There are root access (Magisk).
- The bootloader is unlocked.
Solutions:
- Hide the root using Magisk Hide or module Universal SafetyNet Fix.
- Use alternative versions of applications (for example, Sberbank Online for corporate clients).
- Return to stock firmware and block the bootloader.
How to update Google Pixel to Android 12 if OTA does not arrive?
For Google Pixel you can force install the update manually:
- Download the factory image from official website (select your model).
- Unpack the archive and run the script
flash-all.bat(Windows) orflash-all.sh(Linux/Mac). - If you need to save the data, use the option
--skip-wipe.
Alternatively, you can use Android Flash Tool (web version) to flash firmware without a command line.
Will Android 12 receive security updates in 2026?
Official security updates for Android 12 depend on the manufacturer:
- Google Pixel: supported for 3-5 years from the release date of the device.
- Samsung: 4 years of security updates for flagships (for example, Galaxy S21).
- Xiaomi