Xiaomi Flashable Firmware Creator
Create flashable firmware zip from MIUI Recovery ROMs!
Xiaomi Flashable Firmware Creator is a tool that generates flashable firmware-update packages from official MIUI ROMS.
It supports creating untouched firmware, non-arb firmware, firmware + vendor flashable zip, and firmware-less ROMs from any local zip file or direct link of the zip file.
Installation
You can simply install this tool using Python pip.
pip install xiaomi_flashable_firmware_creator
CLI Usage
xiaomi_flashable_firmware_creator [-h] (-F FIRMWARE | -N NONARB | -L FIRMWARELESS | -V VENDOR) [-o OUTPUT]
Examples:
- 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 firmware + vendor flashable zip:
xiaomi_flashable_firmware_creator -V [MIUI ZIP]
Using from other Python scripts
from xiaomi_flashable_firmware_creator.firmware_creator import FlashableFirmwareCreator
# initialize firmware creator object with the following parameters:
# input_file: zip file to extract from. It can be a local path or a remote direct url.
# process: Which mode should the tool use. This must be one of "firmware", "nonarb", "firmwareless" or "vendor".
# out_dir: The output directory to store the extracted file in.
firmware_creator = FlashableFirmwareCreator(input_zip, process, output_dir)
# Now, you can either use auto() method to create the new zip file or do stuff at your own using firmware_creator public methods.
new_zip = firmware_creator.auto()
Metadata
Release files for xiaomi_flashable_firmware_creator 2.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xiaomi_flashable_firmware_creator-2.3.0.tar.gz | 262.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xiaomi_flashable_firmware_creator-2.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 549.0 kB
Release files / xiaomi_flashable_firmware_creator-2.3.0.tar.gz
| Download URL | xiaomi_flashable_firmware_creator-2.3.0.tar.gz |
|---|---|
| Size | 262.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0065f14203a897b4da6e60aea51243327e70464b6aba99f75735be5bc31f8b06
|
|
BLAKE2b-256 checksum How to use checksums |
41c1c42375a9432550dc2be358e93a904c4af07e8c8b1f120196f1f442694695
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.22
|
Release files / xiaomi_flashable_firmware_creator-2.3.0-py3-none-any.whl
| Download URL | xiaomi_flashable_firmware_creator-2.3.0-py3-none-any.whl |
|---|---|
| Size | 286.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
045d1128b77ab2e5506b39935b0f4967b35f634aa758fa0a00a660b17aba1a52
|
|
BLAKE2b-256 checksum How to use checksums |
93a574d0963fa9492708d281959b522fb47427cb0b36b36920b777602d0a3741
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.22
|