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

Search This thread

yshalsager

Recognized Developer
I got a POCO F3 unlocked with the official tool (and wait time) with CRDroid installed. Now I've seen several threads about firmware updates but none could answer some basic questions of mine.

1. Where can I see what Firmware Version I have installed? The build number in my phone does not represent any firmware version number.

2. My phone is bought for the european market. Should I only use firmware updates for this region or can I also use global or chinese?

3. My custom rom is CRDroid with Android 12. The latest Miui I had installed has been based on Android 11. So my firmware is also still on Android 11 level. So should I wait till there is an Android 12 european firmware or use the chinese version?

thank you all for your help!
1. Actually, you can't say which firmware version of miui is installed, but you can check the baseband modem version in about screen.
2. You can cross flash regional firmware as long as you're unlocked.
3. You should flash the firmware version according to your ROM developer instructions, so if the A11 FW works, he will say so.
 

Nuthan21

Member
Nov 12, 2019
7
0
Can you flash 22.2.6 and any non-working zip and attach me the recovery logs?
yeah sure by tonight!
Can you flash 22.2.6 and any non-working zip and attach me the recovery logs?
Here you go bruh!
working zip file log: https://drive.google.com/file/d/1q9WgvvrMBAIGbe8sr51HbNBjNBKpi98C/view?usp=sharing
not working zip file log: https://drive.google.com/file/d/11bTcz96Ll0VUfWy0z-oDlK4E5g1oSFLc/view?usp=sharing
 

yshalsager

Recognized Developer
  • Like
Reactions: duttyend
Hi @yshalsager,
first of all, I'd like to thank you for your work! I really appreciate such volunteer initiatives which make life easier for every one but the maintainer ;)

I tried to go through the whole thread and haven't found answer to my questions.
If I missed they are already answered – my apologies.

I'm currently on PE11 ROM on my Xiaomi Mi 8 (dipper) device, and feel wanted to try unofficial LineageOS 19.1 build.
According to ROM maintainer, I need firstly to update the Firmware to the latest one ("Recommended firmware is latest MIUI stable firmware.").

I have few concerns about that:
  1. I'm not sure if my device is China or Global and don't know how to check it. Can I then safely install V12.0.3.0.QEAMIXM Stable Release for Mi 8 Global (dipper) without risk of bricking phone even though it might turn out that my device is China? I found in the thread that it does not really matter – could you please confirm that it also applies to my case?
  2. How about the ARB protection? Below is the output of fastboot getvar anti command:
    Bash:
    fastboot getvar anti
    anti: 1
    Finished. Total time: 0.000s
    Can I proceed with flashing V12.0.3.0.QEAMIXM Stable Release for Mi 8 Global (dipper)?
    I tried to check the ARB index using ARB Checker tool, and it says that it is also "1" so I assume it is safe however I'm aware of that issue, so I also tried to download full Fastboot MIUI ROM of the same version and check the CURRENT_ANTI_VER variable which also is 1 :)
  3. My current ROM is Pixel Experience based on Android 11, but the latest Firmware bases on Android 10. Would the flashing trigger ARB mechanism to hardbrick my device? (I believe no, since Firmware != Android, but I'd like somebody to confirm that)
  4. What does non-arb Firmware version mean?
    • is it that it does not touch the device's ARB index at all and can be safely flashed not matter what ARB index is reported by fastboot getvar anti?
      OR:
    • is it that it always brick ARB-enabled device, because we actually try to flash "lesser ARB index or non-arb package" onto device with enabled ARB protection, which triggers the hardbrick?
  5. If it turns out that I need to use non-arb Firmware, is it available somewhere on xiaomifirmwareupdater.com or should I extract it by myself using Flashable FW Creator script?

Thank you very much for help :). I used to hardbrick my MI 8 device once due to ARB protection system, so I'd really like to avoid it happens again.
 
  • Like
Reactions: duttyend

yshalsager

Recognized Developer
Hi @yshalsager,
first of all, I'd like to thank you for your work! I really appreciate such volunteer initiatives which make life easier for every one but the maintainer ;)

I tried to go through the whole thread and haven't found answer to my questions.
If I missed they are already answered – my apologies.

I'm currently on PE11 ROM on my Xiaomi Mi 8 (dipper) device, and feel wanted to try unofficial LineageOS 19.1 build.
According to ROM maintainer, I need firstly to update the Firmware to the latest one ("Recommended firmware is latest MIUI stable firmware.").

I have few concerns about that:
  1. I'm not sure if my device is China or Global and don't know how to check it. Can I then safely install V12.0.3.0.QEAMIXM Stable Release for Mi 8 Global (dipper) without risk of bricking phone even though it might turn out that my device is China? I found in the thread that it does not really matter – could you please confirm that it also applies to my case?
  2. How about the ARB protection? Below is the output of fastboot getvar anti command:
    Bash:
    fastboot getvar anti
    anti: 1
    Finished. Total time: 0.000s
    Can I proceed with flashing V12.0.3.0.QEAMIXM Stable Release for Mi 8 Global (dipper)?
    I tried to check the ARB index using ARB Checker tool, and it says that it is also "1" so I assume it is safe however I'm aware of that issue, so I also tried to download full Fastboot MIUI ROM of the same version and check the CURRENT_ANTI_VER variable which also is 1 :)
  3. My current ROM is Pixel Experience based on Android 11, but the latest Firmware bases on Android 10. Would the flashing trigger ARB mechanism to hardbrick my device? (I believe no, since Firmware != Android, but I'd like somebody to confirm that)
  4. What does non-arb Firmware version mean?
    • is it that it does not touch the device's ARB index at all and can be safely flashed not matter what ARB index is reported by fastboot getvar anti?
      OR:
    • is it that it always brick ARB-enabled device, because we actually try to flash "lesser ARB index or non-arb package" onto device with enabled ARB protection, which triggers the hardbrick?
  5. If it turns out that I need to use non-arb Firmware, is it available somewhere on xiaomifirmwareupdater.com or should I extract it by myself using Flashable FW Creator script?

Thank you very much for help :). I used to hardbrick my MI 8 device once due to ARB protection system, so I'd really like to avoid it happens again.
Welcome, glad to hear it's useful :)

1. It's fine to install V12.0.3.0.QEAMIXM even if your device is chinese.
2. ARB isn't an issue, unless you flash a super old firmware with lower anti version.
3. No, there's no A11 firmware for dipper anyways xd.
4. non-arb = partial firmware update that doesn't touch arb.
5. Non-arb isn't required.
 

juto1

Member
Oct 22, 2008
41
3
Hi to everyone, I installed Pixel Experience plus on Redmi note 9 plus 5G
China (Gauguin) . Tryed to install the latest Firmware in Pixel Recovery but
recovery says it's for (Gauguinpro) and not for (Gauguin). It' the same phone and model (M2007J17C).Any Way I can get this V13.0.4.0.SJSCNXM
firmware installed. Thanks in advance.

 

yshalsager

Recognized Developer
Hi to everyone, I installed Pixel Experience plus on Redmi note 9 plus 5G
China (Gauguin) . Tryed to install the latest Firmware in Pixel Recovery but
recovery says it's for (Gauguinpro) and not for (Gauguin). It' the same phone and model (M2007J17C).Any Way I can get this V13.0.4.0.SJSCNXM
firmware installed. Thanks in advance.

Edit the Codename inside updater-script file in the Firmware zip.
 
  • Like
Reactions: duttyend

Radial0757

New member
Jul 5, 2022
3
0
I am on Poco X3 pro, Lineage OS 19 (android 12). I just updated lineageos 18 (a11) to lineageos 19 (a12).
In recent months, I never updated my xiaomi firmware after migrating from MIUI to Lineageos.
Now, I wish to do it.

I downlaoded the global, india, EU firmware files from the website [my poco is indian version (bhima), so indain firmware is the correct one]. While installing it with lineage recovery, it gave me error that it is older version, cannot install older version to newer version, SPL downgrade, error 3003.
So, I spoke with some guys on telegram who told me to delete the asserts by editing the updater-script file. I did it.

But, then during this time, it started giving error like 'cannot find updater-binary file', which is not possible since it next to updater-script file in the folder, and I did not touch it.
So, the guy suggested to do it orangefox recovery instead of lineage recovery. For some reason orangefox does not boot up (install) so I tried to install twrp which it got installed easily.

On twrp, flashing (installing) the new zip file with edited updater-script gave error that incorrect file format for the zip file (in red colour). Flashing the original zip files gives out error like the 1st problem, error 3003: old version cannot install over new version, SPL downgrade.

So, now I stuck from all sides.

I have attached images, did I edit (delete) the assert correctly?
What I am doing wrong?
 

Attachments

  • Screenshot from 2022-07-04(2).png
    Screenshot from 2022-07-04(2).png
    13.1 KB · Views: 17
  • Screenshot from 2022-07-04(1).png
    Screenshot from 2022-07-04(1).png
    168.6 KB · Views: 19
  • Screenshot from 2022-07-04.png
    Screenshot from 2022-07-04.png
    179 KB · Views: 19
Last edited:

Radial0757

New member
Jul 5, 2022
3
0
Does xiaomi flash tool even work for firmware updates?
I tried to do with it for firmware and failed. It needs flash_bat files and some other files which only ROM's have and not firmware's. After searching online, I do not think it works for firmware.

I think the only option I have left is to flash MIUI, get the latest firmware update from MIUI, and then re-download lineageos. I tried to do it on linux (via adb) but was unable due to the archive format tar.gz.
Tommorow I might try to flash MIUI instead on windows via xiaomi flash tool.

Or I might forget the whole firmware thing, as I might accidentally soft/hard brick my phone.
Google Pixel must have it easy.
 

ShaunSmit

Senior Member
Apr 28, 2015
76
6
Benoni
You need to flash with xiaomi tool. Put phone into bootloader mode and flash
Does xiaomi flash tool even work for firmware updates?
I tried to do with it for firmware and failed. It needs flash_bat files and some other files which only ROM's have and not firmware's. After searching online, I do not think it works for firmware.

I think the only option I have left is to flash MIUI, get the latest firmware update from MIUI, and then re-download lineageos. I tried to do it on linux (via adb) but was unable due to the archive format tar.gz.
Tommorow I might try to flash MIUI instead on windows via xiaomi flash tool.

Or I might forget the whole firmware thing, as I might accidentally soft/hard brick my phone.
Google Pixel must have it easy.
You need the full rom, not ota files
 

Top Liked Posts

  • There are no posts matching your filters.
  • 236
    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: