Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,713 Members 39,053 Now Online
XDA Developers Android and Mobile Development Forum
Announcement from poondog: New kernel is out! v122! NEW THERMAL, BI-DIRECTIONAL S2W, POWERSAVE CPU CAP + MORE, GET IT HOT!

[KERNEL][SPRINT][LINARO4.9.1] ★☆ Kangaroo Kernel ☆★ | 5 AUG | v122 | SENSE4.4.2 | 5.11.401.10 | Linux 3.4.99+ ///// Kangaroo Control script

Tip us?
 
poondog
Old
#1  
poondog's Avatar
Recognized Contributor - OP
Thanks Meter 9844
Posts: 12,930
Join Date: Dec 2011
Location: Melbourne
Default [KERNEL][SPRINT][LINARO4.9.1] ★☆ Kangaroo Kernel ☆★ | 5 AUG | v122 | SENSE4.4.2 | 5.11.401.10 | Linux 3.4.99+ ///// Kangaroo Control script

Kangaroo Kernel for the HTC One CDMA: Sense ROMs
Linux 3.4.99+, 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

Code:
* 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!

Quote:
Naming convention
KANGAROO KERNEL SENSE (kk.xxx.spr): sense based 4.4.2 ROMs and GPE only
Quote:
Features:
Compiled with latest Linaro Christopher83 Linaro 4.9.1 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
Utilize all possible CPU sleep states
CPU undervolted by 50mV
Userspace voltage control
CPU stats (quad core)
custom msm_thermal driver for optimum control over cpu temperature and throttle
Scheduler improvements
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
SELINUX up to date with latest Google source
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)
out of memory and memcontroller updated from Linux 3.14+ (neobuddy)
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
reduced wifi wakelocks
2w options (s2w, dt2w, l2m etc: flar2, default s2s/dt2w bottom of screen)
bi-directional sweep2wake
compressed with latest r120 LZ4
L2 cache synced with CPU clocks
BUS tweaks and updates
reduced HSIC wakelocks
Linaro Power Efficient Workqueues
Linaro CPU topology
USB force fast charge
slimbus OC MKII+some more tweaks (Poondog/ZeroInfinity)

CPU governors (italics for default): preservative, conservative, smartmax, ondemand, performance, userspace, msm-dcvs, powersave
io sched: no-op, deadline, CFQ, ROW, FIOPS, BFQ, SIO

KANGAROO CONTROL SCRIPT IN POST #3
Can be used to control all options, plus more
Quote:
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 removed 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*
Quote:
DISCLAIMERS:
1) Excessive under/overvolting can cause damage to the internal parts of your phone. It can cause the phone's lifespan to deteriorate quickly so make sure you know boundaries
2) If you OC'ed/OV'ed/UV'ed and now are in a boot loop or your phone is slow, or acting weird or just died - it means your phone does not like the changes. Voltage control is for those who know what the risks are, know what they are doing and know how to fix it. Perhaps when you change these, test them for an hour or so before setting on boot
3) Any changes to the phone, including flashing the kernel itself is done at your own risk.
4) Every phone is different
5) Please DO NOT use any task killers (or additional init.d scripts), they DO NOT improve performance/battery. The kernel is designed to be used with stock settings: my settings and anything else can cause problems
Download latest version:
http://forum.xda-developers.com/show...2#post54622827

ONLY FLASH THIS ON SPRINT HTC ONE M7.
It is built from a now unified m7 source.

Quote:
See here for more information and latest discussions!
Link to Internatinal HTC One kernel thread:

http://forum.xda-developers.com/show....php?t=2564895
All previous versions:
http://d-h.st/users/poondog/?fld_id=34659#files

Source: 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

Quote:
What is not coming via requests:
- replacement for mpdecision
- additional useless governors
- Aroma: it interferes with userspace control imo
- Anything useless: this kernel was made for me and I shared it with a few people until now
Quote:
With thanks to (in no particular order)
franciscofranco
faux123
anarkia1976/ak
imoseyon
flar2
teamseven
n3ocort3x
morfic
maxwen
labodj
ktoonsez
tpbklake
janarp
szezso
Synthetic.Nightmare
ZeroInfinity
Sabermod team
Stratosk
Lens-F
@bschram
XDA:DevDB Information
Kangaroo Kernel, Kernel for the Sprint HTC One

Contributors
poondog
Kernel Special Features:

Version Information
Status: Stable

Created 2014-05-31
Last Updated 2014-08-05
The Following 20 Users Say Thank You to poondog For This Useful Post: [ Click to Expand ]
 
poondog
Old
(Last edited by poondog; 5th August 2014 at 10:15 AM.)
#2  
poondog's Avatar
Recognized Contributor - OP
Thanks Meter 9844
Posts: 12,930
Join Date: Dec 2011
Location: Melbourne
Default Reserved

Changelog will go here

4.4.2 Sense kernel:

Code:
*****v122*****5 August*****
.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
http://forum.xda-developers.com/showpost.php?p=54315830&postcount=304

*****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://forum.xda-developers.com/showpost.php?p=53991238&postcount=249

*****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://forum.xda-developers.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://forum.xda-developers.com/showthread.php?p=53243483

*****v077*****31 MAY*****
.updates to msm_bus for better performance, particularly in gaming
.support Sprint and Verizon
.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://forum.xda-developers.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://forum.xda-developers.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://forum.xda-developers.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://forum.xda-developers.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)
 
