移动叔叔

标题: 联发科 boot.img recover.img logo.bin 解包脚本 [打印本页]

作者: Louis000    时间: 2013-1-11 14:37
标题: 联发科 boot.img recover.img logo.bin 解包脚本
MTK-Tools by Bruno Martins

MT65xx 解包/打包脚本 说明

    如果你正在寻找一种方式来轻松解包/改装 联发科设备 boot.img recovery.img和logo.bin 文件,那么你找对地方了,来试试我的Perl脚本吧!
    首先脚本是基于Android-DLS WiKi的,但是现在已经过特定的修改以支持 联发科boot 和 recovery 图像
    目前已支持MT6516, MT6513 和 MT6573 图像,同时也支持 MT6575 MT6577图像

脚本可以运行在 Ubuntu 12.04或者Windows 7 64位(需要Cygwin Perl v5.10.1或v5.14.2)


解压脚本的使用方式:
代码:
使用方法:unpack-MT65xx.pl <infile> [COMMAND ...]
         可解压 boot recover logo 图像
  可选的命令:
  force_logo_res <width> <height>
  解压缩LOGO文件为指定的图像分辨率
(仅在没有zlib压缩图像时有用)

打包脚本使用说明
代码:
使用方法:repack-MT65xx.pl COMMAND [...]
命令:
-boot <kernel> <ramdisk-directory> <outfile>
重新打包BOOT.IMG

-recovery <kernel> <ramdisk-directory> <outfile>
重新打包recover文件

-logo [--no_compression] <logo-directory> <outfile>
重新打包 LOGO 文件


翻译BY:Louis000        论坛: http://bbs.ydss.cn/forum-huawei_g600_T8950D-1.html

原文:

[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.

Scripts were first based on the ones available on Android-DLS WiKi, but are now highly modified in order to work with specific MTK boot and recovery images. Currently, the scripts fully work with any MT6516, MT6513 or MT6573 images. It is also confirmed to be working with new MT6575 (and even MT6577) images.

The most up to date version of the scripts is always available at my public github repository: bgcngm/mtk-tools. Scripts were fully tested under Ubuntu 12.04 as well as Windows 7 x64 (Cygwin with Perl v5.10.1 or v5.14.2).

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> [COMMAND ...]
  Unpacks boot, recovery or logo image

Optional COMMANDs are:

  -force_logo_res <width> <height>
    Forces logo image file to be unpacked by specifying image resolution
     (only useful when no zlib compressed images are found)
Repack script usage:
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 [--no_compression] <logo-directory> <outfile>
    Repacks logo image
Version history:

Changes by Bruno Martins:
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)
fixed problem unpacking logo images containing more than nine packed rgb565 raw files (29-11-2012)
re-written logo images file verification (29-12-2012)
image resolution is now calculated and shown when unpacking logo images (02-01-2013)
added colored screen output (04-01-2013)
included support for logo images containing uncompressed raw files (06-01-2013)
Credits:
Android-DLS for the initial scripts
starix (from forum.china-iphone.ru) for the decryption of logo.bin files structure


原文地址:http://forum.xda-developers.com/showthread.php?t=1587411


[attach]206390[/attach]

作者: qq2421913266    时间: 2017-3-21 21:54
555555555555555
作者: 联通ing    时间: 2017-4-3 19:11
谢谢分享,试试MT6735行不?
作者: 姜小刀    时间: 2017-5-8 15:11
强烈支持楼主ing……




欢迎光临 移动叔叔 (http://bbs.ydss.cn/) Powered by Discuz! X3.2