Mount system.img read-write, delete APKs, then repack.
If you see /app , /bin , /etc , /framework – you’re good. If you see a single .squashfs file, the system is double-compressed (common in NAND boxes).
The stock firmware file is typically distributed as a single comprehensive container file, usually named update.img . You cannot edit this file directly; it must be separated into its component partitions.
Tools designed to mount and modify the system.img partition.
The stock MXQ firmware is often packed with unwanted Chinese or European apps. These are located in /system/app/ and /system/priv-app/ .
A proper repack should be . If smaller, you missed the system partition. If much larger, you included user data (don’t).