4.3 Sense kernel:
Code:
*****8 Jan*****
.SlimBUS OC: inline with Joey kernel, root freq to 27+MHz, clk gear maxed at 10 (me/ZeroInfinity)
.under the hood code optimizations and fixes (same as joey now)
.makefile changes (jerrylzy)
.attempted fix for wifi wakelocks
.sync dt2w etc with flar2 kernel, dt2w is more sensitive, limit to bottom part of screen etc (flar)

*****23 Dec*****
.fix up some minor code derps
.upstream Linux 3.4.75
.some acpuclock-krait improvements from stratosk
.more updates from Linux 3.10+ backporting power efficient workqueue stuff
.compile with -Ofast instead of -O3

*****19 Dec*****
.compiled vfp with neon and hard float, see if it makes any difference
.introduce linaro power efficient workqueues 
.faux123 color control
.make context readahead more conservative 
.fix possible sleep issues

*****15 Dec*****
.Bunch of cpuidle, smpboot, stop_machine patches from upstream linux/CAF
.support KEXEC_HARDBOOT aka multirom. No ramdisk included still, you might need to flash a kernel with multirom support then mine so that the ramdisk supports it, or manually edit yours. Reason I don't include ramdisks is because rom devs always like to put their own special touches on them
.introduce smartmax governor for CPU. Updated it to latest code from maxwen find5 git
.fix pocket detection (flar)
.fix installer kangaroo graphics (Thanks @janarp)
.implement LoUIS API for cache maintenance ops (CAF/franciscofranco)

*****13 Dec*****
.added ROW scheduling algorithm (deadline still default)
.some readahead/rw optimizations
.tcp tweaks and improvements: added small queues and auto corking (anarkia)
.merged all updates from Linux 3.4.74 which was released last night

*****11 Dec*****
Initial release
The Following 6 Users Say Thank You to poondog For This Useful Post: [ Click to Expand ]
 
poondog
Old
(Last edited by poondog; 6th June 2014 at 03:16 AM.)
#3  
poondog's Avatar
Recognized Contributor - OP
Thanks Meter 9844
Posts: 12,930
Join Date: Dec 2011
Location: Melbourne
Default Reserved

kangaroo Kernel control script with modified mountpoints for SPRINT
The Following 4 Users Say Thank You to poondog For This Useful Post: [ Click to Expand ]
 
BD619
Old
(Last edited by BD619; 31st May 2014 at 10:22 AM.)
#4  
BD619's Avatar
Forum Moderator
Thanks Meter 7704
Posts: 8,070
Join Date: Apr 2012
Location: Xda-Dev,NV

 
DONATE TO ME
Thanks for sharing.
\_(ツ)_/


Frequently Asked Questions - HTC One-M7-Sprint(m7wls) | HTC Evo 4G LTE(Jewel) | HTC One-M8-Sprint(m8_whl)
ROM Cleaner | AROMA | Remove Bloatware | Backup Apps | Install Apps/Mods
ROM Cleaner for HTC Evo 4G LTE or ROM Cleaner for HTC One
My DIY guides on how to root your HTC Evo 4G LTE | HTC One(M7)-Sprint | HTC One(M8)-Sprint


Forum Moderator
The Following 2 Users Say Thank You to BD619 For This Useful Post: [ Click to Expand ]
 
THADDIUS25
Old
#5  
THADDIUS25's Avatar
Senior Member
Thanks Meter 251
Posts: 725
Join Date: Oct 2011
Location: SELMA
Get out of here!!! I've been waiting on the kernel like forever. Thanks poondog!!

SENT FROM MY SENSE 6 SPRINT HTC ONE
 
poondog
Old
#6  
poondog's Avatar
Recognized Contributor - OP
Thanks Meter 9844
Posts: 12,930
Join Date: Dec 2011
Location: Melbourne
Quote:
Originally Posted by THADDIUS25 View Post
Get out of here!!! I've been waiting on the kernel like forever. Thanks poondog!!

SENT FROM MY SENSE 6 SPRINT HTC ONE
ok I will get out
The Following 2 Users Say Thank You to poondog For This Useful Post: [ Click to Expand ]
 
androidforeve
Old
#7  
Senior Member
Thanks Meter 220
Posts: 1,363
Join Date: Jun 2012
Running nice so far

Sent from my HTCONE using XDA Free mobile app
The Following User Says Thank You to androidforeve For This Useful Post: [ Click to Expand ]
 
davidkrocks
Old
#8  
Member
Thanks Meter 8
Posts: 49
Join Date: Jan 2011
YAYAYAYAYAYAY; I found your kernel for the gpe edition a month ago and hoped someday it will be ported for sprint, looks like my prayers are answered! Thank you!!!
 
slickrick54
Old
#9  
slickrick54's Avatar
Senior Member
Thanks Meter 110
Posts: 557
Join Date: Jan 2011
Location: Tampa
Nice thanks for sharing!!!
 
FrozenRiff
Old
#10  
FrozenRiff's Avatar
Senior Member
Thanks Meter 4423
Posts: 9,926
Join Date: Feb 2010
Location: Los Angeles, CA
Frigging sweet!

Sent from my HTCONE using Tapatalk

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes