yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] nexusmaniac:
Ok I just did the same to wlan0 - I ran tc qdisc afterwards and it has actually worked despite saying "Android doesn't support fq_pie

View attachment 3416709

View attachment 3416710
[Nexus 6 Android Development] DespairFactor:
Now test with it like that, see if you still have the issue. Also, check dev options to make sure the handover from and to wifi stuff is unchecked.
[Nexus 6 Android Development] nexusmaniac:
:( Still doing it unfortunately

Every option in Dev Options is at its default :) So all WiFi handover stuff if all unchecked
[Nexus 6 Android Development] DespairFactor:
Hangouts message me so we can look into this
[Nexus 6 Android Development] nexusmaniac:
Hi,

I'm at work now until ~6:30pm GMT

Would it be alright if I waited until then? :)
[Nexus 6 Android Development] DespairFactor:
That's fine
[Nexus 6 Android Development] Darian71:
Same issue here trying to add cake. Excuse the misspelled "qdisk" instead of "qdisc" on first attempt
[Nexus 6 Android Development] networkdood:
If I am using the Conservative governor would I still have the need for using a hotplug, or would that be redundant?

Sent from....a phone
[Nexus 6 Android Development] DespairFactor:
Yes you need a hotplug, it doesn't have to be dynamic though.
[Nexus 6 Android Development] networkdood:
OK, well since that is unfamiliar territory for me I will enable the zen hotplug...

Sent from....a phone
[Nexus 6 Android Development] MarceloSiciliano:
Despair I don't want to be rude or ask for an ETA. I just want to know if that new ROM project to replace Optipop still going on?
[Nexus 6 Android Development] DespairFactor:
Yes it is, I am not working the source myself.
[Nexus 6 Android Development] Darian71:
That's what I'm using and getting great results
[Nexus 6 Android Development] Darian71:
Well, it would appear to whomever suggested clearing those bootloader logs, you were correct. After a couple of cycles of the battery I was still getting shutdown from 7-10% battery. Went Into fastboot mode/selected the last option 'bootloader logs"/held the power button until my device rebooted (already charged to 100% btw) and am now below 6% and still going. This may very well explain why the commits worked for some and not for others [MENTION=5169465]DespairFactor[/MENTION]. I should also add that I am on the M preview Bootloader.
[Nexus 6 Android Development] DespairFactor:
It looks like there are more kernels, go check them out
[Nexus 6 Android Development] DespairFactor:
WIP ROM build:

http://renderserver.net/devs/Outqast/Shamu/ROM/n3x0s/n3x0s_n6-LYZ28E-2015-07-25-0130PM.zip
[Nexus 6 Android Development] Guessphx:
Does anyone use this kernel on chroma rom? Just curious on the results thinking about testing it out.
[Nexus 6 Android Development] DespairFactor:
I was running it up until I flashed the new ROM
[Nexus 6 Android Development] quaman:
Does the wip rom come with your kernel inline?
[Nexus 6 Android Development] Guessphx:
Thank you for the response. I've been having a really positive experience with the kernel that came with the new rom. I believe its hc kernel but I could be wrong I was just curious if anyone tried despair with the new rom. How do I find a link for shamu? I could not seem to find one.
[Nexus 6 Android Development] Darian71:
:p
[Nexus 6 Android Development] Guessphx:
Which rom is this? I'm new to the nexus fam so excuse me for the multitude of questions.
[Nexus 6 Android Development] DespairFactor:
Yes

What?

It is the new ROM I am working on

What new ROM?
[Nexus 6 Android Development] Guessphx:
oh sorry I meant the new chroma rom. And thank you for your information I appreciate it!
[Nexus 6 Android Development] jodvova:
Where are they? I still see latest M is 4.2.
[Nexus 6 Android Development] blinde:
Does this kernel have option to prevent screen from turning on in pocket, like proximity sensor toggle?
[Nexus 6 Android Development] Dachfenster:
That's a rom not a kernel feature afaik.

Edit: Since despair uses flar2's wake gestures you could try his wake gesture app... I think there was an option in it for preventing accidental wakeups.

Edit2: I've just tested it and it works. :) However, it only prevents waking by wake gestures. If you push the power button it'll still turn on in your pocket.
[Nexus 6 Android Development] Darian71:
My complements to the Chef's on the totally AWESOME ROM! I'll just call it EXS for now. My new daily driver!:thumbup::thumbup:
[Nexus 6 Android Development] DespairFactor:
It is still in WIP, it's nowhere near complete:P stuff will be moved around too
[Nexus 6 Android Development] Darian71:
I realized a few things weren't finished but by golly I love it! Excited to see her development.:D:thumbup::thumbup:
[Nexus 6 Android Development] micmars:
This is the coolest post I've read in weeks...if only for the update on the status of your next creation.
[Nexus 6 Android Development] DespairFactor:
I have fixed and issue with my CDG port to 3.10 thanks to Kenneth Klette Jonassen, who brought it from Unix to Linux for us:)

I will also be adding a few other commits for testing purposes and we can go from there:)
[Nexus 6 Android Development] DespairFactor:
I know some of you love your CFS, so I am bringing it back.

There will also be a CFS build for M
[Nexus 6 Android Development] DespairFactor:
Alright guys, 4 new kernel variants coming at you, I am going to clean up my hosting too.

UPDATE: All 4 are up now
[Nexus 6 Android Development] DespairFactor:
Any governor requests?
[Nexus 6 Android Development] Andromendous:
Uberdemand, optimax
[Nexus 6 Android Development] DespairFactor:
Those won't work, I don't have the patience to learn the rwsem porting between 3.4 and 3.10, it is way too much work.
[Nexus 6 Android Development] Custodian:
That's one hell of a request, won't see those on any n6 kernel for a while lol
[Nexus 6 Android Development] pantmunu:
I haven't even heard of those governors. Hehehe. They sound fun though.
[Nexus 6 Android Development] MarceloSiciliano:
InteractiveX!
[Nexus 6 Android Development] Custodian:
InteractiveX is just a modified interactive to allow screen off freq settings, nothing special
[Nexus 6 Android Development] DespairFactor:
Can we please get some serious requests?:P
[Nexus 6 Android Development] pantmunu:
Barry Allen and interactive_pro ..
[Nexus 6 Android Development] S0UTHPAWK1LLA:
Pegasus q?
[Nexus 6 Android Development] Custodian:
Port XNU to android.

https://opensource.apple.com/source/xnu/
[Nexus 6 Android Development] DespairFactor:
I can do Barry allen

I can look at this one
[Nexus 6 Android Development] DespairFactor:
Why would anyone do this?
[Nexus 6 Android Development] Andromendous:
Sorry, i didnt know it was that big of a deal. If thats the case, then what ells is there to add?

---------- Post added at 12:53 AM ---------- Previous post was at 12:52 AM ----------

Nightmare? Is that a reasonable one?
[Nexus 6 Android Development] DespairFactor:
You don't use the kernel, do you?
[Nexus 6 Android Development] Andromendous:
Seriously?[emoji52] [emoji52] [emoji52]

---------- Post added at 01:05 AM ---------- Previous post was at 12:59 AM ----------

Im sorry i failed to realize nightmare was one of the 30 gov. Choices for this kernel
[Nexus 6 Android Development] DespairFactor:
Barry Allen added, it is compiling now for all 4 versions.
[Nexus 6 Android Development] Dachfenster:
[MENTION=5169465]DespairFactor[/MENTION] you could add the zzrelax profile of zzmove to your 2nd post. It's profile number 11. I'm using it currently and really like it. :)
[Nexus 6 Android Development] blinde:
Your kernel is phenomenal. I've tried lot's of others and battery life with N6 has always been mediocre, but with this... It's just stunning how well it performs with my phone. It basically drops 2% at most in an hour while listening music all that time from Play Music or Spotify. I'm using Viper4 also which should consume more battrery. Thank you so much!
[Nexus 6 Android Development] minieod:
not familiar with barry...is it some ultra performance governor?

similar question as above, whats it do

i am just overwhelmed by all the governors, i have no clue what half of them do...i just stick to conservative

anyone have an awesome set up they'd like to share? not sure how to set the CFS and stuff, too
[Nexus 6 Android Development] S0UTHPAWK1LLA:
Go here

xdaforums.com/showthread.php?t=1736168
[Nexus 6 Android Development] minieod:
well i know most of them, but the reason i ask is because if we take the link you shared...it literally doesn't have pegasus or barry allen - the two i asked about
[Nexus 6 Android Development] KonoeKyon:
Alucard? Oh what about a generic input boost driver? So you can set up a touch boost for any governor instead of just the few that have the option already?
[Nexus 6 Android Development] DespairFactor:
I didn;t even notice this was there, will add it to OP later on today.
[Nexus 6 Android Development] DespairFactor:
The generic input boost driver has been there for ages, the governor just needs to actually use input boost.
[Nexus 6 Android Development] KonoeKyon:
Oh alright! It's it possible to modify any of the governors to support it then?
[Nexus 6 Android Development] DespairFactor:
It is technically possible, but it would mean rewriting each governor that doesn't have it.
[Nexus 6 Android Development] KonoeKyon:
Ah okay, thanks anyway :)
[Nexus 6 Android Development] Tylog:
Great work DespairFactor, testing now the 23.7 build . Thanks
[Nexus 6 Android Development] Hen Ry:
Frequency setting when the display of?

Is this possible? [emoji1] [emoji106]
[Nexus 6 Android Development] Mr_S:
I know this is probably a mammoth task but I used a kernel on n4 by [MENTION=4143702]DeFcOn[/MENTION]i which had different governors and frequencies per core. Any kernel that has this on n6 would be amazing!
[Nexus 6 Android Development] DespairFactor:
It is, but adiutor doesn't have the setting yet
[Nexus 6 Android Development] KonoeKyon:
Just gonna say M2 kernel is working good.

View attachment 3420573
[Nexus 6 Android Development] quaman:
That's the highest benchmark I've seen on shamu

They still don't matter as much as real world performance but still impressive
[Nexus 6 Android Development] DespairFactor:
What's the setup on that?
[Nexus 6 Android Development] KonoeKyon:
Might not matter much but it's still fun to tweak and try for the best ;) As far as real world usage, this is one damn smooth kernel, with a lot of options to play with. :good:

---------- Post added at 03:41 PM ---------- Previous post was at 03:35 PM ----------

Conservative 3033 min/max, bfq 2048 read-ahead with fsync disabled, GPU 600 min/max, and debug.egl.swap interval=0 in build.prop

It's on the bfs kernel btw
[Nexus 6 Android Development] Hen Ry:
with which app it works?

fauxclock also does not work, will be grayed out,

Trickster, Kernel Toolkit will not be displayed

the lack I yet, CPU Maximum Screen Off Frequenzy

other Kernel

with adiutor

View attachment 3420714

with Kernel Toolkit

View attachment 3420727

with Trickster

View attachment 3420728
[Nexus 6 Android Development] jon.s.nelson:
Hey, eager to try your kernel just want to make sure: If I'm running an Aosp based 5.1 ROM, (ie. Chroma) do I flash the zip (from renderserver.net) in twrp as I would any other kernel?

(You mentioned flashing a boot.img first, in a previous post...)

Thanks in advance!
[Nexus 6 Android Development] DespairFactor:
Yes you would, the boot.img thing is just for android m.
[Nexus 6 Android Development] DespairFactor:
You misunderstood, I said the stuff for the new msm limiter driver isn't in adiutor yet, I don't have the commit because my choice of app doesn't support it

What kernel is it that had it?
[Nexus 6 Android Development] DespairFactor:
New builds coming now with MSM Limiter added, because you guys like it for some reason. Oh it also updated intelli hotplug and msm hotplug in the process.
[Nexus 6 Android Development] eluspo:
Is the defaults good enough for battery and performance? Im a busy guy, so i wanna stay in the defaults atm.
[Nexus 6 Android Development] DespairFactor:
Defaults are pretty much stock Google kernel.
[Nexus 6 Android Development] S0UTHPAWK1LLA:
SetCPU used to be able to have profiles like that. However, it's behind the curve nowadays.

That feature/commit can be tricky if set too low though.
[Nexus 6 Android Development] MarceloSiciliano:
There is a build from today on the new ROM folder...is it ready?
[Nexus 6 Android Development] DespairFactor:
Yes, but you need UKM/Synapse to configure the msm limiter stuff because no one has added it otherwise I believe

Oops, this says ROM, I am an idiot
[Nexus 6 Android Development] Darian71:
Looks like it! Downloading now at 335MB
[Nexus 6 Android Development] Darian71:
I flashed it. Lol. Had to clear data in Google Play Services to stop the FC's. Oddly enough...., its running your M 4.4 kernel??
[Nexus 6 Android Development] DespairFactor:
It shouldn't be:S
[Nexus 6 Android Development] Andromendous:
Ya i got m for the kernel aswell
[Nexus 6 Android Development] KonoeKyon:
For anyone interested in a way to configure the msm_limiter driver until kernel adiuter has support for it, you can easily do so with an init.d script. There's an example below, just create a new file in /system/etc/init.d give it 755 permissions and put the following in it. Change the values to whatever you desire.

#!/system/bin/sh
echo 1 > /sys/kernel/msm_limiter/limiter_enabled
echo 2649600 > /sys/kernel/msm_limiter/resume_max_freq_0
echo 2649600 > /sys/kernel/msm_limiter/resume_max_freq_1
echo 2649400 > /sys/kernel/msm_limiter/resume_max_freq_2
echo 2649600 > /sys/kernel/msm_limiter/resume_max_freq_3
echo conservative > /sys/kernel/msm_limiter/scaling_governor_0
echo conservative > /sys/kernel/msm_limiter/scaling_governor_1
echo conservative > /sys/kernel/msm_limiter/scaling_governor_2
echo conservative > /sys/kernel/msm_limiter/scaling_governor_3
echo 10 > /sys/kernel/msm_limiter/suspend_defer_time
echo 1728000 > /sys/kernel/msm_limiter/suspend_max_freq
echo 300000 > /sys/kernel/msm_limiter/suspend_min_freq_0
echo 300000 > /sys/kernel/msm_limiter/suspend_min_freq_1
echo 300000 > /sys/kernel/msm_limiter/suspend_min_freq_2
echo 300000 > /sys/kernel/msm_limiter/suspend_min_freq_3
[Nexus 6 Android Development] jodvova:
Thank you a lot!

You are very helpful once again!

I tried to Google msm limiter, but still don't have a good idea what it does. Can anyone explain?
[Nexus 6 Android Development] barry_:
Immense battery life with the 'out of the box' settings. The best I have ever had in my 8 months of using the phone.

Thanks to all involved.
[Nexus 6 Android Development] eluspo:
You meant stock settings? No tweaking at all? Just flash out of the box? Tia
[Nexus 6 Android Development] DespairFactor:
This is what I am using.

#!/system/bin/sh
echo 1 > /sys/kernel/msm_limiter/limiter_enabled
echo 2649600 > /sys/kernel/msm_limiter/resume_max_freq_0
echo 2649600 > /sys/kernel/msm_limiter/resume_max_freq_1
echo 2649400 > /sys/kernel/msm_limiter/resume_max_freq_2
echo 2649600 > /sys/kernel/msm_limiter/resume_max_freq_3
echo conservative > /sys/kernel/msm_limiter/scaling_governor_0
echo conservative > /sys/kernel/msm_limiter/scaling_governor_1
echo conservative > /sys/kernel/msm_limiter/scaling_governor_2
echo conservative > /sys/kernel/msm_limiter/scaling_governor_3
echo 10 > /sys/kernel/msm_limiter/suspend_defer_time
echo 960000 > /sys/kernel/msm_limiter/suspend_max_freq
echo 35000 > /sys/kernel/msm_limiter/suspend_min_freq_0
echo 35000 > /sys/kernel/msm_limiter/suspend_min_freq_1
echo 35000 > /sys/kernel/msm_limiter/suspend_min_freq_2
echo 35000 > /sys/kernel/msm_limiter/suspend_min_freq_3
[Nexus 6 Android Development] KonoeKyon:
I use the following myself.

#!/system/bin/sh
echo 1 > /sys/kernel/msm_limiter/limiter_enabled
echo 3033600 > /sys/kernel/msm_limiter/resume_max_freq_0
echo 3033600 > /sys/kernel/msm_limiter/resume_max_freq_1
echo 3033600 > /sys/kernel/msm_limiter/resume_max_freq_2
echo 3033600 > /sys/kernel/msm_limiter/resume_max_freq_3
echo conservative > /sys/kernel/msm_limiter/scaling_governor_0
echo conservative > /sys/kernel/msm_limiter/scaling_governor_1
echo conservative > /sys/kernel/msm_limiter/scaling_governor_2
echo conservative > /sys/kernel/msm_limiter/scaling_governor_3
echo 10 > /sys/kernel/msm_limiter/suspend_defer_time
echo 1267200 > /sys/kernel/msm_limiter/suspend_max_freq
echo 35000 > /sys/kernel/msm_limiter/suspend_min_freq_0
echo 35000 > /sys/kernel/msm_limiter/suspend_min_freq_1
echo 35000 > /sys/kernel/msm_limiter/suspend_min_freq_2
echo 35000 > /sys/kernel/msm_limiter/suspend_min_freq_3
[Nexus 6 Android Development] DespairFactor:
Check your files, actually for some reason mine isn't setting at all
[Nexus 6 Android Development] DespairFactor:
I just modified the msm_limiter driver so everyone has a max suspend freq of 960MHz, I have also added UKSM because why not?
[Nexus 6 Android Development] nexusmaniac:
Sorry for being a noob ;)

But could someone briefly explain the difference between M4.7 and CFS M4.7 please?

I've searched through your thread with no luck - and had a Google.. All I could find was stuff to do with the scheduling of the CPU and didn't know if that was right :P
[Nexus 6 Android Development] raptoro07:
CFS kernels use CFS scheduler and the others use BFS.
[Nexus 6 Android Development] nexusmaniac:
But I meant more along the lines of what effect these schedulers have on the Nexus 6 :) And what the difference actually is between the standard despair kernel and a CFS variant :)
[Nexus 6 Android Development] DespairFactor:
Here are the new values for my msm_limiter

#!/system/bin/sh

echo "1" > /sys/kernel/msm_limiter/limiter_enabled

echo "2649600" > /sys/kernel/msm_limiter/resume_max_freq_0

echo "2649600" > /sys/kernel/msm_limiter/resume_max_freq_1

echo "2649400" > /sys/kernel/msm_limiter/resume_max_freq_2

echo "2649600" > /sys/kernel/msm_limiter/resume_max_freq_3

echo "despair" > /sys/kernel/msm_limiter/scaling_governor_0

echo "despair" > /sys/kernel/msm_limiter/scaling_governor_1

echo "despair" > /sys/kernel/msm_limiter/scaling_governor_2

echo "despair" > /sys/kernel/msm_limiter/scaling_governor_3

echo "10" > /sys/kernel/msm_limiter/suspend_defer_time

echo "960000" > /sys/kernel/msm_limiter/suspend_max_freq

echo "35800" > /sys/kernel/msm_limiter/suspend_min_freq_0

echo "35800"> /sys/kernel/msm_limiter/suspend_min_freq_1

echo "35800" > /sys/kernel/msm_limiter/suspend_min_freq_2

echo "35800" > /sys/kernel/msm_limiter/suspend_min_freq_3

echo "35800" > /sys/kernel/msm_limiter/live_min_freq_0

echo "35800" > /sys/kernel/msm_limiter/live_min_freq_1

echo "35800" > /sys/kernel/msm_limiter/live_min_freq_2

echo "35800" > /sys/kernel/msm_limiter/live_min_freq_3

Furthermore to your question, CFS uses percpu queuing which means each CPU essentially has a runqueue, with BFS there is only a single runqueue. This prevents all CPUs having to do calculations on tasks for fairness on their own respective runqueue, which in place takes up CPU cycles(according to research, but on android its hard to compare really).

In short, BFS aims to reduce lag time on tasks due to it being able to schedule work on any CPU with no additional calculations.
[Nexus 6 Android Development] nexusmaniac:
How would I go about switching to BFS? :) Flash the CFS kernel and then..

Thanks for the explanation :D
[Nexus 6 Android Development] DespairFactor:
To change you just flash the other kernel:P
[Nexus 6 Android Development] nexusmaniac:
Aha Ok wicked! Thanks :)
[Nexus 6 Android Development] KonoeKyon:
Working as expected for me, does it have the right permissions?
[Nexus 6 Android Development] caspersfi:
Crazy too how it's the first sentence in your OP. Don't submit a bug report without a log.

I mean guys would have to literally click on this thread, and immediately scroll as fast as they can to the download link without seeing that initial first sentence.

Crazy....
[Nexus 6 Android Development] DespairFactor:
We may have to go OnePlus style in here and be invite only to download:/
[Nexus 6 Android Development] caspersfi:
Lol, funny you just reminded me of a Dev who tried that a cpl years back. He was so fed up. It was an AOKP ROM for the SGS3. After a week the thread died and it was just a crash and burn.

IDK man, somehow you have to chalk it up to you can't help the ones who can't help themselves....
[Nexus 6 Android Development] DespairFactor:
Exactly what I am doing now:P
[Nexus 6 Android Development] caspersfi:
Well hey at least the pays good!

Oh wait...... lol
[Nexus 6 Android Development] DespairFactor:
LOL it pays in my device lasting a whole day:P
[Nexus 6 Android Development] Bluemgt06:
Sorry for not posting logs, not sure how to get one. I've been using the kernel for a while(since before it was Despair) but never had any issue until the last releases.
[Nexus 6 Android Development] papikev:
Look at post #71 in this thread. He explains where to look. If there is no log there, check also proc/kmesg using any file manager.
[Nexus 6 Android Development] Bluemgt06:
I can't find the logs at any of those places. Maybe I'm not looking at it right?
[Nexus 6 Android Development] DespairFactor:
Look after you get another reboot. You need a root file explorer/browser or you can cat it into another file through terminal where you have access without root.
[Nexus 6 Android Development] apophis9283:
hows blue plug working for you
[Nexus 6 Android Development] DespairFactor:
works well with bioshock.
[Nexus 6 Android Development] apophis9283:
i still cant find blu plug switch. using kernel adiutor
[Nexus 6 Android Development] DespairFactor:
there is no switch, you just turn off the other two
[Nexus 6 Android Development] apophis9283:
that explains it. thanks
[Nexus 6 Android Development] DespairFactor:
Here are blu plug settings
[Nexus 6 Android Development] apophis9283:
At the risk of seeming like an idiot. What does the timer controls do?
[Nexus 6 Android Development] DespairFactor:
How long it takes to plug or unplug a core
[Nexus 6 Android Development] apophis9283:
Thank you for your knowledge. Was kind of in the dark. Really do appreciate it
[Nexus 6 Android Development] DespairFactor:
If you have further questions you can send me a message on hangouts.
[Nexus 6 Android Development] Darian71:
Is the forum opened yet for N3XOS ROM? Had to revert back to the initial build for a few reasons I thought I'd report if unaware.?
[Nexus 6 Android Development] S0UTHPAWK1LLA:
Can't change the governor in synapse without getting stuck, fc... Installed latest pure nexus rom 1st as well. Reinstalled rom, then kernel..R24
[Nexus 6 Android Development] DespairFactor:
Screw synapse:)
[Nexus 6 Android Development] S0UTHPAWK1LLA:
LOL... Very good. Kernel aduiter it is then
[Nexus 6 Android Development] DespairFactor:
Yeah, it was an issue with me being stupid:)

Anyone have any nice init.d scripts to play with? I have attached mine to this post.
[Nexus 6 Android Development] MandoH:
Delete
[Nexus 6 Android Development] KonoeKyon:
Looks like you are missing the cfg files for those scripts BTW. And really the only other scripts I have is one to FSTrim every few days on boot, one to set congestion algorithm to cake on boot and one to disable the bcl driver on boot. :good:
[Nexus 6 Android Development] DespairFactor:
Does the cake one actually work? Mine wouldn't work at all.
[Nexus 6 Android Development] KonoeKyon:
I had to put a line to have the script sleep before it ran, I been using sleep 60 haven't tried a lower value yet but it works with that
[Nexus 6 Android Development] DespairFactor:
Mind posting the script?
[Nexus 6 Android Development] KonoeKyon:
!/system/bin/sh
sleep 60
tc qdisc add dev wlan0 root cake
tc qdisc add dev rmnet_usb0 root cake
tc qdisc add dev rmnet_data0 root cake
fi
[Nexus 6 Android Development] jodvova:
These settings do not work on my phone. When it boots up every single app FCs and then the phone reboots itself.

The settings that do work are the ones you posted before and Despair's ones.