[help] unyaffs error - Android Q&A, Help & Troubleshooting

Need some help.
I am trying to unpack/dump system.img from a samsung galaxy tab 10.1 stock rom. I thought I had done this before for the 7" Tab with magicdisc or magiciso.
Eitherway.... downloaded cygwin und unyaffs. Everytime I try unyaffs I get a STATUS_ACCESS_VIOLATION error.
What am I missing?

so what's your solution? i have this problem too.

Any joy 'cause I cant get it working on windows 7 or Ubuntu 10.10
EDIT No joy getting unyaffs to work,used ext2explore which done the job instead

Is the system type yaffs2? If not then unyaffs will not work.
私のEVO 3Dから送信される。

pkoper said:
Need some help.
I am trying to unpack/dump system.img from a samsung galaxy tab 10.1 stock rom. I thought I had done this before for the 7" Tab with magicdisc or magiciso.
Eitherway.... downloaded cygwin und unyaffs. Everytime I try unyaffs I get a STATUS_ACCESS_VIOLATION error.
What am I missing?
Click to expand...
Click to collapse
It's likely in Sparse ext4 format. You need to use simg2img to convert it to extractable format, and then use something like DiskInternals Linux Reader to extract it in Windows. In Ubuntu just mount as ext4 instead of using Linux Reader. My Android Kitchen should be able to do that automatically.

Related

Delete

Delete
I don't know, where did I get it, so it may be outdated or something.
mkyaffs for windows
Here is mkyaffs2 exe file compiled for Windows using Cygwin.
Archive contains makeyaffs and unyaffs files and needed dll's.
P.S. I tryed to use that compiled "mkyaffs"-file to create system.img and img-file really was created, but when I tryed to unpack that system.img (using unyaffs that works normally) I just got "OK"-message from unyaffs and nothing more! No one folder was created! So I think my compiled mkyaffs doesn't work properly. It's creating corrupted img's. :silly:
So the most reliable and right way to pack folders into img's is use mkyaffs on Linux or virtual machine (with booted Linux of course).
P.S.S. I found tool named Yaffey, but I don't know how to get it create system.img
Kyonex said:
Here is mkyaffs2 exe file compiled for Windows using Cygwin.
Archive contains makeyaffs and unyaffs files and needed dll's.
P.S. I tryed to use that compiled "mkyaffs"-file to create system.img and img-file really was created, but when I tryed to unpack that system.img (using unyaffs that works normally) I just got "OK"-message from unyaffs and nothing more! No one folder was created! So I think my compiled mkyaffs doesn't work properly. It's creating corrupted img's. :silly:
So the most reliable and right way to pack folders into img's is use mkyaffs on Linux or virtual machine (with booted Linux of course).
P.S.S. I found tool named Yaffey, but I don't know how to get it create system.img
Click to expand...
Click to collapse
Thank you so much! It's what software I look for exactly.

[Q] How to decompile/recompile atrix img files?

I would like to know how to decompile/recompile the HKTW 2.3.4 img files to mess around with them...any help would be greatly appreciated...
I'm using windows 7 64bit, and would like instructions using windows but if it's better/easier done using linux, I can easily setup an Ubuntu system...
Now that the Atrix is unlocked, i would like to try my hand at some rom building...hopefully someone can point me in the right direction...Thanks!
Use ext2explorer to mount *.img file and then You can access to directory and file structure inside .img file..
http://sourceforge.net/projects/ext2read/files/Ext2Read%20ver%202.0/ext2explore%202.0%20beta/
Hi,
If you are going to be doing anything extensive like a rom, you might as well bite the bullet and get linux installed. Android is linux based, so you are better off using the same system to develop for it.
ext2explorer is OK in a pinch, but you have to save files to look at them, and it crashes every now and again. Also, you can't preserve the file ownership and permissions.
How to access atrix image files:
mount -o loop -t ext3 atrixexample.img mountpointdirectory
do stuff
umount mountpointdirectory
Cheers!
Thanks guys!
NFHimself, that makes a lot of sense, definitely gonna try that out, thanks a lot

[Q] How to unpack and repack atrix .img files

I have been trying to unpack the atrix system.img file from the stock gingerbread 4.5.91 build, but I can't seem to get it to work. I keep getting an error about a segmentation fault. I have tried it on linux (ubuntu), OSX and windows. Linux and OSX give me a segmentation fault using unyaffs. Windows just gives me a stack file. If anyone knows how to unpack and repack the atrix .img files in either three of the operating systems I would appreciate the help.

[Q] issue with extracting system.img from an official source

ok, ima try to make this short and sweet. Im attempting to extract the contents of system.img from an official samsung firmware using unyaffs2
this is quite literallly the FIRST time using my android skills since setting up my linux laptop.
ive done the following so far
running ubuntu 10 something
android sdk, eclipse
downloaded two versions of yaffs neither work as i would have expected.
now, trying to extract the system.img from this file (samsung note 3 kitkat official firmware)
https://doc-04-5g-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/met8j7ju751f78fpes2risgambd0mblc/1390788000000/16903193897035115666/*/0B84fZ-6xuKyyMmRMTHhjMldINDA?h=16653014193614665626&e=download
im running into this error
image size is not a multiple of 2048 64
it continues to extract the files saying each one has failed and then into the folder i specified there are a couple of files, none of which look recognizable or usable.
what am i doing wrong here?

[Q] Repack

I'm using Windows 8, and i need to Repack the system files to System.img (i extracted it by ext4)
Thanks!!!
amitams said:
I'm using Windows 8, and i need to Repack the system files to System.img (i extracted it by ext4)
Thanks!!!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1588461
After some googling, it seems like you should consider using a linux virtual machine on windows... I'm not aware of any tool on windows.

Categories

Resources