Skip to content

Latest commit

Β 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Evolution X 17.0 (Android 17) + Official Google Apps β€” Xiaomi Redmi Note 7 (lavender)

Complete step-by-step guide to flash the latest Android 17 with official Google Play Services on the Xiaomi Redmi Note 7 (codename: lavender, Snapdragon 660).

Android ROM GApps Device


πŸ“‹ Table of Contents


🌟 Overview

This guide documents the complete process of installing Evolution X 17.0 (Android 17) with official Google Play Services on the Xiaomi Redmi Note 7 (lavender). The Redmi Note 7 uses Retrofit Dynamic Partitions, which requires a specific flashing procedure different from standard A/B or A-only devices.

Property Value
Device Xiaomi Redmi Note 7
Codename lavender
SoC Qualcomm Snapdragon 660 (SDM660)
Architecture arm64-v8a
Partition Scheme Retrofit Dynamic Partitions
ROM Evolution X 17.0 (Vanilla, Unofficial)
Android Version 17
Build ID CP2A.260605.016
Security Patch 2026-08-01
GApps MindTheGapps 17.0.0 (arm64)

βœ… What You Get

  • βœ… Android 17 β€” Latest Android with Material You 3.0 Expressive
  • βœ… Google Play Store β€” Official, fully functional
  • βœ… Google Play Services β€” SMS Retriever API for banking OTP auto-fill
  • βœ… Google Account Sync β€” Gmail, Drive, Photos, Chrome, YouTube
  • βœ… Play Protect Certified β€” Banking apps work without security warnings
  • βœ… OTA-ready Recovery β€” Built-in recovery matching the ROM

πŸ“¦ Prerequisites

Hardware

  • Xiaomi Redmi Note 7 (lavender) with unlocked bootloader
  • USB data cable (not charge-only)
  • Windows PC (10/11)

Software

⚠️ WARNING: This process will wipe all data on your phone. Back up everything first.


πŸ“₯ Downloads

File Size Source
EvolutionX-17.0-*-lavender-*-Vanilla-Unofficial.zip ~1.87 GB Evolution X / XDA Forums
MindTheGapps-17.0.0-arm64-*.zip ~547 MB MindTheGapps / GitHub

⚠️ IMPORTANT: GApps version MUST match Android version! Android 17 ROM β†’ MindTheGapps 17.0.0 only. Wrong version = no Google services.


πŸ›  Step-by-Step Installation Guide

Flash Order (Critical!)

1. Fastboot  β†’ Flash boot.img, recovery.img, vbmeta.img
2. Recovery  β†’ Factory Reset / Format Data
3. Recovery  β†’ Sideload ROM (Evolution X 17.0)
4. Recovery  β†’ Sideload GApps (MindTheGapps 17.0.0)  ← WITHOUT rebooting!
5. Recovery  β†’ Factory Reset / Format Data
6. Recovery  β†’ Reboot System

⚠️ GApps MUST be flashed immediately after the ROM, before the first boot.


Step 1: Unlock Bootloader

If already unlocked, skip to Step 2.

  1. Enable Developer Options: Settings β†’ About Phone β†’ Tap "MIUI Version" 7 times
  2. Enable OEM Unlocking: Settings β†’ Developer Options β†’ OEM Unlocking
  3. Apply at Xiaomi Unlock (7-day wait)
  4. Use Mi Unlock Tool to unlock

Step 2: Boot into Fastboot Mode

  1. Power off the phone
  2. Hold Power + Volume Down for 7-10 seconds
  3. Release when FASTBOOT bunny logo appears
  4. Connect USB cable
.\fastboot.exe devices
# Expected: 621b22e2    fastboot

Step 3: Flash Matching Recovery

⚠️ You MUST use the recovery from inside the ROM zip, NOT TWRP or OrangeFox. Third-party recoveries don't support this device's Retrofit Dynamic Partitions.

Extract images from ROM:

tar.exe -xf EvolutionX-17.0-*-lavender-*-Vanilla-Unofficial.zip recovery.img boot.img vbmeta.img

Flash and boot into recovery:

.\fastboot.exe flash boot boot.img
.\fastboot.exe flash recovery recovery.img
.\fastboot.exe flash vbmeta vbmeta.img
.\fastboot.exe reboot recovery

Expected output:

Sending 'boot' (65536 KB)       OKAY [  1.654s]
Writing 'boot'                  OKAY [  0.403s]
Sending 'recovery' (65536 KB)   OKAY [  1.654s]
Writing 'recovery'              OKAY [  0.442s]
Sending 'vbmeta' (8 KB)         OKAY [  0.005s]
Writing 'vbmeta'                OKAY [  0.001s]
Rebooting into recovery         OKAY [  0.000s]

Step 4: Flash Evolution X 17.0 via Sideload

On the phone's recovery screen:

  1. Volume Down β†’ Factory reset β†’ Format data / factory reset β†’ Confirm
  2. Back to main menu
  3. Apply update β†’ Apply from ADB β†’ Power Button

On PC:

.\adb.exe sideload EvolutionX-17.0-*-lavender-*-Vanilla-Unofficial.zip

If "Signature verification failed" appears β†’ Select Yes

Wait for completion (~2-3 minutes):

Total xfer: 0.98x    ← This is normal and successful!

Step 5: Flash Google Apps (MindTheGapps 17.0.0)

⚠️ Do NOT reboot yet!

  1. If signature verification prompt appears β†’ Yes
  2. Apply update β†’ Apply from ADB
  3. On PC:
.\adb.exe sideload MindTheGapps-17.0.0-arm64-*.zip
Total xfer: 1.00x    ← 100% success!

Step 6: Factory Reset & First Boot

  1. Factory reset β†’ Format data / factory reset β†’ Confirm
  2. Reboot system now
  3. If "Previous boot failed" warning β†’ Yes (harmless stale log)

First Boot Notes

  • πŸ• First boot takes 2-3 minutes
  • πŸ”„ Setting a PIN for the first time may trigger one automatic reboot (data encryption). Just go through setup again β€” it won't reboot the second time.

πŸ” Post-Install Verification

# Verify Google packages
.\adb.exe shell "pm list packages | grep -iE 'google|gms|vending'"

# Expected:
# package:com.google.android.gms     (Play Services)
# package:com.android.vending        (Play Store)
# package:com.google.android.gsf     (Services Framework)

# Verify system info
.\adb.exe shell "getprop ro.build.version.release"   # β†’ 17
.\adb.exe shell "getprop ro.product.model"            # β†’ Redmi Note 7

⚠️ Important Notes & Troubleshooting

❌ "ERROR: This recovery does not support retrofit dynamic partitions"

Cause: Using TWRP/OrangeFox recovery.
Fix: Use the recovery.img from inside the ROM zip. See Step 3.

❌ Google Play Store missing after boot

Cause: Wrong GApps version (e.g., 16.0.0 for Android 17).
Fix: Reboot to recovery, sideload correct MindTheGapps 17.0.0, factory reset, reboot.

❌ Stuck on "MIUI" / "Redmi" splash screen

Cause: Stock MIUI can't parse dynamic partition tables created by custom ROMs.
Fix: Force Fastboot (Power + Vol Down 10s), flash matching boot/recovery from custom ROM.

❌ Phone reboots when setting PIN during setup

Cause: Normal β€” Android encrypting data partition on first PIN set.
Fix: Go through setup again. Works normally on second attempt.

❌ "Total xfer: 0.00x" during sideload

Cause: Recovery not in ADB Sideload mode.
Fix: Select Apply update β†’ Apply from ADB on phone first.

❌ "Failed to mount" errors in recovery

Cause: Normal after format/wipe.
Fix: Ignore β€” doesn't affect installation.


πŸ”„ Restoring to Stock MIUI

  1. Download official MIUI Fastboot ROM from Xiaomi Firmware Updater
  2. Install Mi Flash Tool
  3. Boot phone to Fastboot (Power + Vol Down)
  4. Flash with Mi Flash Tool (flash_all.bat rewrites all partitions)

⚠️ NEVER re-lock bootloader while a custom ROM is installed. Restore stock MIUI first, then re-lock.


πŸ— Technical: Retrofit Dynamic Partitions

The Redmi Note 7 shipped with Android 9 using fixed partitions. Modern ROMs implement Retrofit Dynamic Partitions:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              Physical Storage                 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  super_dummy.img β†’ Virtual Super Partition    β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚  dm-0: system      (1.0 GB)             β”‚ β”‚
β”‚  β”‚  dm-1: vendor      (from physical)      β”‚ β”‚
β”‚  β”‚  dm-2: product     (2.2 GB) ← GApps     β”‚ β”‚
β”‚  β”‚  dm-3: odm         (dynamic)            β”‚ β”‚
β”‚  β”‚  dm-4: system_ext  (1.0 GB)             β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚  dynamic_partitions_op_list (layout config)   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  • super_dummy.img creates a virtual super partition
  • Kernel device-mapper creates /dev/block/dm-* devices
  • Enables flexible partition resizing without physical repartitioning
  • Stock MIUI cannot boot after this conversion (legacy kernel incompatible)
  • ROM's own recovery required (contains correct device-mapper config)

πŸ™ Credits


πŸ“„ License

This guide is released under the MIT License.


Made with ❀️ for the Android modding community

If this guide helped you, give it a ⭐!

About

πŸš€ Complete guide to flash Evolution X 17.0 (Android 17) + Official Google Apps (MindTheGapps 17.0.0) on Xiaomi Redmi Note 7 (lavender) | Step-by-step with ADB/Fastboot commands

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors