Need stock ROM to fix the firmware on your Xiaomi Mi 5s?
Please download the Flash file and read installation guides about how to flash Ota update.zip or .tgz via Fastboot / EDL “Emergency download mode. Hopefully this site can be useful for you Xiaomi Mi 5s mobile users.
Table of contents
Basic knowledge
What is firmware? Firmware is a specific class of Linux computer software
Xiaomi Mi 5s Firmware is a special class of computer software that has a role to control the hardware of the Xiaomi Mi 5s cellphone, so if one part of the firmware has a problem, it will greatly affect your performanceXiaomi Mi 5s and even your cellphone may experience Softbrick “The application always stops suddenly, Can’t boot to the home screen, recovery, just stuck on logo or Blinking red light” or Hardbrick “EMMC is weak, Problematic hardware”.
What is Stock rom? This is the official or original factory-installed firmware which hasn’t been modified at all by third party users. But not infrequently there are developers outside the official company who dare to modify it by making a custom rom in order to beautify the UI “user interface”, Alternative to Bypass / unlock FRP or a more user experience such as LineagoOS, MokeeOS, CyanogenMOD, AOSP, Flyme, Havoc,Resurrection RemiX or just Porting rom “EUI,ONE UI, Android ONE, GSI” from other devices with same chipset. Keep in mind that if you want to flash a custom rom, then the first thing you need to do is unlocking bootloader, Rooting, Installing TWRP recovery. Until there you can flash a custom rom, Xposed Installer and other.
What is Flash ROM? Flash rom is a universal flash programming utility that is used to detect, verify, delete, read or write firmware partition. There are two types, namely OTA Update or ROW images
- OTA Updates (Recovery, SDcard, USB upgrade) usually in the .zip archive there are the following files
- /META-INF
- stock /System/… or system.dat
- stock boot.img
- stock recovery.img
- ROW images, usually in the .zip / .tar / .tgz archive there are the following files: Flash_all.bat, system.img, vendor.img, vbmeta.img, splash.img, cmnlib.mbn, hyp.mbn, tz.mbn , NON-HLOS.bin, patch0.xml, devcfg.mbn, gpt_main0.bin, lk.img, logo.img, prog_emmc_firehose .mbn, rawprogram0.xml (Qualcomm chipset), Android scatter file (MTK chipset)
Preparation before flashing
-
- Please pay attention before you do an update, downgrade, rollback or unbricking your Xiaomi Mi 5s, please charge your battery Xiaomi Mi 5s at least 80%, this is to ensure that there will be no failure in transferring data files between the computer and Xiaomi Mi 5s
- If possible, back up your mobile data to a computer or MiCloud especially your EFS NVram to prevent invalid IMEI from installing a new ROM.
- In order not to choose the wrong firmware to be downloaded, please follow how to find out the Codename of your Xiaomi Mi 5s
– Download ADB driver than install on your Windows OS computer
– Download ADB Fastboot Tools than Extrack on your computer
– Turn off your Xiaomi Mi 5s Xiaomi, then pressing simultaneously “Volume up + Power button” to open Fastboot mode
– Now, Connect your Xiaomi Mi 5s to PC using a USB Cable
– Open Folder/ADB Fastboot Tools/… then press on keyboard “SHIFT key + RIGHT CLICK” select open command window (Windows OS 7) or search cmd.exe on your computer and then drag or copy to Folder/ADB Fastboot Tools/…, double click to open command window (Windows OS 7/8/10)
– type command fastboot devices ENTER
– type command fastboot getvar product ENTER
– If true the product code is “cancro_lte_cu”
– Continue reading until the end. - important! This will make your cellphone totally dead if it is not done properly. Therefore, all actions that make your cellphone bricked, are your responsibility.
How to Flash Xiaomi Mi 5s
How to flash can be divided into 4 depending on the type of file and case.
1] Flash ROM Xiaomi Mi 5s Via RECOVERY MODE “If your cellphone can still enter recovery mode, test by “Pressing the Volume down and Power button together” >> Read instruction here
2] Flash ROM Xiaomi Mi 5s Via FASTBOOT MODE Via ADB “If only stuck in the logo and cannot enter recovery mode, or cannot install OTA updates on recovery and you believe the damage is only on one system partition >> Read instruction here
3] Flash ROM Xiaomi Mi 5s Via FASTBOOT MODE Via MiFlash “If lost recovery and stuck on the logo, and can still enter fastboot mode “Test by pressing the Volume up and power buttons simultaneously” >> Read instruction here
4] Flash ROM Xiaomi Mi 5s Via MIFLASH and Other Flashtools “If lost recovery and stuck on the logo, and can still enter fastboot mode “If the screen is black, unable to enter recovery or fastboot, it is indicated by a blink light when charging” also for test point via Emergency mode EDL >> Read instruction here or Watch Video tutorial >>>> Here
Xiaomi Mi 5s Firmware For Fastboot / EDL
Codename: capricorn
Country: China
Version: Developer
MIUI: V7.7.20
OS: Anrdroid 7.0 Nougat
File name: capricorn_images_7.7.20_20170720.0000.00_7.0_cn_40b80cb82a.tgz
Download
Codename: capricorn
Country: China
Version: Stable
MIUI: V8.5.3.0.MAGCNED
OS: Anrdroid 6.0.1 Marshmallow
File name: capricorn_images_V8.5.3.0.MAGCNED_20170626.0000.00_6.0_cn_9260abaf05.tgz
Download
Codename: capricorn
Country: China
Version: development
MIUI: V8.10.25
OS: Android 8.0 Oreo
File name: capricorn_images_8.10.25_20181025.0000.00_8.0_cn_e61342d3d5.tgz
Download
Codename: capricorn
Country: China
Version: Developer
MIUI: V8.4.26
OS: Android 7.0 Nougat
File name: capricorn_images_8.4.26_20180426.0000.00_7.0_cn_3cedf44857.tgz
Download
Codename: capricorn
Country: China
Version: Stable
MIUI: V9.5.2.0.NAGCNFA
OS: Android 7.0 Nougat
File name: capricorn_images_V9.5.2.0.NAGCNFA_20180405.0000.00_7.0_cn_959cdc4d1b.tgz
Download
Codename: capricorn
Country: Global
Version: Stable
MIUI: V8.0.3.0.MAGMIDI
OS: Anrdroid 6.0.1 Marshmallow
File name: capricorn_global_images_V8.0.3.0.MAGMIDI_20161222.0000.00_6.0_global_8091cbe113.tgz
Download
Codename: capricorn
Country: Global
Version: Developer
MIUI: V8.4.19
OS: Android 7.0 Nougat
File name: capricorn_global_images_8.4.19_20180419.0000.00_7.0_global_80347ea861.tgz
Download
Codename: capricorn
Country: Global
Version: Weekly
MIUI: V8.10.25
OS: Android 7.0 Nougat
File name: capricorn_Global_images_8.10.25_20181025.0000.00_7.0_Global_f16f46bf70.tgz
Download
Codename: capricorn
Country: Global
Version: Stable
MIUI: V9.6.1.0.NAGMIFD
OS: Android 7.0 Nougat
File name: capricorn_Global_images_V9.6.1.0.NAGMIFD_20180608.0000.00_7.0_Global_39ae07c258.tgz
Download
Codename: capricorn
Country: Global
Version: Stable
MIUI: V9.5.2.0.NAGMIFA
OS: Android 7.0 Nougat
File name: capricorn_global_images_V9.5.2.0.NAGMIFA_20180406.0000.00_7.0_global_b3c6e6a52c.tgz
Download
Source: Internet.