Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Knight47
Old
#1  
Knight47's Avatar
Recognized Contributor - OP
Thanks Meter 3932
Posts: 676
Join Date: Mar 2012
Location: Harrow

 
DONATE TO ME
Tutorial [GUIDE]How to make a rooted flashable rom from ftf file[FOR ALL XPERIA PHONES]

Hi friends,

This Guide might be Helpful for all Xperia device Users/Developers


1.First you need to download these 4 files
a)FTF extractor
b)META-INF folder and ROOTING files
c)7zip
d)Notepad++(Optional)

2.Extract ftf extractor anywhere you like

3.Open the *FTF file with 7Zip
You'll see these files and folders
Code:
META-INF
adsp.sin
amss.sin
amss_fs_urushi.sin
apps_log.sin
cache.sin
fota0.sin
fota1.sin
kernel.sin
loader.sin
system.sin
userdata.sin

4
.Extract system.sin to the folder where you extraxt ftf-extractor.

5.Press SHIFT+RIGHT CLICK on the empty space of the folder.You'll see a dialog like this


6.select OPEN COMMAND WINDOW HERE

7.Type
Code:
aIUP.exe system.sin 4096 system

8.If this not work for you use 2048 or 8192 instead of 4096

9.You'll see
Code:
C:\ftf_extractor>aIUP.exe system.sin 4096 system
UnPacking system.sin to system ...
done.

C:\ftf_extractor>
Congratulation now you have extracted System from the ftf file

10.Now open the downloaded META-INF AND ROOT.zip
then,go to system and cut
Code:
app
xbin
bin
and pasteit in your extracted system folder (In step 9)
***Now your rom is rooted*****
OR
You can use Kitchen to ROOT YOUR ROM

11.Then Move your Rooted system folder to the META-INF ZIP
***Now you have made a flashable zip file****

13.(Optional)go to META-INF/com/google/android/updater-script and edit it with Notepad++

Thats all

Lastly, Hit THANKS if you like it... and rate this thread 5-STAR


Knight47
The Following 11 Users Say Thank You to Knight47 For This Useful Post: [ Click to Expand ]
 
