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

Can someone help me in extracting Xperia S system from system.sin
I get page size error when ever I tried to extract it using ftf extractor.
I have tried 2048,4096,8192 but always get page size error.
Some one plz tell me what to do???
Thanks

hey, i'm on it!
you need SIN2IMG, i can't provide you a link just google it
much luck!

Just download my prerooted image and mount it as ext4 to a folder of your choice -> easy
Regards

Hey Bin4ry i just registered myself to xda just to thank you!
Thank you for helping us to get root access on a fuc**** locked bootloader
Danke

Related

[Q] Browse / Extract .SIN files???

please somebody help me,
how to browse / extract .sin files????
Browse where? From within the phone? Impossible...
After a succesful flashing session with SEUS/PC Companion follow this thread:
http://forum.xda-developers.com/showthread.php?t=730282
i want to get into the system.sin file so i can modify it, decrypting guide doesnt tell you how to get into it and replace some files in it!
Use SIN2IMG then use unyaffs on the img.
Many thanks arkedk i'll give it a shot
osamahindi said:
i want to get into the system.sin file so i can modify it, decrypting guide doesnt tell you how to get into it and replace some files in it!
Click to expand...
Click to collapse
My bad i totally mis understood you.... Sorry....
Jim
@osamahindi - next time please post your question in the Q&A section
Read: http://forum.xda-developers.com/showthread.php?t=900175
i'm sorry, i was trying to delete the thread but i couldnt!
use sin2img

[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] Extract system.sin

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?

How to get system .img for kitchen ??

Hello I really want help here I am trying to use kitchen ..i need system .img for that ..i hv a .ftf file of stock .
I want to get system ,img from the ftf file .
Any help ??
I hv flashtool version 0.6.9 ..somehow i cannot get the sin editor in flashtool in the advanced tab
Please help
Thanking you
Abhiheart said:
Hello I really want help here I am trying to use kitchen ..i need system .img for that ..i hv a .ftf file of stock .
I want to get system ,img from the ftf file .
Any help ??
I hv flashtool version 0.6.9 ..somehow i cannot get the sin editor in flashtool in the advanced tab
Please help
Thanking you
Click to expand...
Click to collapse
So update your version?
sent from supercharged jj's hybrid neo v
If you have stock gingerbread System.sin then extract it using "aIUP.exe" and use following command "aIUP.exe system.sin 2048 system" (you can use value 4096 or 8192 instead of 2048). and if you have ICS system.sin then extract it using Flashtool, for that open flashtool>Advance>sin editor, select system.sin file and click on Dump data you can use this for gingerbread also.
sainath23 said:
If you have stock gingerbread System.sin then extract it using "aIUP.exe" and use following command "aIUP.exe system.sin 2048 system" (you can use value 4096 or 8192 instead of 2048). and if you have ICS system.sin then extract it using Flashtool, for that open flashtool>Advance>sin editor, select system.sin file and click on Dump data you can use this for gingerbread also.
Click to expand...
Click to collapse
SO which file do i put in my working folder in kitchen ??

[GUIDE] How to extract FTF file step by step [GB/ICS/JB] [Newbie]

