keyboard_arrow_left Back to the overview

Update firmware on
Xiaomi POCO M5s

rosemary
  1. Download the required firmware for your model.
  1. Extract firmware files from zip using payload-dumper-go
    payload-dumper-go -o . miui_*.zip
    
  2. 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.
  3. 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
    
  4. Reboot:
    fastboot reboot