设为首页收藏本站

移动叔叔

搜索
查看: 8164|回复: 7
打印 上一主题 下一主题

[软件] 联发科 boot.img recover.img logo.bin 解包脚本

[复制链接]
跳转到指定楼层
楼主
发表于 2013-1-11 14:37:09 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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


MTK联发科解包工具.zip (28.18 KB, 下载次数: 340)
沙发
发表于 2017-3-21 21:54:14 | 只看该作者
555555555555555

 

回复

使用道具 举报

藤椅
发表于 2017-4-3 19:11:09 | 只看该作者
谢谢分享,试试MT6735行不?

 

回复

使用道具 举报

板凳
发表于 2017-5-8 15:11:31 | 只看该作者
强烈支持楼主ing……
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

© 2008-2024 移动叔叔. 版权所有,专业的网络售后平台 ( 闽ICP备18006692号-3 )

商务合作点击这里给我发消息|Email:service@mobileuncle.com|手机版|移动叔叔     

GMT+8, 2024-11-30 05:14 , Processed in 0.204003 second(s), 14 queries , Gzip On, Memcache On.

返回顶部