Already gave him the tutorials with scripts much easier also depending on device you may have to add header info which the tutorials explain also On Jun 6, 2011 1:05 AM, "Ashwini Singh" <asingh.e...@in.com> wrote: > Hi Tony, > > > > TO UNPACK: > $ mkdir open_ram > $ cd open_ram > $ gunzip -c ../your-ramdisk-file | cpio -i > > PACK it again: > $ cd <open_ram> > $ find . | cpio -o -H newc | gzip > ../newramdisk.cpio.gz > > > > Thanks. > > > On Jun 5, 12:25 am, Tony <crackeri...@gmail.com> wrote: >> Hello, >> >> I'm new to android dev and learning how to port gingerbread to my >> samsung i9003. >> I successfully converted partitions on the phone from samsung's RFS >> to ext2. >> But I have a problem, I need to modify the file init.rc to change the >> mount option to ext2. but the file is in ramfs, and I need to modify >> its source. >> There are to .img file which I think init.rc is placed - >> normalboot.img and recover.img. I have no idea what type of these >> files are. >> But I open it in a hex editor and found that the very first byte of >> the file is a string "ANDROID". >> Could someone give me a hint what these file are and how can I open or >> extract(repack) it? >> Is it a type of file system? >> >> Tony > > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting
-- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting