yashsingh1/xdaforums huggingface dataset:
[Verizon Droid Incredible 2] bsmitty83:
Presenting Kangaroo Kernel

Linux 3.0.93 ck1

Features:

Compiled with latest Linaro GCC 4.7.4 2013.05 toolchain with full -O3, Vectorizing, everything optimization

Better performance and battery due to more efficient algorithms

XZ compression

Sweep to wake, now default

Clocks from 122MHz to 1.5GHz (Boots up to HTC default, control with Trickster)

VDD interface

Fixed multitouch

FauxSound TPA: download the app from google play

Other fixes here and there

Dynamic FSYNC()

Interactive governor from Google 3.4: MUCH more responsive and tunable than before

SmartMax governor

Backports from CAF/upstream

SWAP enabled

2WCR ready (Nonverbose)

Audio enhancements from Rezound and Sensation XL Beats

Everything else Beastmode has, and many more features planned: for more detail see changelog

Installation: (S-OFF users)

1. Download kernel

2. Reboot to recovery

3. Backup

4. Flash kernel

5. Reboot

*Please let it sit for ~10 mins before running benchmarks or 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*

Sources: https://github.com/bsmitty83/KANGAROO-kernel.git

Download latest version: Sense 3.6 and 4.x in one zip! Should work on any ICS sense based ROM

Changelog is in post #2 and in my update posts in this thread

KangarooKernel-r24.zip - 4.45 MB

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

Thanks to these people: take the time to hit their thanks buttons too

Zarboz and Team Blackout

Lecahel for touchscreen fixes and other fixes

Szezso for help

Nikhil007mmus for his presence and advice with WiFi, if it wasn't for him I might have given up

Noverbose, Vido.ardes: git referencing, some wifi parts from Redux

tpbklake cause you are a good bloke

Faux123 and Chad Goodman for some patches, features and parts of the OP

This kernel was made by [MENTION=4379011]poondog[/MENTION] , i simply brought it to the incredible2 . all the features have been left unchanged by myself , all questions shoud be directed here but check out his original thread for more , and to thank him for his work ;)

http://http://xdaforums.com/showthread.php?t=2263344
[Verizon Droid Incredible 2] brymaster5000:
Sweet. Another one for our forgotten Incredible. We went from ghost town to BOOM in just a few months. Thanks dude.
[Verizon Droid Incredible 2] bsmitty83:
S2w isn't working atm I forgot to switch it from vivo to vivow lol ,

Now we just need some new roms for these kernels ................

Sent from my HTC Droid Incredible 2 using Kangaroo Power :p
[Verizon Droid Incredible 2] bc13:
Smitty you are a machine. Thanks for keeping our old phones alive. Should i flash now or wait until you get s2w working?
[Verizon Droid Incredible 2] bsmitty83:
Up to you i guess lol , should be all i gotta do is add 2 characters to one file , just gotta get behind my computer to do it , maybe late tonight -tomorrow ill have a new kernel to flash.:thumbup:

I think this kernel is butter , except the last freq is a little unstable but it i like it in a whole . its patched to a more current Linux version than NeWsEnSe

Sent from my Galaxy Nexus using Xparent Cyan Tapatalk 2
[Verizon Droid Incredible 2] bsmitty83:
OP updated :

sweep 2 wake is good now , sorry about that folks , im gonna play around with s2w more and try to move the sweep area to mid-screen to avoid the screenshot : google search mess :good:

Enjoy --- dont forget to thank [MENTION=4379011]poondog[/MENTION] for this if you like , i used ALOT of his commits from github for my own kernel :D
[Verizon Droid Incredible 2] MoonMaster345:
I swear i had to do a double take because i though i was in the Inc S forums!!

THIS IS GREAT NEWS HOLY ****
[Verizon Droid Incredible 2] poondog:
Nice stuff bsmitty :) I think I broke some special calling features and the headset mic or something with the beats commits so I'll revert them soon (already done just testing before I push)

I hope you guys enjoy the kernel as much as I am :)

Any requests are welcome as I'll be watching this thread too
[Verizon Droid Incredible 2] MoonMaster345:
Fast-Charge poondawg
[Verizon Droid Incredible 2] brymaster5000:
How about top of screen? Middle of screen might just pan left or right...

Sent from my Ascended Dinc2.
[Verizon Droid Incredible 2] poondog:
Everyone wants that! I'll work on it :)
[Verizon Droid Incredible 2] bsmitty83:
I tried doing a build last night using pgm for s2w and it built error free just wouldn't boot , if i can get that , you can define where the slide points are ...

Sent from my Galaxy Nexus using Xparent Cyan Tapatalk 2
[Verizon Droid Incredible 2] brymaster5000:
Cherry pick my repo. :D
[Verizon Droid Incredible 2] poondog:
Done, just updated to r14 for vivo users

Added force fast charge, thanks :)
[Verizon Droid Incredible 2] shorty1993:
I usually use setcpu but wondering if anyone has found anything better. Seems that one was mentioned with options like voltage changes, gpu frequency over clocks, etc. Maybe I am wrong. Just looking for a change.

Thanks
[Verizon Droid Incredible 2] bsmitty83:
Trickster mod app is about the best your gonna get .

Sent from my Galaxy Nexus using Xparent Cyan Tapatalk 2
[Verizon Droid Incredible 2] brymaster5000:
+1.

Sent from my Ascended Dinc2.
[Verizon Droid Incredible 2] felixjohan:
This kernel breaks audio :/ please fix this
[Verizon Droid Incredible 2] bsmitty83:
Gimme like 20 min , as the op states I'm not the original author of this kernel , i had to wait to fix but i got you hang tight

Sent from my Galaxy Nexus using Xparent Cyan Tapatalk 2
[Verizon Droid Incredible 2] FordNate:
So... something with Beats audio breaks audio? I dig it.. just kidding bsmitty thanx for continued support.
[Verizon Droid Incredible 2] bsmitty83:
Lol yea apparently poondog was adding some beats audio stuff and it messed up audio . I'm simply mirroring his kernel for our device , there's a few other sense kernels out there that you can also use ;)

Sent from my Galaxy Nexus using Xparent Cyan Tapatalk 2
[Verizon Droid Incredible 2] bsmitty83:
Updated op , kangarookernel14 sound should be good , try it out

Sent from my Galaxy Nexus using Xparent Cyan Tapatalk 2
[Verizon Droid Incredible 2] jpradley:
I concur. No sound from a phone connection, or from Tune-In Radio.
[Verizon Droid Incredible 2] bsmitty83:
Even on r14?

Sent from my Galaxy Nexus using Xparent Cyan Tapatalk 2
[Verizon Droid Incredible 2] jpradley:
I've no idea if r14 fixes audio issues or not, because r14 won't even boot, is stuck on a white screen showing "HTC".
[Verizon Droid Incredible 2] bsmitty83:
I messed something up , fixing atm

Sent from my Galaxy Nexus using Xparent Cyan Tapatalk 2
[Verizon Droid Incredible 2] bsmitty83:
Give it a try now , I'm running it on ascention obvlion

I uploaded a new ver . should be OK

Sent from my Galaxy Nexus using Xparent Cyan Tapatalk 2
[Verizon Droid Incredible 2] bc13:
What is better on ascension this or your newsense? Thanks for all the work bsmitty!
[Verizon Droid Incredible 2] brymaster5000:
I tried adding the beats audio stuff that poondog had a while back, but it wouldn't build...so I reverted it...

Anyone try this kernel think the sound (with the beats audio stuff) sounds as good as viper (when running on ascension)?
[Verizon Droid Incredible 2] bsmitty83:
Idk but this kernel runs pretty good , i like all the kernels we got available , i really cant say which is better

Sent from my Galaxy Nexus using Xparent Cyan Tapatalk 2
[Verizon Droid Incredible 2] brymaster5000:
Agreed. I think the fact that we waited so long to be able to get ics sense tweaked that anything we do above stock is freaking awesome.

Btw, sick work getting your kernel patched up that high. Might run on a sense 5 Rom ;)

Sent from my Ascended Dinc2.
[Verizon Droid Incredible 2] jpradley:
Thanjks-- 14.1 does boot, and audio is restored to my Dinc2 running Viper 1.30.
[Verizon Droid Incredible 2] bsmitty83:
New Version R15 is up .....

*****r15*****June 28*****

.Patched to 3.0.70

.Remove all fast charge stuff cause it doesn't work

.Many under the hood improvements and patches etc

.More GPU OC: 350MHz 3D and 300MHz 2D

.Imported CAF ondemand as opposed to HTC's, and modified it. It should lead to increased performance due to more performance bias but battery is really the same

.Imported CAF Interactive and included changes and optimizations from my grouper kernel which camefrom fransiscofranco's N4 kernel but were modified to suit this device... confusing?

.Alterations to Smartmax governor, now its boosts to 806MHz on input and to your max freq if it needs it.

.Backports from upstream (smp, rwsem)
[Verizon Droid Incredible 2] bsmitty83:
New version R16 up ....

*****r16*****July 7*****

.Updates to smartmax governor and removed all my changes to its tunables so it should be a lot smoother at the slight cost of battery

.Some readahead backports from 3.4 CAF

.Redone memcopy, string, SHA1 and AES optimizations

.Updated to the latest Linaro 4.7 toolchain, 4.7.4 2013.06

.Made the default scheduler deadline now :)

.Patched to 3.0.83

.Changed the whole graphics driver system: now we use newer drivers from CAF

.Added dancedance governor

Sent from my Galaxy Nexus using Xparent Cyan Tapatalk 2
[Verizon Droid Incredible 2] bsmitty83:
New version is up , KangarooKernelr17

*****r17*****July 15*****

.Patched to 3.0.86

.Fine tuned DanceDance governor

.A lot of under the hood algorithm updates

.Backports from Linux 3.4

.Enabled cgroup timer slack

.Compiled with latest Linaro 4.8.2 toolchain, with help from [MENTION=4622338]szezso[/MENTION]! Big thanks to you :) This should give a bit of a boost :D

.Switched to gzip compression cause xz gave errors with 4.8, and subsequently altered makefile for it
[Verizon Droid Incredible 2] poondog:
Might be a silly question but... Did you compile this with the latest Linaro 4.8.2? :)

Oh and how big is your zimage?
[Verizon Droid Incredible 2] DKStunna108:
Great work bro on the kernel, any up an coming sense ROMs or ports to try out this newly updated kernel for sense
[Verizon Droid Incredible 2] bsmitty83:
I built it on 4.8.1 linaro , i haven't grabbed the new prebuilt yet , zimage is 3.3MB , you seeing any difference in the new toolchain ? If so ill rebuild it
[Verizon Droid Incredible 2] poondog:
I have the latest 2013.06 4.8.2 and its 3.5 mb, I had to remove a lot of flags and stuff from makefile and disable -O3 optimizations for it to boot

In my compile, xz compression was broken with 4.8 for some reason but I guess you are using a different defconfig. I will have to look into your config :)

fwiw I never used 4.8.1 but I don't think there would be a big difference
[Verizon Droid Incredible 2] bsmitty83:
Everyone seems to want a sense 5 ROM but if i do anything i might try out a sense5 themed ROM , i don't use my inc2 anymore and even when i did i always used aosp/cm so sense is kinda new to me but who knows , i still think viper is amazing , desensed and running an overclocked kernel makes it about as good as a ROM gets IMHO
[Verizon Droid Incredible 2] kubes069:
My only issue with Viper was that you had to leave GPS on all the time for it to work. I hated rebooting to fix that. Do you or anyone else know if one of these sense kernels fixes that?
[Verizon Droid Incredible 2] bsmitty83:
I also had to remove all the -O3 (-Os) optimization to get it to boot but i believe this is the first sense kernel I've built with 4.8 linaro , i got the aosp version build on 4.8 but never sense . Also I've always used gzip since xy always messed up on me , the extra 200k of data is probably from my config , BTW i updated my repo with my current config , should be in root as current.config
[Verizon Droid Incredible 2] poondog:
Oh okay, I was looking in your arch/arm/config folder lol

I started building mine with optimize for size now though
[Verizon Droid Incredible 2] chillybean:
Idk but u may find this interesting

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

[DEV/WIP] Sense 5.0 for msm7x30 (htc_ace)
[Verizon Droid Incredible 2] bsmitty83:
I've been following that thread for a few weeks Lol, its my main source for a sense5 ROM and probably our best chance for one too.

Its just a pain since the kernel has to be 4.1.2 jb and have ion memory management, but what i don't get is that ion isn't already used in aosp 4.2.2 ? Because all the inc2 aosp kernels never had ion so idk how that's possible if the ROM has the ion framework? Confusing as hell to me.

I'm gonna go on record and say that until those guys kick out a working ROM/kernel , (and the source would be nice too ) we won't have it . in sure i could port the kernel once we get a ROM , but the ROM i think is the biggest challenge
[Verizon Droid Incredible 2] chillybean:
yea im pretty sure newer versions of aosp is moving to ion...PA n aokp pretty much...cm n pac still builds fine with pmem so im sure cm hasnt dropped pmem...yet
[Verizon Droid Incredible 2] bsmitty83:
Cool , I'm currently building a new aosp kernel , trying to use HTC source , so far i think i got it to build but if it works i might be able to have a 4.0 , 4.1, and 4.2 version so if u still use cm9 i got you Lol
[Verizon Droid Incredible 2] brymaster5000:
Let me know if you want to tag team the patches...

Sent from my Ascended Dinc2.
[Verizon Droid Incredible 2] bsmitty83:
For sure , I'm using your brycs source (3.0.16) for ICS , using our aokp defconfig had to change BT ,WiFi , touchscreen drivers , testing on kangdamnation now but i doubt it'll work Lol , if it does boot ill start patching and try to find that middle ground for 4.1.2 jb
[Verizon Droid Incredible 2] Migaas:
kernel not support the FauxSound TPA apk

I installed FauxSound TPA apk, but this say that the kernel don't support it, can you help to make it work
[Verizon Droid Incredible 2] MoonMaster345:
Ask [MENTION=4379011]poondog[/MENTION]
[Verizon Droid Incredible 2] poondog:
I blamed your use of different sound drivers? You guys are using different drivers etc in the kernel?
[Verizon Droid Incredible 2] bsmitty83:
Op udated ,

Kangaroo kernel r19

link in Op
[Verizon Droid Incredible 2] MoonMaster345:
Thank you Smitty, in glad you haven't left us
[Verizon Droid Incredible 2] bsmitty83:
Lol I'm always here ....... Stalkin.......;)
[Verizon Droid Incredible 2] dreamkiller80:
I have tried to d/l and flash r19 twice and keep getting an error that its not flashable, I am running viper and am already on r17
[Verizon Droid Incredible 2] bsmitty83:
Anyone else have this problem? I uploaded this kernel a while ago , i would have thought this would be discovered sooner , ill try to fix it later
[Verizon Droid Incredible 2] Krishna.tungal:
Hi, can I use it with GingerBread on my Inc2?
[Verizon Droid Incredible 2] bsmitty83:
No , this kernel is for android 4.0 (ICS) . personally never tried but i say i doubt it would work on gingerbread

Sent from my Galaxy Nexus
[Verizon Droid Incredible 2] brymaster5000:
I tried both of our 3.0 kernels on skyraider not expecting it to boot, and it didn't. Too many changes in the code.

Sent from my Skyraiding Dinc2.
[Verizon Droid Incredible 2] Capt. Napalm:
Same problem here.

Tried flashing through 4ext, says "This zip file isn't meant to be flashed in recovery. It might be a bootloader flashable zip, or not a flashable zip at all".

I was using "KangarooKernel-r19.zip".
[Verizon Droid Incredible 2] bsmitty83:
ok Sorry about that , musta been the wrong .zip installer , try this , the link in the op is also this now too

Thanks for letting me know , if this doesn't work lemme know and I'll fix asap

KangarooKernel-r19.1.zip - 7.64 MB
[Verizon Droid Incredible 2] czroy69:
did not work for me. have ascension oblivion v2 rom and twrp 2.6.1.0 for recovery. no error messages from recovery when I installed it. system reboot, and came up to white htc screen and stayed there. I let stay for about 30 minutes before pulling battery as no response to power button.

booted back to recovery and loaded other kernel to have phone working again.

should have noted the kernel was KangarooKernel-r19.1 just remembered that not all info was provided. i did re-download it and installed, but no difference from before.
[Verizon Droid Incredible 2] bsmitty83:
updated the op hopefully everthing works now

not sure if itll work on anything other than viper rom , i never tested it on anything else

kangaroo-kernel-r19.5.zip - 7.18 MB
[Verizon Droid Incredible 2] dreamkiller80:
Finally had a chance to flash 19.5 at work, stuck at splash screen had to roll back to r17 since I forgot to make a back up. Don't have ADB at work so I can't pull a logcat for you.
[Verizon Droid Incredible 2] bsmitty83:
Hmmm not sure what the issue is , for this kernel i used poondogs config file so it should be exact to the incS kernel except what board it is . i guess i can Go back to my defconfig file and see if that's the issue , thanks for the info
[Verizon Droid Incredible 2] brymaster5000:
Try looking at the two defconfig files in tandom to see what changed - may give you a clue. PS - what toolchain are you using for B-Team Sense?
[Verizon Droid Incredible 2] bsmitty83:
Will do , I built all the others with different configs so its gotta be it ,

For the b-team sense git , the master branch is your og BrYCS without GPU stuff patched for linaro . the exp branch is basically my working branch . im patching it up to 3.0.94 right now , then ill go from there lol , but yea build with any tool chain , if u use linaro I've only tried with 4.7 and you'll get a scary assembler warning but its null anyways and ill patch that too after i get done with all i got going on now :D
[Verizon Droid Incredible 2] poondog:
YOU'RE BEHIND

3.0.95 is out :)

Have a look at the mediator thing I committed from maxwen the other day, see if it does anything :P

Apparently too using one v sound drivers will be a lot better. Anyone tried that?

I'll have to come pick your git again soon :P

And just popping in here to say hi :) so... Hi
[Verizon Droid Incredible 2] bsmitty83:
Sweet . i will do that . right now I'm trying to find out about this new TCP congestion algorithm that's supposed to blow all the man made controllers away

Take a look

http://web.mit.edu/remy/

And HI back lol , I've been stalking your thread too :D
[Verizon Droid Incredible 2] poondog:
Looks like fun, but am I the only one to see not much of a difference in congestion algos? I reckon the bottleneck is not the algorithm but the device itself..
[Verizon Droid Incredible 2] bsmitty83:
I agree on my incredible 2 i never really messed with them but on my nexus on lte I've used scalable , Westwood and hispeed , and i do notice a difference in latency opening web based apps like crapbook and twitter , especially when I'm tethering
[Verizon Droid Incredible 2] poondog:
yeah thats why.. with the One though no matter what you do it does not want to lag or anything haha

I will keep my eye on this new algo though :P
[Verizon Droid Incredible 2] bsmitty83:
I am jealous of the one , if i wasent grandfathered into Verizon unlimited data ( which i need since i teathered 50+gig this month ) i buy all my phones off contract and the one is Still too expensive for me . i might get a galaxy s3 next since their not too expensive right now
[Verizon Droid Incredible 2] poondog:
Why not get like a DNA then? :P
[Verizon Droid Incredible 2] bsmitty83:
Thought about it , but in all honesty ill probably keep my nexus for a while since i really want a 2013 nexus 7 . i need a tablet lol , i wish i could afford a surface pro but not happening
[Verizon Droid Incredible 2] FordNate:
Sister had a DNA (wouldn't let me root it ) for about a week until she cracked the screen with one drop. Had to pay another $99 for a new one. DNA in my books is not that great.
[Verizon Droid Incredible 2] poondog:
Sounds good there's nothing wrong with the gnex

That sucks but 99 isn't bad for a brand new phone.. I'm having troubles with my one and if I could pay that to get a new one and this over with.. Easy :)
[Verizon Droid Incredible 2] bsmitty83:
For sure im happy with this phone , there's so much development for it . the DNA kinda went the inc4g way with not a huge following. I kinda saw what was going on with your one , I'd be upset that the supposed best put together phone had hardware issues , but still its the top of the food chain right now .

