create zip file for xrecovery - XPERIA X10 Android Development

First sorry for posting new thread because i didn't find anything useful.
my usb socket got crashed and i can't update my phone by cable(SEUS).
i have xrecovery installed on my phone.
i want to know how to convert original x10 roms(like 435) to update.zip form to install it by xrecovery.

kalpas said:
First sorry for posting new thread because i didn't find anything useful.
my usb socket got crashed and i can't update my phone by cable(SEUS).
i have xrecovery installed on my phone.
i want to know how to convert original x10 roms(like 435) to update.zip form to install it by xrecovery.
Click to expand...
Click to collapse
WHY CANT U USE SEARCH??!!!!
WHY POST IN WRONG SECTION?
anyways to answer ur question:
http://forum.xda-developers.com/showthread.php?t=1054818

DooMLoRD said:
WHY CANT U USE SEARCH??!!!!
WHY POST IN WRONG SECTION?
anyways to answer ur question:
http://forum.xda-developers.com/showthread.php?t=1054818
Click to expand...
Click to collapse
DUDE DOOM CHILL!
1. using Flash Tool - unpack blob stuff..
2. use sin2img to extract system.img from system.sin
3. extract system.img to system with unyaffs unpacker
4. from unpacked folder delete all symlinks
5. create META-INF structure and place update-script use some from 2.1 roms avail on x10 section...
6. pack system & META-INF
7. flash.
so some folder has to have:
system & META-INF >>> pack to some.zip

kalpas said:
First sorry for posting new thread because i didn't find anything useful.
my usb socket got crashed and i can't update my phone by cable(SEUS).
i have xrecovery installed on my phone.
i want to know how to convert original x10 roms(like 435) to update.zip form to install it by xrecovery.
Click to expand...
Click to collapse
This should be where the questions are asked not developers thread.
Sent from my Nexus S using XDA Premium App

any idea where is can get sin2img ? D:

Related

[REQUEST] MINI 2.1 Files so that i can decrypt them for you

Hi,
i modded the flasher it should work now for Minis too.
so please somebody upload the 3!!!! Files from Seus DB Folder of the 2.1 Nordic Rom for X10 Mini and X10 Mini Pro.
If you do so i can decrypt them an upload it together with a flashtool for you.
Best Regards
Bin4ry
With the new SEUS update , those 3 files are impossible to take ( correct me if im wrong )... can you tell which files exactly ? I'll upload..
Thanks a lot
Just let us know where exactly are files located or names of files...
The files should be in "C:\Program Files\Sony Ericsson\Update Service\db"
You can directly decrypt with this tool too!
After that take the new 2.1 Flasher from X10 Forums and put Mini loader.sin and firmware sin files in "firmware" Folder!
Regards
Bin4ry
cocker80 said:
The files should be in "C:\Program Files\Sony Ericsson\Update Service\db"
Click to expand...
Click to collapse
There is lot of files, around 122MB of space..I will zip it and upload somewhere...
stillka said:
There is lot of files, around 122MB of space..I will zip it and upload somewhere...
Click to expand...
Click to collapse
Within the the "blob_fs" folder there should be three files starting with "FILE_*" think thats all we need. FileJumbo http: // filejumbo .com (take the spaces out) is a good free upload place.
cocker80 said:
Within the the "blob_fs" folder there should be three files starting with "FILE_*" think thats all we need. FileJumbo http: // filejumbo .com (take the spaces out) is a good free upload place.
Click to expand...
Click to collapse
Hello,
whole DB directory is here: http://leteckaposta.cz/113967258
Hi
I need some help please, i downloaded all the files but were do they go .. to decrypt and flash and so?
Can someone give us a newbi proof howto pls pls?
kimbo
Thanks will upload soon!
Regards
Bin4ry
Bin4ry said:
Thanks will upload soon!
Regards
Bin4ry
Click to expand...
Click to collapse
Can we roll back to 1.6 using your flasher?
Here you go:
http://forum.xda-developers.com/showthread.php?t=825664
Theoretically you can rollback! Someone must decrypt the rom than you can rollback, minis has the same layout of partitions since the first day they came out!
Regards
Bin4ry
Can somebody upload decrypted 1.6 mini pro so we can use it to rollback to original region when update to 2.1 comes out
yeah. someone need to upload 1.6 rom for backup and rollback purpose.
What abt mini pro?
Sent from my U20i using XDA App
Here is the downgrade to 1.6 for mini pro!
http://forum.xda-developers.com/showthread.php?t=827273
I don't know whether you want it, but here are the 2.1 files for the Mini Pro, Singapore Generic. These may remove any potential keyboard conflicts.
Bin4ry said:
Thanks will upload soon!
Regards
Bin4ry
Click to expand...
Click to collapse
Thaks Bin4ry for your support.
I have a question.
After decrypted my firmware, i got 3 tgz files. Extracted them i got 12 files, 9 *.sin.
Where's the loader.sin the complete my firmware?
Thank you.
I tried to decrypt, but each time the tgz I got are corrupted.
changing com.sonyericsson.cs.generic_2.10.9.13.jar and com.sonyericsson.cs_ma3_common_2.10.9.13.jar by new version found in seus folder (2.10.11.10) don't change anything.
solved : I have to rename tgz into tar then I extract it
and the obtained file have to be renaimed into tgz, then winrar can extract it.
kimb0 said:
Hi
I need some help please, i downloaded all the files but were do they go .. to decrypt and flash and so?
Can someone give us a newbi proof howto pls pls?
kimbo
Click to expand...
Click to collapse
Bin4ary... any tutorial plz, i want to make a backup of my Original Firmware!!!!

how to flash Feralab ICS kernel?

Hello,
I'm trying to install Feralab ICS rom and im stuck as im unable to flash the "ferakernel"
I downloaded the ROM and kernel from below link
http://forum.xda-developers.com/showpost.php?p=25331067&postcount=2452
Now kernel is in .zip format and i cant flash it through flashtool or through CWM as when i try through CWM its gets stuck with out any error messsge... If anyone solved this issue and knows how to go about it please let me know how to do it..
Thanks
Extract it from the zip
Sent from my X10i using xda premium
udupa82 said:
Hello,
I'm trying to install Feralab ICS rom and im stuck as im unable to flash the "ferakernel"
I downloaded the ROM and kernel from below link
http://forum.xda-developers.com/showpost.php?p=25331067&postcount=2452
Now kernel is in .zip format and i cant flash it through flashtool or through CWM as when i try through CWM its gets stuck with out any error messsge... If anyone solved this issue and knows how to go about it please let me know how to do it..
Thanks
Click to expand...
Click to collapse
First, get the ferakernel ics ftf instead zip file placed under subfolder under flashtool. Then, launch the flashtool. Should work normal. Hope helps
Whitefang
whitefang3456 said:
First, get the ferakernel ics ftf instead zip file placed under subfolder under flashtool. Then, launch the flashtool. Should work normal. Hope helps
Whitefang
Click to expand...
Click to collapse
stephenhiscock98............ I know that im not a noob.. please see the link, zip file has meta-inf, kernel.sin and loader.sin files and i dont know how to/unable extract it from zip file...
whitefang3456...... if you know where to find ftf file then please give me a link... i couldnt... btw i know how to flash n all...
udupa82 said:
stephenhiscock98............ I know that im not a noob.. please see the link, zip file has meta-inf, kernel.sin and loader.sin files and i dont know how to/unable extract it from zip file...
whitefang3456...... if you know where to find ftf file then please give me a link... i couldnt... btw i know how to flash n all...
Click to expand...
Click to collapse
The link from senior fera himself is here
http://www.mediafire.com/download.php?bt92v0qpxt9varq
But somehow i cant get link shown, this afternoon i checked its there. Maybe have to wait longer a while. Maybe website busy
I will reply again if found another link for ya. Will try my best Cheers
Whitefang
whitefang3456 said:
The link from senior fera himself is here
http://www.mediafire.com/download.php?bt92v0qpxt9varq
But somehow i cant get link shown, this afternoon i checked its there. Maybe have to wait longer a while. Maybe website busy
I will reply again if found another link for ya. Will try my best Cheers
Whitefang
Click to expand...
Click to collapse
This file does work
Download, rename .txt to .ftf
Place in flashtool/firmware
Flash
Let me know if it works
Maybe fera uploaded a txt by mistake
also a mirror with FTF not zip
http://www.mediafire.com/?5mamz8p47s89yb5
!!!!!!!!!!!!!!!!!!!!!!You can thank me if you like but take a second to thank one of FeraVolts posts HERE please, as its his work, i simply changed the txt into a FTF
!!!!!!!!!!!!!!!!!!THERE MAYBE A REASON BEHIND HIM SAVING AS A .TXT FILE SO READ THE FULL THREAD HERE BEFORE YOU FLASH!!!!!!!!!!!!!!!
Sent from my Xperia X10 using xda premium
Mods please delete the thread... i have got the solution
udupa82 said:
Mods please delete the thread... i have got the solution
Click to expand...
Click to collapse
They don't delete, it will auto archive eventually
Sent from my Xperia X10 using xda premium
can't flash kernel
I can't flash FeraKernel_V4.5_ICS
Error: 09/026/2012 19:26:04 - INFO - Device connected with USB debugging off
09/026/2012 19:26:04 - INFO - For 2011 devices line, be sure you are not in MTP mode
however USB debugging is enabled. I'm successful with root and CWM (no such an error).
Phone rooted and CWM 5 installed via Flashtool.
Tried to load from FeraLab_ICS_v3.zip without kernel. Everything went smooth but in the got stock with Sony Ericsson sign.
Currently have kernel 2.6.29
Please help.

