[Sony Xperia T, TL, TX, V] updateing:
CyanogenMod is a free, community built distribution of Lollipop which greatly extends the capabilities of your phone.

#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

This is a highly experimental and unofficial build of CM12 on Xperia TX.

Note that this may be unstable, not booting, missing in features or anything else. Flash at your own risk!

NOTE(20150522):

I got a new phone weeks ago, so TX won't be my daily driver anymore. And this ROM will be discontinued due to limited time and energy. Thanks for your support.

Known bugs:

See post #2

"About phone" screen:

Installing instructions:

Flash the ZIP package as usual, then flash the kernel file via fastboot.

A full wipe is recommended before the installation, even if you are coming from last version of CM12.

OLD WAY FOR .IMG FILES:

1. Unzip the system and kernel image

2. Boot the phone into fastboot mode

3. fastboot -i 0xfce flash system system.img

4. fastboot -i 0fxce flash boot boot_f.elf

5. fastboot -i 0xfce reboot

6. Get into recovery at once and wipe data & cache

7. Reboot. The first boot may take very long time.

DESCRIPTION ABOUT INTERNAL STORAGE PERMISSION

ATTENTION:

Download:

NOTE: sdcard owner has been changed to 1023:1023 since 20150319.

If you want to switch to other ROMs, remember to do this before you flash in order to get a writable internal storage.

su
busybox chown -R 2800:2800 /mnt/media_rw/sdcard0

20150521

https://drive.google.com/file/d/0BwkmhbR5VHpAQmNhWE9IcUJYRXM/view?usp=sharing

OLD VERSION:

20150514

https://drive.google.com/file/d/0BwkmhbR5VHpAOUp0VzJva3BabjA/view?usp=sharing

20150508

https://drive.google.com/file/d/0BwkmhbR5VHpAS3JqdW9YWUkyVms/view?usp=sharing

20150501

https://drive.google.com/file/d/0BwkmhbR5VHpARUFLdTlXM090Zk0/view?usp=sharing

20150424

https://drive.google.com/file/d/0BwkmhbR5VHpAeEhJeC1WcFVYYVk/view?usp=sharing

20150418

https://drive.google.com/file/d/0BwkmhbR5VHpASjIxbVBYQ2R3am8/view?usp=sharing

20150410

https://drive.google.com/file/d/0BwkmhbR5VHpARzBIaFIwbE5Qak0/view?usp=sharing

20150404

https://drive.google.com/file/d/0BwkmhbR5VHpAYmdPLUd2UGNBbTg/view?usp=sharing

20150402

https://drive.google.com/file/d/0BwkmhbR5VHpAVkxWRmx0bWh4X2s/view?usp=sharing

20150325

https://drive.google.com/file/d/0BwkmhbR5VHpAcjdRNU11NUpEanM/view?usp=sharing

NOTE: Screen will go out if brightness is set to minimum. Fix is in the attachment (lights.msm8960.so.zip) Extract this to /system/lib/hw and it will be OK.

20150319

https://drive.google.com/file/d/0BwkmhbR5VHpAWWtCQ1FEOHVaMms/view?usp=sharing

20150312

https://drive.google.com/file/d/0BwkmhbR5VHpAWnM2RnNzVXFwbUk/view?usp=sharing

Rec and permission fix: https://drive.google.com/file/d/0BwkmhbR5VHpAV0ZPUW9RZjF1RXM/view?usp=sharing

Step 1. FIash the ROM zip

Step 2. Flash kernel in fix

Step 3. Put system folder in fix.7z to the phone

(IF YOU HAVE FLASHED BEFORE APPLYING FIX) Step 4. Execute these commands in adb shell/Terminal Emulator

su
chown 2800:2800 /mnt/media_rw/sdcard0

If you find these instructions hard to understand, you may try this flashable zip by Antiga Prime. Thanks!

20150302

https://drive.google.com/file/d/0BwkmhbR5VHpAa0ZtSXQ5UUxuQ2M/view?usp=sharing

20150128

https://drive.google.com/file/d/0BwkmhbR5VHpARW0xQkswWE5aOWs/view?usp=sharing

20150123

https://drive.google.com/file/d/0BwkmhbR5VHpAM0c2SHd5TzVlems/view?usp=sharing

20150110

https://drive.google.com/file/d/0BwkmhbR5VHpAWkUyTHhqS1M1Nnc/view?usp=sharing

20150103

https://drive.google.com/file/d/0BwkmhbR5VHpANi1UVG1YbVJoQlk/view?usp=sharing

Kernel with TWRP bug fixed: https://drive.google.com/file/d/0BwkmhbR5VHpATjBvblRBU05VbXM/view?usp=sharing

20141226

https://drive.google.com/file/d/0BwkmhbR5VHpANFhTdzQyQTJEUmc/view?usp=sharing

No more separate kernel :)

20141219

System: https://drive.google.com/file/d/0BwkmhbR5VHpAX25JbXFVRWJxMjQ/view?usp=sharing

Kernel: https://drive.google.com/file/d/0BwkmhbR5VHpAWE5jQUc5aFR2Q28/view?usp=sharing

Cyanogen Recovery is able to install from internal storage now, but it requires signature verification. The kernel file contains Cyanogen recovery without that verification process. Next time this will be merged into system zip file and there will be no more standalone kernel image.

20141212

Kernel: https://drive.google.com/file/d/0BwkmhbR5VHpAYktOYTA1RnJtam8/view?usp=sharing

System: https://drive.google.com/file/d/0BwkmhbR5VHpAZXRockhtY1V0STA/view?usp=sharing

20141207

System: https://drive.google.com/file/d/0BwkmhbR5VHpAcFVYUWpwenhrVnc/view?usp=sharing

Kernel: https://drive.google.com/file/d/0BwkmhbR5VHpAbUF0LVAybm9ZVGs/view?usp=sharing

20141205

System (Google Drive): https://drive.google.com/file/d/0BwkmhbR5VHpAX2VaNUdPUUtTVU0/view?usp=sharing

My removable disk is not with me at this moment, so I couldn't make a TWRP included kernel. Kernels from previous versions should be compatible though.

Kernel (Google Drive): https://drive.google.com/file/d/0BwkmhbR5VHpAUVp2azBRX1VRR28/view?usp=sharing

20141203

Kernel (Google Drive): https://drive.google.com/file/d/0BwkmhbR5VHpAUXA1OXFnakZOZ0U/view?usp=sharing

System (Google Drive): https://drive.google.com/file/d/0BwkmhbR5VHpAbXhXVDRpOFFQQ2s/view?usp=sharing

20141130

System: http://pan.baidu.com/s/1o6LWX5K

Google Drive: https://drive.google.com/file/d/0BwkmhbR5VHpAQjdUcG1RbGxmQms/view?usp=sharing

Kernel: http://pan.baidu.com/s/1gdovtnl

Google Drive: https://drive.google.com/file/d/0BwkmhbR5VHpAcW1GbmF6cVRNSEU/view?usp=sharing

NOTE: Build time and CyanogenMod version in About Phone are not changed. They will when I get enough time to make a clean build.

20141128

System: http://pan.baidu.com/s/1qWCzw4W

Google Drive: https://drive.google.com/file/d/0BwkmhbR5VHpAdUtabGdVblJ3Njg/view?usp=sharing

Kernel: http://pan.baidu.com/s/1qWwQuhm

Google Drive: https://drive.google.com/file/d/0BwkmhbR5VHpAbFo5UDM1VzJSRjA/view?usp=sharing

No standalone kernel from now on. CM's custom recovery has been included (and it's tap-able :) )Seems not finished yet.

And Superuser has been integrated as well. No need for other apps.

20141127

System ZIP: http://pan.baidu.com/s/1jG3inaQ

Kernel: http://pan.baidu.com/s/1mgBlDgs

Google Drive mirror(kernel): https://drive.google.com/file/d/0BwkmhbR5VHpAYVdMNXVEZDNXZEk/view?usp=sharing

Google Drive mirror(system): https://drive.google.com/file/d/0BwkmhbR5VHpAeGJlakhLc3lYNGM/view?usp=sharing

(Included a unit test app for messaging by mistake, just delete it)

20141125:

System ZIP: http://pan.baidu.com/s/1mgkho5E

Kernel: http://pan.baidu.com/s/1bnm1xV5

20141121:

System ZIP (Recovery flashable): http://pan.baidu.com/s/1i37nOTf

Kernel (

Flash after the system

- reboot to bootloader in Recovery after flashing the zip above): http://pan.baidu.com/s/1pJHQYld

Initial ver

System image: http://pan.baidu.com/s/1B5Ofk

Kernel: http://pan.baidu.com/s/1nt0ua9N

Device specific sources are on my GitHub (updateing), and kernel is built on kernel-msm repo listed there.

Changelog (FROM UPSTREAM)

20150521

FM Transmitter enabled (it's so lucky that (it seems) only our device fully supports it)

20150514

->post #2

20150508

mainly upstream changes

20150501

->post #2

20150424

Android 5.1.1

-> post #2

new WiFi driver

20150418

workaround about flickers in some apps -> post #2

20150410

-> post #2

20150404

goodbye Microsoft :)

try to fix abnormal record of battery comsumption of mobile network

20150402

first Android 5.1 build

20150325

Xperia logo functions normally when a notification is cleared when screen is off

20150319

changed internal storage permission to 1023:1023

upstream changes

-> post #2

20150312

upstream changes. (one noticable feature: LiveDisplay)

20150302

upstrem changes

added a FM radio app, but it's not working now.

20150128

-> post #2

mostly upstream features and fixes (new wallpaper, setup wizard, etc)

20150123

-> post #2

theme engine (upstream)

no more sudden change of brightness when turning screen off

SELinux enforcing (mostly upstream with minor changes for TX)

more customization

20150110

mostly upstream changes

20150103

TWRP included (built from source, not a copy of Kitkat kernel. I didn't realize CM Recovery was not meant for custom ROMs...)

-> post #2

20141226

Android 5.0.2

USB Mass Storage support (Settings-Storage-(3dot menu))

-> post #2

20141219

-> post #2

weather shown in status bar

Gallery is materialized

Battery icon selection

20141212

-> post #2

more materialization

icon fixes

20141207

some features from upstream, such as vibrator intensity control

show network mode in network search result

-> post #2

20141205

Mostly upstream fixes, e.g. appearance of Settings app, clickable time & date

Reduced some unused kernel modules

Select dlmalloc as memory allocator. It's jemalloc in previous versions, but fusion3 have dlmalloc choosen. Let's see what will happen... (seems smoother)

20141203

Android 5.0.1

fix: (post #2)

20141130

upstream fixes and new features

TEST: one case about working GPS in post #2

20141128

fix: (in post #2) and some info about GPS

new: CM's handsome recovery

new: integrated Superuser

20141127

fix: (in post #2)

20141125

fix: (in post #2)

new: Message app

new: a small number of personalization settings (quick pulldown etc)

20141121

fix: data and WiFi icon movement

fix: no audio

fix: NFC Service FC

fix: Download / Documents / Call History FC

new: full set of fonts

new: multi user support / Guest Mode

Credits:

Finally thanks CyanogenMod team who merged sources so quickly, and Sony who made all this happen, and a lot more on Gerrit who helped me solve the compliation errors. :)