keyboard_arrow_left Back to the overview

Update firmware on
Xiaomi Redmi K40

alioth
  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 abl_ab abl.img
    fastboot flash aop_ab aop.img
    fastboot flash bluetooth_ab bluetooth.img
    fastboot flash cmnlib_ab cmnlib.img
    fastboot flash cmnlib64_ab cmnlib64.img
    fastboot flash devcfg_ab devcfg.img
    fastboot flash dsp_ab dsp.img
    fastboot flash featenabler_ab featenabler.img
    fastboot flash hyp_ab hyp.img
    fastboot flash imagefv_ab imagefv.img
    fastboot flash keymaster_ab keymaster.img
    fastboot flash modem_ab modem.img
    fastboot flash qupfw_ab qupfw.img
    fastboot flash tz_ab tz.img
    fastboot flash uefisecapp_ab uefisecapp.img
    fastboot flash xbl_ab xbl.img
    fastboot flash xbl_config_ab xbl_config.img
    
  4. Reboot:
    fastboot reboot