mkyaffs2image是基于Linux系统推出的一款system.img解压打包工具,通过这款軟件可以读取system.img文件信息,从而进行解包打包操作,对于Linux操作人员来说非常的方便,需要的朋友可以来本站下载!

使用說明
1.Ubuntu下,在任意文件夾下面建立一個system文件夾,我的是在home/jamly/下面建的
2.將下載的自己喜歡的直刷ROM中的system.img複制到system文件夾中
3.在終端中輸入如下命令操作(/home/jamly/替換成自己電腦中的路徑)
mkyaffs2image制作方法
在Ubuntu中第一次使用mkyaffs2image命令時,會提示
mkyaffs2image:找不到命令
還需要安裝mkyaffs2image
http://code.google.com/p/fatplus/downloads/detail?name=yaffs2-source.tar&can=2&q=
下載yaffs2-source.tar
解壓後,然後make
將make之後生成的mkyaffs2image文件拷貝到/usr/bin目錄下
$ su
#cd utils
# cp mkyaffs2image /usr/bin/
# chmod 777 /usr/bin/mkyaffs2image
之後
$ mkyaffs2image
mkyaffs2image: image building tool for YAFFS2 built Jan 6 2012
usage: mkyaffs2image dir image_file [convert]
dir the directory tree to be converted
image_file the output file to hold the image
'convert' produce a big-endian image from a little-endian machine
表明安裝成功,同時也可以看到該命令的用法
mkyaffs2image dir image_file
例如:
mkyaffs2image root_fs root_fs.bin
chmod 777 root_fs.bin