(linux) How to unyaffs a system.img? - Android Q&A, Help & Troubleshooting

I tried with the unyaffs tool. I set it up and when I actually try to unyaffs, I get this: "Segmentation fault (core dumped)"
I want to unyaffs a stock android system.img. More specifically the Galaxy nexus IMM76I system.img.
EDIT: This can be closed. I downloaded and set up dxsida's kitchen.

Related

[Q] Unpack system.img GPad G10

Hi all,
I have a question about the GPad G10 firmware files.
I have unpack the rom of the G10, and i have now 3 files, boot.img, recover.img en system.img.
I can unpack the boot.img and the recover.img with split_bootimg, but when i try to unpack the system.img with unyaffs it fails.
I think its because the system.img is an ext3 format?
Can anyone tell me how i can extract this system.img with another way.
You can find the system.img here: tinyurl.com/6kqvoot
Jelmer.
Sorry for my bad english, i am dutch.
In CentOS when i type:
Code:
file system.img
it says:
Code:
system.img: VMS Alpha executable
Can someone tell me how i can extract that sort of files?
Jelmer.
Sorry for bad english, i'm Dutch.

who can help me repack a boot.img

i have read the article http://forum.xda-developers.com/showthread.php?t=915808
i am a windows user,and i have install cgwin and perl
but i can not use unpack.boot.pl and repack.boot.pl(actually i donot know how to use it )
i unpack the boot.img by split_bootimg.pl by DOS
if anyboy can tell me how to use unpack-bootimg.pl and repack-bootimg.pl?
or help me repack the boot.img.the edited file of the boot.img i have upload to
http://cid-34cb0dc592eb3181.office.live.com/browse.aspx/.Public?uc=1
thanks
any body there?
Use dsixda android kitchen.
I run linux, but you have a perl script, so you need to run it through perl before it can work. So something like...
Code:
perl unpack.boot.pl [then the inputs for unpack.boot.pl]
I use cramfs tools so mine looks like
Code:
cramfsck -x bootextractedDIR boot.img
You can also get the dsixda android kitchen and dig through the files, since it does it too. The kitch is just a really complated cmd script, so somewhere in there you can find the command for how it extracts the boot.img
equalsP said:
I run linux, but you have a perl script, so you need to run it through perl before it can work. So something like...
Code:
perl unpack.boot.pl [then the inputs for unpack.boot.pl]
I use cramfs tools so mine looks like
Code:
cramfsck -x bootextractedDIR boot.img
You can also get the dsixda android kitchen and dig through the files, since it does it too. The kitch is just a really complated cmd script, so somewhere in there you can find the command for how it extracts the boot.img
Click to expand...
Click to collapse
But it can't pack it after unpacking: (
Need it to add kernel to bootimage. Can someone help ?
Sent from my HTC HD2 using XDA Premium App
Hello I've found this...
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
I could unpack the files. but mkbootfs and mkbootimg doesn't work for me. When I downloaded ROM kitchen, there files were present as mkbootfs.c and mkbootimg.c .Not sure how to make them executable
Tried compiling with gcc and also tried changing permissions using chmod. If you find anythng, please PM me...
Edit : Forgot to mention I run linux.
Okay now sorted it. Use repack_bootimg.pl tool .Download ROM kitchen and search for mkbootimg and mkbootfs tools. Copy and paste them to your working directory. Also copy all header files from dsidia ROM kitchen. Download Repack tool from web.
Use this command
perl repack-bootimg.pl <kernel> ramdisk directory.img
very happy to hear this.i will switch to my ubuntu and try again
Not work here. I have image boot from rk2918 device and pearl scripts not work for unpack.
How I can unpack?

[Q] can not upack system.img on winxp

can not upack system.img on winxp
could you please help me to upack it.
or tell me how can i upack system.img on winxp.
i also use a tool which calls bootimg.exe,but did not unpack the system.img
by the way,unpacked bootimg's file just only some rc file.
thx!

[Q]

hello
i want to create custom boot image.i am using cygwin bash shell and android kitchen.
i extract boot.img with Android Kitchen 0.194 Tools for boot images <unpack/re-pack/etc.>
it show like this
Working folder found
Kernal found at offset 2048 in boot.img
Making folder BOOT-EXTRACTED ....
Extracting kernal ...
Extracting ramdisk ...
Error : NO ramdisk folder found!
Press Enter to counting
How i solve Error:NO ramdisk folder found.
Are you have trouble extracting from the phone or extracting the .img file into something editable? I see at the top of the first page here that there is an update to the Kitchen. Maybe the newer version supports your phone better?

[Q] unmkbootimg for android 6.0

i want to unpack a boot.img .. i tried older unmkbootimg tools but they are not working for me
seems like the new mkbootimg is written python.. https://android.googlesource.com/platform/system/core/+/master/mkbootimg/
has anyone made unmkbootimg for this?

Categories

Resources