解压和打包boot.img工具

RichardSuzhe 74 0 ZIP 2019-05-19 18:05:33

1.解压后zip后把需要修改的boot.img与解压出来的三个文件放到同一个目录下。2.执行./unpack-bootimg.plboot.img会生成以下几个文件:boot.img-kernel.gzboot.img-ramdisk/boot.img-ramdisk.cpio.gz3.修改boot.img-ramdisk/目录中对应的文件。4.执行./repack-bootimg.plboot.img-kernel.gzboot.img-ramdiskboot_new.img生成新的镜像boot_new.img附原脚本来源:https://github.com/beide/Bootimg-scripts基于这个有一点

用户评论
请输入评论内容
评分:
Generic placeholder image 卡了网匿名网友 2019-05-19 18:05:33

有些不能解压

Generic placeholder image 卡了网匿名网友 2019-05-19 18:05:33

我的用不了啊!一直卡着不动

Generic placeholder image 卡了网匿名网友 2019-05-19 18:05:33

cygin有问题

Generic placeholder image 卡了网匿名网友 2019-05-19 18:05:33

能解压,打包,但是刷了之后卡在第一屏啊。。。为什么

Generic placeholder image 卡了网匿名网友 2019-05-19 18:05:33

怎么执行命令啊!!

Generic placeholder image 卡了网匿名网友 2019-05-19 18:05:33

用了,未知报错

Generic placeholder image 卡了网匿名网友 2019-05-19 18:05:33

可以使用的!~

Generic placeholder image 卡了网匿名网友 2019-05-19 18:05:33

下载后运行了说明里的命令,结果没有解压出文件,倒是给出了一大堆英文提示:“Found a secondary file after the ramdisk image. According to the spec (mkbootimg.h) this file can exist, but this script is not designed to deal with this scenario.” 可能是我还不会用吧。继续研究。