[Sony Ericsson Xperia Neo, Pro] shardul_seth:
[KERNEL][ICS] Suave Kernel v6 ☰ Battery Friendly ☰ {OC,UV,2WCR,Gov,IO,FS,Net} 19-Jun

Guys, the latest kernel sources are out from SONY!! So, for all those who wanted kernel with OC and more features, here it is :)

With most of the useful features inbuilt! Link to old kernel -> here

Enjoy..

Q. Features?

init.d support

ro.secure=0 (that is now adb has native root access!)

Device is identified correctly (both Neo and Neo V) in recovery

ADB access in recovery

Clockworkmod 5.0.2.7 (credits DoomLord)

Overclock (OC): upto 1.6 GHz (use with discretion, i will not be responsible for ANY damage)

Governors: Smartassv2, Intellidemand, OndemandX, Smoothass, InteractiveX, SavagedZen, BrazilianWax

IO scheduler: sio added built in (default)

Filesystems: ext4 inbuilt, isofs, ntfs as modules added

Network: VPN support (tun/tap driver)

USB OTG: USB OTG support built in(mass storage, hid, mouse, keyboard)

Enable only features you want!! (See instructions below)

userinit support

Undervolting with vdd_levels sysfs

2-way call recording patch (experimental)

swap:Enable with single line (How-to here)

Download

Please see new install instructions!!

suave-kernel-v6-neov.img <- NEO V

suave-kernel-v6-neo.img <- NEO

OC increased to 1.6 GHz, swap (can be enabled with a single line) How-to here.

suave-kernel-v5-exp-neov.img <- NEO V

suave-kernel-v5-exp-neo.img <- NEO

Much better battery life!! + BrazilianWax & SavagedZen governors

CPU OC only till 1.4 GHz. Please see discussion here.

Previous:

suave-kernel-v3.1-exp-neov.img <- NEO V

Small bug-fix (no more kernel errors on logcat)!

suave-kernel-v3-exp-neov.img <- NEO V

suave-kernel-v3-exp-neo.img <- NEO

Added 2-way call recording + battery saver tweaks (full changelog post 2)

suave-kernel-v2-neov.img <- NEO V

suave-kernel-v2-neo.img <- NEO

Added UV (How-to below) + NTFS inbuilt (all changelog 2nd post)

suave-kernel-v1-neov.img <- NEO V

suave-kernel-v1-neo.img <- NEO

Stock WiFi modules

Required by only those coming from Night-elf kernel, CWM flashable.

Q. How to install?

Just as you install a custom kernel.

Steps:

1. Power down device and get into FASTBOOT MODE -> switch off device hold menu key & plugin usb. (LED notification turns BLUE)

2. check fastboot with "fastboot devices"

3. flash boot image

fastboot flash boot boot.img

4. Reboot with "fastboot reboot"

5. Enjoy!

How to enable/disable features?

This kernel sets properties to features so that they can be enabled or disabled easily

shardul.module.tun=0
shardul.module.isofs=0
shardul.module.ntfs=0
shardul.module.hid_apple=0
shardul.module.hid_microsoft=0

Method 1: Edit /data/local.prop directly

Method 2: "writeprop shardul.module.isofs 1" on shell / terminal emulator for individual properties set/unset

Module will be loaded on next boot!

If you want to load module only for the current session, see this app!

Q. How to undervolt (UV)?

Easy methods -> andrev_oc, IncrediControl (Thanks to adridu for the tip)

OR

Query vdd levels (output: first column: frequency (kHz), second column: vdd* (mV))

cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

incrementing/decrementing all levels by a specified amount* (mV):

echo '-25' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '+25' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

adjusting the supply voltage* (second value, mV) at a specific frequency (first value, kHz):

echo '998400 1250' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

*: vdd values must be a multiple of 25 (enforced by the interface; the regulator doesn't accept other values)

Want this on locked bootloader? : See here

Credits:

AnDyX, DooMLord, Bylos, inteks and all devs on XDA

Source:

https://github.com/shardul-seth/Suave-Kernel-Xperia-2011/tree/haida

ToDo:

- Add 0% battery patch