choppy
Dauer-User
- 277
Original Thread XDA
Kangaroo Kernel for the HTC One GSM: Sense ROMs
Linux 3.4.91+
For android 4.4.2 Sense ROMs
Kangaroo Kernel for the HTC One GSM: Sense ROMs
Linux 3.4.91+
For android 4.4.2 Sense ROMs
Features:
Compiled with latest Linaro Christopher83 Linaro 4.8.3 toolchain
Better performance and battery savings due to the use of more efficient algorithms and optimized code
Optimized configuration: stripped of wasteful debug and things that are useless on android phones
Patched to latest upstream Linux 3.4.y
Build/memory optimizations
CPU undervolted by 50mV
CPU stats (quad core)
Scheduler improveents
Slimbus OC!
Audio tweaks and improvements
Advanced TCP algorithms (westwood default)
GPU tweaks, underclocked with freqs 128, 200, 320, 400MHz
Increased GPU BUS bandwidth
Backports from CAF/upstream
Stripped a lot of debugging
memutils: memcpy, memmove, copy_page optimization (moto)
enhancements and fixes from motorola open source repos
msm: dma: upstreamed to CAF
kernel random gen driver updated to Linux 3.14+ (faux123)
backported 3.12+ kernel scheduler features/fixes/enhancements (faux123)
out of memory and memcontroller updated from Linux 3.14+ (neobuddy)
cpuidle: update functions from CAF/Linaro for better idle
eventpoll updated to Linux 3.14+
ext4: upstreamed to latest CAF
qdsp6v2 audio format drivers from latest CAF
mm: optimized KSM
upstreamed random32 drivers to latest CAF to work with ext4 updates
kernel mode NEON
update/ optimize mutex functions (faux123/CAF for improved multitasking
use freezable blocking calls (faux123/CAF for improved efficiency and battery savings)
generic strnlen_user() function used in many instances
support kernel side for f2fs (Samsung--> needs ramdisk support, see your rom "chef")
implement kexec_hardboot aka multirom support in kernel (again needs ramdisk support)
tcp small queues, early retransmit, auto corking, speed tweaks
2w options (s2w, dt2w, l2m etc: flar2, default s2s/dt2w bottom of screen)
compressed with LZ4
L2 cache synced with CPU clocks
reduced HSIC wakelocks
Linaro Power Efficient Workqueues
USB force fast charge
ported slimbus drivers from HTC m8/Nexus 5
slimbus updates backported from latest CAF 3.5
slimbus OC MKII (Poondog/ZeroInfinity)
CPU governors (italics for default): ondemand, performance, userspace, msm-dcvs, powersave
io sched: no-op, deadline, CFQ, ROW, FIOPS, BFQ, SIO
Installation:
1. Download kernel
2. Reboot to recovery
3. Backup
*if you come from faux or tbalden please reflash your rom, you don''t need a wipe. They have some trickery with their own hotplugs so they have reomved mpdecision, so without reflashing your phone will be stuck on quad core*
4. Flash kernel
5. Reboot
*Please let it sit for ~10 mins before judging as it will need to settle down. Do not judge battery life unless you've run it through at least 3+ cycles after flashing*
Download latest version:
v138
Alle vorherigen Versionen
Changelog
*****v138*****20 August*****
Kangaroo Kernel v138 (4.4.2 ROMs only!)
.patch to upstream 3.4.103
.overclock the GPU to 487MHz. I added an extra step, not replaced what we had (see below)
.disable some more debug (less wastage of energy for greater battery life)
.disable F2FS, who even knew it was here anyway
.updates to kernel processes from CAF/upstream
.lower max i2c clock to 384KHz, to save battery
.minor updates to ONDEMAND gov from tiny4579/stratosk
.import ULTRASOUND audio drivers from latest CAF. We are using ULTRASOUND_A, made for msm8960 (improves audio playback)
*****v132*****12 August*****
.cleaned up touchscreen drivers and removed whitespaces
.build version is changed slightly to show kangaroo kernel mkiii, to differentiate between 4.4.3
.cleaned up thermal drivers since last release
.some changes to thermal algorithm to be more reliable and more accurate
.tuned thermal for a bit cooler (see below)
.remove some debugging in sched (less wasted energy)
.misc optimizations/updates for compression/decompression (more reliable, ref. cl3kener git)
.misc optimizations/updates for CPUFREQ
.updated RANDOM32 driver from Linux 3.16.y kernel
.updated RANDOM driver from Linux 3.16.y kernel (see below, ref. dorimanx git)
.ported new random driver for use on m7 s600 (me)
.cleaned up vibrator driver (more optimized and usable code now)
.lower default 2w vibration to 18, down from 20
.SMARTMAX: use new relation_C to better choose frequencies
.PRESERVATIVE: use new relation_C to better choose frequencies
.upstream improvements to kernel sync drivers (effects general operations, and io related things)
.upstream improvements to sched (will effect general performance and battery)
.updated LZ4 kernel compression binary to r120
.merge upstream Linux kernel 3.4.102
.built with Ubuntu 14.10, in pink and purple.. not that it matters!
.more, see github
*****v122*****26 July*****
.thermal: bring in new thermal driver. Seems to have better control over freqs compared to before. Butchered it. Now we have some weird roo thermal beast. See below. (myfluxi, me)
.introduce powersaver cap for limiting cpu max freq (me, see below)
.patch to upstream 3.4.99 (kernel.org)
.2w: rewrote this is some places. Add support for bi-directional sweep2wake and sweep2sleep (thx @Savoca for a few pointers and the idea, flar for the original code, see below)
.compile with new toolchain 4.9.1 Christopher83 2014.07
.disable HTC write protection (thx Tiny)
.clean up some drivers of unneeded code
http://forum.xda-developers.com/showpost.php?p=54408387&postcount=4819
*****v116*****18 July*****
.update BFQ-v7r5 I/O sched for 3.4 complete with Early Queue Merge
.tune smartmax tunables for more battery (thx @Rad Ryan)
.fixed sound issues from v110
.merge upstream Linux 3.4.98
.updates to lz4 kernel side code .updated to lzo kernel side
.new freq relation for Ondemand gov adapted for HTC Ondemand(stratosk, see below)
.tune deadline iosched for better performance (myfluxi)
.some updates merged from Nexus 7 L preview
[KERNEL][LINARO4.9.1] ★☆ Kangaroo Kernel ☆★ | 18 JULY | v116 | SENSE4.4.2 | 5.11.401.10 | Linux 3.4.98+ ///// JOEY KERNEL CM | 14 JULY | 3.4.94+ - Post #4555 - XDA Forum
*****v110*****8 July*****
.backported futex updates and fixes (for vulnerability, cred kernel.org/CM)
.some fixes for gpu
.updates to Linaro topology
.add Krait specific topology values (for cpu efficiency, neobuddy89)
.fix all audio bugs. ALL OF THEM
.mutex enhancements from v085 (CAF)
.disabled some useless govs, you won't even notice them missing .enable all PM sleep states (see below)
.updated installer script for all devices. Delete thermal and thermal backup files on flash *IF YOU FLASH ANOTHER KERNEL REFLASH ROM FIRST* (thx @Ser35) Remember we have custom kernel side thermal manager so all g
.update LZ4 binary to latest r119 (to do with kernel compression) .patch to latest Linux 3.4.97
[KERNEL][LINARO4.9.1] ★☆ Kangaroo Kernel ☆★ | 8 JULY | v110 | SENSE4.4.2 | 5.11.401.10 | Linux 3.4.97+ ///// JOEY KERNEL CM | 21 JUNE | 3.4.94+ - Post #4222 - XDA
****v100****23 JUNE*****
.base 5.11.401.10 (m7ul-3.4.10-g3c4bd25 )
.throttle earlier
.fixed audio bugs
.import conservative gov from 3.15+
.patch to 3.4.94
.update toolchain to latest 2014.06 4.9.1 Christopher83
.some under the hood stuff
.yeah tons of stuff since v077, remember we reverted to that lol
****v085*****08 JUNE*****
.misc updates to congestion stuff and sched (for greater efficiency and battery)
.fix bluetooth for Sprint and Verizon (thx Brymaster)
.thermal: a bit cooler on the higher phases
.cpufreq: ported CONSERVATIVE gov from Linux 3.14+ (stratosk, kernel.org)
.improvements to memory model section of kernel (to do with processing stuff)
.mutex enhancements from CAF
.update SELINUX from 4.4.3 google source (kernel side security)
.some misc updates from google 4.4.3 source
.under the hood stuff (see git)
****v077*****30 MAY*****
.updates to msm_bus for better performance, particularly in gaming
.support Sprint and Verizon (will link their threads later)
.enabled all thermal devices
.support 3 phase bricked msm_thermal (showp1984)
.port thermal to our setup
.remove stock thermal control (rename binary to thermald.bak)
.setup thermal for pretty cool: see below
.support more TCP algorithms (for data congestion control)
****v068*****26 MAY*****
Changelog: 26 May, Kangaroo Kernel v068
.build with Linaro CR83 2014.05 4.9.1 toolchian (update from last months)
.upstream to Linux 3.4.91 (kernel.org)
.added preservative governor latest version, tweaked for m7 (bedalus, me)
.added smartmax governor, set m7 defaults (maxwen, me)
.added easter eggs
.reverted dubious sched changes that brought small stutter
.reverted cpuidle to stock to fix sleep times and battery (sorry)
.some misc fixes
.updated BFQ-v7r4 I/O sched for 3.4
.add Early Queue Merge (EQM) to BFQ-v7r4 for 3.4.0
****v058*****18 MAY*****
.idle the gpu properly
.decrease mmc wakelocks and time to enter deep sleep (tripnraver)
.update latest caf topology (to do with CPU behavior, Linaro/Synthetic.Nightmare)
.update lz4 compression binary to r117 and some tweaks to compression .reduce wifi wakelock by a lot (Imoseyon, me)
.patch upstream to Linux 3.4.90
.disabled some crap from defconfig to make the kernel leaner
.complete backport of CPUIDLE from Linux 3.14 (see below)
.some device map fixes
xda-developers - View Single Post - [KERNEL][LINARO4.9.1] ★☆ Kangaroo Kernel ☆★ | 18 MAY | v059 | SENSE4.4.2 | Linux 3.4.90+ ///// JOEY KERNEL CM | 12 MAY | 3.4.89+ ///// Kangaroo Control script post #3
*****v044*****
.implement hashtable introduced in 2e41ba2df20f986b8ae722b9979a57e3ffe31f68 for moar drivers (efficiency)
.merged many rwsem patches from mainline Linux (to improve rw semaphores)
.userspace voltage control (myfluxi, see below)
.minor sound driver update
.build with Christopher83 Linaro 4.9.1 toolchain by default now
.cpufreq drivers rewritten in some places to be more logical and efficient (Linaro)
.some minor tcp tweaks (releted to data use)
.more tweaks to slimbus (see below)
.patch to 3.4.89
Voltage control: can be used with kangaroo control script. You'll have to un comment out those lines. Remember, not everyones CPU can take the same.. @geko95gek @neniick could easily take 700mV min on their PVS3 devices at 384MHz, so I lowered min to 600mV. Anything under this will not work.
Min voltage: 600mV
Max voltage: 1300mV
Be careful with voltage control (this is kinda a reason why I didn't want to include) but the guys convinced me that they'd be careful
Do not set anything on boot or with scripts unless you know it will work and not bootloop your device!
Slimbus: from commit message:
Quote:
DRIVERS: SLIMBUS: some more tweaks:
Set ROOT_FREQ at 22, which is double what we had before. According to some documents this is what we want for optimium audio quality
Force SLIM_RATE to 44.1KHz and 48KHz instead of much lower values. This way it will be forced to run at these freqs to match the majority of audio files user will be playing.
ZeroInfinity/Poondog
Signed-off-by: ZeroInfinity <infinitezero345@gmail.com>
Signed-off-by: poondog <markj338@gmail.com>
Kangaroo Kernel v138 (4.4.2 ROMs only!)
.patch to upstream 3.4.103
.overclock the GPU to 487MHz. I added an extra step, not replaced what we had (see below)
.disable some more debug (less wastage of energy for greater battery life)
.disable F2FS, who even knew it was here anyway
.updates to kernel processes from CAF/upstream
.lower max i2c clock to 384KHz, to save battery
.minor updates to ONDEMAND gov from tiny4579/stratosk
.import ULTRASOUND audio drivers from latest CAF. We are using ULTRASOUND_A, made for msm8960 (improves audio playback)
*****v132*****12 August*****
.cleaned up touchscreen drivers and removed whitespaces
.build version is changed slightly to show kangaroo kernel mkiii, to differentiate between 4.4.3
.cleaned up thermal drivers since last release
.some changes to thermal algorithm to be more reliable and more accurate
.tuned thermal for a bit cooler (see below)
.remove some debugging in sched (less wasted energy)
.misc optimizations/updates for compression/decompression (more reliable, ref. cl3kener git)
.misc optimizations/updates for CPUFREQ
.updated RANDOM32 driver from Linux 3.16.y kernel
.updated RANDOM driver from Linux 3.16.y kernel (see below, ref. dorimanx git)
.ported new random driver for use on m7 s600 (me)
.cleaned up vibrator driver (more optimized and usable code now)
.lower default 2w vibration to 18, down from 20
.SMARTMAX: use new relation_C to better choose frequencies
.PRESERVATIVE: use new relation_C to better choose frequencies
.upstream improvements to kernel sync drivers (effects general operations, and io related things)
.upstream improvements to sched (will effect general performance and battery)
.updated LZ4 kernel compression binary to r120
.merge upstream Linux kernel 3.4.102
.built with Ubuntu 14.10, in pink and purple.. not that it matters!
.more, see github
*****v122*****26 July*****
.thermal: bring in new thermal driver. Seems to have better control over freqs compared to before. Butchered it. Now we have some weird roo thermal beast. See below. (myfluxi, me)
.introduce powersaver cap for limiting cpu max freq (me, see below)
.patch to upstream 3.4.99 (kernel.org)
.2w: rewrote this is some places. Add support for bi-directional sweep2wake and sweep2sleep (thx @Savoca for a few pointers and the idea, flar for the original code, see below)
.compile with new toolchain 4.9.1 Christopher83 2014.07
.disable HTC write protection (thx Tiny)
.clean up some drivers of unneeded code
http://forum.xda-developers.com/showpost.php?p=54408387&postcount=4819
*****v116*****18 July*****
.update BFQ-v7r5 I/O sched for 3.4 complete with Early Queue Merge
.tune smartmax tunables for more battery (thx @Rad Ryan)
.fixed sound issues from v110
.merge upstream Linux 3.4.98
.updates to lz4 kernel side code .updated to lzo kernel side
.new freq relation for Ondemand gov adapted for HTC Ondemand(stratosk, see below)
.tune deadline iosched for better performance (myfluxi)
.some updates merged from Nexus 7 L preview
[KERNEL][LINARO4.9.1] ★☆ Kangaroo Kernel ☆★ | 18 JULY | v116 | SENSE4.4.2 | 5.11.401.10 | Linux 3.4.98+ ///// JOEY KERNEL CM | 14 JULY | 3.4.94+ - Post #4555 - XDA Forum
*****v110*****8 July*****
.backported futex updates and fixes (for vulnerability, cred kernel.org/CM)
.some fixes for gpu
.updates to Linaro topology
.add Krait specific topology values (for cpu efficiency, neobuddy89)
.fix all audio bugs. ALL OF THEM
.mutex enhancements from v085 (CAF)
.disabled some useless govs, you won't even notice them missing .enable all PM sleep states (see below)
.updated installer script for all devices. Delete thermal and thermal backup files on flash *IF YOU FLASH ANOTHER KERNEL REFLASH ROM FIRST* (thx @Ser35) Remember we have custom kernel side thermal manager so all g
.update LZ4 binary to latest r119 (to do with kernel compression) .patch to latest Linux 3.4.97
[KERNEL][LINARO4.9.1] ★☆ Kangaroo Kernel ☆★ | 8 JULY | v110 | SENSE4.4.2 | 5.11.401.10 | Linux 3.4.97+ ///// JOEY KERNEL CM | 21 JUNE | 3.4.94+ - Post #4222 - XDA
****v100****23 JUNE*****
.base 5.11.401.10 (m7ul-3.4.10-g3c4bd25 )
.throttle earlier
.fixed audio bugs
.import conservative gov from 3.15+
.patch to 3.4.94
.update toolchain to latest 2014.06 4.9.1 Christopher83
.some under the hood stuff
.yeah tons of stuff since v077, remember we reverted to that lol
****v085*****08 JUNE*****
.misc updates to congestion stuff and sched (for greater efficiency and battery)
.fix bluetooth for Sprint and Verizon (thx Brymaster)
.thermal: a bit cooler on the higher phases
.cpufreq: ported CONSERVATIVE gov from Linux 3.14+ (stratosk, kernel.org)
.improvements to memory model section of kernel (to do with processing stuff)
.mutex enhancements from CAF
.update SELINUX from 4.4.3 google source (kernel side security)
.some misc updates from google 4.4.3 source
.under the hood stuff (see git)
****v077*****30 MAY*****
.updates to msm_bus for better performance, particularly in gaming
.support Sprint and Verizon (will link their threads later)
.enabled all thermal devices
.support 3 phase bricked msm_thermal (showp1984)
.port thermal to our setup
.remove stock thermal control (rename binary to thermald.bak)
.setup thermal for pretty cool: see below
.support more TCP algorithms (for data congestion control)
****v068*****26 MAY*****
Changelog: 26 May, Kangaroo Kernel v068
.build with Linaro CR83 2014.05 4.9.1 toolchian (update from last months)
.upstream to Linux 3.4.91 (kernel.org)
.added preservative governor latest version, tweaked for m7 (bedalus, me)
.added smartmax governor, set m7 defaults (maxwen, me)
.added easter eggs
.reverted dubious sched changes that brought small stutter
.reverted cpuidle to stock to fix sleep times and battery (sorry)
.some misc fixes
.updated BFQ-v7r4 I/O sched for 3.4
.add Early Queue Merge (EQM) to BFQ-v7r4 for 3.4.0
****v058*****18 MAY*****
.idle the gpu properly
.decrease mmc wakelocks and time to enter deep sleep (tripnraver)
.update latest caf topology (to do with CPU behavior, Linaro/Synthetic.Nightmare)
.update lz4 compression binary to r117 and some tweaks to compression .reduce wifi wakelock by a lot (Imoseyon, me)
.patch upstream to Linux 3.4.90
.disabled some crap from defconfig to make the kernel leaner
.complete backport of CPUIDLE from Linux 3.14 (see below)
.some device map fixes
xda-developers - View Single Post - [KERNEL][LINARO4.9.1] ★☆ Kangaroo Kernel ☆★ | 18 MAY | v059 | SENSE4.4.2 | Linux 3.4.90+ ///// JOEY KERNEL CM | 12 MAY | 3.4.89+ ///// Kangaroo Control script post #3
*****v044*****
.implement hashtable introduced in 2e41ba2df20f986b8ae722b9979a57e3ffe31f68 for moar drivers (efficiency)
.merged many rwsem patches from mainline Linux (to improve rw semaphores)
.userspace voltage control (myfluxi, see below)
.minor sound driver update
.build with Christopher83 Linaro 4.9.1 toolchain by default now
.cpufreq drivers rewritten in some places to be more logical and efficient (Linaro)
.some minor tcp tweaks (releted to data use)
.more tweaks to slimbus (see below)
.patch to 3.4.89
Voltage control: can be used with kangaroo control script. You'll have to un comment out those lines. Remember, not everyones CPU can take the same.. @geko95gek @neniick could easily take 700mV min on their PVS3 devices at 384MHz, so I lowered min to 600mV. Anything under this will not work.
Min voltage: 600mV
Max voltage: 1300mV
Be careful with voltage control (this is kinda a reason why I didn't want to include) but the guys convinced me that they'd be careful
Slimbus: from commit message:
Quote:
DRIVERS: SLIMBUS: some more tweaks:
Set ROOT_FREQ at 22, which is double what we had before. According to some documents this is what we want for optimium audio quality
Force SLIM_RATE to 44.1KHz and 48KHz instead of much lower values. This way it will be forced to run at these freqs to match the majority of audio files user will be playing.
ZeroInfinity/Poondog
Signed-off-by: ZeroInfinity <infinitezero345@gmail.com>
Signed-off-by: poondog <markj338@gmail.com>
Zuletzt bearbeitet: