[Q] How to unpack and repack atrix .img files - Atrix 4G Q&A, Help & Troubleshooting

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.

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.
Read the forum rules, questions do not belong in this section of the forum - thats what the Q&A section is for. Mr. Clown, please move or delete this thread..

[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?

ICS/JB/EXT4 Unpacker - How to edit and recompile the unpacked files?

I have a Huawei Y536A1 US version. I am attempting to port the Y536A1 Canada Rogers version as it appears to have no carrier apps within it. I installed Cygwin and dsixda' Android Kitchen but the optiuon to extract the system.img file (ext4) does not work. I found the post for installing perl, split_update, ext4 unpacker exe, and huawei finder. Following the steps, I can unpack the system.img and extract the build.prop file. However I am totally lost at how to either edit the Canadian build.prop or how to replace it with the US version. It is simple enough to replace any .img file within the output folder, but I can't figure out how to replace or edit files inside the .img files once they are unpacked into the EXT4 unpacker. Any help would be greatly appreciated. Also, if I am going about this incorrectly, any info on redirecting my efforts to be used with a different tool would also be appreciated.

Categories

Resources