Research tool for analyzing and modifying firmware parameters on Brightway-based controllers.
Modifying device firmware can be dangerous and illegal.
- May void your warranty
- May violate local laws and regulations
- Creates serious safety risks
- Modified devices may be illegal to operate
- You assume ALL liability for injuries, accidents, and legal consequences
Use at your own risk. This software is for educational and research purposes only.
👉 Read the full PRINCIPLES.md and LEGAL_DISCLAIMER.md before using this software.
This patcher requires Python and the keystone-engine package installed.
poetry installpip install -r requirements.txt- Mi4
- Mi4Pro2nd
- Mi4Lite
- Mi5
- Mi5Pro
- Mi5Max
- Mi5Elite
- Ultra4
This tool can modify various firmware parameters. The specific parameters available depend on the device model and firmware version.
WARNING: Modifying firmware parameters may alter device behavior, void warranties, and create legal liability. Users assume all responsibility.
poetry run python -m bwpatcher --help
usage: __main__.py [-h] {model} infile outfile patches
positional arguments:
{model} Device model (see supported models above)
infile Input firmware file
outfile Output firmware file
patches Comma-separated list of patches to apply
options:
-h, --help show this help message and exitpoetry run streamlit run app.pyThe GUI provides an interactive interface for selecting firmware modifications. A legal disclaimer must be accepted before use.
Apply modifications to firmware:
poetry run python -m bwpatcher mi4 firmware.bin firmware_modified.bin patch1,patch2Note: Always maintain backups of original firmware before modification.
Licensed under CC BY-NC-SA 4.0 (NonCommercial, ShareAlike). See LICENSE for full terms.
See CONTRIBUTING.md for guidelines on contributing to this project.
This tool is provided for educational and research purposes only. The authors accept no liability for any consequences of using this software. See LEGAL_DISCLAIMER.md for complete terms.