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

Search This thread

yshalsager

Recognized Developer
There's something wrong (?) in the updater-script for Mido's (HMNote4XGlobal) firmware package. In the firmware package made by someone else, the line for the last firmware image is:
package_extract_file("firmware-update/sec.dat", "/dev/block/bootdevice/by-name/sec");
But in your firmware package, it is:
package_extract_file("firmware-update/sec.dat", "/firmware/image/sec.dat");
Would it not flash since it's a path different to the other firmware images?
Sent from my Xiaomi Redmi Note 4 using XDA Labs

Fixed!
https://github.com/xiaomi-firmware-...mmit/7102cfd8c90efaf9b09ea8e1438c8d3963750876
Thanks, @arizaini
https://github.com/xiaomi-firmware-updater/xiaomi-flashable-firmware-creator/pull/1
All 8.2.1 files has been re-uploaded
 
Last edited:

zainifame

Senior Member
Aug 26, 2015
509
129
Lampung
Lenovo K900
Samsung Galaxy Fame
Contemplating if I should dare to try this again.

i was flashing firmware only many time on my device redmi 3s prime and its not causing bootloader to lock again, my bootloader still unlock after finish flashing all the firmware and there's no prob btw...

---------- Post added at 05:20 ---------- Previous post was at 05:18 ----------


nice to know it useful :)
 
  • Like
Reactions: yshalsager

yshalsager

Recognized Developer
Xiaomi Firmware Updater V2 has been released!
Changes:
  • Nearly re-made from scratch, more simple, more powerful, and more devices!
  • I've added almost every miui9 device which has "firmware-update" folder.
  • Xiaomi Redmi 2 / Prime is now supported.

You can check the script on GitHub as always:
https://github.com/xiaomi-firmware-updater/mi-firmware-updater
All supported devices: Weekly - Stable
 

xerxes1511

Senior Member
Aug 9, 2014
161
27
G

GuestK0051

Guest
You're welcome. I think the tool is fully stable now.
I need suggestions for improvements and new features :good:
Is there a way to see when new versions are released (like RSS), maybe even versions for your phone model or you could maks an updater app that downloads the appropriate update. If you really need somehing to do it could even reboot to recovery and flash the update like the LOS Updater.

In any case, thanks for your work.
 

yshalsager

Recognized Developer
Is there a way to see when new versions are released (like RSS), maybe even versions for your phone model or you could maks an updater app that downloads the appropriate update. If you really need somehing to do it could even reboot to recovery and flash the update like the LOS Updater.

In any case, thanks for your work.

1- (like RSS) feature: will be cool, I'll search for it.
2- An updater app: Surely this will be made, maybe soon.
3- update like LOS Updater: I think this is open-recovery script.
Thanks for suggestions!
 

Subhashnano

Senior Member
Oct 17, 2017
73
14
You're welcome. I think the tool is fully stable now.
I need suggestions for improvements and new features :good:
Please Make Device Name Wise Folder , As the device short name are too similar in direct firmware folders

One can mistakenly download and flash firmware of other device and get into boot loop

Sent from my Redmi 3S using Tapatalk
 

yshalsager

Recognized Developer
Please Make Device Name Wise Folder , As the device short name are too similar in direct firmware folders

One can mistakenly download and flash firmware of other device and get into boot loop

Sent from my Redmi 3S using Tapatalk

Okay, I'll keep that in my plan. But don't worry about wrong flashing, every firmware zip has device assert. It won't be flashed in another device.
 

darckengel

Senior Member
Apr 13, 2011
748
240
Hi,
I forgot to remove the two files and now i can only enter to fastboot.
Can you tell how to get my phone back?
Thanks
 
Last edited:

darckengel

Senior Member
Apr 13, 2011
748
240
Officially unlock your bootloader (try flashing stock miui first and then unlock it).

Xiaomi never answeared my request for unlocking so i unlocked it unofficially...
I reflash a miui stock with fastboot edl and re-unlocked my bootloader and restore a previous backup but i lose some data...
It will teach me to read all the advices beforei make such kind of actions!!!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 245
    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: "ysh-alsager@hotmail.com"


    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
    83
    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: