FORUMS
Remove All Ads from XDA

[RECOVERY] TWRP 2.4.3 for all your {legacy}Xperias. (downloads + DIY howto)

5,018 posts
Thanks Meter: 8,238
 
Post Reply Email Thread
DISCLAIMER: I own Xperia X10, Xperia J, Xperia Tipo, Xperia S and Xperia V, releases of all other phones are not personally tested by me. But since the kernel is the same in FXP/KXP ROMs I presume they would not harm your device in any way

Huge props go to all TeamWIn people like Dees_Troy and bigbiff and everyone else for developing this awesome recovery and lots of thanks to FreeXperia Team (FXP, Kali-, codeworkx, bin4ry,) for maintaining device configs for Xperias

This recovery is embedded into the ramdisk of a normal AOKP 4.1.2 bootimage. The kernels are same as the latest AOKP released by KXP team. These kernels should work with FXP's CM10, and other ROM's based of it (KXP ROM, Pac-man, officialCM10 etc). These kernels will not work on stock/cm7/cm9/blah/blah/any other ROM.


INSTRUCTIONS :
1. Download the zip file for your device (twrp2.4.3-xxxxx.zip)
2. Extract the boot.img from zip on your PC, and copy the whole zip file on device's SDcard.
3. Fastboot the kernel using the terminal command
Code:
fastboot flash boot boot.img
4. To enter recovery, when LED is pink press {vol up for 2012 models} or {vol down for 2011 models}
5. Flash zip that you kept in sdcard from recovery (wifi/OTG/etc will not work without proper modules flashed).
6. Enjoy

DOWNLOADS:
Mirror1 |or| Mirror2
download according to your device name in this list
Code:
  • anzu Arc/ArcS
  • aoba ION
  • coconut Live with WALKMAN
  • haida Neo V
  • hallon Neo
  • hayabusa TX
  • hikari Acro S
  • jlo J
  • iyokan Pro
  • mango MiniPro
  • mesona Miro
  • mint T
  • nozomi S/SL
  • satsuma Active
  • smultron Mini
  • tapioca Tipo
  • tsubasa V
  • urushi Ray
  • zeus Play
  • zeusc Play CDMA
CHANGELOG :
All official changes to TWRP is found on http://teamw.in

Code:
=============twrp 2.4.3
code updated to oficial twrp 2.4.3.0
new device J, Tipo, Miro supported

=============twrp2.4
code updated to official twrp 2.4.1.0
fixed "/boot not found" error on 2011 phones

=============twrp 2.3
official twrp 2.3 sources
first release
================================================== =====================================
for advanced users/devs/modders/porters
================================================== =====================================

SOURCES:
The kernels present inside the bootimages are compiled from these sources
https://github.com/KangXperiaProject..._sony_msm7x27a (for Tipo, J, Miro)
https://github.com/KangXperiaProject...l_sony_msm8x60 (for S,Ion,AcroS, T, V, TX)
https://github.com/KangXperiaProject...l_semc_msm7x30 (for all 2011 model phones)
The device configs are found on
https://github.com/KangXperiaProject/android_device_semc_<yourdevicename> (for all 2011 model phones)
https://github.com/KangXperiaProject/android_device_sony_<yourdevicename> (for all 2012 model phones)

you can also see our merged commits to see the precise patch we applied on each repository to be able to build TWRP
http://smartdev.com.pl:8080/#/q/status:merged,n,z

BUILD FROM SOURCE
To build TWRP for your Xperia,
1. merge the patch to enable TWRP on your own device tree (for eg. http://smartdev.com.pl:8080/#/c/239/ for Xperia T)
2. replace /bootable/recovery folder with TWRP (as mentioned here http://forum.xda-developers.com/show....php?t=2069242)
3. If your build folder is not from CM, switch to CM's build folder (i.e the android_build repo)
4. lunch ; mka bootimage;

PORT TO STOCK/ICS/YOU-FAVOURITE-KERNEL
A boot.img consists of the kernel image and the ramdisk (additionally and optionally RPM.bin and commandline). If you want to use TWRP for some other kernel, you have to do this
1. decompile this boot.img (for 2011 models it's a true boot.img, for 2012 models, it's actually a kernel.elf file renamed to boot.img, so you have to decompile accourdingly. you can use my kernel kitchen to do the same)
2. replace the kernel zImage with the one from the kernel you want to port to
3. replace /sbin/ramdisk.cpio with the "UNCOMPRESSED" ramdisk of the kernel you want to port this to. (usually ramdisk is compressed with gzip i.e. ramdisk.cpio.gz. you need to uncompressed ramdisk image i.e. ramdisk.cpio)
4. do not touch anyother thing
5. pack it up into a boot.img (for 2011) or kernel.elf (for 2012) and fastboot it

================================================== ==========================================
BUGS AND SUPPORT
If you have any problem with this please please please post only on this thread, not on any other thread or not on PM.
Please send me the recovery log wherever possible, and also kmsg/dmesg if you can.
If you need assistance porting TWRP to your kernel, or building from source[only for Xperia phones that I have provided builds for], then also you can post here.
The Following 63 Users Say Thank You to championswimmer For This Useful Post: [ View ]
31st December 2012, 07:10 PM |#2  
Thanks, though in keeping with GPL you need to post your buildable source. In addition so that others can continue and support what you have done, since you obviously have no desire to do so, that is essential. Not very helpful to the community to do a "one-off" venture.
The Following 2 Users Say Thank You to jerdog For This Useful Post: [ View ] Gift jerdog Ad-Free
31st December 2012, 07:12 PM |#3  
Dees_Troy's Avatar
Senior Recognized Developer
Flag KC MO
Thanks Meter: 13,599
 
Donate to Me
More
Would you mind publishing your device configuration files for this build so that others can pick it up & maintain it?
The Following 2 Users Say Thank You to Dees_Troy For This Useful Post: [ View ]
31st December 2012, 09:46 PM |#4  
Quote:
Originally Posted by jerdog

Thanks, though in keeping with GPL you need to post your buildable source. In addition so that others can continue and support what you have done, since you obviously have no desire to do so, that is essential. Not very helpful to the community to do a "one-off" venture.

the source is present on http://github.com/KangXperiaProject

also check the latest merged commits on http://smartdev.com.pl:8080

building with KXP_INCLUDE_TWRP := true will give you same product as I have provided here.

the kernel is built off already present sources on KXP github, so there is no GPL violation
and yes I will update the flags on BoardConfigs on all the devices after I make KXP Milestone1-R2 releases, I will sync all local changes.

but again to reiterate, to duplicate the kernel I have posted, stuff is already present on github to do so.
31st December 2012, 09:51 PM |#5  
Quote:
Originally Posted by Dees_Troy

Would you mind publishing your device configuration files for this build so that others can pick it up & maintain it?

just give me a day or two please

and I'll PM you when it's done. (I will update all 15 Xperia devices with the flags needed )
The Following User Says Thank You to championswimmer For This Useful Post: [ View ]
31st December 2012, 10:22 PM |#6  
dtekkt's Avatar
Senior Member
Flag Vienna
Thanks Meter: 304
 
More
Could anyone post a flashable zip please? don't have a PC right now

Sent from my Xperia T using xda premium
31st December 2012, 10:39 PM |#7  
Quote:
Originally Posted by championswimmer

the source is present on http://github.com/KangXperiaProject

also check the latest merged commits on http://smartdev.com.pl:8080

building with KXP_INCLUDE_TWRP := true will give you same product as I have provided here.

the kernel is built off already present sources on KXP github, so there is no GPL violation
and yes I will update the flags on BoardConfigs on all the devices after I make KXP Milestone1-R2 releases, I will sync all local changes.

but again to reiterate, to duplicate the kernel I have posted, stuff is already present on github to do so.

Update your first post with links to the sources, along with any specific flags. And, to be GPL compliant, you do need to provide all aspects of the build in order that anyone could come in and build from your sources. The best way to do that is to link to the exact source for the specific project (not just the overall github) and to provide the instructions and flags, etc. used in building that specific project in like the README like linux and other GPL-compliant projects do
The Following User Says Thank You to jerdog For This Useful Post: [ View ] Gift jerdog Ad-Free
3rd January 2013, 02:52 AM |#8  
schaggo's Avatar
Senior Member
Flag Z├╝rich
Thanks Meter: 831
 
Donate to Me
More
Although getting GPL compliant is important and totally supportable, I'd still like to leave a big, fat, spelled out THANK YOU for tinkering with TWRP on the xperias. Big thing, big win :thumbup:
The Following User Says Thank You to schaggo For This Useful Post: [ View ] Gift schaggo Ad-Free
4th January 2013, 11:55 PM |#9  
CosmicDan's Avatar
Senior Member
Flag Sydney
Thanks Meter: 7,691
 
Donate to Me
More
Nice thread, well done champ.

If any users are interested in my TWRP build/changes you can see my fork here: https://github.com/cosmicdan/Team-Wi...commits/jb-wip

Here are the flags I use for Xperia Play BTW:

Code:
# TWRP
DEVICE_RESOLUTION := 480x854
TARGET_RECOVERY_PIXEL_FORMAT := "RGB_565"
TW_FLASH_FROM_STORAGE := true
4th January 2013, 11:57 PM |#10  
xdarkmario's Avatar
Senior Member
Thanks Meter: 351
 
More
pictures please? i think this is the recovery have looking for
5th January 2013, 12:46 AM |#11  
olokos's Avatar
Recognized Developer
Flag Warsaw
Thanks Meter: 2,480
 
Donate to Me
More
Quote:
Originally Posted by xdarkmario

pictures please? i think this is the recovery have looking for

FFS click

Sent from my R800i using xda premium
The Following 2 Users Say Thank You to olokos For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes