FORUMS
Remove All Ads from XDA

 View Poll Results: What is your maximum stable(no reboots) CPU undervolting at 1GHz?

12.5 uV
 
11 Vote(s)
11.34%
25.0 uV
 
14 Vote(s)
14.43%
37.5 uV
 
14 Vote(s)
14.43%
50.0 uV (this should be the 2nd most common)
 
17 Vote(s)
17.53%
62.5 uV (this should be the most common)
 
29 Vote(s)
29.90%
75.0 uV
 
5 Vote(s)
5.15%
87.5 uV
 
4 Vote(s)
4.12%
100.0 uV
 
3 Vote(s)
3.09%

[KERNEL][AOSP] zwliew_Kernel - r1

771 posts
Thanks Meter: 2,800
 
Post Reply Email Thread
I'm not very good at OPs so let's cut to the chase. The general idea is performance, battery efficiency and stability.

zK Tweaker makes your life better: https://play.google.com/store/apps/details?id=zwliew.zktweaker

Download:
http://xda.mister-freeze.eu/zwliew

Source:
https://github.com/zwliew/android_kernel_samsung_codina

Changelog:
http://xda.mister-freeze.eu/zwliew/changelog.html

Thanks
@S.AMU for FTP server

XDA:DevDB Information
zwliew_Kernel, Kernel for the Samsung Galaxy Ace II

Contributors
zwliew
Source Code: http://goo.gl/KgqOqp

Kernel Special Features: Performance, Power Saving, Periodic updates

Version Information
Status: Stable
Current Stable Version: r1
Stable Release Date: 2014-07-06

Created 2014-04-20
Last Updated 2015-11-12
The Following 91 Users Say Thank You to zwliew For This Useful Post: [ View ] Gift zwliew Ad-Free
 
 
20th April 2014, 03:46 PM |#2  
zwliew's Avatar
OP Senior Member
Flag Singapore
Thanks Meter: 2,800
 
More
Recommended Settings
Recommended settings are built into kernel either by ramdisk or init.d script.

Enjoy optimised settings every build :]
The Following 20 Users Say Thank You to zwliew For This Useful Post: [ View ] Gift zwliew Ad-Free
20th April 2014, 03:46 PM |#3  
zwliew's Avatar
OP Senior Member
Flag Singapore
Thanks Meter: 2,800
 
More
Compatible ROMs
This is a list a compatible ROMs based on users' feedback. This kernel should be compatible with almost all Android 4.4 ROMs, but this is just to give a sense of assurance to users.

Android 4.4 Kitkat
TeamCanjica CyanogenMod 11.0
NovaFusion CyanogenMod 11.0
OmniROM
Carbon
Beanstalk
C-ROM
Mahdi-ROM
Ressurection Remix
SlimKat
LiquidSmooth
AOSPA 4+

Any more ROMs to add to the list? ;]
The Following 34 Users Say Thank You to zwliew For This Useful Post: [ View ] Gift zwliew Ad-Free
20th April 2014, 03:48 PM |#4  
zwliew's Avatar
OP Senior Member
Flag Singapore
Thanks Meter: 2,800
 
More
Changelog
New changelogs can be found in the zK Tweaker app

Old Changelogs:

20140615

Latest commit: 4948f9435c4c47f768e3ed8c1b33612f33409d41

-- New --
Android 4.3+ TRIM support
Added UHID bluetooth support

-- Improvements --
Interactive governor performance improvements
A few more Linaro and Cortex-A9 optimisations and fixes
More responsive CPU frequency switching
Better and faster recovery backup
WIFI BCMDHD updates
SELinux updates (we're going to use SELinux soon)
Updates in IPV4 and IPV6
Updated per-application data usage monitoring and tracking

-- Bug Fixes --
Removed BLN blinking until further testing
BLN without blinking works fine without wakelocks now
Fixes in IPV4 and IPV6
SELinux fixes (we're going to use SELinux soon)


20140609-TEST

Latest commit: 2b7e2903f151f971a237bf4e29ef6e687511b81a

Reverted more CPUFREQ steps commits

20140608

Latest commit: 63568d6d8eb2d447f922581792c7dd0eb130c6d2

Rebased everything from scratch
Built with Linaro GCC 4.9 2nd June
Interactive governor and ROW I/O scheduler (defaults)
Project Butter reimplemented
Much faster boot time
More CPU frequencies

20140602

Latest commit: b12f7372e0aa4a8a91414c9336866889369d9213

Built with Linaro GCC 4.9
Optimise vfs_cache_pressure and decrease vfs_cache_pressure to 10 on suspend
Reboots should really be fixed now (Revert cocafe's recent LiveOPP commits)
Upstream back to Linux 3.0.101 (Full with Linux 3.0.45)
Re-add and optimise Dynamic FSync
Re-add interactive governor suspend hotplugging
Add Frandom
Backport lowmemorykiller from android-3.4 + CAF
KSM battery saving improvements during idle

20140531

Latest commit: a82a4429fd0c6399a7b369de0d4dc485a1c6b7e2

Add FSTRIM support
Update exFAT driver to v1.2.5 + optimisations
Probably fix BLN problems
Probably fix reboots
Revert back to 3.0.31
Increase suspend vfs cache pressure to 50

20140527

Latest commit: 01dec50981d60dcb191e0e7bf82cafebe692b088

Add more cpufreq steps (cocafe)
Set default vfs cache pressure to 100 for less stuttering
Upstream to Linux 3.0.101 (no BT bugs)
Disabled hotplugging driver for now (only going to use it for tests until it is fine)

20140526

Latest commit: 5c02dcc5fd245b5a7c5d62d3ae13c0878b9a04f1

fs: dynamic management of vfs cache pressure -> better battery life
u8500_hotplug: new algorithm -> almost 100% performance with some hotplugging when not using/suspend
bluetooth_mgmt: upstream to linux 3.0.101

20140525-TEST

Latest commit: 7e5e277ee220c6bdf9abbea0a526a8e8dd8e157d
Vast improvements in performance both in hotplugging driver and interactive governor :]

20140524-TEST

Latest commit: 6bac98f4c321b30a6cfea2967d560f1756d8f47d
Compiled with NovaTP GCC 4.9
Various fixes and hotplugging improvements in hotplug driver
Fix bug whereby minimum CPU frequency will be stuck at 200 MHz

20140523-test

Add a very simple CPU load-based hotplugging driver (test)
Re-enabled logger but reduced RAM needed by logger
Reduced WIFI wakelocks
Compiled with Linaro GCC 4.8
Enabled BLN wakelock functionality but disable it by default
(to enable: echo 1 > /sys/class/misc/backlightnotification/wakelock)

20140521

More optimisations
Using Google GCC 4.8 in the meantime

20140519

enable dynamic page writeback (forgot in previous release)
using arch dependent cpu power functions
interactive: faster wake up from suspend
build with linaro gcc 4.8 and various optimisations

20140517

bln: allow configuration of both blink on and off delays
dt2w: decrease press timeout to 250ms
sched: disable gentle fair sleepers
mm: dynamic management of dirty page writebacks -> better performance + battery life
mutex: dynamically disable mutex spinning at high load -> better battery life

20140513-FSYNCTEST

interactive: patches to reduce delay and smoothen freq changing
interactive: screen off hotplugging should happen faster now
fsync: replace dynamic fsync with asynchronous fsync
bcmdhd: probably fix a wakelock when using a dynamic ip
backlight: reduce min brightness to 1
fs: asynchronous io latency improvements

20140511 v2

ondemand: backport from android-3.4 branch
dt2w: allow tuning of touch timeout
backlight: lower minimum brightness to 2 (testing)
interactive: more tweaking
bln: configuration of blink delay

20140511

interactive: tone down touchboost
lowmemorykiller: revert to lk 3.0 for zram optimised code
slub & fat: update from lk 3.0.101
drivers: updates from cocore (charger, mali, etc.)

[beta] doubletap2wake: added a simple implementation of dt2w and sysfs (needs testing)

20140509

interactive: changes to try to reduce time on max freq
interactive: add early suspend hotplugging support

20140507

abbamp: add back old fix commit
interactive: fix touchboost and performance improvements

20140505

allow bln blinking + customisation of blinking --> novathor settings update for customisation coming soon
interactive: tweaking
interactive: new touchboost
rcu: using jrcu now
block: remove bfq (stuttering)
slim kernel size down a little

20140503

sioplus: update from boy peterson
abb-fg: fix laziness on low capacity
abbamp: abbamp 2.5.0
bfq: update to v7r3
ext4: performance improvement
interactive: performance improvement
wifi: revert a commit that probably caused more wakelocks
kernel/timer: optimise apply_slack() for size and speed
binfmt_elf.c: use get_random_int() to fix entropy depleting

20140430

Reverted Interactive to stock from android-3.4 branch + commits from CAF (going to redo this)
Changed to LZ4 instead of LZO (faster decompression, albeit a little larger file size)
Faster compression/decompression
Faster boot-up
Update cubic to LK 3.0.101
random entropy tweaks
Reduce wifi wakelocks in suspend
Re-added Interactive touchboost and tuned Interactive
Some misc patches

20140427

Improvements to touchboost in Interactive
Performance and battery tweaks in Interactive
Set sched_mc to 0 for better performance (especially in hotplug governors)
fs improvements

20140426

Re-enable performance governor
Remove intelliactive governor
Add Interactive touchboost and screen-off hotplugging
Interactive updates from CAF(more sysfs entries and code improvements)
ARM decompressor code optimization
LZO Upstream Update
Updates from previous release
mm performance improvement
TCP throughput improvement

20140425

Remove zzMoove and Lagfree governors
General I/O speed improvements
Made ROW default scheduler
ROW updates and improvements
Deadline scheduler latency and read speed improvement
Remove sio scheduler

20140424

Actually enable zzMoove governor
Tweak Intelliactive for more performance
Add screen-off hotplugging for Intelliactive (better battery)
Disabled useless governors (Performance, Powersave, Userspace)

20140423

Enable governors and schedulers added previously
Added Intelliactive (default)

20140422

Backport android-3.4 interactive governor
Add lagfree and zzMove governors
Add row and bfq schedulers
Some readahead patches to improve IO
Compiler -O3 and other optimizations

20140421

Cortex-A9 compiler optimizations
Better power management for CPU scheduling
KSM performance improvements
Square root function performance improvements

20140420

Based off TeamCanjica CM kernel
Built with Linaro GCC 4.7.4
Enable and set Interactive CPU governor as default

The Following 25 Users Say Thank You to zwliew For This Useful Post: [ View ] Gift zwliew Ad-Free
20th April 2014, 04:19 PM |#5  
Member
Thanks Meter: 15
 
More
Testing now, seems smooth, thanks
20th April 2014, 04:28 PM |#6  
Senior Member
Thanks Meter: 45
 
More
Can i use this kernel with cm 10.1 or 10.2?
20th April 2014, 04:36 PM |#7  
DEMONVoz's Avatar
Senior Member
Thanks Meter: 73
 
More
Can you add more governors and i/o schedulers?
Quote:
Originally Posted by manthes

Can i use this kernel with cm 10.1 or 10.2?

No
The Following User Says Thank You to DEMONVoz For This Useful Post: [ View ] Gift DEMONVoz Ad-Free
20th April 2014, 04:59 PM |#8  
str3tch72's Avatar
Senior Member
Flag Lubartów
Thanks Meter: 772
 
More
So will it work on Mahdi? It is based on CM11 by TC.

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
20th April 2014, 05:06 PM |#9  
hmzh's Avatar
Senior Member
Flag damascus
Thanks Meter: 34
 
More
great kernel can you do a kernel for stock rom
The Following 3 Users Say Thank You to hmzh For This Useful Post: [ View ] Gift hmzh Ad-Free
20th April 2014, 10:41 PM |#10  
zwliew's Avatar
OP Senior Member
Flag Singapore
Thanks Meter: 2,800
 
More
You can use this kernel with Cm 10.2, not sure about cm 10.1 though.

Sent from my GT-I8160 using Tapatalk
The Following 4 Users Say Thank You to zwliew For This Useful Post: [ View ] Gift zwliew Ad-Free
20th April 2014, 10:42 PM |#11  
zwliew's Avatar
OP Senior Member
Flag Singapore
Thanks Meter: 2,800
 
More
Quote:
Originally Posted by DEMONVoz

Can you add more governors and i/o schedulers?

No

Yes, but I'm not a fan of adding a multitude of governors and I/O schedulers.

Sent from my GT-I8160 using Tapatalk
The Following User Says Thank You to zwliew For This Useful Post: [ View ] Gift zwliew Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes