[Xperia SP Original Android Development] Tomoms:
What are you doing here? This is old, my new kernel can be found here: Helium

Welcome to the thread of Tangerine kernel!

This kernel is meant to be used with all the available Lollipop ROMs.

Disclaimer

:

use this kernel at your own risk. Flashing it may brick your device. I'm not responsible for any software/hardware damage.

Q&A thread

This is the Questions & Answers thread: http://xdaforums.com/xperia-sp/help/qa-tangerine-kernel-t3178801

Changelog:

v11.1

fixed /system not mounting in Temasek

do not use bricked hotplug

any newer version doesn't work

v11

built in frandom support (not a module anymore)

added bioshock CPU governor

added bricked hotplug by @show-p1984 (don't worry, "bricked" is just the name - the hotplug works well)

splashscreen can be chosen by the user (read below)

a couple of source updates

faster recovery boot & improved fstab (by @AdrianDC)

improved default ZRAM settings

v10.2

Linux 3.4.86 (thanks to nosedive)

various source updates (SELinux, wireless network management...)

wheatley CPU governor readded

default settings have been improved

important: check that the md5 sum of the zip is: 12ea5ad12650fc69002ce499d0f28fa5. Otherwise, don't flash the kernel and contact me

v10.1

basically v10, but working :) It misses some features that I wanted to include, but I released it so you can benefit from the stability improvements it brings.

Linux 3.4.72 (thanks to @nosedive)

ZRAM and zsmalloc backported from Linux 3.14

latest TWRP

Cortex-A15 optimizations

L2 CPU freq table fixed (thanks to @suliman lbabidi)

v10: erased update. Use v9.2.

v9.2

CPU underclocked to 281 MHz (disabled by default)

new splashscreen

fixed a bug that caused a kernel panic

bug: kernel version still shows Tangerine-9.1 (I've forgotten to change it)

v9.1

f2fs updates

f2fs for /system support in both kernel & TWRP

init.d support

fast screen unlock

Cortex-A15 optimizations

minor fixes

CPU overclock disabled at boot (no more overheating)

v9.0

built with GCC 5.2 and UBER Toolchain

GPU idle frequency set to 200 MHz (thanks to @Adrian DC)

loads of source updates (thanks to @Mrcl1450)

Linux 3.4.17

lionheart and interactive CPU governor readded

Multicore powersaving readded

Tangerine uninstaller: read this: http://xdaforums.com/showpost.php?p=62616583&postcount=1755 it's important!

signed zip (cannot be flashed in Cyanogen recovery)

v8.0

Linux 3.4.14

loads of source fixes imported from the work of many teams (SuSE, RedHat, Samsung, Motorola... thanks to them!)

Ultra KSM (a.k.a. UKSM)

Anykernel installation method

new boot logo

removed PhilZ recovery (sorry, will try to readd it)

joystick support

Row I/O scheduler massively updated and improved

2 new CPU governors: intlliactive, intellidemand2

ZRAM, qcache and zsmalloc support

bug: screen flashing

. Read this: http://xdaforums.com/showpost.php?p=62330509&postcount=1604

screen freezing bug maybe fixed

new installation method! Read below!

v7.2

ArchXperia fixes (there's no update for other releases)

v7.1

Linux 3.4.12

CPU undervolting is fixed

fixes in TWRP

bluetooth optimizations (included in Linux 3.4.12) (

caution: may cause bugs in bluetooth. Please report any issue

)

v7.0

many source updates

xz compression (smaller .elf file, slightly longer boot time)

yankactive CPU governor removed

loads of source updates

GPU frequencies are fixed, GPU OC disabled. It will be working soon :victory:

almost all CPU governors removed (sorry :crying:)

ondemandplus has been massively updated

interactive CPU governor tweaks by CodeAurora devs

loss of root is fixed

CPU boost & optimizations by CodeAurora devs

v6.6

charging bug fixed

a few source updates

v6.5

new ramdisk

frandom support

reduced overheating in TWRP (lock max freq at 1728 MHz)

v6.4 - only regular release (a1 doesn't need this update)

new ramdisk (fixes some bugs)

OmniROM support dropped. I'll support it again when the ROM will work (now it's quite unusable)

regression: if your phone is switched off and you plug the charger in, it will turn on and boot. I think it's a bug in my kernel and I'll do my best to release a fixed version soon.

v6.3

updated ramdisk (fixes black screen when receiving calls)

GPU OC disabled

TWRP is the default recovery

OmniROM support

v6.2

TWRP 2.8.7.0

v6.1

new governor: brazilianwax (it's bugged, don't use it - will be removed)

source updates (Linux 3.4.10)

mkfs.f2fs fixed

latest intelliplug by @faux123 with max freq limiter when screen is off

v6.0

built with the latest UBER toolchain and GCC 5.1

source updates (Linux 3.4.6)

new I/O scheduler: sioplus

read-ahead buffer size set to 128 kb

TWRP can format in f2fs (not working)

FauxSound 3.6 (may fix many bugs)

v5.2

FM radio works

smartassH3 removed

GPU overclock should work even though 480 MHz freq. is displayed as 0 MHz

v5.1

smartassH3 fixes (need to be tested)

WiFi module is automatically replaced by the installer

Userspace I/O driver support for HID subsystem

a small fix in the source

v5.0 beta

new governor: smartassH3

Linux kernel source updates

built with GCC 5.1 and Sabermod toolchain plus neon and cortex-a7 flags to improve performance

fixes to interactive CPU governor

default max CPU frequency is 1,728 GHz

new WiFi module is needed:

read the installation instructions

v4.0

Overclock to 1,944 GHz

full cifs support

no undervolting/it will be re-enabled in next release

source updates, now the kernel supports autobrightness in CM12.1 and other ROMs

v3.4

undervolting and FauxSound are back

WiFi now works again

v3.3

many other source updates

v3.2

many source updates from Linux devs

new governor: ondemandplus

v3.1

support for 3-LED notification light in CM12.1

2 recoveries (latest TWRP & PhilZ with f2fs support)

many source updates & fixes from Linux kernel devs

v3.0

CPU overclock and underclock

new splashscreen

many TCP congestion algorithms: westwood, bic, highspeed, hybla, htcp, vegas, veno, scalable, lp, yeah, illinois

f2fs updates

color calibration

several source updates & latest ramdisk (thanks to @Mrcl1450)

v2.6

Enforcing SELinux

v2.4 and v2.5

SystemUI fc's have been fixed

v2.3

f2fs works (boot may take more than 1 minute)

v2.2

Permissive SELinux

v2.1

f2fs support

TWRP 2.8.6.0 or PhilZ touch

latest fixes from CyanogenMod team

v2.0

FauxSound!

NTFS support

TWRP 2.8.5.0 (thanks to @kontini)

v1.3

Dynamic Fsync

USB fast charging

v.1.2

new governor: intellimm

undervolting/overvolting (does the latter word exist?)

v1.1 and v1.0

new I/O schedulers: fifo, sio, row, vr, zen, fiops, test, bfq

new governors: intelliactive, lagfree, intellidemand2, Lionheart, smartassv2

enabled governors: conservative, userspace

built with the latest Linaro GCC 4.9.x toolchain with optimizations for Cortex-A7 chips

KSM support

Swap support

SELinux disabled so SIM works out of the box!

Debugging the kernel

/proc/kmsg is a file that stores all the kernel messages from the very first seconds of the boot process. A copy of that file isn't always needed to fix a bug, but since I've explained how to get one I don't even remember how many times, I'll write here the needed steps:

1. open a terminal on your phone

2. run the following commands:

- su

- cat /proc/kmsg > /sdcard/kernel_log

3. the log will be stored in kernel_log.

Splashscreens

Lollipop Hub Edition > lhub.rle > http://i.imgur.com/JELOvtG.jpg

Black & orange > blackorange.rle > http://i.imgur.com/jRkemxJ.png

Blue > blue.rle > http://dl-1.va.us.xda-developers.com/3/4/1/8/3/8/3/TANGERINE.jpg?key=oHTC-bp0wl60JT-h_7p3Ww&ts=1446891893

White > white.rle > http://i.imgur.com/lNhq3Id.jpg

White w/ Sony logo > whitesony.rle > same as "White" but with Sony logo on top of it

Cyanogen Black > black.rle > http://dl-1.va.us.xda-developers.com/3/3/4/4/0/2/6/Tangerine-splashscreen.png?key=xDxhR_sZ7TTTKv8OxGy-7w&ts=1446892429

Download your favourite splashscreen here, rename it to "logo.rle" and place it in /data/data:

https://drive.google.com/folderview?id=0B-msDWtyu1JrUE56Qkh3X3JiT3M&usp=sharing

If you don't wipe /data in the recovery, there's no need to redownload the splashscreen you want every time you update ROM/kernel. It will already be there.

Downloads:

Download from Kernel Adiutor or from Android File Host:

https://www.androidfilehost.com/?w=files&flid=40608

If you had previously flashed the old PhilZ with Rashr, you need to flash stock FOTAKernel to use TWRP in v3.1 and later.

Use this zip that will flash a stock FOTAKernel (thanks to @TechnoSparks): http://xdaforums.com/xperia-sp/general/stock-components-flashable-zips-t3184111/post62447981

be sure to choose your variant (e.g. C5303)!

Or, if you've got the whole C530x .ftf file, you can also flash the FOTAKernel via FlashTool.

Banners by @Steph310:

Thanks to:

FXP team, especially uberlaggydarwin

@pec0ra for his William kernel

@DooMLoRD for his elf repacking tool

@bbedward

@nosedive

@dorimanx

CodeAurora devs

Linux kernel devs

@Adrian DC

@Mrcl1450

@Furrydaus

@faux123 for dynamic fsync, intelliplug and fauxsound

@Drakomord for having helped me fixing some bugs and for being so patient!

XDA:DevDB Information

Tangerine kernel for Xperia SP, Kernel for the Sony Xperia SP

Contributors

Tomoms, nosedive

Source Code: https://github.com/Tomoms/android_kernel_sony_msm8x60

Kernel Special Features:

Version Information

Status: Stable

Current Stable Version: 11.1

Stable Release Date: 2015-11-12

Created 2015-04-05

Last Updated 2016-01-12