[Sony Xperia P, U, Sola, Go] Garcia98:
BRAVEKERNEL​

So here we go, this is the thread of a customized kernel for KitKat ROMs (CM11, AOSX, SlimKat...) with some extra features added.

Feedback is welcome and highly valuable :D

Main features are these:

- Kernel 3.0.101

- Kernel based on munjeni's source code modified by AOSX team

- TWRP 2.7

- Fixed ADB and mount USB in recovery

- Built with custom Linaro 4.9.1-2014.04 toolchain optimized for Cortex-A9

- Built with -O3 optimization flags

- 394MB of usable RAM

- Included elf.3 to save some battery

- Init.d support

- Added 600MHz mode

- Battery Life eXtender support

- Lowered swappiness (60 -> 45)

- Removed old SHA1 routine

- Added optimized CRC32 algorithm

- SLUB memory allocator

- Optimized ARM RWSEM (read/write semaphore) algorithm

- Optimized asynchronous I/O latency

- Updated topology with lastest changes

- Fast Random generator (frandom) support

- Dynamic FSync control

- Dynamic management of dirty page writebacks

- VM tweaks for performance

- Revised LowMemoryKiller parameters for better performance

- LowMemoryKiller management of not killable processes

- Additional TCP Congestion algorithms

- Boosted WiFi speed

Available CPU governors:

- AbyssPlug

- Conservative

- Dynamic Interactive

- Fantasy

- HotPlug

- IntelliDemand

- Interactive

- LionHeart (default)

- LulzActiveQ

- LulzActiveW

- MinMax

- Nightmare

- OnDemand

- OnDemandAX

- OnDemandQ

- PegasusQ

- PegasusQPlus

- Performance

- Powersave

- SakurActive

- SmartAssV2

- Userspace

- Wheatley

- ZZMoove

Available I/O schedulers:

- BFQ

- CFQ

- Deadline

- Noop

- ROW

- SIO

- SIOplus (default)

- V(R)

- Zen

Kernel Downloads for KitKat:

BraveKernel KK-4.4 Mediafire Folder

- v1.3 -

for CM 11.0, AOSX & SlimKat
​

How to install the kernel:

1) Download the kernel zip file to SD card

2) Reboot to recovery

3) Flash the kernel zip file

4) Wipe cache and dalvik cache if you are coming from another kernel

5) Reboot the system

Performance Control APP

App for tweaking performance options, enabling features like management of not killable processes, adjusting CPU frequency, etc.

Kernel sources (on GitHub):

Development repository of BraveKernel 3.0.101 for KK 4.4

​

Kernel known problems:

- You tell me

Changelog:

[B]08/06/2014 - BraveKernel 3.0.101 v1.3 for KitKat[/B]
- defconfig: Add F2FS support
- mali: Add utilization sampling rate parameter
- mali: Fix L2 cache reads when delete cache cores
- cpufreq: Add debug mask
- abb-regu: Add VOTG sysfs interface
- cpufreq: Add LulzactiveW governor
- cpufreq: Update LulzactiveW governor
- abb-regulator: Add Varm HW mode option
- ux500_pcm: Revert max PCM periods bytes tweaks
- cpufreq/ondemand: Replug CPU1 when governor starts
- cpufreq/performance: Replug CPU1 when governor starts
- cpufreq/interactive: Replug CPU1 when governor starts
- mali: Pre-allocated max memory size writable
- arm/topology: Remove topology updates
- drivers/mmc: SPI CRC configurable
- mm/slub: Revert driver
- snd_usb: Fix sysfs conflicts
- mm/slub: Make default max order 0
- mali: Reset default L2 max reads
- mm: Tweak sysctl params
- abb-sysctrl: Allow to force power off
- audio: Fix for choppy playback in Ubuntu pulse audio
- bcmdhd: Add PM_FAST control param
- mmc/core: Fix permission of 'use_spi_crc'
- block: Update ROW I/O scheduler
- ARM: decompressor: Enable unaligned memory access for v6 and above
- lib/lzo: Update LZO compression to current upstream version
- block/sio: Modify parameters
- logger: Add an enable toggle for entry storage
- Makefile: Add unaligned access flag
- lib/lzo: Huge LZO decompression speedup on ARM by using unaligned access
- block: Limit default readahead size for small devices
- ondemand: Decrease up threshold 95 -> 75
- interactive: Sync with android-kernel-common-3.0
- lib/lzo: Optimize code for CPUs with inefficient unaligned access
- cpufreq: Add InteractiveQ governor
- cpufreq: InteractiveQ: Fix dead wakeup
- block: Fix auto readahead size
- slub: Update
- mali: Adjust OSK memory allocation order 9 -> 8
- mali: Utilization sampling rate 1000ms -> 500ms
- block: Update bfq iosched v5r1 -> v7r2
- block: Switch from BFQ-v7r2 for 3.0.0 to BFQ-v7r3 for 3.0.0
- ext4: Speed up truncate/unlink by not using bforget() unless needed
- deadline: Allow 0ms deadline latency, increase the read speed
- lib/checksum.c: Optimize do_csum a bit
- cfg80211: Fix memory leak
- readahead: Make context readahead more conservative
- lib/int_sqrt.c: Optimize square root algorithm
- fs/dcache: vfs_cache_pressure -> 133
- cpufreq: Add ZZMoove governor
- cpufreq: Remove double LulzactiveQ
- cpufreq: Remove double PegasusQ
- cpufreq: Remove InteractivePlus governor
- arm/lib: Remove ARM sha1 routines
- mali: Update
- mali: Back to 1C
- mm, vmalloc: Use well-defined find_last_bit() func
- mm, vmalloc: Remove useless variable in vmap_block
- net: loopback: Set default mtu to 64K
- kernel/timer: Optimize apply_slack() for size and speed.
- binfmt_elf.c: Use get_random_int() to fix entropy depleting
- arm: topology: Enable arch power
- ARM: 7668/1: Fix memset-related crashes
- ARM: 7670/1: Fix the memset fix
- irq: Set CPU affinity right on thread creation
- softirq: Reduce latencies
- fs/super.c: Sync ro remount after blocking writers
- ksm: Provide support to use deferred timers for scanner thread
- ksm: Enable deferred timer
- dbx500-cpufreq: Added missing 600MHz mode
- page_alloc: min_free_kbytes -> 8192
- page_alloc: extra_free_kbytes -> 1024
- vmscan: swappiness -> 45
- futex: Prevent attaching to kernel threads
- futex: Add another early deadlock detection check
- futex-prevent-requeue-pi-on-same-futex.patch futex
- futex: Validate atomic acquisition in futex_lock_pi_atomic()
- futex: Always cleanup owner tid in unlock_pi
- futex: Make lookup_pi_state more robust
- defconfig: Panic timeout -> 0
- defconfig: Enable KSM check page
- fs/sync: Switch do_fsync() to fget_light()
- fs/dyn_sync_cntrl: Fix dynamic sync control
- fs/dyn_fsync: Check dyn fsync control's active prior to performing fsync ops
- dynamic filesync: Add some cache optimizations
- dynamic fsync: Favor true case since most will be using this feature
- dynamic fsync: Don't disable fdatasync()
- fs/sync: Make sync() satisfy many requests with one invocation
- mm/page_alloc: Avoid page allocation failure
- defconfig: Update kumquat configuration
- ramdisk: Add F2FS tools
- ramdisk: Remove unnecessary tweaks
- cmdline: Usable RAM -> 394MB

[B]25/05/2014 - BraveKernel 3.0.101 v1.2 for KitKat[/B]
- Makefile: Added -O3 optimization
- cpufreq/ondemand: Add CPU idle detection
- sched: Add a symbol for governors
- arch/arm/Makefile: Build with -pipe
- zImage compressed with XZ
- cpufreq: Add OnDemandQ governor
- mali: Fix arch links
- mali: L2 cache default max reads
- mali: L2 max reads parameters writable
- mali: Disable state tracking
- mali: Increase utilization sampling rate
- mali: Add utilization parameters
- cpufreq/interactive: Synced with 3.4 kernel
- mali: Add PM sleep sampling rate parameter
- arm/crypto: Add optimized AES and SHA1 routines
- mach-ux500: Add PRCMU clock sysfs module
- abb-codec: Add missing bits
- n_tty: Fix n_tty_write crash when echoing in raw mode
- net: Fix "ip rule delete table 256"
- Fix false disconnect due to a signal sent to the reading process
- SELinux: Fix kernel BUG on empty security contexts
- SELinux: Fix possible NULL pointer dereference in selinux_inode_permission()
- block: Add SIO Plus I/O scheduler
- mutex: Dynamically disable mutex spinning at high load
- kernel: Disabled Gentle Fair Sleepers for better performance
- random: Entropy tweaks
- random: Decrease read/write wakeup threshold
- block/sioplus: Fluid tunables
- block/sioplus: Tweaks
- block/sioplus: Allow 0ms deadline latency, increase the read speed
- block/sioplus: sync_read_expire = 312.5ms, writes_starved = 2
- mm: Optimized SLUB memory allocator
- Makefile: Added optimized flags
- ksm: Check and skip page, if it is already scanned
- Enabled KSM by default
- arch/arm: Makefile: Added flags for U8500
- cpufreq: Removed ZZMoove governor
- defconfig: Updated kumquat configuration
- ramdisk: CM11, AOSX and SlimKat versions unified
- ramdisk: Add CM performance profiles support

[B]16/05/2014 - BraveKernel 3.0.101 v1.1 for KitKat[/B]
- Fixed lag in every KitKat ROM
- Removed 600MHz mode (maybe it will be added again in following versions)
- Downgraded LMK to 3.0.101 in order to fix bugs

[B]11/05/2014 - BraveKernel 3.0.101 v1.0.1 for KitKat[/B]
- Updated modules in order to get WiFi working

[B]11/05/2014 - BraveKernel 3.0.101 v1.0 for KitKat[/B]
- Initial release

Credits and thanks to:

munjeni and AOSX team for their awesome work and their kernel sources

AGONTUK for TWRP 2.7.0 recovery

Christopher83, Ezekeel, Faux123, cocafe and other developers I'm surely missing

CyanogenMod, Kernel.org, Sony, Google, Linaro GCC developers

Info4Geek and evildev for his support in testing

NOTE:

In DevDB info it says this kernel it's for Xperia Sola, but it's just an error of DevDB system, it's only for Xperia U

XDA:DevDB Information

BraveKernel, Kernel for the Sony Xperia Sola

Contributors

Garcia98

Kernel Special Features: Customized kernel 3.0.101 for KK 4.4 ROM

Version Information

Status: Beta

Current Beta Version: v1.3

Beta Release Date: 2014-06-08

Created 2014-05-11

Last Updated 2014-11-09