Madfysh
Old
(Last edited by Madfysh; 23rd August 2012 at 11:24 PM.)
#2  
Madfysh's Avatar
Recognized Contributor
Thanks Meter 1408
Posts: 2,343
Join Date: Sep 2011

 
DONATE TO ME
That(aZuZu's tool for extract) worked with GB and ICS(only for Neo or Arc) ftf's, it doesn't work for Neo V or Arc S fw's, not sure about Ray.

Only way I found so far is, use flashtool to get yaffs img from system.sin, and then use unyaffs on that .img file to get extracted folders.

EDIT: log
Quote:
C:\Users\Madfish\Desktop\ftf_extractor>aIUP.exe system.sin 4096 system
UnPacking system.sin to system ...
Error: Page size parameter is wrong.
done.

C:\Users\Madfish\Desktop\ftf_extractor>aIUP.exe system.sin 2048 system
UnPacking system.sin to system ...
Error: Page size parameter is wrong.
done.

C:\Users\Madfish\Desktop\ftf_extractor>aIUP.exe system.sin 4096 system
UnPacking system.sin to system ...
Error: Page size parameter is wrong.
done.

C:\Users\Madfish\Desktop\ftf_extractor>aIUP.exe system.sin 8192 system
UnPacking system.sin to system ...
Error: Page size parameter is wrong.
done.

C:\Users\Madfish\Desktop\ftf_extractor>

New to XDA? | Still interested in XDA? | Before you start
You need help OR wanna give feedback?
There's no stupid questions,only stupid answers,BUT,asking question that has already been answered IS stupid!
BEFORE you try anything with your phone,READ,after that,READ a bit MORE.
Always read first post,WITH UNDERSTANDING?
Stock FTF's
The Following 2 Users Say Thank You to Madfysh For This Useful Post: [ Click to Expand ]
 
Knight47
Old
#3  
Knight47's Avatar
Recognized Contributor - OP
Thanks Meter 3932
Posts: 676
Join Date: Mar 2012
Location: Harrow

 
DONATE TO ME
Quote:
Originally Posted by Madfysh View Post
That(aZuZu's tool for extract) worked with GB and ICS(only for Neo or Arc) ftf's, it doesn't work for Neo V or Arc S fw's, not sure about Ray.

Only way I found so far is, use flashtool to get yaffs img from system.sin, and then use unyaffs on that .img file to get extracted folders.

EDIT: log
It worked on ray,mini pro.,neo
It'll work on neo v too but you have to try different compression value.

Sent from my ST18i using Tapatalk 2
 
TheDarkDefender
Old
#4  
TheDarkDefender's Avatar
Senior Member
Thanks Meter 1160
Posts: 1,443
Join Date: Aug 2012
Location: Your Frontal Lobe
Is there any way to make a rom from a nand backup ??


PHONE: Nexus 4 (RasSaber | franco kernel) | AT&T Galaxy S III (stock | locked) | LG Optimus L9 P765 (stock | locked) |

TABLET: Nexus 7 (RasSaber | faux kernel) | Galaxy Tab 2 P3100 (CM10.1 | stock kernel)

THREADS : Nexus 4 Bootloader Unlocking | DarkRom CM10.1 Nightlies[UPDATED] | 4.2 Desk Clock | 4.2 Keyboard+Swype

Don't like my reply? read this
 
music.soul
Old
#5  
music.soul's Avatar
Senior Member
Thanks Meter 452
Posts: 713
Join Date: Feb 2011
Location: Ahmedabad , Guj , In
Quote:
Originally Posted by TheDarkDefender View Post
Is there any way to make a rom from a nand backup ??
Yes there is ..

Take out nandroid backup

now go to the Folder where the backup is there ... extract the System.img through Cygwin ... and you are done!!



PRESS THANKS IF I HAVE HELPED YOU!!

Rom's
Alacritous - First Rom for Galaxy Ace+
Paranoid_Hybrid Cm9 for Xperia Neo/Neo V - PORTED
Paranoid_Hybrid CM10 For Xperia Neo/Neo V - Compiled from Sources
The Following User Says Thank You to music.soul For This Useful Post: [ Click to Expand ]
 
TheDarkDefender
Old
#6  
TheDarkDefender's Avatar
Senior Member
Thanks Meter 1160
Posts: 1,443
Join Date: Aug 2012
Location: Your Frontal Lobe
Quote:
Originally Posted by music.soul View Post
Yes there is ..

Take out nandroid backup

now go to the Folder where the backup is there ... extract the System.img through Cygwin ... and you are done!!
there is a "system.yaffs2" disc image ..Im assuming that is the "System.img" you are referring to..right?


PHONE: Nexus 4 (RasSaber | franco kernel) | AT&T Galaxy S III (stock | locked) | LG Optimus L9 P765 (stock | locked) |

TABLET: Nexus 7 (RasSaber | faux kernel) | Galaxy Tab 2 P3100 (CM10.1 | stock kernel)

THREADS : Nexus 4 Bootloader Unlocking | DarkRom CM10.1 Nightlies[UPDATED] | 4.2 Desk Clock | 4.2 Keyboard+Swype

Don't like my reply? read this
 
Madfysh
Old
#7  
Madfysh's Avatar
Recognized Contributor
Thanks Meter 1408
Posts: 2,343
Join Date: Sep 2011

 
DONATE TO ME
Quote:
Originally Posted by Knight47 View Post
It worked on ray,mini pro.,neo
It'll work on neo v too but you have to try different compression value.
If you find which one to use, let me know.


Quote:
Originally Posted by music.soul View Post
extract the System.img through Cygwin ... and you are done!!
cygwin is environment..
I guess you meant on dsixda's kitchen?

There is unyaffs.exe which work under windows so no need to mess with kitchen.

But yeah, for start kitchen is good.

New to XDA? | Still interested in XDA? | Before you start
You need help OR wanna give feedback?
There's no stupid questions,only stupid answers,BUT,asking question that has already been answered IS stupid!
BEFORE you try anything with your phone,READ,after that,READ a bit MORE.
Always read first post,WITH UNDERSTANDING?
Stock FTF's
The Following User Says Thank You to Madfysh For This Useful Post: [ Click to Expand ]
 
TheDarkDefender
Old
#8  
TheDarkDefender's Avatar
Senior Member
Thanks Meter 1160
Posts: 1,443
Join Date: Aug 2012
Location: Your Frontal Lobe
Quote:
Originally Posted by Madfysh View Post
If you find which one to use, let me know.



cygwin is environment..
I guess you meant on dsixda's kitchen?

There is unyaffs.exe which work under windows so no need to mess with kitchen.

But yeah, for start kitchen is good.
where is this "dsixda" and " unyaffs.exe".. ? could you elaborate,please? Im kinda new to this


PHONE: Nexus 4 (RasSaber | franco kernel) | AT&T Galaxy S III (stock | locked) | LG Optimus L9 P765 (stock | locked) |

TABLET: Nexus 7 (RasSaber | faux kernel) | Galaxy Tab 2 P3100 (CM10.1 | stock kernel)

THREADS : Nexus 4 Bootloader Unlocking | DarkRom CM10.1 Nightlies[UPDATED] | 4.2 Desk Clock | 4.2 Keyboard+Swype

Don't like my reply? read this
 
Madfysh
Old
#9  
Madfysh's Avatar
Recognized Contributor
Thanks Meter 1408
Posts: 2,343
Join Date: Sep 2011

 
DONATE TO ME
Quote:
Originally Posted by TheDarkDefender View Post
where is this "dsixda" and " unyaffs.exe".. ? could you elaborate,please? Im kinda new to this
Unbelievable, have you even bother to google for dsixda?? (no need to answer, I know answer)

New to XDA? | Still interested in XDA? | Before you start
You need help OR wanna give feedback?
There's no stupid questions,only stupid answers,BUT,asking question that has already been answered IS stupid!
BEFORE you try anything with your phone,READ,after that,READ a bit MORE.
Always read first post,WITH UNDERSTANDING?
Stock FTF's
 
TheDarkDefender
Old
#10  
TheDarkDefender's Avatar
Senior Member
Thanks Meter 1160
Posts: 1,443
Join Date: Aug 2012
Location: Your Frontal Lobe
Quote:
Originally Posted by Madfysh View Post
Unbelievable, have you even bother to google for dsixda?? (no need to answer, I know answer)
yeah..sorry..did it..thanks


PHONE: Nexus 4 (RasSaber | franco kernel) | AT&T Galaxy S III (stock | locked) | LG Optimus L9 P765 (stock | locked) |

TABLET: Nexus 7 (RasSaber | faux kernel) | Galaxy Tab 2 P3100 (CM10.1 | stock kernel)

THREADS : Nexus 4 Bootloader Unlocking | DarkRom CM10.1 Nightlies[UPDATED] | 4.2 Desk Clock | 4.2 Keyboard+Swype

Don't like my reply? read this

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...