yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] poondog:
Yay, its time for an update!

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 :D)

.some misc fixes

.updated BFQ-v7r4 I/O sched for 3.4

.add Early Queue Merge (EQM) to BFQ-v7r4 for 3.4.0

Governors mostly done, next comes thermals :D :D :D

kk068.zip - 7.20 MB

Enjoy!
[One (M7) Original Android Development] ak:
fantastic ... thanks a lot for your hard work here. ;)

thread rated 5 stars.
[One (M7) Original Android Development] Asselalf:
how can i update the control script to keep the governor after reboot?
[One (M7) Original Android Development] poondog:
Thanks for the support ak! Means a lot coming from someone as respected as you

It should work, since the governor is set on boot anyway. [MENTION=4935526]Headless_monkeyhunta96[/MENTION]
[One (M7) Original Android Development] joni2012:
Yes is great, today test in rom BatMan

Enviado desde mi HTC One mediante Tapatalk
[One (M7) Original Android Development] superstick1:
Hello. Any recommended settings? I am trying Smartmax with Sio. Min freq 384 and max freq 1728. Undervolt -50
[One (M7) Original Android Development] myrigon:
Ppp... Ppp.. Preservative!

---------- Post added at 04:09 PM ---------- Previous post was at 04:00 PM ----------

I think [MENTION=3540818]Rad ryan[/MENTION] must be asleep...
[One (M7) Original Android Development] akashj17:
Thanks.. Testing right now
[One (M7) Original Android Development] herwegan:
Is preservative governor that good? Better than smartmax? What do you think of it [MENTION=4379011]poondog[/MENTION]?:)

edit: why u no use android file host? :crying:
[One (M7) Original Android Development] Headless96:
Crap I forgot to include governor control :p

For the time being add this to the script

#Governor Control
chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo xxx > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

xxx = name of governor (lowercase)

I'll update the main post when I have some time
[One (M7) Original Android Development] poondog:
NananananananananaBATMANNN

recommended settings in post 3.. They default settings are recommended

I'm ondemand or preservative with fiops

Yeah he'll need a few tissues I think

I'll be sleeping when he comes online, so have fun Ryan

I reckon ondemand is still the best :D but each to their own. Preservative seems to be much better on battery with light usage
[One (M7) Original Android Development] kuchivas:
are you sure?

missing folder cpufreq?
[One (M7) Original Android Development] ZeroInfinity:
Detailed information about the Preservative governor in case anyone is interested: http://xdaforums.com/showpost.php?p=50173462&postcount=662 :D
[One (M7) Original Android Development] Ktan188:
Time to see what this "preservative " fuss is all about
[One (M7) Original Android Development] YudmudTR:
I couldn't found the AOSP one, can some1 link it to me?
[One (M7) Original Android Development] smoki3:
Easter eggs = mlg?

Gesendet von meinem HTC One mit Tapatalk
[One (M7) Original Android Development] Headless96:
Yeah sorry mate, fixed it now :good: Was in a rush and didn't check it over
[One (M7) Original Android Development] poondog:
hmm, I might try download a sense 4.4 ROM but like I said its not made with 4.4 sense in mind

Yes gonna update 4.3 to new linaro stuff and color control. Dunno where to go from there :D

I do not have this problem with ViperOne 3.5.0 or Renovate 7.0. Elemental should not be a problem. You wiped all of elemental stuff out? Maybe reflash rom and flash kernel (no wipe needed) and see if it fixes it
[One (M7) Original Android Development] mielnoir:
I've wiped and reinstalled Rom before. Don't know.. will watch the next days.

Looked again... Everything is fine.
[One (M7) Original Android Development] poondog:
hmm ok, mpdec doesn't usually turn itself on or off lol
[One (M7) Original Android Development] mielnoir:
Don't understand exactly what you mean.
[One (M7) Original Android Development] poondog:
you said you'd give it a few days or something

If it doesn't work now I would not expect it to work later on

As I did with the earlier releases which were private.. I will wait for proper sources to start on a proper sense 4.4 kernel
[One (M7) Original Android Development] myrigon:
4.3 kernel is working very well at the moment. Don't feel pressured into updating it just for the hell of it. :thumbup:
[One (M7) Original Android Development] poondog:
Aha good to hear, I don't feel pressured at all don't worry

I have some things to update into it, not like I'm finding random things to add :P
[One (M7) Original Android Development] Asselalf:
5h screen on and 3 days ;) best Kernel for me

EDIT: first charging cycle
[One (M7) Original Android Development] poondog:
Pretty good :P
[One (M7) Original Android Development] miten_sheth:
Which rom? Settings?
[One (M7) Original Android Development] Asselalf:
Nothing special....standardsettings

ROM = ViperOne 3.5
[One (M7) Original Android Development] poondog:
Placebo effect :D simple governor is not in this kernel

Whatever you set it to, it will always be ondemand
[One (M7) Original Android Development] Asselalf:
oh sorry :P

post edited, on previous kernels(ElementalX & TeamSeven) my gpu governor was always set on simple
[One (M7) Original Android Development] poondog:
Ah OK

Simple would be pointless on this kernel btw, because under usage the GPU behaves like performance gov (always max freq) whereas at the moment it will always scale

And in other news.. Don't wake a sleeping joey
[One (M7) Original Android Development] Asselalf:
OK....thanks for the info. I think its time for a chrismas donation :good:
[One (M7) Original Android Development] poondog:
I think I need to update sense kernel to color control and new linaro stuffs :D
[One (M7) Original Android Development] v-b-n:
Oh god please include color control ... my screen is ****ty yellow and I need to stick with faux kernel because of color change ... to make it back to white otherwise I might end up selling this sucker :fingers-crossed:

---------- Post added at 09:46 AM ---------- Previous post was at 09:44 AM ----------

@poondog : Let me know if you want to test since my H1 is a testing device and I can wipe/reflash as many times as I need without delay ;)
[One (M7) Original Android Development] poondog:
Kernel is building now :D

I don't think it needs to be tested because its merging stuff tested on joey kernel anyway. your primary is an iphone 5? Don't sell your One!
[One (M7) Original Android Development] v-b-n:
Primary is iPhone 5S since I have my office stuff setup on it ... HTC One is my player ;)

Switching to GPe now for Joey since I havent played with it yet ... when u r ready will switch back to Sense .. ha ha
[One (M7) Original Android Development] poondog:
I am uploading sense kernel now hahaha your call :P iphone 5s is a nice device, feels quality. Why so much hate for it
[One (M7) Original Android Development] mettleh3d:
Anyone running with arhd 71?
[One (M7) Original Android Development] thaiboyger:
Yes, it's working fine with arhd 71

Gesendet von meinem HTC One mit Tapatalk
[One (M7) Original Android Development] kuchivas:
Of course

Gửi từ HTC Desire HD của tôi
[One (M7) Original Android Development] gGabi:
v068 running properly on GPe IC rom as well.
[One (M7) Original Android Development] mysdim:
Since a long time I'm using the eragon rom (actually v40) with your pre-installed kernel. In the past everything was fine.

But (I think) since kk44 I have a problem, that adway is deactivated after each reboot.

So I have tested a little bit with different kernels and I think it is kernel related.

As I have installed teaMSeven-sense-6th-kk-v2.3.7c1 adaway is still active after each reboot and looks fine. But the kernel produces some other problems such as fc with some apps.

With ElementalX-m7-14.8 the adaway problem is also gone and everything seems to be fine.

The problem exists only for s-on users, so that s-off users can't reproduce it.

Have a nice weekend :)
[One (M7) Original Android Development] Mucky2:
Only for sense? :(

Damn, I want the ck007 :(

m7//cm11//kangoroo
[One (M7) Original Android Development] domicq:
Can you add "Flick2Wake/Sleep" support?
[One (M7) Original Android Development] apeiron6:
+1

Sent fra min One via Tapatalk
[One (M7) Original Android Development] myrigon:
Already noticing a positive difference in battery life with the new update! Cheers!
[One (M7) Original Android Development] txordi:
MPDecission and pnpmgr works with preservative? :eek:

Enviat des del meu HTC One usant Tapatalk
[One (M7) Original Android Development] gordonpn:
I have MPDecision battery and preservative in my script, it works fine so far. Can't comment on performance/battery life yet as I've only been running the new kernel for a few hours.
[One (M7) Original Android Development] Undermyoath:
I'm running this kernel on preservative and lose about 1.5% per hour, with wifi on.. it's insane, keep up the good stuff poondog :D
[One (M7) Original Android Development] poondog:
Can find all in devhost folder
[MENTION=4388232]ZeroInfinity[/MENTION] sorry I completely forgot about how you hated dh :)

No sorry

Strange because I didn't touch your ramdisk

Lol soon I wanted to get sense out

Yeap

Cheers :)

Lives up to the hype?
[One (M7) Original Android Development] ZeroInfinity:
[MENTION=4379011]poondog[/MENTION] I forgive you, at least dev host worked first time when I downloaded today ;)

What are these 'Easter eggs' you speak of?

Sent from mah haytch tee see Juan via crapatalk
[One (M7) Original Android Development] poondog:
Awesome see not even that bad!

Check about kernel info
[One (M7) Original Android Development] ZeroInfinity:
Oh you...

I guess you should get your name changed to poondoge then :p

Sent from mah haytch tee see Juan via crapatalk
[One (M7) Original Android Development] poondog:
Wow
[One (M7) Original Android Development] ZeroInfinity:
Also, I hate doing this but I have a request:

Could you add more TCP Congestion Contols in the next update pls?

Westwood seems to be very slow for me and it's the reason why my phone is often switching between 3g and h :@ it's driving me insane. Illinois was the fastest for me when I use elementalx :p whenever I see that dreaded 3g symbol, I feel like I want to throw my phone out of the window! When 3g is in use, I'd have to wait a few seconds until the 3g operation is finished then it'll switch back to H :-/

Sent from mah haytch tee see Juan via crapatalk
[One (M7) Original Android Development] poondog:
Sure I thought though this was already done lol

I'll do it
[One (M7) Original Android Development] ZeroInfinity:
Hahaha you only added Westwood :p only three controls available: cubic, Reno and Westwood :D

Sent from mah haytch tee see Juan via crapatalk
[One (M7) Original Android Development] Ktan188:
Is it normal for the preservative governor to make my max frequency 1134? It seems to be stuck at 1134

EDIT: nvm Trickster is lied to me
[One (M7) Original Android Development] poondog:
I see now

Should scale, with mostly at 384 and 702
[One (M7) Original Android Development] mobileman88:
Can this be flashed on top of ElementalX kernel or do I need to flash my ARHD 71 rom before flashing the Kangaroo kernel?
[One (M7) Original Android Development] poondog:
you can flash it over fine

but it is recommended to reflash rom dirty
[One (M7) Original Android Development] bernz_eazy:
preservative

tried it for a few hours to find out what the hype was all about.. was good but i felt that ondemand still is a little better in terms of battery.. have not tried it on heavy usage though or really tweaked and took time to mess around the voltages or gave it a few cycles.. maybe after a few cycles it would be better.. may try smartmax/row used to give me good battery life on my old one x..
[One (M7) Original Android Development] poondog:
You gotta try it for longer though, it won't be able to show advantages in this short time

Might want to play with smart max
[One (M7) Original Android Development] ghostryder12:
[MENTION=4379011]poondog[/MENTION], I've been on battery nearly 5 hrs with 45% left. I'm using ur suggested settings from a few posts ago, Preservative. Not bad, not life changing but I feel that I need to give it about 48 hrs to seat in. Also, I was @ my buddy's house and discovered after about an hour that I want on his wifi. So, my phone was searching for it, wasting some juice.

I've got some screen shots if you care. ?
[One (M7) Original Android Development] mobileman88:
OK. Will dirty flash the rom
[One (M7) Original Android Development] dani_nec:
Amazing
[One (M7) Original Android Development] poondog:
Awesome, I've got so many battery

:)
[One (M7) Original Android Development] fanbogo:
Hey, thank you for your hard work :)

so recomended settings from third post and preservative governor?
[One (M7) Original Android Development] poondog:
just change the governor, fiops and everything is fine
[One (M7) Original Android Development] androidindian:
Hey bro.. Dt2w is now available on the latest kernel for sense?

Also I'm on PA right now.. So can you link me to your kernel for PA since I'm unable to find it
[One (M7) Original Android Development] fanbogo:
ok?
[One (M7) Original Android Development] poondog:
hey man whats up

here is latest AOSP kernel

http://xdaforums.com/showthread.php?p=52598052#post52598052

dt2w is on sense yes :)
[One (M7) Original Android Development] kami2k:
How to disable 3dot menu
[One (M7) Original Android Development] poondog:
ok :)

You can use any app

in build.prop disable

or easiest to use trickstermod and disable it under specific--> screen wake options
[One (M7) Original Android Development] jerrylzy:
Reverting those sched patches did solve micro stutters/stutters in 3rd party apps while at the same time inducing some micro stutters in Sense 6 App drawer folders...Sign...

(Am I an expert in feedback? :D)
[One (M7) Original Android Development] poondog:
Really?

I don't experience this.. I can't half add them :D

Thanks for the input
[One (M7) Original Android Development] fanbogo:
hey poondog, my one jus get freeze and reboot ;/ stock uv, other settings i already posted ;/
[One (M7) Original Android Development] CamoGeko:
You got last_kmsg?
[One (M7) Original Android Development] ghostryder12:
Was this overnight while you slept? That's really great.
[One (M7) Original Android Development] fanbogo:
this file ?

inside is kmsg
[One (M7) Original Android Development] dani_nec:
Yes, and now:

Enviado desde mi HTC One mediante Tapatalk
[One (M7) Original Android Development] poondog:
Will look at it tomorrow when I get home thx

Haha even better :)
[One (M7) Original Android Development] ghostryder12:
Very nice. Here's mine shortly after upgrade.

These include about 4 hrs of my phone searching for wifi when I thought I was on. It got better once I connected again & also sitting on the side table after I got & went to bed.

---------- Post added at 07:24 AM ---------- Previous post was at 07:21 AM ----------

Is anyone else have issues using Tapatalk? Not connecting, taking excessive time trying to connect then nothing?

I ask because all my other networking apps seem to be ok ?
[One (M7) Original Android Development] jerrylzy:
It's not noticeable. Anyway, apps are running smoother now, and I don't experience some weird delays when waking up the phone now.
[One (M7) Original Android Development] myrigon:
Xda premium is being a slow beast for me too. So Tapatalk issue, I guess. Disturbingly slow...
[One (M7) Original Android Development] poondog:
Try another TCP algo

I find it slightly noticeable. Cool, I think its better without the cpuidle and schedule backports :)

Change TCP
[One (M7) Original Android Development] ghostryder12:
Sorry, toy another what?
[One (M7) Original Android Development] Ktan188:
TCP Congestion control. Like Westwood, Cubic, Reno. You can change it with Trickster
[One (M7) Original Android Development] ZeroInfinity:
More TCP Congestion controls in the next update because I keep nagging [MENTION=4379011]poondog[/MENTION] about it :p

I find Illinois the best TCP control out there, offers high throughput with least packet and bandwidth loss!

Sent from mah haytch tee see Juan via crapatalk
[One (M7) Original Android Development] poondog:
Try cubic in my screenshot :)

Lel it's done already
[One (M7) Original Android Development] ghostryder12:
Ok, I used Westwood cuz that's the one you posted to use after the update... http://xdaforums.com/showthread.php?p=52914317

Edit: I changed to Cubic @ the 5 hr mark on battery.
[One (M7) Original Android Development] poondog:
Yeah zero just told me he hated it so I'm trying Illinois
[One (M7) Original Android Development] ghostryder12:
So Westwood & Cubic suck, do they??
[One (M7) Original Android Development] poondog:
Personally I don't see much difference
[One (M7) Original Android Development] ghostryder12:
Well, since I'm such a cheap steak and not buying the full app, those are the only 3 I have access to.
[One (M7) Original Android Development] fastcx:
Just found this article about tcp congestion control, to be fair to other network users, it seem cubic is the best option while Illinois just hog it =.= https://www.google.com.my/url?sa=t&...x2kV2m0-Y23GqBf9A&sig2=OAthejFg32w0LScoyfIxrw

Just one question, how to set congestion control method from init.d script?

EDIT: LOL Nvm found it /proc/sys/net/ipv4/tcp_congestion_control

I attach it here just in case anyone wanna add it into their script

#Congestion Control

chmod 666 /proc/sys/net/ipv4/tcp_congestion_control

echo cubic > /proc/sys/net/ipv4/tcp_congestion_control

chmod 644 /proc/sys/net/ipv4/tcp_congestion_control
[One (M7) Original Android Development] poondog:
Nah you get access to all I have available. I only have these available you'll see more in next version

nice to see answering your own question :)
[One (M7) Original Android Development] ak:
@poondog

Sorry, sorry my error into my post:

https://github.com/Lens-F/Leaping_Lemur/commit/5ba3efff01f51eb4812a04499f9b2f72f5bcd2f5

I havve confused names during copy and paste.
[One (M7) Original Android Development] ghostryder12:
So then why suggest Illinois if it is not offered in this release? Hmm:confused:
[One (M7) Original Android Development] DanteGR:
Zero suggested it.

Tbh i don't see much difference between them either

Swiftkeyed from my Renovated HTC One M7
[One (M7) Original Android Development] dani_nec:
???

Enviado desde mi HTC One mediante Tapatalk
[One (M7) Original Android Development] poondog:
Yep! I'm on WiFi most of the time anyway since its fast here

Which gov? Hope that's good for you haha
[One (M7) Original Android Development] ak:
TCP Congestion Algorithm

http://www.3c71.com/android/?q=node/2536
[One (M7) Original Android Development] dani_nec:
ondemand / preservative :good::laugh:
[One (M7) Original Android Development] poondog:
Iah nice

I am starting to really like this preservative haha
[One (M7) Original Android Development] ak:
[MENTION=4379011]poondog[/MENTION]

if i want to merge preservative, it's necessary hack also into gpu drivers?
[One (M7) Original Android Development] myrigon:
Works nicely for me. Cheers!
[One (M7) Original Android Development] poondog:
I didn't hack them and it works fine. I have stock mpdec boosting the CPU on input though

If you have got nothing boosting the CPU then you might need to hack them to boost. As you might see from my got I've removed the code for mako_boosted and GPU boost

Yeah more in next version too
[One (M7) Original Android Development] ak:
thanks man.

:fingers-crossed:
[One (M7) Original Android Development] ZeroInfinity:
because poondog thought he had already done it! xD

I always use mobile data so I can tell the difference :p with westwood, my data is slow as f*ck and often switches to 3G -_- Cubic's not bad, better but not good either. I found Illinois to be the best for me, it starts up real fast when the data is first in use :D
[One (M7) Original Android Development] DanteGR:
[MENTION=4379011]poondog[/MENTION] Does this Preservative gov supposedly provide better battery life?

Any side effects?

Thanks :)

Swiftkeyed from my Renovated HTC One M7
[One (M7) Original Android Development] poondog:
if I remember tonight I will get the test to ya
[One (M7) Original Android Development] poondog:
I think the battery is better.. in theory it is since it is keeping at a lower freq without scaling too often. Side effects could be lower performance in demanding situations
[One (M7) Original Android Development] fastcx:
Glad that it works for u [emoji4] you can check for available congestion in file tcp_available_congestion_control for any future addition made by [MENTION=4379011]poondog[/MENTION]
[One (M7) Original Android Development] poondog:
phone rebooted because you plugged the charger in. Is it stock charger?
[One (M7) Original Android Development] herwegan:
so according to this westwood is still the best? or is there one that is better for battery life?
[One (M7) Original Android Development] poondog:
btw guys I posted the link to the latest AOSP kernel in the first post. Sorry for confusion. But Sense is still the main kernel :)
[One (M7) Original Android Development] jerrylzy:
[MENTION=4379011]poondog[/MENTION] this one is cool

https://github.com/franciscofranco/hammerhead/commit/d52ae8f0ec7ab70cbb2348f2838fd9159c662fcb
[One (M7) Original Android Development] poondog:
Sorry but whats cool about this? From what I see this is not doing much.. did you try it? LZ4 on its own seems to speed up the boot process a bit

edit: just re read this, sorry if it came off as a bit rude
[One (M7) Original Android Development] jerrylzy:
I tried it and I did feel a bit faster boot time. that's why I said it's cool.
[One (M7) Original Android Development] poondog:
haha alright I might try. But I already have things lined up on my checklist :D :D :D
[One (M7) Original Android Development] Mucky2:
No ck007 for today? :crying::crying::crying::crying:
[One (M7) Original Android Development] herwegan:
Nanana, no ETA... ;)
[One (M7) Original Android Development] poondog:
Nah sorry I've been too busy to work on any kernel today and for the rest of the week. We are running tests for sense now though, just sent out tests :good:
[One (M7) Original Android Development] haamza21:
68.. verry nice!

Gesendet von meinem HTC One mit Tapatalk
[One (M7) Original Android Development] fanbogo:
mate charger was unplugged,one freezed when i turned on titanium backup and i'm using only oryginal charger

this settings are ok ?

TCP congestion: westwood

Read ahead buffer: 512

IO scheduler: FIOPS(default settings)

CPU min freq: 384MHz

CPU max freq: 1728MHz

CPU governor: ondemand (default settings)

mpdecision: on

GPU gov: ondemand

GPU max freq: 400MHz

i changed only from ondemand to preservative
[One (M7) Original Android Development] fastcx:
We can't just look at surface, packet drop is likely for Westwood. And we have to look at fairness when working with other algorithm, which covered in the article I posted just few page back. Illinois just can't work well with others, not even itself, which can create worse result either to yourself or the sending end. We can change our client side, but we can't force the sending end(server) to use the same.
[One (M7) Original Android Development] herwegan:
So cubic is the best choice overall or just out of the three ones available atm?
[One (M7) Original Android Development] fastcx:
LOL good question, that's only what we currently got. Cubic is improvement of bic..while Westwood had some packet drop on my side as well..Cubic is currently the option I choose, it's the default method I saw in android as well
[One (M7) Original Android Development] herwegan:
Ok, will ask you again for your opinion when there are more options implemented ;) thx!