Xiaomi Redmi 4A
MIUI
You can play Redmi 4A in a number of ways: through the Fastboot, through the customized TWRP recavator, or even through the regular update menu (if it's official software), but before you get started, it's important to understand that the process requires care. A mistake at any stage, from unlocking the bootloader to choosing the wrong firmware version, can turn the phone into a brick. In this article, we'll go through all the steps from preparation to final setup, and also look at which firmware is suitable for the Redmi 4A in 2026.
If you've never flashed a smartphone before, don't worry: the manual is adapted for beginners, the main thing is to follow the steps consistently and not miss training, and for power users, we've added sections on custom cores and alternative OSes, such as LineageOS or Pixel Experience.
Preparation for firmware: what to do before the start
The first and most important step is preparation, and without it, you're at a much higher risk of error, and you start by checking the current firmware version and the status of the bootloader.
Go to Settings β About Phone β MIUI Version. Write down the current firmware (e.g. V12.5.1.0.NCCMIXM). This will help you choose the correct version to update. Also check the bootloader status:
adb reboot bootloaderIf you see the command that says Device is locked, then the bootloader is locked, you have to unlock it (more on this in the next section). If the status is unlocked, you can start the firmware.
Next, prepare the necessary tools:
- π Cable USB Type-C (original or quality) cheap cables can interrupt the connection.
- π» Computer on Windows 10/11 Linux (MacOS will require additional drivers).
- π± Battery charge at least 60%, and when discharged during firmware, the phone may turn off.
- π Mi Account tied to the device (to unlock the bootloader).
Also download:
- π₯ Mi Flash Tool (for Fastboot firmware) β official website.
- π₯ ADB and Fastboot - Android SDK.
- π₯ Firmware (official or custom) β see links in the section βSelection of firmwareΒ».
β οΈ Note: If you install custom firmware, do a backup of data through TWRP or Mi PC Suite.official firmware via Fastboot erases user data!
Unlock the bootloader on Redmi 4A
The bootloader on all Xiaomi smartphones is locked by default, a security measure, but it also complicates the firmware. Unlocking takes up to 72 hours (wait time set by Xiaomi) and requires you to link your Mi Account to the device.
Steps to unlock:
- Turn on Developer Mode: Go to Settings β About Phone and click on MIUI Version 7 times.
- Back to Settings β Additionally. β For developers and activate: π Unlocking OEM (may require input PIN-code). π Debugging by USB.
Mi Unlock Tool
official website
Fastboot
Loudness down + Nutrition
Mi Unlock Tool
Mi Account
If unlocking does not start immediately, wait for SMS or notifications in the Mi Unlock app to end the waiting period (usually 3-7 days). Once successfully unlocked, the phone will automatically restart, and the message βunlockedβ will appear in Fastboot mode.
β οΈ Attention: Unlocking the bootloader resets all data on the phone! make backups in advance.
What if the Mi Unlock Tool canβt see the device?
Selecting firmware for Redmi 4A
Redmi 4A supports several types of firmware:
- π± Officially MIUI β Xiaomi stable and beta versions, suitable for a return to the stockware.
- π οΈ Custom firmware β LineageOS, Pixel Experience, Havoc-OS, and others β gives you the right Android, but it can contain bugs.
- π§ Ported firmware - for example, MIUI from other devices (recommended only for experienced users).
For beginners, the best choice is the official MIUI or LineageOS. Below is the table with the current versions for 2026:
| Type of firmware | Android version | Download link | Notes |
|---|---|---|---|
| Official MIUI (Stable) | Android 7.1 (Nougat) | miui.com | The latest official version for the Redmi 4A. |
| LineageOS 18.1 | Android 11 | lineageos.org | It requires GApps (download separately). |
| Pixel Experience | Android 12 | pixelexperience.org | It is as close to pure Android as possible. |
| Havoc-OS | Android 13 | havoc-os.com | Lots of customization, but bugs are possible. |
For official firmware, choose the version marked Global (if your phone is not for the Chinese market), download the firmware only from trusted sources - XDA Developers forums or official project sites.
Critical! The firmware for Redmi 4A must have the code name of the device rolex. Installing software for another model (for example, Redmi 4 Prime with markw code) will lead to the phone inoperability.
βοΈ Checking the firmware before installation
Firmware via Fastboot (official MIUI)
The Fastboot method is suitable for installing the official MIUI and is recommended by Xiaomi.It completely erases data, so transfer important files to your computer or cloud beforehand.
Step-by-step:
- Unpack the downloaded firmware (file with extension.tgz) in a folder without Cyrillic characters.
- Connect your phone in Fastboot mode (clip Volume Down + Power).
- Launch the Mi Flash Tool, press Select and specify the path to the firmware folder.
- At the bottom of the program, select Clean All (full cleaning) or Clean All and Lock (clean + lock bootloader).
- Press Flash and wait for completion (5-10 minutes). the phone will reboot automatically.
If the process is stuck in the waiting for device phase, check:
- π Connecting the cable (try another port).
- π₯οΈ Drivers installed (Device Manager should display Android Bootloader Interface).
- π Re-start the Mi Flash Tool on behalf of the administrator.
β οΈ Warning: If you choose Clean all and lock, the bootloader will lock again.
π‘
If you've got the phone stuck on the MI logo after you've done it, press Volume Up + Power for 10 seconds to force you to restart. If it doesn't work, repeat the firmware.
Installation of custom firmware through TWRP
Custom firmware (LineageOS, Pixel Experience, etc.) requires TWRP recavators. It must be installed after unlocking the bootloader.
Steps to install TWRP:
- Download the latest version of TWRP for rolex from the official website.
- Rename the file to twrp.img and place it in the folder with the platform-tools (where adb and fastboot lie).
- Connect your phone in Fastboot mode and execute the command: fastboot flash recovery twrp.img
- Immediately after that, go to TWRP, holding Volume Up + Power (otherwise, stock recap will overwrite TWRP).
Now you can install custom firmware:
- Copy the firmware file (e.g. lineage-18.1-20260510-rolex.zip) and GApps (if you need Google services) to your phone or flash drive.
- V TWRP press Wipe β Advanced Wipe and mark: π§Ή Dalvik / ART Cache ποΈ System π Data π Cache
Install
GApps
Reboot System
The first run can take up to 15 minutes, which is normal. If the system does not load for more than 20 minutes, repeat the installation by pre-formatting the Data partition in TWRP (Wipe β Format Data, enter yes).
π‘
Installing custom firmware without GApps will save disk space, but deprive you of Google Play, YouTube and other services. The alternative is the F-Droid app store or manually installing APK.
Solving problems after firmware
Even with the correct following of the instructions, errors can occur, and let's look at the most common ones and how to fix them.
Problem 1: The phone doesnβt turn on after the firmware (black screen or logo hanging).
- π Check the battery power - connect to charging for 30 minutes.
- π Try Forced Reboot: Volume Up + 15 seconds power.
- π οΈ If it doesnβt work, swipe your phone over Fastboot (for official use). MIUI) or repeat the installation through TWRP.
Problem 2: No network (IMEI is missing or shows "Emergency Calls Only").
- πΆ Check if the firmware supports your modem model. for Redmi 4A The modem is sewn into the firmware, so the problem often occurs when installing ported versions.
- π§ Restore. IMEI via Engineer Mode (type in dial ##4636## β Information β Run Ping Test? IMEI No, you will need to re-flash the modem part.
Problem 3: Fast battery discharge after installing custom firmware.
- π Calibrate the battery: completely discharge the phone, then charge to 100% without interruption.
- βοΈ In the firmware settings (LineageOS/Pixel Experience) disable unnecessary background processes in the Battery section β Optimization.
- π If it doesnβt work, try another firmware or kernel (e.g. FrancoKernel for Redmi). 4A).
If none of these methods worked, please refer to the 4PDA or XDA Developers forums and indicate:
- π± Phone models (rolex).
- π Firmware versions (e.g. LineageOS 18.1).
- π§ Error Log (if any, copy from the TWRP or adb logcat).
Additional features: cores, mods and Root
After installing custom firmware, you can expand the functionality of Redmi 4A using:
- π§ Castom cores -- improve performance and autonomy. Popular options for Redmi 4A: FrancoKernel - Balance between performance and battery. ElementalX - flexible processor frequency setting.
- π― MAGISK β to obtain Root rights without breaching security (hidden Root from banking applications). TWRP post-fix.
- π¨ Xposed Framework β for deep customization of the interface (does not work on all firmware).
For the installation of the kernel:
- Download a file with the.zip extension (e.g., FrancoKernel-r12-rolex.zip).
- Reboot to TWRP and select Install.
- After installation, clean Dalvik/Cache and restart.
For MAGISK:
- Download the latest version from GitHub.
- Install it via TWRP (similar to firmware).
- After the reboot, check Root using the Magisk Manager app.
β οΈ Note: Installing a custom core or Root may disrupt some features (like Google Pay or banking apps).Use Magisk modules like MagiskHide to hide Root.