Create flashable firmware zip from MIUI Recovery ROMs!
Project description
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for xiaomi_flashable_firmware_creator-2.2.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b92dc7e7236eb6ea124c12b54e41d983f454bba957b93863eaa6ae4f0f443296 |
|
MD5 | 9de8e75276ea999b0ad6ab5da66d18e2 |
|
BLAKE2b-256 | 4033955e9e083c10d09bdba2e3701cf04b0d2170ecf27db55a45e71ce8bb0d6b |
Close
Hashes for xiaomi_flashable_firmware_creator-2.2.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ab0eb8d627a265f1f6805826e996d82f579836ed7e0014ce5f58875ac386839 |
|
MD5 | d8a67994683920dc1ddefd7292dbe944 |
|
BLAKE2b-256 | 0b0c3408b007b9670fb6da59078cd46c7c2a6b13dfca01982313afd58a23c48f |