Skip to main content
miflash

Flash Xiaomi fastboot ROMs (.tgz) from Termux, Linux, macOS, or Windows.


Version Changelog



Install

pip install miflash

Usage

miflash

Scans for .tgz ROMs (current directory, or shared storage on Termux), lets you pick one, extracts it if needed, lets you pick a flash script, waits for your device in fastboot mode, then flashes it. fastboot itself is handled automatically, nothing to install by hand.

To scan a specific folder:

miflash /path/to/roms

Notes

On Termux you'll need the Termux:API app, and a storage permission prompt the first time — accept it.

On Windows, only ROMs that ship .bat flash scripts are supported.

License

Metadata

Release files for miflash 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for miflash 1.0.0
File Size Uploaded
miflash-1.0.0.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for miflash 1.0.0
File Interpreter ABI Platform
miflash-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.2 kB

Release files / miflash-1.0.0.tar.gz

Download URL miflash-1.0.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d9f646694d9252d10c38721e60b1a4c2c690cdb450300706bb1a052a479aebf4
BLAKE2b-256 checksum
How to use checksums
d2c5e849aed30efc5863961afeb01d3f2b6f21798efb20b91042707e4f8170ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.

Transparency log

Release files / miflash-1.0.0-py3-none-any.whl

Download URL miflash-1.0.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29b297d7029359070c5fda9b9d7a3a3fe24e219721f66b217edd01293763882b
BLAKE2b-256 checksum
How to use checksums
f643581018240681d2cc14060715614c5af3a399b09679073f47c5d98ac3064c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page