[SCRIPTS] Unpack / repack MT65xx boot.img, recovery.img or logo.bin
If you are looking for a way to easily unpack / repack boot.img, recovery.img or logo.bin from your MediaTek device, don't look any further. Here you can find my own Perl scripts.
These scripts are based on the ones available on Android-DLS WiKi, but highly modified in order to work with specific MTK boot and recovery images. Currently, these scripts fully work with any MT6516, MT6513 or MT6573 boot image. It is also confirmed to be working with new MT6575 (and even MT6577) images.
The most up to date version of these scripts is always available at my public github repository: bgcngm/mtk-tools. Scripts were fully tested under Ubuntu 12.04 as well as under Windows 7 x64 (Cygwin with Perl v5.10.1).
Please don't just leech the files and go away. You can easily say thanks just by pressing "Thanks" button.
Unpack script usage:
Code:
Usage: unpack-MT65xx.pl <infile> Unpacks boot, recovery or logo image
Code:
Usage: repack-MT65xx.pl COMMAND [...] COMMANDs are: -boot <kernel> <ramdisk-directory> <outfile> Repacks boot image -recovery <kernel> <ramdisk-directory> <outfile> Repacks recovery image -logo <logo-directory> <outfile> Repacks logo image
# changes by Bruno Martins:I hope you enjoy.
# - modified to work with MT6516 boot and recovery images (17-03-2011)
# - included support for MT65x3 and eliminated the need of header files (16-10-2011)
# - added cygwin mkbootimg binary and propper fix (17-05-2012)
# - included support for MT65xx logo images (31-07-2012)
My custom ROMs:
Acer DX900 /
G11i Pro (MT6573) /
HD7 (MT6573) /
ZTE V970 (MT6577)
If you like my work, please feel free to donate...
If you like my work, please feel free to donate...