vendredi 21 février 2014

[Q] extracting ramdisk from boot.img keeps failing using unpacking tools (Pomp C6) topic




Hello
I'm trying to make a custom rom (for a Pomp C6) and need to adapt the bootclasspath.
Plenty of tutorials etc, so thats not the problem.

The problem i have is that none of the tools are able to correctly extract the ramdisk from my boot.img

I get errors like:

Code:


./unpack-bootimg.pl ../ramdisk.img
Could not find any embedded ramdisk images. Are you sure this is a full boot image?


splitboot.pl apparently can extract at least something, but the resulting ramdisk image is not a gz

Code:


./split_bootimg.pl boot.img
Page size: 2048 (0x00000800)
Kernel size: 4376464 (0x0042c790)
Ramdisk size: 636685 (0x0009b70d)
Second size: 0 (0x00000000)
Board name: Release.V2.03
Command line:
Writing boot.img-kernel ... complete.
Writing boot.img-ramdisk.gz ... complete.


gzip -dc ../boot.img-ramdisk.gz | cpio -i
gzip: ../boot.img-ramdisk.gz: not in gzip format
cpio: premature end of archive


I already searched for a solution but cannot find any (All tutorials seem to have no problem extracting the ramdisk)
Am i overlooking something?





Aucun commentaire:

Enregistrer un commentaire