boot.img creation from the stock ftf

Hi everyone,
I'm noob here. I'm using Xperia S. And now learning mote about android.
However I have a question, how can I make boot.img from my ftf file?
Sure, I extracted the ftf, decrypt the kernel.sin into kernel.elf.
From kernel.elf, I decrypt it again and get 4 files, one image (I suppose it is kernel zImage), one ramdisk.gz, one file forgotten and another is elf.4.
Okay, now the problem comes.
The main purpose of me is to change the bootlogo of my Xperia S.
I searched for a day to change the bootlogo, most need to add the rle file into boot.img file (ramdisk).
For sure I read through the site how to unpack, edit and repack the boot image.
The kernel and ramdisk of mine are extracted from ftf but not existing custom Rom,
1. Can I directly use the mkbootimg program to create boot.img? Will it work out?
2. Do I need to aware of any parameters or setting for Xperia S? Since I worried that different devices have diff setting.
3. Is it better to make it on linux? I found mkbootimg.c in c language file but not precompiled program as tutorial, the link given is broken. Can work also?
Sorry, I'm really quite new and very noob, I tried searching and many other things, but still can't figure it out.
Hope that pros here can help me...
Sent from my LT26i using xda app-developers app
Trevor Chuah said:
Hi everyone,
I'm noob here. I'm using Xperia S. And now learning mote about android.
However I have a question, how can I make boot.img from my ftf file?
Sure, I extracted the ftf, decrypt the kernel.sin into kernel.elf.
From kernel.elf, I decrypt it again and get 4 files, one image (I suppose it is kernel zImage), one ramdisk.gz, one file forgotten and another is elf.4.
Okay, now the problem comes.
The main purpose of me is to change the bootlogo of my Xperia S.
I searched for a day to change the bootlogo, most need to add the rle file into boot.img file (ramdisk).
For sure I read through the site how to unpack, edit and repack the boot image.
The kernel and ramdisk of mine are extracted from ftf but not existing custom Rom,
1. Can I directly use the mkbootimg program to create boot.img? Will it work out?
2. Do I need to aware of any parameters or setting for Xperia S? Since I worried that different devices have diff setting.
3. Is it better to make it on linux? I found mkbootimg.c in c language file but not precompiled program as tutorial, the link given is broken. Can work also?
Sorry, I'm really quite new and very noob, I tried searching and many other things, but still can't figure it out.
Hope that pros here can help me...
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
how did you decrypt kernel.sin ? can you explain step by step ? Im also a noob
ShivangDave said:
how did you decrypt kernel.sin ? can you explain step by step ? Im also a noob
Click to expand...
Click to collapse
For how to decrypt the kernel.sin, you can use Flashtool (not Sony official one)
Under Tools (perhaps I remember correctly), there is a option about decrypt SIN, and then you can choose the kernel.sin you want to decrypt.
Have to tried kernel kitchen?
neectron said:
Have to tried kernel kitchen?
Click to expand...
Click to collapse
Yes, I tried Kernel Kitchen by champion at that time after I asked this question since nobody answer this thread.
I use command way to perform this boot.img creation also. It work that time. now forgot some part dy.
Trevor Chuah said:
Yes, I tried Kernel Kitchen by champion at that time after I asked this question since nobody answer this thread.
I use command way to perform this boot.img creation also. It work that time. now forgot some part dy.
Click to expand...
Click to collapse
Oh,now I see question is so old
neectron said:
Oh,now I see question is so old
Click to expand...
Click to collapse
yeah, very old. haha
Anyway, thank you for your kindly reply.
Moving my way toward developer (super noob developer). haha

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

[TUTORIAL] Extract system folder from ftf [WINDOWS][By GEKTHEBOSS]

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

Categories

Resources