[Q] Extract system.sin - Sony Xperia P, U, Sola, Go

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?

Related

Can't return to stock rogers rom!

Hi guys, Im trying to bring my phone back to rogers stock firmware and I can't seem to do it. I downloaded the unbricker tool and the firmware, which has 2 files named "1" and "2". I got no idea how to use the firmware with the unbricker tool, so can someone help me?
Thanks in Advance
Sounds like you downloaded the SEUS firmware files and you are trying to use the debricker tool which requires .sin files.
You can use the 1 and 2 file with SEUS software by following the instructions in that thread. You basically need to replace the files in a directory for SEUS while it's downloading them. One file is 16mb and the other is 125mb+. There may be a better firmware for you to download for use with the debricker.
wait im confused by your post can you try and maybe explain it a bit clearer? thanks
The 1 and 2 file are for use with the Sony Ericsson Update Service (SEUS) and not the debrick process. You'll need the Rogers files that are intended for use with the debricker and not the ones you have.
It is possible to use the 1 and 2 files to restore your phone to stock but it's more complicated and I'd suggest just getting the correct files.
I believe you need the first file (WWE_R1FA014 under X10a) in this thread:
http://forum.xda-developers.com/showthread.php?t=683793
okay and do I replace all the files? because when I tried to only replace the ones already there, it gave me the exclamation mark and I had to go back to the debranded version.
Read the thread for decrypted roms. You need to replace the .sin files from the flash tool with the .sin files from the firmware version you downloaded from that page. Then run the flah tool with the new files in it. Its pretty simple once you figure it out.
Sent from my X10i using XDA App
do I only replace the .sin files? and do I add the extra .sin files in?
Files 1 and 2 are not files that we are looking for.That link bring us wrong files.
Now do one thing download flash tool from here http://hotfile.com/dl/44983907/9d54b5e/XIOFUB.rar.html
Then downlaod files from this link http://hotfile.com/dl/43225669/598ad...4_DEK.zip.html.
The file we download from this link has two folders.extract them then copy files from them to flash tool folder. Then root your xperia x10 and you are ready with RB014 original one. You can update it from SEU. EASY!
hmm, everytime I replace the files, my xperia x10 gets the bricked picture. Do I HAVE to root it before reflashing?
edit: there is an "update.xml" file in the android.... folder and the phone folder. Which one do I use?
corruptfate said:
hmm, everytime I replace the files, my xperia x10 gets the bricked picture. Do I HAVE to root it before reflashing?
edit: there is an "update.xml" file in the android.... folder and the phone folder. Which one do I use?
Click to expand...
Click to collapse
In the Rogers rom file, there should be two zip files in there.
- android_1233-6929_R11A_R1FA014.zip
- phone.zip
Now
- Unzip the flashtool first, and then unzip the phone.zip to the flashtool folder and replace any files it prompts.
- Unzip android_1233-6929_R11A_R1FA014.zip and replace any files it prompts.
- Rename or delete System.sin and userdata.sin inside the flashtool folder.
- Rename system_S1-SW-LIVE-AC12-0001-S1-PARTITION-WITH-SPARE.sin to system.sin
- Rename userdata_S1-SW-LIVE-AC12-0001-S1-PARTITION-WITH-SPARE.sin to userdata.sin
Try to flash the phone again see if this will work (Just tried it yesterday, it worked for me.)
Regards

aZuZu Small Tools 4 SE x10 series...

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 ?

[Q] Convert .img to .sin/.ftf

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.

[Q] convert .zip to .ftf

I have download firmware in .zip format. in my pc i have install WINRAR. this shown only zip. if i extract there i not find .ftf file. i try to rename but its shown zip. how i change get .ftf file. plz reply me
an .ftf file is just a zip-file with a different extension, just rename it, right-click on it and change .zip to .ftf
I believe you have not open the option to see the extention of your file. open it in your windows, then you can change it. or, just use mobile phone explorer to do it.
c3poyoda said:
you are not suppose to change the file. zip is zip, not ftf. It is like you changed cloth but you are not becoming to another person.
If you do need ftf format, download only ftf, not the zip.
Click to expand...
Click to collapse
Shut up c3poyoda, if you don't know what you're talking about.
You're not helping anyone like this.
oh. u faster before I modified. sorry for the wrong answer.
SmG67 said:
an .ftf file is just a zip-file with a different extension, just rename it, right-click on it and change .zip to .ftf
Click to expand...
Click to collapse
Hi,
The flashtool didn't recognise the file after renaming it as described by you. Is there another way to get this done?
lyndnpnto said:
Hi,
The flashtool didn't recognise the file after renaming it as described by you. Is there another way to get this done?
Click to expand...
Click to collapse
Not all zips work as .ftf files, which one did you want to flash?
try this
hi friend now 1ly i found the solution extract the archive in new folder
select all the item including meta.folder right click and select add to archive then select zip format and it shows(eg like sony6.1.b.1.ftf.zip) remove zip type ur desired name as some what like sony6.1.b.1.ftf
.ftf is important now start archive ftt file ready just flash and enjoy
sanjai001 said:
hi friend now 1ly i found the solution extract the archive in new folder
select all the item including meta.folder right click and select add to archive then select zip format and it shows(eg like sony6.1.b.1.ftf.zip) remove zip type ur desired name as some what like sony6.1.b.1.ftf
.ftf is important now start archive ftt file ready just flash and enjoy
Click to expand...
Click to collapse
hey i have the same prob here.. i downloaded some .ftf files from this link http://forum.xda-developers.com/showthread.php?t=2417672
but all the files ended up as .zip ... I've tried ur method but flashtool didn't recognize them.. :crying::crying: even i can't drag them to flashtool...
please help...
wiwiunnie92 said:
hey i have the same prob here.. i downloaded some .ftf files from this link http://forum.xda-developers.com/showthread.php?t=2417672
but all the files ended up as .zip ... I've tried ur method but flashtool didn't recognize them.. :crying::crying: even i can't drag them to flashtool...
please help...
Click to expand...
Click to collapse
The built-in Windows Archiver used to zip folders doesn't use the proper format for files that need to be flashed. You should use Winrar or 7-zip if you have unpacked the zip-files.
If you've just downloaded the files without unpacking them, just rename them to .ftf without unpacking. Because your browser recognises the .ftf's as .zip-files it renames them on download-completion, simply renaming them back will solve your issues.
SmG67 said:
The built-in Windows Archiver used to zip folders doesn't use the proper format for files that need to be flashed. You should use Winrar or 7-zip if you have unpacked the zip-files.
If you've just downloaded the files without unpacking them, just rename them to .ftf without unpacking. Because your browser recognises the .ftf's as .zip-files it renames them on download-completion, simply renaming them back will solve your issues.
Click to expand...
Click to collapse
i don't remember if i made a FAQ entry about this... but now that i'm leaving this sub-forum it's a bit late
Cant
SmG67 said:
The built-in Windows Archiver used to zip folders doesn't use the proper format for files that need to be flashed. You should use Winrar or 7-zip if you have unpacked the zip-files.
If you've just downloaded the files without unpacking them, just rename them to .ftf without unpacking. Because your browser recognises the .ftf's as .zip-files it renames them on download-completion, simply renaming them back will solve your issues.
Click to expand...
Click to collapse
It just cant be converted. I had rename it to .ftf but it does not change anything, still .zip files. Help me
Sorry for the bad english. I am Malaysian
SyahrulVEVO said:
It just cant be converted. I had rename it to .ftf but it does not change anything, still .zip files. Help me
Sorry for the bad english. I am Malaysian
Click to expand...
Click to collapse
Sometimes you download a zip, you have to extract its files and then, create the ftf file with flashtool, using the option...tools/bundle creation. Try doing that.
this link may can help you... i fix my problem with this link..
http://www.xperiablog.net/2014/08/1...re-files-using-xperifirm-and-flashtool-guide/
Click to expand...
Click to collapse
but i modify step coz i have download zip out of XperiFirm. so.... i just extract firmware .zip. and take tools>bundels>create
Go to YouTube write Cara rename file ZIP ke FTF firmware Sony Xperia and the first video is your answer..

How to extract files from .sin file..?

HI !!!
i have tried several meothods but fail !!!
i have used Flashtool to extract file from system.sin but didnt get anything ...
also use ftf extracter but not work also ,,
i have used ext4 extracter but that also give wrong file size parameetor error in cmd ..
what should i do ???

Categories

Resources