Dump Mstar Unpack Repack Tool -
A 64-bit Windows environment (Windows 10 or 11) or a Linux environment (Ubuntu 20.04 LTS or newer). Linux is highly recommended if your system partition utilizes Ext4 formatting.
python secure_partition.py ./pack/boot.img ./keys/AESbootKey ./keys/RSAboot_priv.txt ./keys/RSAboot_pub.txt ./pack/boot.img.aes ./pack/bootSign
Download the latest mstar-bin-tool (e.g., cosmicdan/Mstar_bintool or dipcore/mstar-bin-tool).
copy C:\Downloads\MstarUpgrade.bin .
Add the su binary and management apps to Android-based Mstar TVs.
Software such as HxD or 010 Editor to manually inspect partition tables when debugging. Step-by-Step Guide: Unpacking Mstar Firmware
Never modify a firmware file without keeping an untouched copy of the original factory dump. Dump Mstar Unpack Repack Tool
Remove pre-installed bloatware, change boot logos, replace launcher applications, or modify build.prop for regional adjustments. For example, a Xiaomi Mi TV user might remove unwanted streaming apps and replace the default launcher with a custom one.
python pack.py configs/mydevice.ini
To stay safe, before attempting any modifications. Before flashing any repackaged firmware, double-check the hardware version of your device to ensure compatibility. Proceed with caution by testing on a device you are willing to risk losing. Before performing large modifications, deactivate any factory "auto-update" features that could restore bloatware after a fresh flash. A 64-bit Windows environment (Windows 10 or 11)
The tool will bundle the partitions, write the necessary Mstar headers, and generate a final flashable file. How to Flash the Modified Firmware to Your TV
Intercept the boot sequence by pressing Enter or Esc to enter the prompt.