Copy your repacked MstarUpgrade.bin to the root directory of the drive.
automates this process:
Once extracted, you can decrypt, modify, and re-encrypt these partitions using the aescrypt2 tool.
Used to build a brand new EXT4 file system image from a directory of files. This tool ensures that Linux file permissions (UIDs, GIDs, and SELinux contexts) are correctly preserved during the repacking phase.
: The tool will generate a new binary file, which can then be flashed via a FAT32-formatted USB drive. Advanced Modification Tips How To Upgrade Your Android TV Box: A Simple Guide - Ftp