(2014-04-13, 14:25)SO69 Wrote: Dear vampirefo... great job!Yes the upacking and packing commands are typed into terminal, below are scripts I use.
I started the process and everything went fine thanks to your detailed explanation although I am very unfamiliar to linux. But I stuck on the use of mtk-tools.
I 've download them but I cant use them.
I double click on "mkbootimg.exe" and I see a window trying to open but it finally doesn't.
Should it be a cmd window?
I open a cmd window from the "start" but when I enter [./unpack-MT65xx.pl ./boot.img] it doesn't recognise this command.
So I can't unpack and modify the boot.img.
Can you please give me some help with this because I 've spend all my night trying to find a solution but with no succes.
Thank you in advance.
Hi, on my pc, ( Linux box) I make scripts to automate the packing and unpacking of boot.img.
below are the two scripts I use. copy and paste each, name one script unpack. the other repack set permission, double click unpack Linux will ask what to do with file select run the boot.img will unpack.
once you have made your change double click repack, Linux will ask what to do with script select run, the new boot.img will be made.
upack
Code:
#!/bin/bash
./unpack-MT65xx.pl ./boot.img
repack
Code:
#!/bin/bash
rm -rf ./boot.img
rp=./repack-MT65xx.pl
name=-boot
kernel=./boot.img-kernel.img
ramdisk=./boot.img-ramdisk
boot=./boot.img
$rp $name $kernel $ramdisk $boot
rm -rf $kernel
rm -rf $ramdisk
On xda, michfood has posted some scripts for windows users, to unpack mtk boot.img. Perhaps these might work for you better.
If you use my scripts or work in your own scripts, your scripts or license should reflect that.
ZTE Open C
ZTE Open C