As for the Remy TCP controller i was reading that article and i think i can build it and possibly incorporate it into a kernel , but your supposed to take a collection of different compiled results and optimize them by another program , cool stuff gonna be messing with when i got time which is hard to find these days lol
[Verizon Droid Incredible 2] poondog:
Yeah I am pissed..

DNA kind of has lost devs already Haha unless they're winding down for the big sense 5 drop officially ...

Yeah well you do that, cause I can't be bothered! :D if I cherry pick from another kernel then you'll see it haha
[Verizon Droid Incredible 2] bsmitty83:
Lmfao :thumbup: sounds like me........
[Verizon Droid Incredible 2] poondog:
Haha great minds think alike

So I'm a bit confused, is remy an algorithm like west wood or something else different?
[Verizon Droid Incredible 2] bsmitty83:
Im assuming its kinda the same but from what i understand its a computer generated algorithm instead of a man made equasion . supposed to use known variables about the network its controlling to perform better
[Verizon Droid Incredible 2] bsmitty83:
OP Updated

Kangaroo Kernel r21

** I switched back to my config file so hopefully this version will work

links in op and my sig
[Verizon Droid Incredible 2] ytyyutianyun:
My hboot is 1.04, and I cannot s-off by revolutionary. Can you help us to change the boot.img by this kernel, below is my boot
[Verizon Droid Incredible 2] bsmitty83:
here you go View attachment boot.img
[Verizon Droid Incredible 2] ytyyutianyun:
Thank you, I first flash the kernel, then adb the boot.img.

On the recovery, when I flash the kernel, it shows: E:Error in /sdcard/KangarooKernel-r21.zip(status 6).

I then md5sum the file, and it sames with the " 889d9087d49d4600d91383378d5ec517"

What's wrong?

Thank you for your help.
[Verizon Droid Incredible 2] bsmitty83:
Re: [KERNEL][SENSE]14SEP][LINARO4.7.4-O3] Kangaroo Kernel r21~~VIVOW~~ ★☆

Not sure ill have to look later I'm at work but for that boot.IMG i replaced the kernel with kangaroo zimage so you should just have to adb the boot.IMG ? I'm not very familiar with htcdev unlock or flashing with s-on
[Verizon Droid Incredible 2] LeoPosas:
Hi guys, sorry for this newbie questions, I'm new with the HTC and I want to know:

1. Which Governors and schedulers have this kernel?

2. On which Android ROM can I use this kernel? (CM?, Sense?, AOKP?, AOSP?)

3. Which kernels here are the latest and stable ones?

Thanks in advance.
[Verizon Droid Incredible 2] bsmitty83:
1. Alot lol , all the standard governors plus smartassv2 , lazy , Lionheart , smartmax , savagedzen, lulzactive , intellidemand and scary

Block schedulers are noop , deadline , row , cfq , bfq , and vr

2. This is for sense 4+ ROMs , i tested on viper when i still had a incredible 2

3. All the kernels should be stable AFAIK , but again i cant be sure since i don't have this device anymore

[
[Verizon Droid Incredible 2] FordNate:
I have your batteries. Lol. Keep up the great work though n proving even without the device u still have that passion towards us.
[Verizon Droid Incredible 2] bsmitty83:
No doubt man , i like the inc2 n all but i like the crowd here more . plus this was the first forum i ever looked up on xda when i decided to try this newfangled "root" thing lol . i had a moto droid before that and only right before i got the inc2 did i learn about custom ROMs like cyanogenmod . ive read alot of threads on here and the inc2 is the best by far :thumbup:
[Verizon Droid Incredible 2] brymaster5000:
I'm scared to move on to another forum. Probably going to go with the HTC One (on Verizon) - $50 at Best Buy. Might happen this Saturday - although I probably said that last week too...:p

It will be hard to weed through all the posts on a flagship forum...this place was my first and a really good group of people.