How to build system.img with the good fs type ?

Hello.

After a "reset to factory", my phone, a G'Five A68 with a rooted Froyo, has entered into a boot loop.
It's my bad, I've removed some apk into /system and to fix the boot loop, I've flashed a bad system.img dump (using fastboot), so now, it's worse.

Unfortunately, I don't have the stock rom or a nandroid backup, but I've a dump/tar of the /system partition.
I've also a (good) dump of the recovery partition (and maybe boot.img also).

I've build a system.img from the 'tar' using mkcramfs and mkyaffs2 but it doesn't seems to be the good FS type, or maybe, not the good block size.

So, quick question: how to build a correct system.img for my device ?
Is there any informations I can use in boot.img or recovery.img to know the good fs and block size ?

Here is the mtd of the device:

Code:
dev: size erasesize name mtd0: 00040000 00020000 "oemdata" mtd1: 00040000 00020000 "indepsysparm" mtd2: 00080000 00020000 "dsprom" mtd3: 00dc0000 00020000 "comms" mtd4: 00100000 00020000 "bootloader" mtd5: 00080000 00020000 "systemdata" mtd6: 01400000 00020000 "kpanic" mtd7: 00500000 00020000 "boot" mtd8: 00040000 00020000 "deviceinfo" mtd9: 00040000 00020000 "ckdatablock" mtd10: 004c0000 00020000 "recovery" mtd11: 00020000 00020000 "misc" mtd12: 09600000 00020000 "system" mtd13: 00f00000 00020000 "cache" mtd14: 12b20000 00020000 "userdata"

I've tried to retrieve some info using fastboot, but nothing:

Quote:

$ fastboot getvar all
all:
finished. total time: 0.002s

$ fastboot format system
formatting 'system' partition...
Formatting is not supported for filesystem with type ''.
FAILED ()
finished. total time: 0.003s



Thanks for your help.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by bailey.bosco
2 hours ago
Last post by nkassulke
4 hours ago
Last post by eileen.romaguera
2 hours ago
Last post by kulas.wilma
2 hours ago
Last post by estefania62
2 hours ago
Last post by audrey.block
3 hours ago
Last post by clementine23
38 minutes ago
Last post by felix.ullrich
20 minutes ago