Extracting ramdisk image as follow

cp ramdisk.img ramdisk.gz
gunzip ramdisk.gz
cd target_fs
cpio -iv < ../ramdisk

Ignore it if you tried already...

Regards,
Jagan.


On Wed, Feb 15, 2012 at 7:05 AM, paxchristos <[email protected]> wrote:
>
> Hello, I am trying to take apart the ramdisk for the Casio Commando. I
> used a hexeditor to strip off the kernel, and when I tried this
> gunzip - c ramdisk.cpio.gz | cpio -i
> it gave me this:
> gzip: ramdisk not in gzip format
> cpio: premature end of archive
>
> I googled this problem, and on a forum somebody suggested doing this:
>
> cat ramdisk.cpio.gz | cpio -i
> When I run this i get a screen full of
> Cpio malformed numbers
> followed by warning archive header has reversed byte order...
>
>
> Any ideas?
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-kernel

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to