How to extract .ftf file?? - XPERIA X10 Q&A, Help & Troubleshooting

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

Related

[APP] Xperia ROM Manager

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.

Modifying stock rom

I am very interested in ROM developing, the problem is i am a beginner. I tried to look for some guides, but they are quite hard to find to be honest. If i would want to modify stock rom what should i do? Although i could not find it i thought this could be an option:
- flash stockrom through odin
- modify stockrom
- make backup and copy system.img
- in a flashable zip you have the system directory, but how do you obtain this directory from system.img, what program do i need? Simple mounting program poweriso didn't recognize the image. I thought it might be possible to directly extract the required files from the odin package, but not find a guide for this?
Use MagicISO to extract system.img
Sent from my GT-S5830 using Tapatalk
Use 7zip to extract system.img from odin's md5 file.
Sent from my GT-S5830 using Tapatalk
how about dsixda kitchen??
you know you are rooted when you use XDA more than FB
Dragonoid said:
how about dsixda kitchen??
you know you are rooted when you use XDA more than FB
Click to expand...
Click to collapse
dsiXDA kitchen should be used only to zip-align, deodex and repack everything to flashable zip. It isnt really good at extracting .img files (personal opinion).
Read ketut's blackhawk rom's 2nd post for more info about dsiXDA kitchen
Sent from my GT-S5830 using Tapatalk
Probably a dump question, but when i extract the md5 file i obtained only a boot.img file and a recovery.img file, system.rfs file and some other files. Where is the system.img file located? I can't load the .img files with magic iso.
acceleratus said:
Probably a dump question, but when i extract the md5 file i obtained only a boot.img file and a recovery.img file, system.rfs file and some other files. Where is the system.img file located? I can't load the .img files with magic iso.
Click to expand...
Click to collapse
Open magicISO. Click on open -> navigate to system.rfs. It will load up all folders inside system.rfs. Select all -> right click -> extract all
Sent from my GT-S5830 using Tapatalk
Use my guide to get a better understanding of roms.
Sent from my GT-S5830 using XDA
I'm interested in extracting a stock rom from my s5830i to computer
Can someone help me with that. I'm not a newbie

How to Extract kernel, Meta_inf and Rom from FTF file

Hi.. I've been trying to extract the FTF file... the unzipping and converting the system.sin works for extracting the system folder, but I also need the META_INF and the stock kernel...
How do i extract it from the ftf file?
I'm trying using the KeiranFTW-Xperia-Toolkit through Ubuntu 12.04 but it gives an error saying libmono.so.0 isnt present... so binary files like unyaffs and sin2img dont work...
DO i need a specific version of ubuntu for this?
Or can anyone provide me a link for the Stock rom in flashable zip format, so that i can get the META_INF and kernel directly...
Thankz..

[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 root and recovery for 23.5.A.1.291 WITHOUT downgrade ???

Hi i am following this tutorial but i am new, not an expert... here "*-power the device off and flash .575 kernel with flashtool ( attached ).NOTE: rename the file from .zip to .ftf ( VERY IMPORTANT )" when i rename .zip to .ftf then it doesnt work, flash tool doesnt pick that .ftf file... please help
shahzadakram67 said:
Hi i am following this tutorial but i am new, not an expert... here "*-power the device off and flash .575 kernel with flashtool ( attached ).NOTE: rename the file from .zip to .ftf ( VERY IMPORTANT )" when i rename .zip to .ftf then it doesnt work, flash tool doesnt pick that .ftf file... please help
Click to expand...
Click to collapse
Hi, i'm not expert too, but i recommend that you download and install the pre-rooted version with recovery of the 23.5.A.1.291, i have this and work without problems.
BrunoAMR said:
Hi, i'm not expert too, but i recommend that you download and install the pre-rooted version with recovery of the 23.5.A.1.291, i have this and work without problems.
Click to expand...
Click to collapse
thanks Brother
Or try this:
https://tapatalk.com/shareLink?url=...share_tid=3437280&share_fid=3793&share_type=t
(Tool) (Locked & Unlocked BL) root and recovery for 23.5.A.1.291 WITHOUT downgrade !
It worked for me flawlessly, but use the script posted somwhere in the end at this thread.
shahzadakram67 said:
Hi i am following this tutorial but i am new, not an expert... here "*-power the device off and flash .575 kernel with flashtool ( attached ).NOTE: rename the file from .zip to .ftf ( VERY IMPORTANT )" when i rename .zip to .ftf then it doesnt work, flash tool doesnt pick that .ftf file... please help
Click to expand...
Click to collapse
When you are using Windows with standard settings and you rename the file, you will get filename.ftf.zip because you don't see the extention with standard settings. Use a different file explorer like Total Commander to rename the file or change the settings to show file extentions in Windows.
epr said:
When you are using Windows with standard settings and you rename the file, you will get filename.ftf.zip because you don't see the extention with standard settings. Use a different file explorer like Total Commander to rename the file or change the settings to show file extentions in Windows.
Click to expand...
Click to collapse
thnx bro, but it was not the problem of extension , actually Flashtool took time to "get devices sync with github" something like this, after that it worked like charm

Categories

Resources