Xiaomi Redmi Note 4
mido
Android 7.0 Nougat
Android 10
TWRP
Firmware for unofficial software always comes with risks, from loss of warranty (if it was still in effect) to "filling" the device. But for the Redmi Note 4 with its Snapdragon 625 and 3 GB of RAM, Android 10 works steadily - subject to choosing an optimized build. installation GSI-Generic System Image and Custom ROM base AOSP or LineageOS.
Before you start, consider this process will take 1-2 hours, require a PC with ADB/Fastboot and a spare battery (or a charger with Qualcomm 9008 mode support in case of a failure). If you are a beginner, follow the instructions carefully and do not miss the check steps.
Preparation of the device: unlocking the loader
Xiaomiβs bootloader is locked by default, and unlocking it is a must-have first step. For the Redmi Note 4, the process has been simplified since 2023: no longer need to wait for 720 hours (30 days) of account binding, but you will need the official Mi Unlock Tool tool.
Download the latest version of the utility from the official Xiaomi website (the 2026 version supports mido without additional manipulations).
- π± Developer Mode Enabled: Go to Settings β The phone. β Version. MIUI and tap 7 times on the assembly number.
- π Debugging is permitted. USB: In Settings β Additionally. β For developers, activate the debugging by USB and Unlock. OEM.
- π Linked to Mi Account: in Settings β Xiaomi account log in to your profile (required with a confirmed phone number!).
Connect your phone to your PC, run the Mi Unlock Tool, and follow the instructions. If the utility gives you a "Couldn't unlock" error, try:
- Reboot your phone in Fastboot manually (clamp Volume Down + Power).
- Use the original USB-cable (not all cables support data transfer to Fastboot).
- Disable antivirus on PC β it can block Qualcomm drivers.
β οΈ Warning: Once the bootloader is unlocked, the phone will reset to factory settings. backup data via Mi Cloud or Titanium Backup (root rights required).
2. Installation of TWRP Recovery: version selection and nuances
TWRP (Team Win Recovery Project is a custom recovery required to install firmware. 4 current-age 3.7.0_9-0 Or newer, but there is a caveat: some builds do not support FBE (File-Based Encryption, which can cause problems with data encryption.
Download TWRP for mido from the official website:
- π Device page on twrp.me (select a file marked.img).
- π οΈ Alternative build from OrangeFox (supports) MIUI OTA and has extended functionality).
Installation via Fastboot:
fastboot flash recovery twrp-3.7.0_9-0-mido.img
fastboot boot twrp-3.7.0_9-0-mido.imgAfter successful firmware TWRP phone automatically reboots to the new recovery. Here it is important to immediately disable encryption (if it was enabled in MIUI), otherwise the system may not boot. To do this, go to TWRP Wipe β Format Data and type in yes.
Loader unlocked|Installed TWRP 3.7.0+|Backup made. EFS (IMEI)|Data encryption disabled|Battery charge > 60%-->
3. firmware selection: GSI vs custom ROMs
For Redmi Note 4, there are two types of firmware available for Android 10:
- GSI (Generic System Image: Google's "universal" builds adapted for Treble projects, suitable for devices with split-endored partitions (vendor/system).
- Custom ROMs are community firmware (e.g. LineageOS 17.1, Pixel Experience) optimized specifically for mido.
Comparison of options:
| Criteria | GSI (e.g. phhusson) | Castomic ROM (e.g. LineageOS) |
|---|---|---|
| Stability | Medium (possible camera bugs, NFC) | High (optimized for iron) |
| Productivity | Depends on the assembly (may slow down) | Optimal (core configured under SD625) |
| Updates | Rare (once in 2-3 months) | Regular (monthly) |
| MIUI functions | Absent (Pure Android) | Partially ported (e.g. IR Blaster) |
For beginners, we recommend LineageOS 17.1, which is as stable as possible and has an active community. You can download it on XDA Developers. If you want to experiment, try phhusson's GSI (look for builds marked arm64-bvS for the Snapdragon 625).
Official. MIUI|LineageOS/Pixel Experience|GSI (phhusson, AndyYan)|Another custom ROM-->
4. Step-by-step installation of Android 10
Before the firmware, be sure to make a backup section EFS (contain IMEI and the modem data! TWRP Go to Advanced. β File Manager, find the folder /efs And copy it to SD-card.
Instructions for LineageOS 17.1:
- Download firmware and GApps (like Open GApps pico for Android 10).
- Transfer the files to your phone or SD-map.
- In TWRP, run Wipe β Advanced Wipe and mark Dalvik / ART Cache System Data Cache
Install β Select ZIP β Swipe to Confirm
GApps
Reboot β System
If the phone is stuck on the logo after the firmware:
- π Reboot to TWRP (clamp up the volume + Nutrition).
- π Delete the file. /data/system/gesture.key (if).
- π§ Fly the core (boot.img) firmware-archive.
β οΈ Attention: If after installation GSI The sensor or Wi-Fi is not working, so the build is not compatible with the vendor libraries of your version. MIUI. Solution: pass vendor.img From stock firmware through fastboot flash vendor vendor.img.
π‘
Before the first download of Android 10, turn off SIM-map - this will help to avoid conflicts with the modem on some assemblies.
5. Solving typical problems after firmware
Even if installed correctly, bugs can occur, and here are the most common ways to fix them:
| Problem. | Reason. | Decision |
|---|---|---|
| The camera's not working. | There are no libmmcamera drivers in GSI | Install. ANX Camera or Select a Vendor from MIUI |
| No sound in the speaker. | Incompatibility of audio HAL | Change the sound profile to Settings β Sound β AudioFX |
| Fast battery discharge | Background processes of Google Play Services | Turn off Google Play Services Battery Optimization in your app settings |
| Not defined SIM-map | EFS or incorrect modem damaged | Restore EFS from the backup or swipe modem.img from stock MIUI |
If the IR Blaster (Infrared Port) does not work after GSI firmware, install Xiaomiβs Mi Remote app and manually add configuration files from stock firmware to /system/etc.
To eliminate random reboots, try:
- π§ Disable Hardware Acceleration in Developer Settings.
- π Reduce clock speed CPU Kernel Adiutor (maximum 1.8 GHz for Snapdragon 625).
- π Reflash the core with overclocking disabled.
How to recover the IMEI after the reset of the EFS?
6. Optimize Android 10 on Redmi Note 4
The Snapdragon 625 isnβt the most powerful chipset for todayβs Android, but a few tweaks will help improve performance:
- π Turn on Force. GPU Rendering and Disable HW Overlays in the Developer Settings.
- ποΈ Turn off animations: set the value 0.5x Window animation scale, Transition animation scale and Animator duration scale.
- π Use the FrancoKernel or Perseus kernel for better battery management.
To increase the time of autonomous operation:
- Install Greenify and add Google Play Services, Facebook, Messenger to sleep mode.
- Activate Battery Saver mode when charged below 30%.
- Disable Always-on Display (if available in firmware) and background account sync.
If the camera is not working well, try alternative applications:
- GCam (e.g., Urnyx05 build for SD625).
- Footage β supports manual ISO settings and shutter speeds.
- Open Camera is open source, stable work on custom firmware.
π‘
For maximum stability, use CAF-based firmware (CodeAurora Forum) β it is optimized for Qualcomm chipsets.
7.Putting back MIUI: How to get back the stock firmware
If Android 10 is unstable or you need MIUI features (like Second Space or Game Turbo), you can return the original firmware.
- Download the latest stable version of MIUI for mido from the official website (choose Recovery ROM or Fastboot ROM).
- For Recovery. ROM: Move it. ZIP-file in the root of the phone's memory. TWRP run the Wipe β Advanced Wipe (mark System, Data, Cache) Install the firmware through Install.
Fastboot ROM
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash vendor vendor.img
fastboot erase userdata
fastboot rebootAfter returning to MIUI, you may need to re-unblock the bootloader if you plan to install custom firmware again. Also check the IR Blaster, Fingerprint, and NFC work - they sometimes require additional setup after rollback.
β οΈ Note: When switching from Android 10 on MIUI 11/12 There may be an error in the Invalid IMEI". It's because of the incompatibility of the modem versions. modem.img and fsg.mbn from stock firmware via Fastboot.