[TUTORIAL] Extract system folder from ftf [WINDOWS][By GEKTHEBOSS] - Sony Xperia P, U, Sola, Go

Hey guys im proud to present you this tutorial that will be updated with more link and screenies.
STEP 0 :Download 7Zip,Ext2Read,FlashTool from their sites(just google)
STEP 1 :Install these program correctly on C: (ext2read must be extracted on C:,isnt installable)
STEP 2 :Now pick a whatever ftf(you can found it in this section) and put on C:
STEP 3 :Now right click on the ftf file,select 7zip,select Open.
STEP 4 :Now extract system.sin on C:
STEP 5 :Now open Flashtool,click tools,click sin editor,select your system.sin,click dump data
STEP 6 :After flashtool finish click close and exit from it
STEP 7 :Now on C: you will have system.ext4 and a random system? File.
STEP 8 :Now open ext2read and click folder icon,select system.ext4 file,select open and select the folder like (C:/) in the 1st whhite window and click floppy icon,now ext2read will save the system folder on C: .
Finish!!! Please hit thanks if i helped

Reserved more
Motivami a continuare il develop cliccando Thanks/
Keep up my develop hitting Thanks!!!
_

Thank YOU. HELPED CLICKED

Thanks buddy.......... It helped.............

You can tell How to pck the edited files into system.sin again and then to ftf again??

jatinrungta said:
You can tell How to pck the edited files into system.sin again and then to ftf again??
Click to expand...
Click to collapse
No way to do this
Sent from my Xperia U using xda app-developers app

jatinrungta said:
You can tell How to pck the edited files into system.sin again and then to ftf again??
Click to expand...
Click to collapse
bro you will have to create a new .zip file out of the edited system files.......... and also with META-INF so that it can be flashed via CWM......... There is no way to create an ftf file from this again...............

Better move this general section since it's common to all 2012Xperia devices...
Sent from my ST25i using xda premium

Cant we the repack modded system.sin to ftf?
Sent from my ST25i using xda app-developers app

PrakashGD said:
Cant we the repack modded system.sin to ftf?
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
No

GEKTHEBOSS said:
No
Click to expand...
Click to collapse
So we cant change apps in stock firmware right?
Sent from my ST25i using xda app-developers app

R: [TUTORIAL] Extract system folder from ftf [WINDOWS][By GEKTHEBOSS]
PrakashGD said:
So we cant change apps in stock firmware right?
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
Yes ! Very sad!
Upp

If I extract system.sin only can see the app folder, the others folders are empty, why? How can I get the others folders?

Im missing the files
CERT.RSA
CERT
and the folder COM
in the META-INF FOLDER.
Is this a problem when you flash the rom in to your phone ?

xperia_bird said:
Im missing the files
CERT.RSA
CERT
and the folder COM
in the META-INF FOLDER.
Is this a problem when you flash the rom in to your phone ?
Click to expand...
Click to collapse
CERT.RSA & CERT aren't important
but you need the /com folder because it contains the updater-script, which tells the ROM how and where to be flashed
so you can't flash a zip unless you have the com folder, you need to download one (it is kinda standard)

omarainea said:
CERT.RSA & CERT aren't important
but you need the /com folder because it contains the updater-script, which tells the ROM how and where to be flashed
so you can't flash a zip unless you have the com folder, you need to download one (it is kinda standard)
Click to expand...
Click to collapse
So I can just copy it from a custom rom thats is made for my device ?

xperia_bird said:
So I can just copy it from a custom rom thats is made for my device ?
Click to expand...
Click to collapse
Well yes but it would be much recommended if you copy it from a stock flashable Sony firmware ROM (not AOSP based ROM like CM or PAC)

omarainea said:
Well yes but it would be much recommended if you copy it from a stock flashable Sony firmware ROM (not AOSP based ROM like CM or PAC)
Click to expand...
Click to collapse
ı see, but the problem is that I am searching for a stock zip flashable firmware. there is none :crying:
thats why I extract the FTF file than extract the system.sin.
I got my Meta-inf folder with only one file inside, got the system folder
but also no boot image? what can I do about that ?

There's no "meta-inf" folder in .sin or .img ROMs as it's a hack used to support permissions (as .zip files don't allow for them) and allow incremental updates where the .zip doesn't contain the whole /system partition

Related

DSIXDA kitchen : will it work on neov ??

Hello i wanted to know if i can cook ROM using DSIXDA's kitchen for neov ?? If yes what are the files which i will need besides the kitchen ??
Yes. You need system.img.
Madfysh said:
Yes. You need system.img.
Click to expand...
Click to collapse
Thanks System.img of stock ROM right ??
Abhiheart said:
System.img of stock ROM right ??
Click to expand...
Click to collapse
If you are starting from stock, then yes.
Madfysh said:
If you are starting from stock, then yes.
Click to expand...
Click to collapse
Can you tell me a software to extract system.img from the .ftf ??
Abhiheart said:
Can you tell me a software to extract system.img from the .ftf ??
Click to expand...
Click to collapse
use flashtool->advanced->sin editor
Madfysh said:
use flashtool->advanced->sin editor
Click to expand...
Click to collapse
Thanks
Does kitchen support .431 stock or .562 ..i previously read somewhere that it only supports .562 ...
Abhiheart said:
Thanks
Does kitchen support .431 stock or .562 ..i previously read somewhere that it only supports .562 ...
Click to expand...
Click to collapse
It works with both.
btw: http://forum.xda-developers.com/showthread.php?t=1632515
Madfysh said:
It works with both.
btw: http://forum.xda-developers.com/showthread.php?t=1632515
Click to expand...
Click to collapse
Thanks again and i found that thread later after creating my thread ..thanks for it
Abhiheart said:
Thanks
Does kitchen support .431 stock or .562 ..i previously read somewhere that it only supports .562 ...
Click to expand...
Click to collapse
I cannot find sin editor in flashtool using ver 0.6.9
.431 firmware
@ Madfysh
if i want to cook a custom ROM using latest .431 from the ftf's you uploaded, which one should i download (i want the world/global firmware)
thanks
Abhiheart said:
I cannot find sin editor in flashtool using ver 0.6.9
Click to expand...
Click to collapse
Abhi,
is this what you referring to?
Use NANDROID backup instead of FTF. Cooking ROM from FTF is very lengthy procedure.
bombayboy said:
Abhi,
is this what you referring to?
Click to expand...
Click to collapse
Yup ..it is : ) how can i get it ??
sainath23 said:
Use NANDROID backup instead of FTF. Cooking ROM from FTF is very lengthy procedure.
Click to expand...
Click to collapse
What files of nandroid backup i need ?? I hv a CWM backup of my stock
Abhiheart said:
What files of nandroid backup i need ?? I hv a CWM backup of my stock
Click to expand...
Click to collapse
Copy "System.yaffs2.img" file from your memory card CWM backup folder to your PC local drive and extract it using "unyaffs.exe" for that give command "unyaffs system.yaffs2.img". It will extract your system folders and files. After extracting complete delete "lost-found" and "sd" folder if present.
Abhiheart said:
Yup ..it is : ) how can i get it ??
Click to expand...
Click to collapse
I installed the latest flashtool
Sent from my MT11i using Tapatalk 2
sainath23 said:
Copy "System.yaffs2.img" file from your memory card CWM backup folder to your PC local drive and extract it using "unyaffs.exe" for that give command "unyaffs system.yaffs2.img". It will extract your system folders and files. After extracting complete delete "lost-found" and "sd" folder if present.
Click to expand...
Click to collapse
Thanks i did that already ..but kitchen needs system.img file ?? how to get that ?? I dont want to extract ..but find system.img
Use the system.img from a nandroid back up is easiest way to start. Just copy to working directory from SD card
Sent from my MT11i using xda app-developers app
Abhiheart said:
Thanks i did that already ..but kitchen needs system.img file ?? how to get that ?? I dont want to extract ..but find system.img
Click to expand...
Click to collapse
Arey yaar why you need system.img! Create new folder in kitchen and give it name as WORKING_XXX and put these system folders and files which you have extracted from system.yaffs2.img and also put the META-INF folder and Kernel (boot.img) in your WORKING_XXX folder. After that start DSIXDA kitchen and change the updater-script into update-script. Now you can able to modify your ROM as you want. After your modification complete change the update-script to updater-script. Go to META-INF folder and edit updater-script and remove following line :
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
Click to expand...
Click to collapse
Now select 99 build your ROM. Thats it!

From FTF to flashable zip ?

Hey,
I want to work on my own rom for my Mini Pro. I downloaded the SK17i_4.1.B.0.587_VODAFONE ES WORLD.ftf file and want to convert it in a flashable zip in order to use it in the kitchen.
I tried these two methods :
[Windows] http://forum.xda-developers.com/showthread.php?t=1849867
[Linux] http://forum.xda-developers.com/showthread.php?t=1513146
However, both are not working. I get errors that are still not fixed.
Do you guys use another method ?
Thanks.
If the decompression of the sin files doesn't work try it with flashtool, first decrypt with tools -> decrypt, you'll get a yaffs2 file from it and then extract yaffs2 with tools -> extract-> yaffs2 then you'll get a folder with the contents of the sin file
Sent from my xperia mini pro running cm10
Thanks I got it working that and extracted the content of the cace, data & system yaffs2 files. From there, what do you guys advice ? Should I turn it into a flashable zip right away ? If so how ? If not, can those extracted folder be used in the kitchen from the get go ?
I'm sorry for those newbies question but I'm just starting on this. If you got a good tutorial, don't hesitate to share !
DannyBiker said:
Thanks I got it working that and extracted the content of the cace, data & system yaffs2 files. From there, what do you guys advice ? Should I turn it into a flashable zip right away ? If so how ? If not, can those extracted folder be used in the kitchen from the get go ?
I'm sorry for those newbies question but I'm just starting on this. If you got a good tutorial, don't hesitate to share !
Click to expand...
Click to collapse
No you can't straight away use just the system folder . You need a meta-inf folder, updatebinary and updater-script specific for your device. I can help with that if you are interested.
hit thanks if I've helped!
sent from my smultron
U need to sign the zip file too
Sent from my MANGO using Tapatalk 2
bandarigoda123 said:
U need to sign the zip file too
Sent from my MANGO using Tapatalk 2
Click to expand...
Click to collapse
If I'm right the meta inf folder is the signing part
hit thanks if I've helped!
sent from my smultron
gouthamthemostwanted said:
If I'm right the meta inf folder is the signing part
hit thanks if I've helped!
sent from my smultron
Click to expand...
Click to collapse
Are u sure..then I was wrong
Sent from my E16i using Tapatalk 2
bandarigoda123 said:
Are u sure..then I was wrong
Sent from my E16i using Tapatalk 2
Click to expand...
Click to collapse
I said it because I've never signed any Rom using signing softwares. I just zip it with meta-inf folder.
hit thanks if I've helped!
sent from my smultron
gouthamthemostwanted said:
No you can't straight away use just the system folder . You need a meta-inf folder, updatebinary and updater-script specific for your device. I can help with that if you are interested.
hit thanks if I've helped!
sent from my smultron
Click to expand...
Click to collapse
I would love you to teach me !
I've been toying around developping roms for months now and the Mini Pro seems a good device to start with...
Okay first for the sake of meta-inf folder's file structure, do you have any copy of of a working custom Rom for your device? If yes then open the Rom zip file and you would find a meta-inf folder inside the zip file . Just extract the meta-inf folder and zip just the meta-inf folder and upload it here.
hit thanks if I've helped!
sent from my smultron
So I just use the the meta-inf folder of any similar rom and it will be "flashable" one zipped together ? I wouldn't though it was that easy...
Thanks !
Will try and report.
Ya it should be sufficient but there might be some junk code in it or missing codes for setting permission and symlinks for your Rom so only I asked you to upload it to check for some errors in updater-script . Just open the meta-inf folder and go through the folders and find updater-script file, open it with any text editor (notepad ++ recommended) and just go through the code you'll get some idea.
hit thanks if I've helped!
sent from my smultron
DannyBiker said:
So I just use the the meta-inf folder of any similar rom and it will be "flashable" one zipped together ? I wouldn't though it was that easy...
Thanks !
Will try and report.
Click to expand...
Click to collapse
Hey man check my signature, I created a tutorial to create flashable zip from ftf . It'll be useful for you.
hit thanks if I've helped!
sent from my smultron

[Q] About official update service ,how to extract to set kernal only. (*.ftf)

About official update service file to make *.ftf , chose big two file to make it(ex: 300 mb) by flashtool.
How can I extract the file to make kernal file only(ex:4 mb).
I want to make root.
Please tell me, thx.
tw-bird said:
About official update service file to make *.ftf , chose big two file to make it(ex: 300 mb) by flashtool.
How can I extract the file to make kernal file only(ex:4 mb).
I want to make root.
Please tell me, thx.
Click to expand...
Click to collapse
post something which can be understood and yeah we appreciate for posting in the right forum atleast. please edit your post and explain in an appropriate way then anyone can understand and reply to you
That is not possible..
Sent from my WT19i using xda app-developers app
tw-bird said:
About official update service file to make *.ftf , chose big two file to make it(ex: 300 mb) by flashtool.
How can I extract the file to make kernal file only(ex:4 mb).
I want to make root.
Please tell me, thx.
Click to expand...
Click to collapse
From what i understand, u want to extract only the kernel file from the official firmware .ftf file that u have right???
here is what u gotta do.
1. first download 7zip application(google it).
2. then right-click on your .ftf file from wich u want to extract the kernel and select 7zip.
3. then select extract files and select their destination folder.
4. after extraction u should be able to see various .sin files among them u ll have ur kernel.sin.

[Q] Xperia Go Jelly Bean System Dump

Hi
Could someone upload the Jelly bean system dump for the Xperia Go (generic worldwide). I tried extracting the ftf but I couldn't.
Thanks.
ShinOrochiX said:
Hi
Could someone upload the Jelly bean system dump for the Xperia Go (generic worldwide). I tried extracting the ftf but I couldn't.
Thanks.
Click to expand...
Click to collapse
use winrar to extract kernel.sin
use flashtool to dump sin data
u will get a file of abt 700-800mb with ext4 format
download ext2read and use it to get system folder
Sent from my Xperia U using Tapatalk 2
drsanket_xperia_u said:
use winrar to extract kernel.sin
use flashtool to dump sin data
u will get a file of abt 700-800mb with ext4 format
download ext2read and use it to get system folder
Sent from my Xperia U using Tapatalk 2
Click to expand...
Click to collapse
I tried it and it works however I have a problem, I managed to extract the system/app folder and its contents but for every other folder I extract it is empty, even though it shouldn't be e.g. the system/media folder is empty in the ext2read explorer. Why is this?
drsanket_xperia_u said:
use winrar to extract kernel.sin
use flashtool to dump sin data
u will get a file of abt 700-800mb with ext4 format
download ext2read and use it to get system folder
Sent from my Xperia U using Tapatalk 2
Click to expand...
Click to collapse
Problem solved! I updated Flashtool to the latest version and followed the steps and it worked. Thanks for the help! :good:
Isnt this for Q&A section?
Hello OP!!
God that ur problem is solved but can u upload framwork-res apk.from go jb updaze??
Please,please i only need this one apk...
Anyway thanks..
Peace,bejunk
bejunk said:
Hello OP!!
God that ur problem is solved but can u upload framwork-res apk.from go jb updaze??
Please,please i only need this one apk...
Anyway thanks..
Peace,bejunk
Click to expand...
Click to collapse
Tried attaching it via xda uploader but couldn't, anyway here is the link:
http://temp-share.com/show/f3Ygit3un
@ bejunk
Hahahaha lol-I just saw your signature image, nice one.
Thanks man,
I think thats real apple style, tey do so also with flash (adobe)
And 2 nd thanks for the fast answer un up(load)...:good:
Keep up the good work, peace, bejunk

[Q] xperia u .100 original systemUI :(

hello. I did not get a backup of the original application for systemUI lost xperia u .100. : (Is there someone who can help me with this? English is a little bad, so I'm sorry ... I hope what I'm saying. :/
bcik said:
hello. I did not get a backup of the original application for systemUI lost xperia u .100. : (Is there someone who can help me with this? English is a little bad, so I'm sorry ... I hope what I'm saying. :/
Click to expand...
Click to collapse
Re-flash ROM is the best idea.
this is the right call. however, time-consuming and troublesome to deal with. so I wanted to systemUI original. I'd appreciate your help in this regard, and much mercy.
bcik said:
this is the right call. however, time-consuming and troublesome to deal with. so I wanted to systemUI original. I'd appreciate your help in this regard, and much mercy.
Click to expand...
Click to collapse
If you have the FW FTF you can extract the sistem.sin from it (with 7-Zip or other software)
Then you extract it's content with flashtool -> Tools -> Sin Editor..
Then you need to get ext4_unpacker and you can extract anything you want from it.
I'd gladly U/L it but I have Xperia P not U.
ChikeD said:
If you have the FW FTF you can extract the sistem.sin from it (with 7-Zip or other software)
Then you extract it's content with flashtool -> Tools -> Sin Editor..
Then you need to get ext4_unpacker and you can extract anything you want from it.
I'd gladly U/L it but I have Xperia P not U.
Click to expand...
Click to collapse
information that was very useful for me ... Thank you for your interest ..
ChikeD said:
If you have the FW FTF you can extract the sistem.sin from it (with 7-Zip or other software)
Then you extract it's content with flashtool -> Tools -> Sin Editor..
Then you need to get ext4_unpacker and you can extract anything you want from it.
I'd gladly U/L it but I have Xperia P not U.
Click to expand...
Click to collapse
Where did you say, but I can not find the extracted file :/
bcik said:
Where did you say, but I can not find the extracted file :/
Click to expand...
Click to collapse
In whqat stage?
ChikeD said:
In whqat stage?
Click to expand...
Click to collapse
flashtool / tools / sin editor has taken the step where I did, but I could not find the file. I guess I do not fault the place ... :/
bcik said:
flashtool / tools / sin editor has taken the step where I did, but I could not find the file. I guess I do not fault the place ... :/
Click to expand...
Click to collapse
Where did you put the system.sin file?
ChikeD said:
Where did you put the system.sin file?
Click to expand...
Click to collapse
I put the section file to sin? my english is not good at doing what you say about the error. I'm back again, but did not.
bcik said:
I put the section file to sin? my english is not good at doing what you say about the error. I'm back again, but did not.
Click to expand...
Click to collapse
FTF file is just a zip file, inside it there is a file system.sin you should extract from it.
Any archiving software should be able to do it.
After extracting system.sin, open flashtool go to tools -> sin editor.
Click the 3 dots and select system.sin, click extract data.
When finished there will be 2 more files in the same directory of system.sin, system.partinfo and system.ext4.
system/ext4 is the file you need.
Get ext4_unpacker http://forum.xda-developers.com/showthread.php?t=1921399
With it you can extract any file you want from system.ext4
ChikeD said:
FTF file is just a zip file, inside it there is a file system.sin you should extract from it.
Any archiving software should be able to do it.
After extracting system.sin, open flashtool go to tools -> sin editor.
Click the 3 dots and select system.sin, click extract data.
When finished there will be 2 more files in the same directory of system.sin, system.partinfo and system.ext4.
system/ext4 is the file you need.
Get ext4_unpacker http://forum.xda-developers.com/showthread.php?t=1921399
With it you can extract any file you want from system.ext4
Click to expand...
Click to collapse
that's great ... I had the problem took care of him now. You saved me out of trouble, and you gave it to me thank you very much ...
Here, I uploaded the original SystemUI.apk for you from B.1.100
Mayank7795 said:
Here, I uploaded the original SystemUI.apk for you from B.1.100
Click to expand...
Click to collapse
thank you very much ...
bcik said:
thank you very much ...
Click to expand...
Click to collapse
XDA Rules: If you need to thank a person, press thanx button instead of posting it.
Sent from my Xperia U using xda app-developers app
Mayank7795 said:
XDA Rules: If you need to thank a person, press thanx button instead of posting it.
Sent from my Xperia U using xda app-developers app
Click to expand...
Click to collapse
I'm sorry, but now the rule rather than think of it when you bring the new site

Categories

Resources