Back to the overviewUpdate firmware on
rosemary
Update firmware on
Xiaomi POCO M5s
rosemary
Warning: Make sure to download exact firmware for your model. You can discern your model from Settings > About phone > MIUI version (Eg: In MIUI version V13.0.6.0 SKHMIXM ‘MI’ represents your phone region, which is Global). You can also verify your Xiaomi phone at official site.
Tip: Some devices might have buggy USB support while in bootloader mode, if you see
fastboot
hanging with no output when using commands such as fastboot getvar ...
, fastboot flash ...
you may have to try a different USB port (preferably a USB Type-A 2.0 one) or use a USB hub.- Download the required firmware for your model.
- POCO M5s Global - V13.0.5.0.SFFMIXM
Note: The version in the settings screen of both LineageOS and the stock ROM do not reflect the new version number.
Assuming every command worked and neither your computer nor the device shows an error, the firmware update was successful!
- Extract firmware files from zip using payload-dumper-go
payload-dumper-go -o . miui_*.zip
- Power off the device, and boot it into bootloader mode:
- With the device powered off, hold Volume Down + Power. Keep holding both buttons until the word “FASTBOOT” appears on the screen, then release.
- Run the following commands to flash firmware:
fastboot flash audio_dsp_a audio_dsp.img fastboot flash audio_dsp_b audio_dsp.img fastboot flash cam_vpu1_a cam_vpu1.img fastboot flash cam_vpu1_b cam_vpu1.img fastboot flash cam_vpu2_a cam_vpu2.img fastboot flash cam_vpu2_b cam_vpu2.img fastboot flash cam_vpu3_a cam_vpu3.img fastboot flash cam_vpu3_b cam_vpu3.img fastboot flash gz_a gz.img fastboot flash gz_b gz.img fastboot flash lk_a lk.img fastboot flash lk_b lk.img fastboot flash md1img_a md1img.img fastboot flash md1img_b md1img.img fastboot flash preloader_a preloader_raw.img fastboot flash preloader_b preloader_raw.img fastboot flash scp_a scp.img fastboot flash scp_b scp.img fastboot flash spmfw_a spmfw.img fastboot flash spmfw_b spmfw.img fastboot flash sspm_a sspm.img fastboot flash sspm_b sspm.img fastboot flash tee_a tee.img fastboot flash tee_b tee.img
- Reboot:
fastboot reboot
Note: The version in the settings screen of both LineageOS and the stock ROM do not reflect the new version number.
Assuming every command worked and neither your computer nor the device shows an error, the firmware update was successful!