[KERNEL][ICS] Suave Kernel v6 ☰ Battery Friendly ☰ {OC,UV,2WCR,Gov,IO,FS,Net} 19-Jun

Search This thread

shardul_seth

Senior Member
Jul 31, 2011
1,103
1,717
[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)
    new.gif
  • Governors: Smartassv2, Intellidemand, OndemandX, Smoothass, InteractiveX, SavagedZen, BrazilianWax
    new.gif
  • 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)
    new.gif

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!

new4.gif
How to enable/disable features?

This kernel sets properties to features so that they can be enabled or disabled easily
Code:
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))
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

incrementing/decrementing all levels by a specified amount* (mV):
Code:
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):
Code:
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)



new4.gif
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
 
Last edited:

shardul_seth

Senior Member
Jul 31, 2011
1,103
1,717
Changelog

Changelog:

Version 6 (2012-06-19):
= OC increased to 1.6 GHz
+ Swap on system (change amount by editing /data/local.prop)
+ VM readahead increased

Version 5 (2012-06-19):
+ MUCH better battery life
+ Governors: BrazilianWax and SavagedZen
= Governors: Tweaked values
- OC only till 1.4 GHz, removed some frequency steps (reverted to stock freq)

Version 3 exp (2012-06-14):
+ 2-way call recording patch
+ VM readahead to 512
+ Disabled NFS for better battery saving (module available)
+ Disabled some debugging features (better battery)

Version 2 (2012-06-14):
+ sysfs vdd levels interface for undervolting
+ NTFS also integrated into the kernel

Version 1 (2012-06-13):
+ init.d support
+ ro.secure=0 (that is now adb has native root access!)
+ ADB access in recovery
+ Clockworkmod 5.0.2.7
+ Overclock (OC): upto 1.7 GHz (use with discretion)
+ Governors: Smartassv2, Intellidemand and OndemandX, Smoothass
+ IO scheduler: sio
+ 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)
+ Option to enable/disable some modules
+ userinit support
 
Last edited:

DeathCzar

Senior Member
Dec 20, 2011
844
418
Mumbai
Awesome! Will try it as soon as I get my hands on a computer. Mine is broken right now.:mad:

Sent from my MT11i using xda premium
 

geekynoob

Senior Member
Sep 25, 2011
4,367
3,149
New Delhi
Flashed...

Wifi-OK
Cam-OK
BT-OK
Video Play-OK

U-Totta OK..!!
Battery Drain to be tested.. :)
Problem-This doesnt supprt Undervolting??? :(
i want this feature..it really helps in battery use..

Will give a better feedback tommorow..

Charging the phone.. :)
 
Last edited:

shardul_seth

Senior Member
Jul 31, 2011
1,103
1,717
Flashed...

Wifi-OK
Cam-OK
BT-OK
Video Play-OK

U-Totta OK..!!
Battery Drain to be tested.. :)
Problem-This doesnt supprt Undervolting??? :(
i want this feature..it really helps in battery use..

Will give a better feedback tommorow..

Charging the phone.. :)

Undervolting (vdd) ready on my local build :D
Will be there on the next update!
 

shardul_seth

Senior Member
Jul 31, 2011
1,103
1,717
@ALL:
1. I have noticed that v6 supercharger script adds "pm.sleep_mode=1" in build.prop

This causes high drain on some networks in sleep.. Just remove that line after install v6 supercharger script by zeppelinrox

2. If data is on overnight, it uses a lot of battery.. Use any script or app to turn off data when not required
 
Last edited:

shardul_seth

Senior Member
Jul 31, 2011
1,103
1,717
is there tutorial about Under-volt and how can i use it :)
Did you even read the OP?
There is a section on how to undervolt!!


@kibol44: Values are reset at boot.. So try low values (individually for all frequencies), if phone freezes or random reboots, then you are too low ;). After you have found the correct values for your phone, you would need an init.d script for setting values on every boot..


@ALL: 2-way call recording, some debugging features turned off (logcat is still enabled), VM readahead increased, NFS (which i dont think anybody uses, but available as module) turned off for better battery..

My phone running stable on it since the last 4 hours. Anyone else who is willing to test?
 
Last edited:
  • Like
Reactions: DuBy_Dubiosu

Top Liked Posts

  • There are no posts matching your filters.
  • 115
    [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)
      new.gif
    • Governors: Smartassv2, Intellidemand, OndemandX, Smoothass, InteractiveX, SavagedZen, BrazilianWax
      new.gif
    • 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)
      new.gif

    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!

    new4.gif
    How to enable/disable features?

    This kernel sets properties to features so that they can be enabled or disabled easily
    Code:
    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))
    Code:
    cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

    incrementing/decrementing all levels by a specified amount* (mV):
    Code:
    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):
    Code:
    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)



    new4.gif
    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
    25
    Changelog

    Changelog:

    Version 6 (2012-06-19):
    = OC increased to 1.6 GHz
    + Swap on system (change amount by editing /data/local.prop)
    + VM readahead increased

    Version 5 (2012-06-19):
    + MUCH better battery life
    + Governors: BrazilianWax and SavagedZen
    = Governors: Tweaked values
    - OC only till 1.4 GHz, removed some frequency steps (reverted to stock freq)

    Version 3 exp (2012-06-14):
    + 2-way call recording patch
    + VM readahead to 512
    + Disabled NFS for better battery saving (module available)
    + Disabled some debugging features (better battery)

    Version 2 (2012-06-14):
    + sysfs vdd levels interface for undervolting
    + NTFS also integrated into the kernel

    Version 1 (2012-06-13):
    + init.d support
    + ro.secure=0 (that is now adb has native root access!)
    + ADB access in recovery
    + Clockworkmod 5.0.2.7
    + Overclock (OC): upto 1.7 GHz (use with discretion)
    + Governors: Smartassv2, Intellidemand and OndemandX, Smoothass
    + IO scheduler: sio
    + 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)
    + Option to enable/disable some modules
    + userinit support
    16
    Updated to v6!

    Changelog:
    = OC increased to 1.6 GHz (Popular request)
    + Swap on system (change amount by editing /data/local.prop)
    + VM readahead increased

    How to enable swap on /system?
    For first time users, it is enabled automatically (50 MB on system)

    For those using previous versions of my kernel..
    1. Make sure how much space you have on system
    2. Edit /data/local.prop and add the line
    Code:
    shardul.swap.mb=[COLOR="Red"]64[/COLOR]
    Change 64 any value you want (in MB)
    3. Reboot
    4. After reboot, check amount of swap used by typing
    Code:
    busybox free
    in terminal
    11
    Updated v5

    Updated to v5 (v4 skipped ;))

    + MUCH better battery life
    + Governors: BrazilianWax and SavagedZen
    = Governors: Tweaked values
    - OC only till 1.4 GHz, removed some frequency steps (reverted to stock freq)

    OC code was causing battery drain (maybe vdd levels were not correct).. So I have reverted to stock frequency steps, with minimal changes required to unlock the 1.2 and 1.4 GHz OC.

    [Please reset values to min 245 and max 1024 MHz in No-frills CPU or SetCPU or any script that you are using before flashing this]

    Battery life is much better now (3% drain in 9 hours on idle) :D