Before you flash: Flashing firmware will erase all data on your device. Back up contacts, photos, and apps before proceeding. FlashGuideHub is not responsible for any damage caused by following this guide.
About the Xiaomi Redmi S2 / Redmi Y2
The Xiaomi Redmi S2 / Redmi Y2 (codename: ysl / HMS2) launched in May 2018 on Qualcomm's Qualcomm Snapdragon 625 (MSM8953, 14nm) processor with a 5.99-inch HD+ 18:9 display, dedicated Dual-SIM + microSD tray, and Android 8.1 Oreo updating to Android 9.0 Pie (MIUI 12).
Whether you are clean-flashing unified Global/India MIUI 12 from ysl_global_images_V12.0.2.0.PEFMIXM_20200924.0000.00_9.0_global_e800582a81.tgz, moving to Xiaomi.eu V12.0.4.0 inside OrangeFox-R11.0-ysl.zip, or recovering an EDL brick, follow the steps below.
Which Flash Mode Should You Use?
Mi Flash Tool (Fastboot .tgz Factory Restore)
Executes flash_all.bat over Fastboot to restore clean Android 9.0 Pie MIUI 12 (Global/India, China, or Russia) on unlocked ysl units.
OrangeFox R11.0 / PBRP 3.0.0 (Xiaomi.eu & Custom ROMs)
Install OrangeFox-R11.0-ysl.zip or PBRP-ysl-3.0.0 for Xiaomi.eu V12.0.4.0 (Format Data required), or flash twrp-3.7.1_12-0-ysl-RenzAlt.img for Android 11/12 64-bit ROMs.
Qualcomm EDL 9008 (Test-Point Unbrick)
Low-level MSM8953 recovery when Fastboot refuses to respond or after an ARB/relock brick. Hardware test points force clean QDLoader 9008 detection.
Pre-Flash Setup for Xiaomi Redmi S2 / Y2 (ysl)
Confirm Mi Unlock succeeded and run fastboot getvar anti before flashing older builds.
Verify clean Windows Device Manager detection before launching Mi Flash Tool or QFIL.
Aging 2018 microUSB ports drop easily during 2 GB Fastboot writes; use a rear motherboard USB 2.0 port.
Maintain steady 10W (5V/2A) charge so eMMC 5.1 writes never fail from a brownout.
Mi Flash clean_all and Format Data wipe 32/64 GB storage; avoid touching persist sensor calibration.
Mi Flash & Recovery Walkthrough for Snapdragon 625 (ysl)
A quick 5-step overview built specifically for the Xiaomi Redmi S2 / Redmi Y2. The full Mi Flash Tool guide adds screenshots, progress tracking, and fixes for common errors.
-
Verify your ysl / HMS2 bootloader unlock state and anti-rollback index (fastboot getvar anti)
-
Double-extract ysl_global_images_V12.0.2.0.PEFMIXM_20200924.0000.00_9.0_global_e800582a81.tgz into C:\ysl_fw\
-
Boot Fastboot (Volume Down + Power) and attach a tight microUSB 2.0 lead to a rear PC USB port
-
Run Mi Flash ("clean all") on C:\ysl_fw\ or flash PBRP-ysl-3.0.0-20200729-0735-OFFICIAL.zip / OrangeFox-R11.0-ysl.zip for Xiaomi.eu
-
Wait 5–8 minutes on first eMMC 5.1 boot without relocking cross-region software
Locating flash_all.bat & Firehose Files in MSM8953 Archives
Official Xiaomi Redmi S2 / Redmi Y2 (ysl) Fastboot archives are double-compressed .tgz files. Extracting twice with 7-Zip places flash_all.bat beside the images directory holding prog_emmc_firehose_8953_ddr.mbn, NON-HLOS.bin, boot.img, and system.img:
flash_all.bat
Double-extracting ysl_global_images_V12.0.2.0.PEFMIXM_20200924.0000.00_9.0_global_e800582a81.tgz with 7-Zip places flash_all.bat at the top directory beside the images folder holding prog_emmc_firehose_8953_ddr.mbn, NON-HLOS.bin, system.img, and boot.img. Always select the outer folder inside Mi Flash Tool.
Verify your phone is Redmi S2 / Redmi Y2 (ysl / HMS2)—never cross-flash Redmi Note 5 Pro (whyred) or Redmi 5 Plus (vince) packages.
Point Mi Flash Tool to the outer folder containing flash_all.bat (such as C:\ysl_fw\), not the inner images folder.
Keep "clean all" active when restoring Global or switching regions; relocking the bootloader on mismatched software triggers an immediate lockout.
Xiaomi Redmi S2 / Redmi Y2 Firmware Versions
Tested Global/India, China, and Russia Fastboot builds plus Xiaomi.eu V12.0.4.0 and OrangeFox R11.0 for Xiaomi Redmi S2 / Redmi Y2 (ysl). Grab signed Recovery OTA ZIPs, PBRP 3.0.0, and TWRP 3.7.1_12-0 from AndroidFirmwareFile.
| Version | Region | Android Version | Size | MD5 | Download |
|---|---|---|---|---|---|
V12.0.2.0.PEFMIXM |
Global & India Unified (MI) — Final MIUI 12 Fastboot | Android 9.0 Pie (Sep 2020) | 1.90 GB | e800582a81fa36557e98c5be053723fd |
⬇️ Download |
V12.0.4.0.PEFCNXM |
China (CN) — Final MIUI 12 Fastboot | Android 9.0 Pie (Jul 2020) | 2.41 GB | ad0a7b18c84e067ecbb2bac1a95a7627 |
⬇️ Download |
V12.0.1.0.PEFRUXM |
Russia (RU) — Final MIUI 12 Fastboot | Android 9.0 Pie (Dec 2020) | 1.90 GB | 1abbc637301770c56e4a72e78d3e21fc |
⬇️ Download |
V12.0.4.0.PEFCNXM (Xiaomi.eu) |
Multilang + Google Play (Recovery ZIP) | Android 9.0 Pie (MIUI 12) | 1.64 GB | 7b7b54e0980711687bdc4bdd5984d6ab |
⬇️ Download |
OrangeFox R11.0 |
Community Recovery (ysl) | Android 9.0–11.0 Recovery | 45.14 MB | e5e1d5b0b9b165636ffa9962e86ce556 |
⬇️ Download |
Need signed Recovery OTA ZIPs, PBRP 3.0.0, or TWRP 3.7.1_12-0? Browse all 10 ysl files on AndroidFirmwareFile.com → View full archive on AndroidFirmwareFile.com →
Fastboot, Xiaomi.eu V12.0.4.0 & MSM8953 EDL Paths
Restoring a Xiaomi Redmi S2 / Redmi Y2 (ysl) over Fastboot starts by checking bootloader status and anti-rollback index (fastboot getvar anti). On unlocked units, Mi Flash Tool cleanly installs unified Global/India Android 9.0 Pie MIUI 12 directly from ysl_global_images_V12.0.2.0.PEFMIXM_20200924.0000.00_9.0_global_e800582a81.tgz using "clean all".
If you want Xiaomi's newer China V12.0.4.0.PEFCNXM base with Google Play Services and European languages, install OrangeFox-R11.0-ysl.zip or PBRP-ysl-3.0.0-20200729-0735-OFFICIAL.zip, format encrypted /data once, and flash xiaomi.eu_multi_HMS2_V12.0.4.0.PEFCNXM_v12-9.zip.
Troubleshooting Redmi S2 / Y2 (ysl) Sahara 900E, Mismatch & Bootloop Errors
Qualcomm HS-USB 900E / "Sahara Fail" During EDL 9008 Recovery
XDA repair threads for ysl note that hard-bricked phones often show up as Diagnostics 900E or reject QFIL/Mi Flash with "Sahara Fail" when the MSM8953 Firehose handshake times out or lacks Xiaomi service authorization. Unplug the 3,080 mAh battery flex, short the two motherboard EDL test points to enter clean QDLoader 9008, and immediately start flashing with an authorized session or patched ysl programmer.
"mismatching image and device" Error in Mi Flash Tool
Triggered when flash_all.bat rejects the board product string—commonly caused by outdated Mi Flash versions, deeply nested folder paths, or mixing China (ysl_images_*) and Global (ysl_global_images_*) folders on mismatched partitions. Extract cleanly to C:\ysl_fw\ and use an up-to-date Mi Flash release.
Bootloop After Installing xiaomi.eu_multi_HMS2_V12.0.4.0.PEFCNXM_v12-9.zip
Xiaomi.eu forum users report persistent bootloops when flashing V12.0.4.0.PEFCNXM dirty over encrypted Global or stock /data partitions. Back up files first, run Wipe > Format Data (type "yes") inside PBRP 3.0.0 or OrangeFox R11.0, reboot back into recovery, and then install the Xiaomi.eu ZIP.
Need help decoding another Mi Flash or Sahara error? Snapdragon 625 Fastboot & EDL Error Directory →
Anti-Rollback, Persist Safety & Recovery Tree Q&A
Xiaomi enabled Anti-Rollback (ARB) protection on ysl during the Android 8.1 Oreo to Android 9.0 Pie transition, and ARB stays enforced even on unlocked bootloaders. Running <code>fastboot getvar anti</code> lets you check your board's rollback index before flashing older MIUI 9.5 or MIUI 10 Fastboot builds, preventing permanent bootloader lockouts.
On Snapdragon 625 Redmi S2 / Y2 boards, the <code>persist</code> partition holds factory sensor calibration for the rear Goodix/FPC fingerprint scanner, proximity sensor, and Wi-Fi/Bluetooth addresses. Wiping it during custom ROM hopping breaks biometrics and sensors until a clean device-specific <code>persist.img</code> backup is restored.
<code>PBRP-ysl-3.0.0-20200729-0735-OFFICIAL.zip</code> and <code>OrangeFox-R11.0-ysl.zip</code> are flashable installer ZIPs built for Android 9–11 (including 32-bit stock Pie / Xiaomi.eu trees)—you either flash them from an existing recovery or extract <code>recovery.img</code> inside the ZIP for Fastboot. By contrast, <code>twrp-3.7.1_12-0-ysl-RenzAlt.img</code> is a raw <code>.img</code> flashed directly with <code>fastboot flash recovery</code> specifically for 64-bit Android 11/12 FBE custom ROMs.
Ready to Flash?
Follow the full step-by-step Mi Flash Tool guide with interactive progress tracking, prerequisite checklist, and complete troubleshooting.