[All Devices] Xiaomi Firmware Updater V5 [Auto updated daily!]

Search This thread

yshalsager

Recognized Developer
  • All Xiaomi users suffer from a single problem, Firmware update. As there are many devices with no one to provide the newest firmware update every single release. And also developers who provide updates to devices may forget or be busy sometimes, so releases are provided later. Here is my simple solution:

    Xiaomi Firmware Updater V5
    jSIVrRy.png
    Code:
    #include 
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    A set of various script that automatically generates Xiaomi firmware flashable zip files every MIUI new update!
    My scripts download MIUI official ROMs, both Developer and Stable, Global and China, extracts the firmware-update folder, generates firmware flashable zip with auto-written "updater-script", and uploads them automatically to many servers.
    The scripts are completely automated, running on a Linux server every six hours.

    Frequently Asked Questions:
    What is Firmware? Is it a full ROM or OTA package?
    Firmware is not a ROM nor OTA Package, it's a set of low-level drivers which helps the operating system do whatever it wants to do. It includes various things like Modem, Bluetooth, Bootloader, DSP and etc.
    Why should I update the Firmware?
    Firmware is provided from Xiaomi directly, and there are no sources for it to let developers build and edit it on their own like custom ROMs, so if you want to keep your device up to date always update your firmware!
    Do I need updating the Firmware If I'm MIUI official or custom ROM user?
    No, MIUI ROMs contain the firmware-update package which I extract and provide here.
    What are the supported devices?
    All Snapdragon and MTKdevices including China-only devices.
    Check the full devices list here!
    How to update firmware?
    1- Download the package you want to flash. IT MUST BE NAMED WITH THE SAME CODENAME OF YOUR DEVICE.
    2- Flash it using TWRP or any custom recovery. There's no need to wipe/format anything before or after the installation.
    How to check the updated firmware?
    Usually, the modem gets updated with newer firmware, you can check it in Settings > About > Baseband.

    IMPORTANT:
    These files contain the complete "firmware-update" folder, means it needs your bootloader to be unlocked OFFICIALLY , so if you unlocked it unofficially you have to remove "emmc_appsboot.mbn" and "non-hlos.bin" and you'll be okay!

    Support or Contact:
    Having trouble with firmware files? You can open a new issue on Github repository or just write here in a reply, and we’ll help you sort it out.
    Also If You want to support a new device or fix any problem.

    Powered by:
    - @franztesca XiaomiTool
    - My Xiaomi Flashable Firmware Creator Tool
    - Packet.com
    - BuildBox Linux Server.
    - Your donations :D

    Donations:
    A donation was never necessary, but It's making life easier for me and guarantees paying server costs. My works are free and open source, that cost money, time and many efforts.
    XiaomiFirmwareUpdater and MIUIUpdatesTracker scripts are automated, running on a Linux server. If you want these projects to continue and provide the best services to Xiaomi users, you can help me by donating in one of the following methods:
    - Paypal
    - LiberaPay
    - Pateron
    - Payoneer account: "[email protected]"


    XDA:DevDB Information
    Xiaomi Firmware Updater V5, Tool/Utility for the Android General

    Contributors
    yshalsager
    Source Code: https://github.com/XiaomiFirmwareUpdater


    Version Information
    Status: Stable
    Current Stable Version: 5

    Created 2018-01-27
    Last Updated 2019-08-07
     

    yshalsager

    Recognized Developer
  • Last edited:

    Pumpino

    Senior Member
    Aug 16, 2012
    1,588
    355
    Melbourne
    Google Pixel 4a 5G
    Realme 7 Pro
    I downloaded the 25/1/18 global developer firmware for my Redmi Note 4X and Redmi Note 3 Pro Special Edition. TWRP reported that the Redmi Note 4X firmware was corrupt and wouldn't flash, and the firmware for the Redmi Note 3 Pro SE has bricked the device. I can't access recovery...only fastboot, which means I can't flash alternate firmware or access my TWRP backups. Perhaps you should test your firmware more. I think I'll stick to the firmware I get from other threads.
     

    yshalsager

    Recognized Developer
  • sadly, no Redmi 2/prime support??
    Plz include Cancro also.
    I can't add devices that out of miui weekly update
    If your device is updated to miui 9 let me know and I'll add it to stable devices.

    I downloaded the 25/1/18 global developer firmware for my Redmi Note 4X and Redmi Note 3 Pro Special Edition. TWRP reported that the Redmi Note 4X firmware was corrupt and wouldn't flash, and the firmware for the Redmi Note 3 Pro SE has bricked the device. I can't access recovery...only fastboot, which means I can't flash alternate firmware or access my TWRP backups. Perhaps you should test your firmware more. I think I'll stick to the firmware I get from other threads.

    I do checked my script, there's no any chance to brick unless you flashed wrong device firmware!
     
    • Love
    Reactions: duttyend

    Pumpino

    Senior Member
    Aug 16, 2012
    1,588
    355
    Melbourne
    Google Pixel 4a 5G
    Realme 7 Pro
    Last edited:

    yshalsager

    Recognized Developer
    • Like
    Reactions: duttyend

    zainifame

    Senior Member
    Aug 26, 2015
    503
    126
    25
    Bandar Lampung
    great tool buddy, but there's some little problem...

    can you change this line :
    package_extract_file("firmware-update/splash.img", "/firmware/image/splash.img");

    to :
    package_extract_file("firmware-update/splash.img", "/dev/block/bootdevice/by-name/splash");

    otherwise it will not installed..., on this line (from untouched updater-script) :

    unmount("/firmware");
    mount("vfat", "EMMC", "/dev/block/bootdevice/by-name/splash", "/firmware");
    package_extract_file("firmware-update/splash.img", "/firmware/image/splash.img");
    unmount("/firmware");

    twrp will not install the splash and just skip it and report an error on twrp log, i think only stock miui recovery can handle this command, so i guess you should change the command with the actual node or path.
     
    Last edited:

    Top Liked Posts

    • There are no posts matching your filters.
    • 230
      All Xiaomi users suffer from a single problem, Firmware update. As there are many devices with no one to provide the newest firmware update every single release. And also developers who provide updates to devices may forget or be busy sometimes, so releases are provided later. Here is my simple solution:

      Xiaomi Firmware Updater V5
      jSIVrRy.png
      Code:
      #include 
      /*
      * Your warranty is now void.
      *
      * I am not responsible for bricked devices, dead SD cards,
      * thermonuclear war, or you getting fired because the alarm app failed. Please
      * do some research if you have any concerns about features included in this ROM
      * before flashing it! YOU are choosing to make these modifications, and if
      * you point the finger at me for messing up your device, I will laugh at you.
      */

      A set of various script that automatically generates Xiaomi firmware flashable zip files every MIUI new update!
      My scripts download MIUI official ROMs, both Developer and Stable, Global and China, extracts the firmware-update folder, generates firmware flashable zip with auto-written "updater-script", and uploads them automatically to many servers.
      The scripts are completely automated, running on a Linux server every six hours.

      Frequently Asked Questions:
      What is Firmware? Is it a full ROM or OTA package?
      Firmware is not a ROM nor OTA Package, it's a set of low-level drivers which helps the operating system do whatever it wants to do. It includes various things like Modem, Bluetooth, Bootloader, DSP and etc.
      Why should I update the Firmware?
      Firmware is provided from Xiaomi directly, and there are no sources for it to let developers build and edit it on their own like custom ROMs, so if you want to keep your device up to date always update your firmware!
      Do I need updating the Firmware If I'm MIUI official or custom ROM user?
      No, MIUI ROMs contain the firmware-update package which I extract and provide here.
      What are the supported devices?
      All Snapdragon and MTKdevices including China-only devices.
      Check the full devices list here!
      How to update firmware?
      1- Download the package you want to flash. IT MUST BE NAMED WITH THE SAME CODENAME OF YOUR DEVICE.
      2- Flash it using TWRP or any custom recovery. There's no need to wipe/format anything before or after the installation.
      How to check the updated firmware?
      Usually, the modem gets updated with newer firmware, you can check it in Settings > About > Baseband.

      IMPORTANT:
      These files contain the complete "firmware-update" folder, means it needs your bootloader to be unlocked OFFICIALLY , so if you unlocked it unofficially you have to remove "emmc_appsboot.mbn" and "non-hlos.bin" and you'll be okay!

      Support or Contact:
      Having trouble with firmware files? You can open a new issue on Github repository or just write here in a reply, and we’ll help you sort it out.
      Also If You want to support a new device or fix any problem.

      Powered by:
      - @franztesca XiaomiTool
      - My Xiaomi Flashable Firmware Creator Tool
      - Packet.com
      - BuildBox Linux Server.
      - Your donations :D

      Donations:
      A donation was never necessary, but It's making life easier for me and guarantees paying server costs. My works are free and open source, that cost money, time and many efforts.
      XiaomiFirmwareUpdater and MIUIUpdatesTracker scripts are automated, running on a Linux server. If you want these projects to continue and provide the best services to Xiaomi users, you can help me by donating in one of the following methods:
      - Paypal
      - LiberaPay
      - Pateron
      - Payoneer account: "[email protected]"


      XDA:DevDB Information
      Xiaomi Firmware Updater V5, Tool/Utility for the Android General

      Contributors
      yshalsager
      Source Code: https://github.com/XiaomiFirmwareUpdater


      Version Information
      Status: Stable
      Current Stable Version: 5

      Created 2018-01-27
      Last Updated 2019-08-07
      81
      Downloads
      You can get updates always from various mirrors available on the website:

      Older files:
      70
      XiaomiFirmwareUpdater first anniversary!

      Wow, I still can't believe that my project is one year old now!
      A year passed
      It's been a long year, which passed very quickly. During this year, there were many updates, many changes, many challenges, and many new contributions.
      Since Jan 2018 the project has evolved a lot:
      - from supporting only 30 devices, to support all Xiaomi qcom devices!
      - from using CI to using Linux server :p
      - from V1 to V4.6 now!
      - from using shell in all scripts to python (expect one script which will be updated soon :D)
      - from doing everything manually to be an almost completely automated project.

      In just one year, we've made some milestones:
      - The project expanded to 7 scripts for tracking miui updates, tracking devices, tracking open-source kernel releases, creating flashable firmware files, provide firmware, non-arb firmware, and firmware-less ROMs.
      - The project has been selected as one of "Projects of the Week, November 5, 2018" on SourceForge
      - Many websites wrote about us: XDA - 4PDA - Android Community - Gizchina - Piunikaweb
      - We launched our website in December.
      - And we made some good statistics (AndroidFileHost and Basketbuild are not listed):
      • More than 829K view on xda (all devices)
      • 49K download from GitHub.
      • 135K download from SourceForge. (Since April to December)
      • 7K download from OSDN. (Since December to Today)
      • 27K visit on our website (Since December to Today)
      • 12.2$ and 15.2€ donations :eek:
      • 316 Star on all Github repos.
      • 4800+ subscriber on telegram channel.

      What's the next?
      We'll continue providing the best services to Xiaomi users! We moved to https://xiaomifirmwareupdater.com today, and here's a part of our plan for this year:
      - Improving the website, adding the missing features like other firmware variants and so.
      - Keep adding newly released devices, just as we used to do. I know Redmi Note 7 is launched :p will add it later.
      - Making our own app! This step is too late, but I promise we'll make an app you'll like :good:
      - (maybe) providing vendor+firmware for project treble devices, I've been suggested this from Mi MIX 2S users, but I'm not sure if I can handle it alongside with all other things running on the server.

      We want to hear from you :D
      We've been together for one year :highfive: I'd like to hear your thoughts, feel free to suggest any edits or new feature, all contributions are more than welcome :good:

      Supporting the project
      This project is completely free, it uses Linux server to do the all automated jobs, away from the development process which takes a lot of time and effort, this costs us a lot of expenses if you want to support the project you can donate via PayPal.
      20
      Xiaomi Firmware Updater V5 is here!
      As MIUI releases are inactive these days because of Chinese new year, it’s a good time to make a new update that was delayed for a long time :D
      Xiaomi Firmware Updater main script has been updated to V5!
      Here’s what’s new:
      • Complete re-write from scratch in python 3.
      • Updates are now fetched from MIUI Tracker, there’s no need to re-check.
      • A unified script for normal fw, non-arb and fw-less, stable and weekly.
      • With this update, there’ll be no more commit to each device repo, while releases will be still pushed.
      • Latest firmware info is available as json files.
      • New supported device added: Redmi Note 7.
      The firmware changelog feature will be added in a later update. Do you have any suggestions? Feel free to tip us!

      Donation:
      Support us by donating here: https://paypal.me/yshalsager
      13
      MIUI Stable V9 ROM Firmware (02-05-2018)
      Notes:
      • Stable script upgraded to V3!
      • New devices added: Note 5 (whyred) and Mix 2s (polaris)
      • No more Basketbuild mirrors.

      Downloads: