[Sony Xperia P, U, Sola, Go] Abhinav1997:
Disclaimer

#include <std_disclaimer.h>

/*
* You may have voided your device's warranty.
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modifications on your device
* I absolutely disclaim any responsibility.
*/

Downloads

LINKS REMOVED. DISCONTINUED.

Instructions

-Installation

-Booting into recovery

Changelog/Feature list

CPU Governors and I/O schedulers

CPU Governors

interactiveplus

fantasy

pegasusqplus

dyninteractive

intellidemand

nightmare

sakuractive

abyssplug

wheatley

pegasusq

ondemandAX

lulzactiveq

hotplug

minmax

smartassV2

interactive

conservative

ondemand

userspace

powersave

Lionheart

performance

I/O Schedulers

bfq

sioplus

noop

deadline

cfq

sio

vr

row

zen

Usage of some features

Dynamic management of dirty page writeback

What is does?

- Allows to dynamically manage the dirty page writebacks with two different intervals, one when the screen is on and another when the screen is off. By using a higher interval we have better performance and less battery consumption, with a very low risk of data loss.

Thanks to Christopher83 and kingBABAsula.

Usage-

To enable it:

echo 1 > /proc/sys/vm/dynamic_dirty_writeback

To disable it:

echo 0 > /proc/sys/vm/dynamic_dirty_writeback

To customize intervals (in centisecs):

echo xxxx > /proc/sys/vm/dirty_writeback_active_centisecs
echo xxxx > /proc/sys/vm/dirty_writeback_suspend_centisecs

Commit list

5502c9d- LZO compression for kernel for better speed

3583d16- 2x(min,max VM READAHEAD)

85bc173- Change CPU performance

33eaf7c- Boost network speed

e4adc50- random: entropy tweaks are all the rage nowadays

b2f1fb2- Enable ARCH_POWER

58aa12b- IOsched update: Add BFQ and SIOPLUS in defconfig

982e2cc- Defconfig part for 96f9959

e07c683- Enable ARM_THUMBEE

ad5f538- Disable gentle fair sleepers

7ff3c51- Add new logo

eda4962- O3 optimizations

96f9959- mm: Dynamic management of dirty page writebacks

ab20cd6- block: Add BFQ I/O scheduler

cba2d5a- mutex: dynamically disable mutex spinning at high load

65581fa- n_tty: Fix n_tty_write crash when echoing in raw mode

2dcff35- Enable 5GHz band and clean cache

7a1805b- IOSCHED: Add SIOplus

231a11c- Add philZ touch recovery

713597e- lib/lzo: Optimize code for CPUs with inefficient unaligned access

a7e474f- lib/lzo: huge LZO decompression speedup on ARM by using unaligned access

548b108- lib/lzo: Update LZO compression to current upstream version

13cad97- drivers/char: add frandom modules

6096ed0- Dual recovery

Credits

linus(and other guys)- For linux kernel

ST-ericsson- For making the kernel compatible with montblanc board

Sony mobiles- For making the kernel compatible with riogrande

munjeni- For his great development and help

DooMLoRD- For dual recovery in other devices from which I could take reference and for helping me

AOSX team(Including me :p)- For development of 2012 xperia novathor devices

Phil3759- For PhilZ touch recovery

Dees Troy(and omnirom team)- For TWRP

cocafe- For work on u8500 samsung devices

kingBABAsula- Also for work on u8500 samsung devices

Christopher83- For modified linaro toolchains for cortex-a9

abcdjdj- For helping me in this

info4geek- For testing it

#include<iForgotYou.h>

Sources

Kernel sources- https://github.com/Abhinav1997/AJ-Kernel

Ramdisk- https://github.com/Abhinav1997/AJ-ramdisk (other device devs/users can look into this to understand what changes were done)