[One (M7) Original Android Development] poondog:
Kangaroo Kernel MKIII for 4.4.2 Sense

(depreciated)

RIP​

Kangaroo Kernel for the HTC One GSM: Sense ROMs

Linux 3.4.103+, with many features and improvements from Linux 3.12 and 3.14

For android 4.4.2 Sense ROMs

Based off HTC 5.11.401.10 sources for 4.4.2 Sense

* Standard disclaimer:
* Your warranty is now void. Use at your own risk.
* In other words: It is your choice to use this software,
* I am not responsible for any damage or problems!

Download latest version:

http://xdaforums.com/showthread.php?p=54937723

All previous versions:

http://www.androidfilehost.com/?w=files&flid=15247

Sauce: https://github.com/poondog/kangaroo-m7-mkIII

*Please do not re upload without permission, I like to count downloads*

Changelog will be in post 2

CHANGELOG:
*****v138*****20 August*****
.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)
http://xdaforums.com/showthread.php?p=54937723

*****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
http://xdaforums.com/showthread.php?t=2564895&page=527#post54771268

*****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://xdaforums.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
http://xdaforums.com/showpost.php?p=54226594&postcount=4555

*****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 :P
.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
http://xdaforums.com/showpost.php?p=53972164&postcount=4222

*****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
.revert some stuff from v085 since it caused issues
http://xdaforums.com/showpost.php?p=53611734&postcount=3948

*****v085*****8 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)
http://xdaforums.com/showthread.php?p=53243483

*****v077*****31 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
.setup thermal for pretty cool: see below
.support more TCP algorithms (for data congestion control)
http://xdaforums.com/showpost.php?p=53047467&postcount=3372

*****v068*****26 MAY*****
.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
http://xdaforums.com/showthread.php?p=52912948

*****v059*****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
http://xdaforums.com/showpost.php?p=52736996&postcount=2964

*****v044*****9 MAY*****
.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
http://xdaforums.com/showthread.php?p=52518763

*****v040*****2 MAY*****
.slimbus updates backported from latest CAF 3.5 for msm (audio playback)
.out of memory and memcontroller updated from Linux 3.14+ ((for multitasking/battery, thx neobuddy)
.enhancements to lowmemorykiller (improved multitasking)
.SLIMBUS overclocking MKII (see below) Poondog/@ZeroInfinity
.2W: updates from flar (not including gestures)
.cpuidle: update functions from CAF/Linaro for better idle
.update eventpoll to Linux 3.14+ too (Efficient event retrieval implementation, thx neobuddy)
.update BFQ iosched to v7r3 (fiops still default)
.remove some armv7 specifications
.some makefile changes
.patch upstream to 3.4.88

*****v033*****25 APR*****
.sched/fair: Optimize find_busiest_queue()
.sched/fair: Optimize cgroup pick_next_task_fair()
.USB Fast Charge (Chad Froebel, Motley, Flar2: default is off)
.update some qdsp6v2 audio format drivers to latest CAF
.WORKQUEUE: introduce Linaro Power Efficient Workqueues system wide (Linaro)
.backported 3.12+ kernel scheduler features/fixes/enhancements (faux123/kernel.org for better multitasking etc)
.more under the hood stuff (see git)
.reduce memory usage by input driver
.some kernel enhancements and fixes from motorola (Synthetic.Nightmare/Motorola)
.remove old slimbus drivers.
.ported slimbus drivers from HTC m8/Nexus 5 (same driver)

*****v027*****18 APR*****
.compressed kernel with LZ4 compression. Theoretically much faster decompression speeds, lossless compression. The benchmark shows that an 8% increase in image size vs a 66% increase in decompression speed compared to LZO
.enable automatic process group scheduling
.overall stats: fix for quad core (faux123)
.Introduce BFQ-v7r2 scheduler for 3.4
.Introduce ROW scheduler and tune to franciscofranco values for mako/hammerhead
.Introduce FIOPS scheduler latest version (default scheduler)
.Introduce SIO scheduler
.ASoC: Propagate device HW delay to AFE, add buffer overflow check (aznrice)
.ACPUCLOCK: sync L2 cache speed to CPU speed up until 1134MHz. This improves smoothness by bumping the L2 speed up at required set boost freqs such as 918 and 1026MHz
.SELinux: Reduce overhead of mls_level_isvalid() function call (optimizations to SELinux picked from faux123 git)
.more under thehood code fixes improvements optimizations
.remove some debugging from device configuration
.undervolt all PVS versions by 50mV (should save some battery and heat)
.update to @Christopher83 Linaro 4.8.3 2014.04 toolchain, love your toolchains mate
.patch to Linux 3.4.87 latest
.some patched from mako devs to decrease the HSIC wakelock

*****v022*****11 APR*****
.patch to latest linux upstream 3.4.86 (kernel.org/gregkh, 3.4.y maintainer)
.kgsl: Fix Z180 memory leak
.2W: set dt2w default to fullscreen
.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
.time: update some functions of timekeeping.c to latest CAF
.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)
.implement memory optimizations into makefile (sparksco/sabermod team, this was the change in SEMEM test)
.add tcp small queues, early retransmit, auto corking, speed tweaks (anarkia1976, to do with networks/internet etc)
.board: reset to stock HTC spec, make thermal kick in earlier
.leds: set blink button notifications default
.build: replaced timeconst.pl with a bc script
.updater-script: tweaked progress bar, set permissions and delete system/lib/modules

*****v015*****7 APR*****
.msm: dma: upstreamed to CAF
.kernel random gen driver updated to Linux 3.14+ (faux123)
.ext4: upstreamed to latest CAF (mrg666/CAF)
.ASoC: increase buffer sizes for low latency audio playback
.block/partitions: optimize memory allocation in check_partition()
.mm: optimized KSM
.upstreamed random32 drivers to latest CAF to work with ext4 updates
.kernel mode NEON
.Enable NEON optimized crypto routines
.2w options (s2w, dt2w, l2m etc: flar2, default s2s/dt2w bottom of screen)
.build: add build flags simplified version with -O2 optimization (used to be -Os) as per testing. (stratosk)
.fixed boot issues for the people who had problems

*****v009*****1 APR*****
.optimizations to SLUB
.memutils: memcpy, memmove, copy_page optimization (from motorola: speed and battery)
.set LOAD_FREQ 4*HZ+61
.remove some more kernel debugging which is wastefuil for us
.switch do_fsync() to fget_light()
.increase BUS at lowest GPU freq
.some makefile tweaks
.Patch to upstream 3.4.20
.entropy tweaks in random (Imoseyon leankernel)
.some GPU tweaks from CM including scale GPU from 128MHz to 400 (instead of 200 min now)

*****v004*****29 MAR*****
.build with Linaro 2014.03 toolchain optimized for cortex a15 by @Christopher83.. he is a beast :P
.build optimizations in makefile and arch/arm/makefile
.some fixes for improved battery and performance (overall efficiency)
.removed a lot of debugging (wasteful when there are no issues to debug :P)
.some fixes to acpuclock-krait
.slimBUS OC from my Joey kernel @ZeroInfinity and me
.workqueue fixes
.enabled advanced TCP congestion algorithms (westwood is stock)

Joey Kernel for the HTC One GSM Google Play Edition 4.4.2

(depreciated)

RIP​

Linux 3.4.15+

For android 4.4.2 Google Edition ROMs.. (kk Sense too :P)

Based off HTC 3.62.1700.1 sources​

See OP for installation and disclaimers

Download latest version:

JoeyKernelGPE_30jan.zip - 8.68 MB

^WARNING THIS IS OLDDDDDDD

For GPE 4.4.2

but working on 4.4 Sense ROMs

*Please do not re upload without permission, I like to count downloads*

Sauce: https://github.com/poondog/joey-m7-GPE/

Changelog: Joey Kernel (4.4.2 GPE)

*****30 Jan*****
.sync and fsync enhancements
.disable some more debugging
.support LZ4 compression (thx @Synthetic.Nightmare for helping)
.compress zimage by LZ4, results in 9.7mb zimage (large lol) Should boot faster if my theories are correct, because decompression time is a lot less?
.ARM/VFP optimizations, see source for details. Support kernel mode NEON and enabled NEON optimized crypto routines (myfluxi)
.synaptics_3k: Do not hardcode pressure & width (Synthetic.Nightmare)
.synaptics_3k: Improve touchscreen sensitivity (Synthetic.Nightmare)

*****24 Jan*****
.fixup ASYNC_FSYNC declaration in kconfig (if anyone else is compiling.. thx tripnraver)
.backport sched updates from 3.4.77+
.arm: Allow CPU-supported unaligned accesses
.makefile: remove -marm flag, see if it makes any difference in smoothness
.switch back to in kernel thermal control, from tripnraver kernel (CAF/trip)
.made thermal throttle at around 55 degrees, to keep phone cool (its summer here) and battery lasts longer.
.introduce WHEATLEY governor. Ondemand is still default
.add ROW io scheduling algorithm, tune for our devices
.mm: optimizations to io
.mm: optimize Kernel Samepage Merging(KSM)
.mm: Squash a few SLUB commits from CAF

*****19 Jan*****
.undervolt L2 clocks by default by 50mV for better battery
.smoothed out BUS scaling (now uses 266MHz step instead of jumping from 200 -->400
.increase max/reduce min buffer size for playback of audio
.revert to stock thermal. Tweaked it a bit to throttle earlier.. HTC thermal is quite good on battery
.random/entropy tweaks (for better performance and battery, credits imoseyon/anarkia1976)
.fixed sleeping issue.. now it is better than before

*****16 Jan*****
.audio: remove handset pop-noise
.DRIVERS: CPUFREQ: revert to stock GPE ondemand governor, then tweaked it a bit again
.DEFCONFIG: compress with xz (smaller kernel/ faster boot)
.SLIMbus: updates from upstream/CAF
.ASoC: msm: qdsp6: Fix pop noise seen with touch tone during playback
.ALSA: PCM - Add PCM creation API for internal PCMs.
.SELINUX: update to 3.4.76+
.Set default 2w to dt2w, s2s, pocket detect, increase default vibration
.sched: set sched_mc_power_savings to 2 (try to restrict things to one core)
.import crpalmer/flar2 thermal. Thanks to them. Tweaked for battery and extra extra cool.
.remove some debug
.writeback updates from upstream
.remove faux color interface, was troublesome.. some new commits in his repo they don't boot for me :)

Audio, selinux, slimbus, thermal update mostly.. if you were hoping for something else sorry :)

*****8 Jan*****
.dt2w: sync with flar2 kernel, more sensitive, limit to bottom part etc (flar)
.attempted fix for wifi wakelocks (working for me in testing, what was minimal is even less now)

*****2 Jan*****
.Overclocked slimbus to max. This is as high as it goes, its 100% stable in testing with no negative impacts. Brings improvements all around for audio playback etc (thx to @ZeroInfinity and me :icon_bigg)
.Some generic function optimizations (for faster kernel, better battery.. overall improvements to the code, from CAF)
.Add USB Fast Charge (Flar, Motley, Chad Froebel for original mod)

*****28 Dec*****
.optimizations to cacheflush function (minimal under the hood stuff)
.updates to lowmemorykiller from Linux 3.10+ (syntheticnightmare)

*****24 Dec*****
.updated Linaro workqueues (battery savings)
.integrated linaro power efficient workqueues deep in the kernel (battery savings)
.color control
.patch to 3.4.15
.compile -Ofast
.selinux updates
.use Ste98B tunables for smartmax (thx mate)

*****17 Dec*****
.Initial release