Sony-Ericsson System SIN 2 Android System IMG Converter
Here it is...
http://dl.dropbox.com/u/10158456/SIN2IMG.rar
i have successfully unpack around 10 SE x8 system.sin files..
could you try to unpack few more and give feedback thank you...
I have idea!
If someone back up system image of rooted 2.1 phone then i flash my phone with this image will i get rooted 2.1
as-mario said:
I have idea!
If someone back up system image of rooted 2.1 phone then i flash my phone with this image will i get rooted 2.1
Click to expand...
Click to collapse
it's not easy as you think. to flash the rom, you need rooted system.sin. .sin files only can be signed by sonyericsson.
take a look at this thread instead. all your idea is in this. lol. btw, this method works
http://forum.xda-developers.com/showthread.php?t=876868
Thats app creates .sin files.
as-mario said:
Thats app creates .sin files.
Click to expand...
Click to collapse
No. that app used to convert .sin from decrypted rom from SEUS to .img..you can extract it using unyaffs. trust me.
Ok convert sin to img.
Why then cant convert img to sin.
Coz SONY sign every sin they do, phone doesnt take unsigned sin files
Sent from my E15i using XDA App
I dont get it, after i have downloaded it, there is an EXE file, after i double clicked it, nothing happens = =
I am using windows 7 x64, and i have tried to set its capability with windows xp, still nothing happens~
Can anyone help?
it is command line app...
so you need to start -> run -> cmd
aZuZu said:
it is command line app...
so you need to start -> run -> cmd
Click to expand...
Click to collapse
but, after i got into there, nothing was happening, it said
"aZuZu SE SIN2IMG, v1.02.3 <c> anZuZu 2010.
Usage" System.Sin System.Img"
can anyone help >.<
usage: system.sin System.img
so in cmd
you write sin2img [path to your system.sin file] [path where you wanna to put new created system.img file]
This is freakin' brilliant! Thanks!
Edit: Make a Linux version.
have a try
It works with mono?
Edit: Okay.. So now it's a .img file. How do I crack this open and start playing around with it?
greetings..
thanks to all for trying...
as i recall there is kernel support for yaffs imgs with cloop.. or something..
but hey i'm xp user..
So the file is yaffs?
yaffs
a-k-t-w said:
So the file is yaffs?
Click to expand...
Click to collapse
it is actually yaffs v2.0 but mounting should be possible in linux
in win32 can be extracted with tool unyaffs.exe
Can anyone reupload the SIN2IMG tool ? I can't find any valid download link for it.
http://forum.xda-developers.com/showthread.php?t=979912
use aIUP from here rather...
I only need to convert it to img... i dont need to unpack it... Why there isn't any mirror with that tool ? is there something wrong with it ?
Related
Features:
- Extract custom IMG.
- Create IMG files.
- Convert SIN To IMG.
New features will be added, as you request.
Please report all bugs, so i can fix them!
Update 26.feb!
Little cleanup.
Update 13.mar!
Changed name.
Changed small things.
Added option to convert SIN to IMG.
Update 21.mar!
Changed name.
Code rewrite and cleanup.
Changed menu.
Added option to create IMG file.(need some testing, SOMEONE HELP ME WITH THIS.)
Say thanks to:
velnens123 - for this little tool
aZuZu - for making SIN2IMG
unyaffs, mkyaffs and cygwin creator
For Windows 32-bit Only!
This does'nt modify sin files!
Please help me with creating IMG file!
download now, will see how it works. thanx
velnens123 said:
Here is a tool for extracting xRecovery and other recovery img files.
Features:
- Extract system.img
- Extract data.img
- Extract cache.img
- Extract recovery.img
- Extract boot.img
- Extract userdata.img
- Extract misc.img
- Extract custom img.
New features will be added, as you request.
Please report all bugs, so i can fix them!
Click to expand...
Click to collapse
please add feature to convert yaffs img to ext2 img.... and keep file permission,owner....
Hope i will make it!
brixzen said:
please add feature to convert yaffs img to ext2 img.... and keep file permission,owner....
Click to expand...
Click to collapse
I will see what i can do!
does this 'extract out of the phone' or does it 'extract files out of the images'?
Sorry for a silly question, but what would I use it for? Is it like for messing around with roms' content?
how can i extract it ??? when i write path to the img and press enter it says : open image file failed
thetrisatria said:
download now, will see how it works. thanx
Click to expand...
Click to collapse
working ndak om??
I love a feature that can backup stock firmware (in format *.sin), so that I can use flash tool to rescue the phone whenever it die
Answers for questions.
i_hate_sonyericsson said:
does this 'extract out of the phone' or does it 'extract files out of the images'?
Click to expand...
Click to collapse
Graveir said:
Sorry for a silly question, but what would I use it for? Is it like for messing around with roms' content?
Click to expand...
Click to collapse
fifo171 said:
how can i extract it ??? when i write path to the img and press enter it says : open image file failed
Click to expand...
Click to collapse
Benjoy Ericsson said:
I love a feature that can backup stock firmware (in format *.sin), so that I can use flash tool to rescue the phone whenever it die
Click to expand...
Click to collapse
1. It extract files out of the images.
2. Yes, make backup in xRecovery, then extract system.img.
3. Make sure you dont write .img at end, put your img files in same folder as unyaffs.
4. I dont think its possible.
you might want to note in the original post that modified sin files can't be flashed w/ the flash tool, if thats what your reply means.
i'd assume that, but not everyone would.. and maybe note the download is for win32 only.
thanks!
Exception: STATUS_ACCESS_VIOLATION at eip=004010B0
eax=5D9BD014 ebx=00000068 ecx=00001500 edx=00BE0DAA esi=0028CD34 edi=61179FC3
ebp=0028CCD8 esp=0028CCA0 program=C:\Xperia_ROM_Manager\unyaffs.exe, pid 2100, thread main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
0028CCD8 004010B0 (00BC8398, 00000000, 612058E8, 00401333)
0028CD08 004013AF (00000002, 00BC8358, 00BC8250, 00000001)
0028CD68 61006CD3 (00000000, 0028CDA4, 61006570, 7EFDE000)
End of stack trace
Is this app to extract kernel.sin ??
I need a script to extract kernel.sin
THIS IS REALLY OLD! I dont think it can extract kernel.sin. Download kernel sources instead!
Sent from my XPERIA X8 using xda premium
velnens123 said:
THIS IS REALLY OLD! I dont think it can extract kernel.sin. Download kernel sources instead!
Sent from my XPERIA X8 using xda premium
Click to expand...
Click to collapse
Not all kernels has source code to compile.
I've become somewhat of a flash-aholic recently and brick my phone quite often. Especially with all the experimentation with dual boots and kernels and such.
Is there a way to convert my backup .img files to .sin/.ftf files so that they may be flashable via flashtool? I've looked all over the internet and XDA, but can't quite get everything together to make this happen. I know that being able to flash data could be troublesome, but I get tired of having to flash stock firmware and then root, then xrecovery to get back to my backups.
And by that time, I've forgotten what I was experimenting with/where I left off and what baseband I was on.
I'm not looking for a walkthrough, but just a finger-point of in the right direction.
Checked out Doomlords posts, SIN2IMG and the such, but that's to go in the opposite direction that I need.
(I highly doubt, but) If anything, a way to flash xrecovery via flashtool without having a working rom.
unyaffs.exe
Gonna play with this in a bit.
I'll report.
Let me know if you've used this.
Still accepting all help offered.
Compile .sin
Also looking how to compile a .sin file.
Google gives me one of three types of info:
sin(sine wave) - trigonometry
.sin - Microsoft game files (Age of Empires, Rise of Nations, etc.)
and of course, sin - Christian morals
Okay....I cannot find a valid link to Jerplea's SIN reconstructor. Only dead links.
Does anyone have a copy of this? Seems like it'll be my only hope.
andrewddickey said:
Gonna play with this in a bit.
I'll report.
Let me know if you've used this.
Still accepting all help offered.
Click to expand...
Click to collapse
unyaffs worked great. Just drag and drop then you get your system, data, and cache from the corresponding .img.
Now I'm using the ConvertTool to break down the .sin but cannot figure out how to extract the .tgz that comes out. 7zip says that it cannot open it as an archive.
Wanting to look at the file structure of the .sin.
...Back to work...
Thanks to all that......uh............helped?
Hi andrewddickey,
Appears you have been successful in converting .img to .sin/.ftf
If is it true can you make a post telling how achieve this ?
Thanks in advance.
Yea I'd be interested in knowing how to do this too
Sent from my R800i using XDA App
I'm 99.999999% sure you won't be able to flash them using flashtool
Sent from my X10i using XDA App
The whole idea is a no-go.
Sorry. Hope you didn't get your hopes up.
From jerpelea
hy
unfortunately the ones that can create sin files are se
sin is an signed img file , signed with se certificat and we dont have that certificate
img file is an yaffs2 image
after 2.3 release you will not need sin files
Click to expand...
Click to collapse
From zdzihu
Hi Andrew,
Unfortunately we cannot create proper .sin files from yaffs images - .sin files are signed with SE signature and we still don't know the public/private keys.
The .sin structure is quite simple:
[sin header]
[signature1]
[signature2]
[body of the actual image]
If the rumours about bootloader unlocking are true, soon you will be able to flash backup images via fastboot
Cheers,
z
Click to expand...
Click to collapse
unless andrewddickey happens to have the RED certificate to compile the sin.
99.999999% sure you dont
soon i will post tool for that problem for win users
kernel.sin unpack and repack for cracked bootloader...
this question always puzzle me
So....
How to Convert *.img file to *.sin or *.ftf??
please....
A file with the FTF extension is merely a ZIP archive.
if *.img can convert *.sin
it's can flash sin by x10 flash tools
I want to keno,how to Convert img to sin.
thanks a lot...
看来这条路子是走不通的了,如果能的话那真是神了的说
Was an interesting idea buddy
Sent from my X10i using XDA
andrewddickey said:
The whole idea is a no-go.
Sorry. Hope you didn't get your hopes up.
From jerpelea
From zdzihu
Click to expand...
Click to collapse
You can download the msm7227.7z . Extract it and the contents are some apps and some folders.
One of them is 'sinTools'. Inside it are some applications, i think, that can help in making .sin files to sign these.
Please try and help me what to write in the command window.
Thanks in advance.
anyone found a solution yet? would be nice to be able to create your own ftf's
guess it's somehow linked with cryptographics so it's only one way, but i'm too tired to check right now.
Any one know how? or how to add and remove a file in the .ftf in flashtools?
1.Unpack .ftf file(as .zip or .rar) to get the file : system.sin
2.Use SIN2IMG.exe to transfer system.sin into system.img
3.Use unyaffs.exe to upack the system.img into resources you need
You can download SIN2IMG & unyaffs from the Internet
It's not an easy thing to add resources into .ftf file
Actually,Linux enviornment is required to pack the resources into .img file
But you may use Cygwin(HTC [email protected]) to help you do such things.
JasonStein said:
1.Unpack .ftf file(as .zip or .rar) to get the file : system.sin
2.Use SIN2IMG.exe to transfer system.sin into system.img
3.Use unyaffs.exe to upack the system.img into resources you need
You can download SIN2IMG & unyaffs from the Internet
Click to expand...
Click to collapse
Thanks, now how do I repack it to .ftf ?
i need the same help
Unless you are modifying the baseband or kernel, it may be easier to make an xrecovery zip from system.img once you unpack and modify it however you want to.
Seems all 2.3.3 SE roms are on the same kernel/BB so if you're on the right ones already all you'll need is an xrec zip to build the rest. If you are on an older/different kernel/BB then Doomlord has an ftf package with just those 2 things & detailed instructions on how to get it going.
mistamikel said:
Thanks, now how do I repack it to .ftf ?
Click to expand...
Click to collapse
how were you able to unpack the .img file
I am able to extract the system.sin
then create a system.img with sin2img.exe, but when I try to unpack the .img file, unyaffs.exe only gives me stackfiles and not a new directory.
can you help with this, am I doing something wrong ?
if having trouble creating ftf try checking this thread out
http://forum.xda-developers.com/showthread.php?t=1363460
lol
why dont use 7zip?
JasonStein said:
1.Unpack .ftf file(as .zip or .rar) to get the file : system.sin
2.Use SIN2IMG.exe to transfer system.sin into system.img
3.Use unyaffs.exe to upack the system.img into resources you need
You can download SIN2IMG & unyaffs from the Internet
Click to expand...
Click to collapse
will this system.img be same as the system.img we get when we backup a stock rom in our phone after a fresh installation?am learning to make my own rom and i need the system.img.But i dont have the stock rom .
And can i create my own rom from system.img of any other custom rom instead of the stock rom itself
The great x10 developer championswimmer has a great set of tools for x10/Xperia kernels
http://forum.xda-developers.com/showthread.php?t=1659584
~Jaramie
from my LT28at rooted & eating an Ice Cream Sandwich
Probably the best guide with video instructions how to make GB ROM from .ftf file. Enjoy.
http://forum.xda-developers.com/showthread.php?t=1661770
neoxx3m said:
Probably the best guide with video instructions how to make GB ROM from .ftf file. Enjoy.
http://forum.xda-developers.com/showthread.php?t=1661770
Click to expand...
Click to collapse
Thanks for the links i already got guides to make my own rom.Am using dsixda' android kitchen and as the per the instruction given.For xperia x10
"First reinstall a Android 2.1.
Then root it.
Install a XRecovery.
Then backup it.
Now you will get system.img in backup folder."
My doubt is wether this backup should be dont with the stock rom itself or can i use an existing custom rom?And if it should be from stock rom then is it enough use the system.img file obtain by extracting ftf and then using sin2img?
VortexDK said:
how were you able to unpack the .img file
I am able to extract the system.sin
then create a system.img with sin2img.exe, but when I try to unpack the .img file, unyaffs.exe only gives me stackfiles and not a new directory.
can you help with this, am I doing something wrong ?
Click to expand...
Click to collapse
Check Out this thread,maybe it will help you
can some one please put a direct link to SIN2IMG & unyaffs, no links online work!!
staking said:
can some one please put a direct link to SIN2IMG & unyaffs, no links online work!!
Click to expand...
Click to collapse
Nobody?
especiallyl SIN2IMG ... the other is in the repository of ubuntu
hi all
how can i convert ftf bundle into rom or to its system dump?
thanks
1. Open the .ftf file in some sort of archive manager and extract its content. You should be left with a bunch of .sin files.
2. Find a tool called SIN2IMG. Use this tool on system.sin. You should be left with an .img file.
3. Open the .img file in an archive manager and extract its content. You should now have all of the contents of /system for you to play with.
Pretty sure that's how to do it...
Sent from my x10, rocking Wolf's 2.3.3 + DooMKernel, overclocked to 1.2 GHz...
Frosty666 said:
1. Open the .ftf file in some sort of archive manager and extract its content. You should be left with a bunch of .sin files.
2. Find a tool called SIN2IMG. Use this tool on system.sin. You should be left with an .img file.
3. Open the .img file in an archive manager and extract its content. You should now have all of the contents of /system for you to play with.
Pretty sure that's how to do it...
Sent from my x10, rocking Wolf's 2.3.3 + DooMKernel, overclocked to 1.2 GHz...
Click to expand...
Click to collapse
So with SIN2IMG I just bash in 'SIN2IMG system.sin system.img' ?
And I assume to to repack it, you repack up the /system folder into a .img, use a tool (maybe sin2img?) to convert it to a sin, then re-archive it up as a .ftf using same archive manager?
I'm using 7z..? Would like to have a butchers really, see what's changeable.
Random Question.. could one push binaries like su or apt-get to the phone by stickin' em in with the kernel/system images?
Many thanks!
Which archive manager? I can't mount it and unyaffs gives segmentation error (ubuntu), tried mounting with one from software centre, had an empty folder..
Sent from my LT18i using XDA
Hello!
As I'm currently learning about ROMs etc, I feel its important to be able to convert sin->img and then extract on my own.
The problem is however, I haven't been able to do that with the Xperia S system.sin.
I know that the .img is ext4 and not yaffs, but stuff I've tried without luck;
sin2img - errors out
aIUP - gives bad block no matter what
sin2img.py under ubuntu 10.04 - completes, but the output file seems to be corrupt (won't mount)
flashtool->sineditor->dump - same output as sin2img.py. ext2explore can extract the apps folder but nothing else. build.prop comes out corrupt
I redid the sin2img.py to .exe and ran under windows, produces same file as sin2img.py, still not working.
I've seen a couple of extracted filesystems from Xperia S, but I want to find out how they got extracted. PMs often get ignored or people are just too busy to respond so I ask here instead.
I've tried following firmwares;
LT26i_6.1.A.0.452_NCB.ftf
LT26_6.1.A.0.452_Generic_CH_1257-3740_.ftf
LT26_4.0.4 _6.1.A.0.452.ftf
Any help is greatly appreciated, thanks in advance!
I'm also encountering this problem.
Sent from my LT26i using xda premium
If someone could provide a successfully converted system.sin to .img, I could look at what goes wrong at my computer. And I'm talking about system.sin from ICS firmware.
Else the only thing I can think of is that all the system.sins I've tried have been corrupt or something likewise, since userdata.sin converts just fine
Bumping this because I have the same issue with the Xperia S system.sin and Xperia ion.
Getting an error such as this in the dmesg | tail after doing the "mkdir system; mount -t ext4 -o loop system.img system" command when trying to make a prerooted system image
EXT4-fs (loop0): bad geometry: block count 262144 exceeds size of device (140642 blocks)
Click to expand...
Click to collapse
Using ext2explore instead of yaffey guys. It's Xperia S firmware, not Xperia Arc
Phenombox said:
Hello!
I know that the .img is ext4 and not yaffs, but stuff I've tried without luck;
ext2explore can extract the apps folder but nothing else. build.prop comes out corrupt
Click to expand...
Click to collapse
lilude56214 said:
Using ext2explore instead of yaffey guys. It's Xperia S firmware, not Xperia Arc
Click to expand...
Click to collapse
He already mentioned ext2explore and that didn't work.
Sorry to revive this old thread. But I'm having the same issue and hopefully a solution has been reached within the last 2 years?
really don't understand what your guys talking about but im using winrar to extract ftf firmware file, then use flashtool to extract .sin file, then use ext4_unpacker to extract ext4 image file, thats all.
GVN.Gallus said:
really don't understand what your guys talking about but im using winrar to extract ftf firmware file, then use flashtool to extract .sin file, then use ext4_unpacker to extract ext4 image file, thats all.
Click to expand...
Click to collapse
My Flashtool is just null when you try to open a .sin file. So something isn't right lol.... Nevermind.. I think it really WAS a corrupt file. Tried fresh and it is good now
enigma99a said:
My Flashtool is just null when you try to open a .sin file. So something isn't right lol.... Nevermind.. I think it really WAS a corrupt file. Tried fresh and it is good now
Click to expand...
Click to collapse
Hi bro, what did you do to make it work? I've tried many times with different firmwares, extracting the system.sin with Winrar, then Extract data with sin editor in flashtool, and when I use the ext4_unpacker with the system.ext4 file, it says "Unknown file format". :crying:
In case my files are corrupted, how can I validate that? Please any help is really appreciated. Thanks!
brau__lio said:
Hi bro, what did you do to make it work? I've tried many times with different firmwares, extracting the system.sin with Winrar, then Extract data with sin editor in flashtool, and when I use the ext4_unpacker with the system.ext4 file, it says "Unknown file format". :crying:
In case my files are corrupted, how can I validate that? Please any help is really appreciated. Thanks!
Click to expand...
Click to collapse
Well... I am not exactly sure what causes that 100% but I think in some cases there might be some kind of encryption or something that is not allowing it to fully decode. But if you have tried many of them, I think something must be going on on your side. Maybe try unpacking with something besides winrar, etc. Also make sure you have the latest and greatest sin editor?
Are you able to successfully extract the data without errors in your sin editor?