rom1nux / mtkimg

Unpack/Repack boot.img, recovery.img and logo.bin for Mediatek CPU based devices
GNU General Public License v3.0
63 stars 27 forks source link

repack problem with MTK-8173 #3

Open pintuk opened 7 years ago

pintuk commented 7 years ago

Hello rom1nux, I am using your mtkimg tool for AMAZON Fire TV with MTK-8173 chipset.* I am facing some problem during repacking. Can you help.

I did the unpack, using the following command:

*./mtkimg unpack -m

It created 3 files: -rw-rw-r-- 1 pintu pintu 349 Jul 31 18:15 image.cfg -rw-rw-r-- 1 pintu pintu 14M Jul 31 18:15 kernel.img.mtk -rw-rw-r-- 1 pintu pintu 761K Jul 31 18:15 ramdisk.cpio.gz.mtk

After that, I just tried to repack the same image again.

*./mtkimg repack newboot.img -n -k kernel.img.mtk -r ramdisk.cpio.gz.mtk

MTKIMG V0.44(linux64) by rom1nux Repacking image to 'newboot.img'... ERROR : Configuration file 'image.cfg' is not a valid 'ROOTFS' or 'RECOVERY' image descriptor !

But it gives the above error. Can you help me, what is the problem. And how to fix it.

If possible, CC me in this mail id: pintu_agarwal@yahoo.com*

Thanks, Pintu Amazon_Fire_TV_MT8173.zip

pintuk commented 7 years ago

Hi, Any status or suggestion on the above issue?