Extracting system folder from .ftf firmware file - Sony Ericsson Xperia Neo, Pro

Hello everyone. I have gone through some guides relating to ftf to zip conversion.. They helped me a lot when I needed to tweak Stock ROM for my Neo L.. Thanks to all of them.. The process of this is quite lengthy for those who do not have Sony Xperia phones.. For the people with Sony Xperia phones, we have a flashtool which makes this process easier... I will be covering about extracting system.sin file and extracting it using the flashtool....
For this you need Flashtool. Go to http://androxyde.github.com/index.html?1363896068000.. Under 'Installation' tab, download the latest version of flashtool.. Install it to root of any drive so that it can be easily accessed... Now let us get to work...
NOTE: 1. This guide is only for SONY XPERIA phones which are supported by the flashtool provided in the above link...
2. DO NOT CONNECT YOUR PHONE WHILE DOING THIS METHOD....
A. Extracting system.sin from ftf file (ftf file is a stock firmware file.. Download the required fif file from xda)
1. Go to the folder where you installed flashtool.. In that there will be 'firmwares' folder.. Place your ftf file in it..
2. Now open the flashtool and click on the lightning button..
3. When you click on the lightning button, it will show flashmode and fastboot options. Select flashmode..
4. The ftf file which you placed in the 'firmwares' folder will now appear.. Select it.. Don't do any changes, just press OK..
5. Flashtool will prepare files for flashing and displays a dialogue box asking you to connect your phone..
6 Do not connect your phone.. Just leave that dialogue box like that.. DO NOT CLOSE IT..
7. Now go to the 'firmwares' folder.. A new folder with the name 'prepared' will appear..
8. Open it and your system.sin file will be present.. Copy it and paste it somewhere else..
B. Extracting the system folder from system.sin
1. Close the dialogue box which asks you to connect your phone.. Flashing will be cancelled..
2. Go to 'Tools' menu and select 'SIN editor'..
3. Browse to the system.sin file and select dump data.. You will get two files with 'yaffs2' extension.. Neglect the smaller one..
4.. Go to 'Tools' menu and select 'Extractors'.. Under this select 'yaffs2'..
5. Browse to the system.yaffs2 file and select OK.. That's it... You have the system folder with you.. customize whatever you want and combine with the META-INF folder and zip it...
Hit thanks if it helped you... Any suggestions or questions are welcome...

Related

[TUT] E10a/E10i: decrypt .sin files, downgrade, pre-root, xRecovery, update.zip

EDIT: I have slightly modified this guide for it to be more useful for all X10 Mini users, not only for E10a users but for E10i users too. Enjoy!
This is a guide for flashing an E10a X10 Mini with a pre-rooted, xRecovery-enabled update.zip file by using the xRecovery tool for X10 Mini.
WARNING: THE UPDATE.ZIP FILE LINKED TO IN THIS GUIDE IS ONLY FOR AN E10A X10 MINI, FOR EXAMPLE DEVICES WHICH CURRENTLY RUN ON FIRMWARE VERSION 2.0.1.A.0.47 - IF YOU USE THIS GUIDE WITH AN E10I YOU WILL NEED TO USE YOUR OWN UPDATE.ZIP, WHICH YOU CAN EITHER CREATE USING aZuZu's SMALL KITCHEN OR WHICH YOU CAN DOWNLOAD FROM ANOTHER THREAD.
DISCLAIMER: Use at your own risk! This guide is provided WITH NO GUARANTEE that it will work. I am not responsible if you brick/destroy your phone. Follow these steps CLOSELY and DO NOT PM me if you are having problems. If it doesn't work, it's because you didn't follow the guide correctly. MAKE SURE THAT YOU KNOW WHAT YOU'RE DOING, OR PLEASE WAIT FOR AN EASIER WAY OF ROOTING YOUR PHONE.
BEFORE you begin following these steps, MAKE SURE that you've read ALL OF THEM twice over, that you UNDERSTAND their implications, and that you have DOWNLOADED EVERYTHING that you need (THIS INCLUDES the files and tools that you must download in the guides that this guide links you to)!
1. Acquire your phone's decrypted .sin files:
[1.a] Run SEUS (a.k.a. Sony Ericsson Update Service) to flash your phone, then copy the "FILE_xxxxxxxxx" files (there are 3 - approximately 64KB, 14MB and 112MB) from "C:\Program Files\Sony Ericsson\Update Service\db\[8 numbers]\blob_fs\" to a folder where you will work with them.
[1.b] Download Bin4ry's ConvertTool.zip and extract the files into the same folder as your files.
[1.c] Open up a command prompt (run cmd) and navigate to your work folder using the "cd" command.
[1.d] Run SEUSDECRYPT.BAT as explained in the guide linked to in step [1.a] to obtain your decrypted .sin files. CLARIFICATION: For the two largest files, rename the .tgz files to .zip files, then use WinRAR to extract the files within those .zip files. The .sin files are inside of the .tgz files WITHIN the zip files. Then, for the smaller 64kb file, Run it through SEUSDECRYPT.BAT like the two other files, but simply rename it to loader.sin and put it with your other .sin files in the next step.
[1.e] The files have a long file name and must be renamed to shorter names (i.e. rename them to only the beginning of their original file names). Use the Nordic file names downloaded in step [2.a] as a template to know for sure what you need to rename them to. Once renamed, copy ONLY the files that you need (there should be 9: amss_fs.sin, amss.sin, cache.sin, fota0.sin, fota1.sin, kernel.sin, loader.sin, simlock.ta, userdata.sin) into one folder. MAKE SURE that you EXCLUDE system.sin, as copying it along with your other .sin files will OVERWRITE YOUR WORK later in this guide! Instead of system.sin, we will be using update.zip SEPARATELY (which is the sole purpose of this guide!)
[1.f] If you choose to create your own update.zip file using aZuZu's Small Kitchen in step [3.a], then keep your system.sin file elsewhere for future use.​
2. Flash your phone with the Nordic firmware (ONLY IF you currently CAN NOT root your phone) [2.a], root it with z4root [2.b], and install xRecovery [2.c]:
[2.a] If z4root does not work on the firmware currently installed on your phone, you will need to "downgrade" to a firmware that you can root. Here is a shortcut to doing so, since you won't be using the firmware that you will be "downgrading" to once you are finished. follow Bin4ry's guide to flash your phone to the e10i Nordic firmware, which can be rooted with z4root. Do not worry about your data connection for this step, as you will not be using this firmware once you have finished following this guide. If/when a dialog to enable your data connection pops up, DECLINE.
[2.b] Root your newly flashed Nordic firmware (or your currently installed firmware if you did not need to perform step [2.a]) using z4root (RECOMMENDED: select permanent root). Alternatively, you can simply use Bin4ry's Flashtool (from step [2.a]) which includes z4root.
[2.c] Once your phone is rooted and has rebooted (automatically done by z4root as a final step), follow this guide to install xRecovery on your phone. If the installer application doesn't work, I recommend that you get adb (which is in Bin4ry's FlashTool's "FlashToolRelease" folder) to manually install it, either by following the steps in the aforementioned guide or by doing the following:
1. Copy these 3 files (which you can download from the aforementioned xRecovery guide) to the root of your SD card: busybox, chargemon, xrecovery.tar ... Once these are copied, disable USB file sharing on your phone, but DO NOT disconnect your phone.
2. Run the following command in adb shell, without the quotes: "su" (A dialog from the SuperUser app might/will pop up, select "Allow")
3. Run the following command, without the quotes: "mount -o rw,remount /dev/block/mtdblock0 /system"
3. Run the following command, without the quotes: "busybox cp /sdcard/busybox /sdcard/chargemon /sdcard/xrecovery.tar /system/bin/"
4. Run the following command, without the quotes: "mount -o ro,remount /dev/block/mtdblock0 /system"
5. That's it! You've now manually installed xRecovery and can close your adb shell if you want.​
3. Install update.zip onto your phone using xRecovery:
[3.a] Download my update.zip file (Alternate link: click here) (this file is only for E10a!! E10i users must either find another update.zip for their phones or create their own using aZuZu's Small Kitchen) and copy it to the root of your SD card. If you know how to check an MD5/SHA256/SHA512 sum, my update.zip has the following hashes:
MD5 sum: 5bd588518921b592b087d3175cff972b
SHA256 sum: 2cabcf01fe3c56f9d287e9a7eb2e4a3c2531cd9e08dd8193604d3f2f8143f6f2
SHA512 sum: 7663b37b47a7170bd8ef99838b3344eeca38e013eae98a1d2c1ba8e61f0c9192a318a39cd7a0589b75041bb3a82ca82ee6339c4894263657b3ec3eeb5c59cf7c​As an alternative to using my update.zip, you can now easily create your own update.zip files with your own system.sin file!
Just use aZuZu's Small Kitchen: http://forum.xda-developers.com/showthread.php?t=897662
E10i users can either download the following update.zip file, or can find another one on their own:
Generic 2.0.2.A.0.24 firmware [rooted + xrecovery preinstalled]​
[3.b] Make sure that your phone is FULLY CHARGED, then turn your phone off.
[3.c] Turn your phone back on and right after the white Sony Ericsson logo appears, press the BACK (right) button every half-second until the xRecovery menu appears. If the xRecovery menu does NOT appear, then you did NOT install xRecovery correctly.
[3.d] In the xRecovery menu, select the "Install update.zip from SD Card" option, then wait until it says that the operation completed for the xRecovery menu to reappear.
[3.e] DO NOT REBOOT YOUR PHONE YET, as you will need to proceed with the following steps relatively quickly BEFORE rebooting.​
4. Place your phone's decrypted .sin files in Bin4ry's FlashTool's "FlashToolRelease" folder [4.a], prepare yourself for flashing these files [4.b], then reboot your phone into flash mode [4.c] and flash your e10a .sin files to your phone [4.d/e]:
[4.*] YOU WILL NEED TO PERFORM STEPS [4.c], [4.d] AND [4.e] QUICKLY, SO DO NOT PROCEED BEFORE HAVING DOWNLOADED THE NECESSARY FILES AND PREPARED YOURSELF FOR THESE STEPS!
NOTE: Users who did not need to flash the Nordic firmware [2.a] do not need to follow any of the following steps and can simply choose the reboot option in the xRecovery menu now. ALL OTHER USERS MUST CONTINUE.
[4.a] Remember step 1? This is where you'll be using those .sin files! Place the folder containing your phone's .sin files into Bin4ry's FlashTool's "FlashToolRelease" folder.
[4.b] Run x10flash.bat, click Flash and select the folder that you just placed, just like in the guide linked to in step [2.a], but DO NOT PRESS OK YET.
[4.c] Select the "Reboot" option on your phone, in the xRecovery menu.
[4.d] Preferably BEFORE the ANIMATED Sony Ericsson logo appears (i.e. while the white Sony Ericsson logo is still there), plug your phone into your computer via USB cable, then press the BACK (right), HOME (middle) and POWER (top) buttons at the SAME TIME and hold them until the phone's GREEN LED is on.
[4.e] In Bin4ry's FlashTool, MAKE SURE that you selected the folder with your phone's .sin files! Click OK in FlashTool and wait for the files to be flashed to your phone. REMEMBER that you should NOT have a system.sin file in your folder or you will have done all of this for nothing!
[4.f] When FlashTool indicates that flashing has completed, unplug your USB cable.
[4.g] Wait 15 seconds. Turn your phone on and wait for it to boot. It may take a while to boot since it will be the first time that you boot since you flashed your phone.​
5. Congratulations! You have flashed your X10 Mini with a pre-rooted firmware with xRecovery pre-installed! ENJOY your (and our) hard work! ;-)
Cheers,
uriah
Thank you very much, I will try it next week end.
I don't understand This :
hen copy the "FILE_xxxxxxxxx" files (there are 3, you will need the two biggest ones - approximately 14MB and 112MB) from "C:\Program Files\Sony Ericsson\Update Service\db\[8 numbers]\blob_fs\" to a folder where you will work with them.
Witch File You need putted To Sony Ericsson Update???
I did all the steps, know a lot of things are missing in the tut and I did a litle thing different, but in one step after I unrar the files I did not find loader.sin
I will try do the step of the files again, if I dont post a reply about it is bcs I coud not find the loader.sin
the things that I did different
if I rename tgz to zip I cant open or extract but if I rename to rar I can
and in the tut do not explain that need to use comands in prompt like:
C:\ConvertTool>SeusDecrypt FILE_277756147
but I will be very great if all will work
ed- still problem to find loader.sin, the rest are ok
mini e10a
@ dionei:
- for the seusdecrypt.bat explanation, please refer to step [1.d]/[1.a]:
[1.d] Run SEUSDECRYPT.BAT as explained in the guide linked to in step [1.a] to obtain your decrypted .sin files.
- for the loader.sin file, you're right, I did indeed forget to mention what to do for loader.sin, so I will update the tutorial. please see step [1.d] again.
@ redbike:
you need to find the "FILE_xxxxxxxxx" files inside "C:\Program Files\Sony Ericsson\Update Service\db\[8 numbers]\blob_fs\" and copy them to another directory in which you will decrypt these files.
cheers,
uriah
[TUT] Appendix A:
Due i had to make new account and new kitchen thread here is new link to kitchen:
http://forum.xda-developers.com/showthread.php?t=925028
it is now "universal" for XPERIA Android phones (still lacks support for x10mini pro due i'm not in that subforum too much. You must admit it is different world, much more devs than in x10 mini subforum).
I've read this a couple of times and i still dont understand the 1st step.
I've got the FILE(s)_xxxxxxxx on the same folder as the convert tool:
C:\ConvertTool\FILE_xxxxx
On cmd i tried and run:
C:\ConvertTool>SEUSDECRYPT.BAT FILE_XXXXXXXX
SEUSDECRYPT FILE_XXXXXXXX
Im probably doing something wrong so if you could help me i would be grateful.
Found the solution ignore.
Hy,
My friend, can you plz decrypt this file?
CRYPTED 2.1.1.A.0.6(latest) for someone to decrypt correctly.
http://www.megaupload.com/?d=601618QL
Its lates firmware for e10i.
pedrocel85 said:
Hy,
My friend, can you plz decrypt this file?
CRYPTED 2.1.1.A.0.6(latest) for someone to decrypt correctly.
Its lates firmware for e10i.
Click to expand...
Click to collapse
Hi my friend..!!
here is that applying for:
the decryptred files of latest firmware
for e10i..(2.1.1.A.0.6)..!!
Enjoy it..!!!
.megaupload.com/?d=9FACST9X
P.S...Sorry but i can't post any link yet..
Hi....
To decrypt SE files, I´ve tried with flashtool in avanced-->decrypt and it seems ok
With flashtool you don´t need convertfiles nor rename files to .zip....
Flashtool converts "C:\Program Files\Sony Ericsson\Update Service\db\[8 numbers]\blob_fs\xxxxx..." into xxxxx.sin files directly.
flashtool link:
http://forum.xda-developers.com/showthread.php?t=920746
sorry for my english
cazador1377 said:
Hi....
To decrypt SE files, I´ve tried with flashtool in avanced-->decrypt and it seems ok
With flashtool you don´t need convertfiles nor rename files to .zip....
Flashtool converts "C:\Program Files\Sony Ericsson\Update Service\db\[8 numbers]\blob_fs\xxxxx..." into xxxxx.sin files directly.
flashtool link:
http://forum.xda-developers.com/showthread.php?t=920746
sorry for my english
Click to expand...
Click to collapse
thanks, finaly I can now decrypt
thanks man it worked
xrecovery not workin
Spent a whole evening trying to get xRecovery to work on a X10 Mini, used the 0.3 installer, the 1.0 installer, removed everything, copied the 3 files (and also tried moving) with root explorer, changed permissions, removed everything, tried X10 flashtool: cannot boot into xRecovery mode!
Believe me: I'm not new to flashing android phones, I read every forumpost on the subject, I cannot get this to work.
I did upgrade to the latest SE firmware 2.1-update 1 (build nr 2.1.1.A.0.6), maybe that's blocking xRecovery somehow?
Any ideas?
Elio
@uriahheep @ Everybody else wh can help
Well ppl this might be off topic or considered as a spam .... but kindly apologize me for that, as I can't find much help with the issue that I'm facing !!
Kindly goto this link and plz plzz plzzz help me sort out the Issue !! I have an E10i Xperia Mini and rest of the issue details are in the link below:
http://forum.xda-developers.com/showthread.php?t=1243081
I desperately need help from someone who has been dealing with these X10 Mini phones ! I've Rooted/Rom'd HTC desire and Huawei Ideos but never ever ran into such Firmware related issues !! PLZZ PLzz PLzzz help me, its already been over a week and I haven't been able to find a single thing working for me !! =(
what exactly does SIMLOCK.TAR FILE?

[Q] bundelling files in flashtool

""HOW TO BUNDLE YOUR BASEBAND & KERNAL FILES WITH THE FLASH TOOL.
A. Place the files from inside the baseband folder from your rom you downloaded in the firmware folder within the flashtool.
B. Click on advanced in the flash tool window and click create bundle. Select amss.sin and other .sin files
>Enter model name x10.
>Baseband: enter your baseband
>Branding: enter which rom your going to be using
C. Create bundle and select all of the sin files you placed into the firmware folder.
D. Click flash... you should now see your baseband file. Unchecked wipe user data if you don't want to wipe everything on your phone and simply just want to swap basebands.
E. Flash it in flash mode. Flash Tool will ask you to connect in flash mode.
To enter Flash mode:
A. Switch off your phone
B. Reconnect the usb to the phone and at the same time keep the back key pressed continuously""[/SIZE][/SIZE][/SIZE][/B]
can anyone explain to me the step after we click on bundle creation. my problem is that when i choose bundle creation in flashtool, no files are shown in the dialog box to choose from. i have copied the extracted .ftf files in the firmware folder.
jattbains said:
""HOW TO BUNDLE YOUR BASEBAND & KERNAL FILES WITH THE FLASH TOOL.
A. Place the files from inside the baseband folder from your rom you downloaded in the firmware folder within the flashtool.
B. Click on advanced in the flash tool window and click create bundle. Select amss.sin and other .sin files
>Enter model name x10.
>Baseband: enter your baseband
>Branding: enter which rom your going to be using
C. Create bundle and select all of the sin files you placed into the firmware folder.
D. Click flash... you should now see your baseband file. Unchecked wipe user data if you don't want to wipe everything on your phone and simply just want to swap basebands.
E. Flash it in flash mode. Flash Tool will ask you to connect in flash mode.
To enter Flash mode:
A. Switch off your phone
B. Reconnect the usb to the phone and at the same time keep the back key pressed continuously""[/SIZE][/SIZE][/SIZE][/B]
can anyone explain to me the step after we click on bundle creation. my problem is that when i choose bundle creation in flashtool, no files are shown in the dialog box to choose from. i have copied the extracted .ftf files in the firmware folder.
Click to expand...
Click to collapse
dude .ftf files are already bundled..!! you cant bundle them.. they are ready to be flashed..!!
files that can be bundled are .sin files which are converted into .ftf files after creating bundle. they are ready to be flashed..!!

[Q] i need a mini or mini pro system dump

Members,help!Where can i find them stock Xperia Mini or mini pro system dump? 4.1.B.0.431 or 4.1.B.0.587...no firmware...
sandorjuraszik said:
Members,help!Where can i find them stock Xperia Mini or mini pro system dump? 4.1.B.0.431 or 4.1.B.0.587...no firmware...
Click to expand...
Click to collapse
You can make your own system dump. Download .587 ftf and keep it in firmwares. Then open it with winrar and extract system.sin. Then Open flashtool and go to SIN Editor under tools (be sure that you are in advanced mode under the file menu). Then select the system.sin in firmwares and press dump data. Then under tools menu, go to extractors---> Yaffs2. Go to the firmwares folder. You will find only one file. Select that and wait until the data extraction in finished. Done!! Then go to the firmwares folder and look for a folder call "system_content". It will work for all 2011 Xperia devices.
Press the Thanks button if I helped.
abcdjdj said:
You can make your own system dump. Download .587 ftf and keep it in firmwares. Then open it with winrar and extract system.sin. Then Open flashtool and go to SIN Editor under tools (be sure that you are in advanced mode under the file menu). Then select the system.sin in firmwares and press dump data. Then under tools menu, go to extractors---> Yaffs2. Go to the firmwares folder. You will find only one file. Select that and wait until the data extraction in finished. Done!! Then go to the firmwares folder and look for a folder call "system_content". It will work for all 2011 Xperia devices.
Press the Thanks button if I helped.
Click to expand...
Click to collapse
DONE! but what im doing this file???
sandorjuraszik said:
DONE! but what im doing this file???
Click to expand...
Click to collapse
There are some programs like "Linux Reader for Windows" or "Yaffey". With such programs you can open it
mihahn said:
There are some programs like "Linux Reader for Windows" or "Yaffey". With such programs you can open it
Click to expand...
Click to collapse
ok) it work thanks bro! :victory:
sandorjuraszik said:
ok) it work thanks bro! :victory:
Click to expand...
Click to collapse
You can extract a yaffs2 file using flashtool itself. Go to tools---->Extractors----->Yaffs2. Choose the yaffs2 file and begin the dumping process. You will get a folder called "system_content" which is the entire system folder of the stock rom. I have confirmed that this works.

WT19i official GB build 4.0.2.A.0.62 "flashable zip" plz ?!

as the title said ,i want the official GB rom for wt19i as flashable "Zip file" please !
miz0ooo0 said:
as the title said ,i want the official GB rom for wt19i as flashable "Zip file" please !
Click to expand...
Click to collapse
here is one
http://www.mediafire.com/download/dacbs4mb2fc9rrv/GB_4.0.2.A.0.84_LWW.zip
.
.
.
but i'd suggest you create 1 urself.
method
1. Get the stock rom .ftf file open it and get the system.sin out via winrar
2. Then open Flashtool and select sin editor. and then select the system.sin u just unpacked.
3. Select Dump data and you will get a file with extention like yalf2 or something which will be arroun 400-500 MBs
4. Then Go to Flashtool >advanced > decrypt file > yalf2
5. Then Select The file and after its decrypted then u can get the /system folder
get the META-INF from here- http://forum.xda-developers.com/attachment.php?attachmentid=1791669&d=1362840715
7 . Archive The two folders with winrar to zip using only store compression
.
.
Then flash it

working script for .70 firmware

has anyone got a working script for oreo .70 iv tried numerous firmwares and even some of the other scripts from the previous firmwares but evertime i try to flush in flashtool i get the no script found error im using single sim thanks
exract anf PASTE the attached file to
C:\Users\<user>\.flashTool\devices\F51XX
and try again
however if the package (ftf) was packed without script! then this may not solve issue
you need to redownload the ftf package from Flashtool >> xperifirm >>2016 >> SUZU>> F512x>> build/country & download.... once downloaded, close window and xperifirm and FLASHTOOL will automatically start creating ftf file ,,, and will PROMPT YOU TO INCLUDE SCRIPT (CLICK YES) and ftf will be created at C:\Users\<user>\.flashTool\firmwares
you can delete contents in C:\Users\<user>\.flashTool\firmwares\Downloads
try flashing now
YasuHamed said:
exract anf PASTE the attached file to
C:\Users\<user>\.flashTool\devices\F51XX
and try again
however if the package (ftf) was packed without script! then this may not solve issue
you need to redownload the ftf package from Flashtool >> xperifirm >>2016 >> SUZU>> F512x>> build/country & download.... once downloaded, close window and xperifirm and FLASHTOOL will automatically start creating ftf file ,,, and will PROMPT YOU TO INCLUDE SCRIPT (CLICK YES) and ftf will be created at C:\Users\<user>\.flashTool\firmwares
you can delete contents in C:\Users\<user>\.flashTool\firmwares\Downloads
try flashing now
Click to expand...
Click to collapse
many thanks i downloaded them but i set it to not auto decrypt them so im guna presume if i put the file in place and decrypt them again it should be good i hope =)

Categories

Resources