How to flash Xiaomi Mi 3S: official and custom firmware (2026)

Xiaomi Mi 3S (codename armani) is the legendary smartphone of 2014, which is still used by enthusiasts due to the ability to install modern firmware. However, the firmware of this device has nuances, from unlocking the bootloader to choosing compatible software. In this article, we will analyze all the current ways of firmware Mi 3S in 2026, from the official MIUI to custom builds based on Android 10/11.

It is important to understand that the Mi 3S belongs to the first generation of Xiaomi devices with a Qualcomm Snapdragon 800 processor (MSM8974AB). This imposes restrictions on the choice of firmware: for example, LineageOS 18.1 (Android 11) works stably, but newer versions can slow down. Also note that after firmware you may need to re-assign your Mi Account account - especially if you use official software.

1. Firmware Preparation: What to Do Before Starting

Xiaomi Mi 3S firmware requires pre-preparation, otherwise the risk of β€œbricking” the device increases significantly. Start by checking the current version of the firmware: go to Settings β†’ About Phone β†’ MIUI Version. If the version is older than MIUI 8, first update through MIUI Updater – this will simplify further manipulation.

Mandatory steps before the firmware:

  • πŸ”‹ Charge your phone at least 70% – when discharged during firmware through Fastboot, the device can turn into a β€œbrick".
  • πŸ“± Make a backup of the data through Settings β†’ Additionally. β†’ Backup and reset or by TWRP (if established).
  • πŸ–₯️ Install Qualcomm drivers and ADB/Fastboot For Windows, Google's Platform Tools suite will do.
  • πŸ”“ Unlock the bootloader (unless done before) without it custom firmware cannot be installed.

On the Mi 3S, this process takes up to 72 hours due to Xiaomi’s policy: after sending a request through the Mi Unlock Tool, you need to wait for confirmation via SMS. If you have already unlocked the bootloader before, check the status of the command:

fastboot oem device-info

In the answer, look for the line Device unlocked: true. If it is false, unlock is mandatory.

πŸ“Š What firmware you plan to install on Xiaomi Mi 3S?
Official MIUI
LineageOS
Pixel Experience
Another custom
I haven't decided yet.

2. Method 1: Firmware via MIUI Updater (official method)

The safest way to upgrade the Mi 3S is to use the built-in MIUI Updater, which is suitable for migrating to a new version of MIUI without losing data, but only works with official firmware. Importantly, if your device is already on custom firmware, this method does not work, you will need to return to the drain Recovery.

Instructions:

  1. Open Settings β†’ About the phone β†’ System update.
  2. Click on the three dots in the upper right corner and select Select the firmware file.
  3. Download the official firmware for armani from en.miui.com (select the version for your region: Global, China or EEA).
  4. Transfer the.zip file to the phone’s root folder and select it from MIUI Updater.
  5. Confirm the installation and wait for the restart (it will take 5-10 minutes).

If the update has been stuck on the Mi logo for longer than 15 minutes, don’t panic – that’s OK for the Mi 3S. But if the process lasts more than 30 minutes, try forcefully restarting the device with the Power + Volume Up button.

πŸ’‘

If MIUI Updater does not see the downloaded firmware, rename the file to update.zip And put it in a folder. /downloaded_rom internal.

3. Method 2: Fastboot firmware (for official and custom ROM)

Fastboot is universal: it is suitable for installing both official firmware from Xiaomi and custom ones (for example, LineageOS or Pixel Experience), the main advantage is the ability to flash the device even if it does not turn on (for example, after a failed update), but there is a risk: if you choose firmware not for armani, the phone will turn into a β€œbrick”.

Step-by-step:

  1. Download the firmware in.tgz (official) or.zip (custom) format and unpack it in a folder from fastboot.
  2. Turn off your phone and press Volume Down + Power to enter Fastboot mode (a hare in a hat-eared hat will appear).
  3. Connect the device to the PC and check the connection command: fastboot devices If the response appears serial number – the connection is established.
  4. For custom - use commands from the instructions to the firmware (usually it is fastboot flash boot, fastboot flash system, etc.).
  5. Upon completion, type in fastboot reboot

If the firmware on Fastboot ended with a FAILED error (remote: partition table doesn't exist), then you are trying to flash an incompatible version. For Mi 3S, only firmware with the armani mark in the file title is suitable.

Downloaded the correct firmware for the armani| model

bootloader Unlocked (Device unlocked: true) |

Install ADB/Fastboot drivers on PC|

Charged the phone at least 70% |

Backup of important data.-->

Method 3: Install custom firmware via TWRP

For enthusiasts who want to install LineageOS, Pixel Experience or Havoc OS, the only option is firmware via TWRP. This method gives full control over the system, but requires a custom Recovery pre-installed. Importantly, only TWRP 3.6.0 or later is suitable for the Mi 3S - older versions may not support modern firmware.

How to Sweat Through TWRP:

  1. Download the latest version of TWRP for armani from twrp.me.
  2. Install TWRP via Fastboot: fastboot flash recovery twrp-3.6.0-armani.img fastboot reboot recovery
  3. In TWRP, run Wipe β†’ Advanced Wipe and mark Dalvik/ART Cache, System, Data, Cache.
  4. Transfer the firmware (e.g. lineage-18.1-armani.zip) to your phone via MTP (TWRP has the option Mount β†’ Enable MTP).
  5. Install the firmware through Install β†’ Select a file β†’ Swipe to Confirm Flash.
  6. After installation, run GApps (if you need Google services) and Magisk (for root rights).

Critical feature of Mi 3S: if after firmware custom ROM phone does not turn on, try to flash the kernel separately command fastboot flash boot.img (the boot.img file usually comes with firmware).

What if TWRP doesn’t see internal memory?
If TWRP doesn't display internal memory, it's probably encrypted. Solution: 1. From the TWRP menu, select Wipe β†’ Format Data (this will delete all data!). 2. Reboot to TWRP and check for memory availability. 3. If it doesn't, run the stock kernel through Fastboot, then re-install TWRP.

5. Unlocking the bootloader on Xiaomi Mi 3S: a step-by-step guide

Without unlocking the bootloader, you can't install custom Recovery or firmware. 3S This process consists of two steps: linking the Mi Account to the device and actually unlocking through the Mi Unlock Tool. SIM-Card with the number to which the Mi Account is linked (otherwise SMS codeless).

Instructions for unlocking:

  1. Enable USB debugging: Settings β†’ About Phone β†’ MIUI version (click 7 times), then Settings β†’ Additional β†’ For Developers β†’ Debugging over USB.
  2. Link the device to your account: Settings β†’ Mi Account β†’ Link the device.
  3. Download the Mi Unlock Tool from the official website and launch it on behalf of the administrator.
  4. Sign in to the program under the same account as on the phone.
  5. Connect your phone in Fastboot mode and press Unlock.
  6. Wait for the confirmation SMS (can come in 24-72 hours).

If the Mi Unlock Tool is a Cann't unlock error or Current account is different from the account info on the device, then:

  • πŸ”„ You are logged into another account on your PC and phone.
  • πŸ“± Device not tied to account (check Settings) β†’ Mi Account).
  • ⏳ It has been 72 hours since the last attempt to unlock the device.

πŸ’‘

Unlocking the bootloader resets all the data on the phone!

6. Solving common firmware errors

The Xiaomi Mi 3S firmware is often accompanied by errors, especially if the device is old or has been experimented with before.

Mistake.Reason.Decision
E3004: Can't find package (TWRP)A damaged firmware file or wrong pathCheck integrity ZIP-file (MD5) And put it in the root of memory.
FAILED (remote: partition table doesn't exist) (Fastboot)Firmware is incompatible with ArmaniDownload the firmware specifically for Mi 3S (armani code)
The phone does not turn on after the firmwareNo kernel or incompatible version of TWRPSweat boot.img via Fastboot or install another version of TWRP
Error 7 in TWRPThe firmware is designed for another modelCheck the name of the firmware file (must contain armani)
Hanging on the Mi logoIncompatible core or no vendor partitionFastboot or run fastboot erase userdata

If after the firmware Mi 3S does not SIM-The card is most likely missing the modem module:

  1. Download the stock firmware for your region.
  2. Remove the modem.img and nvram.img files.
  3. Fastboot: fastboot flash modem modem.img fastboot flash nvram nvram.img

πŸ’‘

If after installing custom firmware does not work camera, download and stitch separately module camera_blobs.zip armani.

7.How to get back the MIUI stock firmware

If custom firmware experiments fail, you can always go back to the official MIUI, which requires.tgz stock firmware and MiFlash. Importantly, you can only get back the stock firmware through Fastboot, because MIUI Updater won't work if you have custom ROM installed on your phone.

Instructions for returning to MIUI:

  1. Download stock firmware for armani from the Xiaomi Firmware Updater website.
  2. Unpack the archive in a folder with MiFlash.
  3. Run MiFlash.exe on behalf of the administrator.
  4. Connect your phone in Fastboot mode.
  5. In MiFlash, press Refresh – the device must be determined.
  6. Select the firmware folder and press Flash.
  7. Wait until the end (green sign of success).

If MiFlash is making a mistake flash_all_except_storage.bat failed, try it:

  • πŸ”„ Rename the file flash_all.bat into flash_all_except_storage.bat and launch it.
  • πŸ“ Delete the file userdata.img from the firmware folder (the data will not be erased).
  • πŸ”Œ Try another one. USB-port.
What if MiFlash can’t see the device?
1. Install Qualcomm HS-USB QDLoader 9008 drivers manually through Device Manager. 2. Try running MiFlash in Windows 7. 3 compatibility mode. Disable the antivirus - it can block port access.

8.Optimize the Mi 3S after firmware

After successful firmware, the Xiaomi Mi 3S requires additional customization for stable operation, especially for custom firmware based on Android 10/11, which can slow down on old hardware.

To improve productivity:

  • ⚑ Turn off animation: in Settings β†’ The phone. β†’ Version. MIUI (Click 5 times on "Kernel Version" and then on Settings β†’ For developers, install Windows animation = 0.5x.
  • πŸ—‘οΈ Limit background processes: Settings β†’ Annexes β†’ Limitation of background processes β†’ Max. 2 process.
  • πŸ”„ Use lightweight alternatives to standard applications (e.g. Nova Launcher instead of the standard ones). MIUI Launcher).
  • πŸ”‹ Turn off synchronization of unnecessary accounts: Settings β†’ Accounts. β†’ Synchronization.

For custom firmware (LineageOS, Pixel Experience):

  • πŸ“± Install FrancoKernel or ElementalX kernel for better CPU frequency management.
  • πŸ”§ Set up. CPU Governor on-demand or interactive via Kernel Adiutor.
  • 🚫 Turn it off. ZRAM (if included, on Mi 3S He's just slowing down the system.

Note: If your phone gets too hot after you have installed LineageOS or other custom ROM, check the kernel settings. Most likely, Performance Governor is enabled, switch to Powersave or Balanced.

πŸ’‘

On the Mi 3S with custom firmware, it is recommended to turn off hardware acceleration in the Chrome browser (in the settings, the Override software rendering list flag).

FAQ: Frequent questions about the firmware Xiaomi Mi 3S

Can I flash Mi 3S without unlocking the bootloader?
No, custom firmware or TWRP is required to be unlocked, but official updates via MIUI Updater can be installed without unlocking.
What is the most stable custom firmware for the Mi 3S in 2026?
The best options are LineageOS 18.1 (Android 11) which is the most optimized, Pixel Experience 11 which is Google Pixel interface, Havoc OS 4.9 is customizable, and avoid Android 12+ firmware which is unstable.
Why is the mobile network not working after the firmware?
This is a typical problem when switching from MIUI to custom firmware. Solution: Scroll modem.img and nvram.img from stock firmware. Check APN settings in Settings β†’ Mobile Network β†’ Access Points (APN). If it didn't work, go back to stock firmware and repeat the firmware with a full waip.
How to flash Mi 3S with a broken screen?
If the screen is not working, but the phone is turning on, use Fastboot: Connect your phone to your PC in Fastboot mode (press Volume Down + Power when the device is off). Run the full package with fastboot flash all. If the screen is completely black, but the phone is determined in fastboot devices, try flashing TWRP and installing the firmware blindly (focusing on the vibration when pressed). Attention: without a working screen, firmware through TWRP is extremely risky - there is a chance to choose the wrong options and lose data.
Where to download the official firmware for Mi 3S?
The official firmware for armani can be downloaded from these resources: the official MIUI website (choose the Mi 3S version), Xiaomi Firmware Updater (archive of all versions), XDA Developers (discussion forum). Avoid third-party sites - there are often modified or infected firmware.