[Xperia Arc Android Development] championswimmer:
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

, official

CM10

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

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

[LIST]
[*]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
[/LIST]

CHANGELOG :

All official changes to TWRP is found on http://teamw.in

=============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/android_kernel_sony_msm7x27a (for Tipo, J, Miro)

https://github.com/KangXperiaProject/android_kernel_sony_msm8x60 (for S,Ion,AcroS, T, V, TX)

https://github.com/KangXperiaProject/android_kernel_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://xdaforums.com/showthread.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.