how to convert FTF bundle into rom? - XPERIA X10 Q&A, Help & Troubleshooting

hi all
how can i convert ftf bundle into rom or to its system dump?
thanks

1. Open the .ftf file in some sort of archive manager and extract its content. You should be left with a bunch of .sin files.
2. Find a tool called SIN2IMG. Use this tool on system.sin. You should be left with an .img file.
3. Open the .img file in an archive manager and extract its content. You should now have all of the contents of /system for you to play with.
Pretty sure that's how to do it...
Sent from my x10, rocking Wolf's 2.3.3 + DooMKernel, overclocked to 1.2 GHz...

Frosty666 said:
1. Open the .ftf file in some sort of archive manager and extract its content. You should be left with a bunch of .sin files.
2. Find a tool called SIN2IMG. Use this tool on system.sin. You should be left with an .img file.
3. Open the .img file in an archive manager and extract its content. You should now have all of the contents of /system for you to play with.
Pretty sure that's how to do it...
Sent from my x10, rocking Wolf's 2.3.3 + DooMKernel, overclocked to 1.2 GHz...
Click to expand...
Click to collapse
So with SIN2IMG I just bash in 'SIN2IMG system.sin system.img' ?
And I assume to to repack it, you repack up the /system folder into a .img, use a tool (maybe sin2img?) to convert it to a sin, then re-archive it up as a .ftf using same archive manager?
I'm using 7z..? Would like to have a butchers really, see what's changeable.
Random Question.. could one push binaries like su or apt-get to the phone by stickin' em in with the kernel/system images?
Many thanks!

Which archive manager? I can't mount it and unyaffs gives segmentation error (ubuntu), tried mounting with one from software centre, had an empty folder..
Sent from my LT18i using XDA

Related

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 ?

How to extract .ftf file??

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

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

[Q] Xperia Tablet Z Bootanimation

can anyone upload the original bootanimation from Xperia Tablet Z? maybe it would work on other devices
feizhel_vandrago said:
can anyone upload the original bootanimation from Xperia Tablet Z? maybe it would work on other devices
Click to expand...
Click to collapse
You can download the XTZ bootanimation.zip file from THIS POST. To use it on a different device, you probably will have to edit the desc.txt file contained in the bootanimation.zip file.
Cat McGowan said:
You can download the XTZ bootanimation.zip file from THIS POST. To use it on a different device, you probably will have to edit the desc.txt file contained in the bootanimation.zip file.
Click to expand...
Click to collapse
thanks sir by the way, have you any link for download the full XTZ stockrom file? i wanna take some apk i need walkman widget and keyboard standard sony for tablet
feizhel_vandrago said:
thanks sir by the way, have you any link for download the full XTZ stockrom file? i wanna take some apk i need walkman widget and keyboard standard sony for tablet
Click to expand...
Click to collapse
XTZ_SPG312_10.1.C.0.370_US.ftf - 776.70 MB
Cat McGowan said:
XTZ_SPG312_10.1.C.0.370_US.ftf - 776.70 MB
Click to expand...
Click to collapse
how to extract it sir?
Cat McGowan said:
XTZ_SPG312_10.1.C.0.370_US.ftf - 776.70 MB
Click to expand...
Click to collapse
thank you so much sir
feizhel_vandrago said:
how to extract it sir?
Click to expand...
Click to collapse
Assuming you are using Microsoft Windows, you will need four programs to extract files from the .ftf file.
1. An archive file tool like WinRAR or 7-Zip. Use the tool to extract the system.sin file from the .ftf file. You might have to change the .ftf extension to .rar or .zip to cause WinRAR or 7-Zip to open the file.
2. sin2img.exe. Use it to create a system.img file from system.sin file.
3. Ext2 Volume Manager (aka ext2fsd). It is a Windows driver. Running it will allow Windows to access the EXT4 partitions in the system.img file.
4. OSFMount. Use it to mount/unmount the system.img file as a Windows drive.
When you have the system.img file mounted as a Windows drive, you can extract whatever files you want.
Cat McGowan said:
Assuming you are using Microsoft Windows, you will need four programs to extract files from the .ftf file.
1. An archive file tool like WinRAR or 7-Zip. Use the tool to extract the system.sin file from the .ftf file. You might have to change the .ftf extension to .rar or .zip to cause WinRAR or 7-Zip to open the file.
2. sin2img.exe. Use it to create a system.img file from system.sin file.
3. Ext2 Volume Manager (aka ext2fsd). It is a Windows driver. Running it will allow Windows to access the EXT4 partitions in the system.img file.
4. OSFMount. Use it to mount/unmount the system.img file as a Windows drive.
When you have the system.img file mounted as a Windows drive, you can extract whatever files you want.
Click to expand...
Click to collapse
aye sir i'll try it soon thanks for your help
by the way sir, how to run it all? maybe you have a tutorial

How to extract system.img.ext4?

I accidentally deleted DefaultContrainerService.apk and now I can't install apps. Can someone tell how can I extract system.img.ext4 to get it back?
I think Android Kitchen can do that.
Sent from my GT-I9060I using Tapatalk
7-Zip
7-Zip cannot read .img.ext4 files. I used program called sgs2toext4 and now the file is .ext4.img and 7-Zip can read it but it can't extract any .so files. I need to get libdefcontrainer_jni.so from /system/priv-app/DefaultContrainerService/lib/arm.
PetteriM said:
I accidentally deleted DefaultContrainerService.apk and now I can't install apps. Can someone tell how can I extract system.img.ext4 to get it back?
Click to expand...
Click to collapse
Use for that the EXT2 unpacker tool,
https://androidfrog.com/5gt67f
Select Package and then the directory where you want to extract it.
Doesn't work. It can't save that .so file.
same problem here, i try to extract cache.img from S8 firmware (G950FXXU1AQJ1/G950FOXM1AQJ1/G950FXXU1AQJ1/G950FXXU1AQJ1 , 20171018104053) . using ImgExtractor 1.3.7 it extracts , but the extracted zip cannot be opened by any program, with ext4_unpacker (after i fix the img header 4 bytes using sgs4ext4fs) it gives 'list index out of bounds' when i try to extract the zip, using CacheRipperUX it extracts the zip from img but when i try to open the zip using 7-zip it only sees a few files, when i try to open with Winrar it sees full list but cannot extract any of them because it give archive corrupted.
i found a solution: convert the original cache.img (samsung sparse ext4) to raw ext4 using simg2img , and the resulted .img file open with 7-zip and extract the content. My zip content was extracted correctly.
Is there any app for android which can extract .img files like system.img?

Categories

Resources