Im asuming i use dd to get my boot.img
dd if=/dev/mtd/mtd4 of=/sdcard/external_sdcard/boot.img
I would n then need to install the tools: abootimg, android-tools-adbthen run:
abootimg boot.image
[COLOR=#000000]abootimg-unpack-initrd [/COLOR]
[COLOR=#000000]abootimg-pack-initrd [initrd.img.NEW][/COLOR]
[COLOR=#000000]abootimg [/COLOR][COLOR=#666600]--[/COLOR][COLOR=#000000]create [/COLOR][COLOR=#000088]new[/COLOR][COLOR=#666600].[/COLOR][COLOR=#000000]img [/COLOR][COLOR=#666600]-[/COLOR][COLOR=#000000]f bootimg[/COLOR][COLOR=#666600].[/COLOR][COLOR=#000000]cfg [/COLOR][COLOR=#666600]-[/COLOR][COLOR=#000000]k zImage [/COLOR][COLOR=#666600]-[/COLOR][COLOR=#000000]r initrd[/COLOR][COLOR=#666600].[/COLOR][COLOR=#000000]img[/COLOR][COLOR=#666600].[/COLOR][COLOR=#000000]NEW[/COLOR]
is there a better way (simple) way to do this ?
on the net there is mention of bumping the image something to do with file sizes of the repacked image and i believe it may need padding as ther is a risk of it failing to boot, how do I do this ?
Comment