[Android Software Development] yshalsager:
Do you want to create your own firmware files from MIUI ROMs without depending on Xiaomi Firmware Updater? Then you need the new tool!

Xiaomi Flashable Firmware Creator​

​

Part of Xiaomi Firmware Updater project​

​

[IMG="Logo"]https://i.imgur.com/jSIVrRy.png[/IMG]​

#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 tool
* 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.
*/

Xiaomi Flashable Firmware Creator is a tool that generates flashable firmware-update packages from official (or non-official?) MIUI ROMS.

It supports creating untouched firmware, non-arb firmware, firmware + vendor flashable zip and firmware-less ROMs.

[IMG="screenshot"]https://raw.githubusercontent.com/XiaomiFirmwareUpdater/xiaomi-flashable-firmware-creator.py/py/screenshots/1.png[/IMG]

Features:

CLI and GUI version.

Easy-to-use interface.

Supports local and remote zip files.

Easy to integrate with other Python scripts.

Multilanguage support (more than 25 languages!). Thanks to our community members!

Screenshots:

Here, or Here.

GUI Usage:

Make sure that you have Python3 installed on your device.

Install the tool.

pip3 install xiaomi_flashable_firmware_creator_gui

Run the tool.

xiaomi_flashable_firmware_creator_gui

Select MIUI zip, or drop it to the box.

Choose the output type you would like to create.

Click on create button.

CLI Usage:

You need python 3 installed on your device, or you can get the compiled executable from here.

Install the tool using the following command:

pip3 install xiaomi_flashable_firmware_creator

- Creating normal (untouched) firmware:

xiaomi_flashable_firmware_creator -F [MIUI ZIP]

- Creating non-arb firmware (without anti-rollback):

xiaomi_flashable_firmware_creator -N [MIUI ZIP]

- Creating firmware-less ROM (stock untouched ROM with just firmware removed):

xiaomi_flashable_firmware_creator -L [MIUI ZIP]

- Creating normal vendpr+firmware:

xiaomi_flashable_firmware_creator -V [MIUI ZIP]

- Using executable files:

On Linux:

./create_flashable_firmware -F [MIUI ZIP]

On Windows:

create_flashable_firmware.exe -F [MIUI ZIP]

Detailed Guide:

Check [Guide] How to edit Miui ROMs to flash without bootloader by @AL_IRAQI

Ready-made firmware files:

If you're lazy or looking for ready-made firmware files for whatever Xiaomi device, check my Xiaomi Firmware Updater project. It provides automatically generated Xiaomi firmware flashable zip files for every MIUI new update!

Support and Contact:

Having trouble with firmware files? You can open a new issue on Github repository or just write here in a reply, and I’ll help you sort it out.

Also If you want to add a new feature or fix any problem, feel free to push a PR.

Donations:

My works are free and open-source, that cost money, time and many efforts.

If you want to make a donation, you can use:

- Paypal

- Pateron

- LiberaPay

XDA:DevDB Information

Xiaomi Flashable Firmware Creator V2, Tool/Utility for the Android General

Contributors

yshalsager

Source Code: https://github.com/XiaomiFirmwareUpdater/xiaomi-flashable-firmware-creator

Version Information

Status: Stable

Current Stable Version: 2.0

Stable Release Date: 2020-10-17

Created 2018-11-24

Last Updated 2020-10-17