The reason behind to post this guide, if you had forgotten to make backup before flashing any mod. you don't need to write a post for getting the files of stock one.
you can get it from your ftf file and drag n drop into that flashable.zip which one you applied.
&
Rom porter can easily get the system dump.....
Before going to proceed this tutorial you need
your desired ftf file which you want to extract.
winrar
Flashtool
ext4_unpacker [ attached ]
​Instructions:
First,
open your ftf file via winrar and get the system.sin file.​
Second,
open Flashtool
go to Tools -> Sin Editor
click on '...' button
open the system.sin
click 'Dump data' button
wait untill flastool shows 'Data Extraction finished'
Note: the below method depends on which one you get. 1st one is for yaffs2 & 2nd one is for ext4
Third,
open Flashtool
go to Tools -> Extractors -> yaffs2
open system.yaffs2
extraction will start
wait untill flashtool shows 'Extraction finished'
now you get the system dump.
for system.ext4
open ext4_unpacker
click on the 'folder icon'
open system.ext4
select all
click right button of mouse
click Extract
select the destination folder where the files of system.ext4 will be extracted
Done
sorry, for my bad presentation
if it helps you don't forget to click on thanks button.
Thanks ! I will test that later !
Envoyé depuis mon ST18i
u ar awsome man !!
thank for ure learrning article
you are awesome man
thanks for article
thank you very much!!! :good::fingers-crossed::laugh:
I am trying to extract system folder from Jelly Bean 4.2.2- 16.0.B.0.21 ( Xperia C), got the ext4 file but the ext4 extractor reports 'unknown file format', so cannot get the file .Please help.
This method is successful for ICS but not working on JB 4.2.2.
mustang2011 said:
I am trying to extract system folder from Jelly Bean 4.2.2- 16.0.B.0.21 ( Xperia C), got the ext4 file but the ext4 extractor reports 'unknown file format', so cannot get the file .Please help.
This method is successful for ICS but not working on JB 4.2.2.
Click to expand...
Click to collapse
same here! - plz help.
Thnq
Thanx! Helped a lot:good:
mustang2011 said:
i am trying to extract system folder from jelly bean 4.2.2- 16.0.b.0.21 ( xperia c), got the ext4 file but the ext4 extractor reports 'unknown file format', so cannot get the file .please help.
This method is successful for ics but not working on jb 4.2.2.
Click to expand...
Click to collapse
hey brother please pm me with 16.0.b.0.21 ftf please!
I will also help you with that
good guide. I will try this out!
Bro please can you pm me or post a link to xperia c ftf??
ext4 file extraction JB
mustang2011 said:
I am trying to extract system folder from Jelly Bean 4.2.2- 16.0.B.0.21 ( Xperia C), got the ext4 file but the ext4 extractor reports 'unknown file format', so cannot get the file .Please help.
This method is successful for ICS but not working on JB 4.2.2.
Click to expand...
Click to collapse
Xperia-Ray said:
same here! - plz help.
Click to expand...
Click to collapse
Hi,
This might help, work for me.
===>> goo(dot)gl/CWV8Ku
Sorry i am new here, so i can't post links. paste in browser URL and replace (dot) by a .
Xperia C - Updated
Hi mates,
Would it be possible for anyone to upload a CWM flashable Xperia C ROM with the latest update of 16.0.B.2.13 because I cannot really extract the folders from system.ext4. I have tried using all version of flashtool by androxyde and unyaffs. Even did the unpacking through cmd (aIUP.exe) but still no lack.
Or maybe someone can suggest better and updated reader for ext4. Thanks!
Sorry guys, it seems the ftf file was signed by sony that is why its hard to extract the EXT4 extension
read from http://forum.xda-developers.com/showthread.php?p=51543674#post51543674
as posted by zenesis
I have Xperia C Firmware... Tried doing this but no use.. In flashtool 0.9.0.0 when i open the system.sin file the SIN Editor just doesnt open up the file... The file doesnt get selected.. And in flashtool 0.9.14 I am able to convert the file to system.ext4 with SIN Editor but cannot extract files with ext2explore ..
---------- Post added at 11:01 AM ---------- Previous post was at 10:54 AM ----------
kiko6383 said:
Hi mates,
Would it be possible for anyone to upload a CWM flashable Xperia C ROM with the latest update of 16.0.B.2.13 because I cannot really extract the folders from system.ext4. I have tried using all version of flashtool by androxyde and unyaffs. Even did the unpacking through cmd (aIUP.exe) but still no lack.
Or maybe someone can suggest better and updated reader for ext4. Thanks!
Sorry guys, it seems the ftf file was signed by sony that is why its hard to extract the EXT4 extension
read from http://forum.xda-developers.com/showthread.php?p=51543674#post51543674
as posted by zenesis
Click to expand...
Click to collapse
Damn.. I am also unable to get it.. You can get the extracted system zip here : Download ..
The file size is 1GB
Vaibhav4166 said:
I have Xperia C Firmware... Tried doing this but no use.. In flashtool 0.9.0.0 when i open the system.sin file the SIN Editor just doesnt open up the file... The file doesnt get selected.. And in flashtool 0.9.14 I am able to convert the file to system.ext4 with SIN Editor but cannot extract files with ext2explore ..
---------- Post added at 11:01 AM ---------- Previous post was at 10:54 AM ----------
Damn.. I am also unable to get it.. You can get the extracted system zip here : Download ..
The file size is 1GB
Click to expand...
Click to collapse
Yeah that was a problem when a source was signed, it cannot be extracted for now.
mustang2011 said:
I am trying to extract system folder from Jelly Bean 4.2.2- 16.0.B.0.21 ( Xperia C), got the ext4 file but the ext4 extractor reports 'unknown file format', so cannot get the file .Please help.
This method is successful for ICS but not working on JB 4.2.2.
Click to expand...
Click to collapse
For 'unknown file format' error in ext4extractor : Use this software to open the system.ext4 file - Diskinternals Linux Reader here: http://www.diskinternals.com/linux-reader/

Categories

Resources