yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] swat4samp:
I tried chaos for the first time on CM11 which is my first caf ROM too. What I observed I'd that the default interactive governor lags and stutters in many apps :( Is there any recommended governor or settings on synapse which reduces those lags? It's my first time, so please don't hate me for asking :o. And one more thing, to update to new version from old one, dirty flash is enough right?

On 09/17 nightly and 09/17 cm11 nightly build, Had two reboots, first one I didn't remember but second one is while browsing tapatalk.

https://www.dropbox.com/s/abtsxs5caa2ar6d/last_kmsg.log?dl=0

https://www.dropbox.com/s/t4e1n2740wz5nlp/last_kmsg2.log?dl=0

Posted in pastebin too.

http://pastebin.com/W4jnmQcj

http://pastebin.com/VbAwB3mz
[Nexus 5 Original Android Development] topgeardave:
Flash latest nightly that's posted above yours, should fix the reboots

Edit: I'm bored so I've decided to benchmark different io schedulers with 512kb readahead:

FIOPS: Random Read/Write: 10.58/0.68 MB/s

NOOP: Random Read/Write: 10.59/0.68

Deadline: Random Read/Write 10.74/0.68

Row: Random Read/Write 10.55/0.74

CFQ: Random Read/Write 10. 34/0.76

BFQ: Random Read/Write 10.51/0.58

SIO: Random Read/Write 10.64/0.69

Zen: Random Read/Write 10.57/0.75

Vr: Random Read/Write 10.70/0.70

Looks like deadline and vr are the clear winners here in terms of raw numbers! It certainly feels that way too, I think I might just stick with vr for now :)

Edit 2: After more real life testing it looks like deadline is the one for best performance, it's really snappy! Also I'm looking for raw performance at the moment and I've changed fast_timer_rate from 15000 to 2000 with oc to 2.4ghz, and my God this phone flies! It's so fast it's almost insane o.O Although I must admit battery life does take a hit but since I'm always near a charger battery life isn't much of a concern for me :)
[Nexus 5 Original Android Development] fluther:
Clean install of m10, pvs3, reboot while trying to run antutu: https://www.dropbox.com/s/3r7z95r1ou2tyae/chaos-last_kmsg-2014-09-17.23.19.33.txt?dl=0

Also it was okay at first, but now I'm stuck at 1.2ghz again.
[Nexus 5 Original Android Development] topgeardave:
I want to try and help you mate with the 1.2ghz issue. Do you flash any other patches or use any kernel apps?
[Nexus 5 Original Android Development] Audioboxer:
[MENTION=4204385]topgeardave[/MENTION] you should try myfluxi's build 8 with the default kernel. Temp issues are fixed and I got almost 4 hours SOT. The CAF builds contain an updated mpdecision. It's a very interesting experiment and from looking at the nightly changelogs quite a bit of myfluxi's work is making it into the default CM kernel :good:

I will try the nightlies and chaos kernel 14 again soon, but for now at least I know BT works 100% on the 99% CAF builds.

I know Neo has chosen not to implement the CM kernel hotplugging as myfluxi has done it, but I think he should maybe reconsider, it works great on the CAF builds.
[Nexus 5 Original Android Development] fluther:
Nope, nothing. Also it's ever since the switch to synapse (but not initially I don't think). 13.2 and earlier 14s scale perfectly.
[Nexus 5 Original Android Development] montbazon:
Vr is one of most unstable scheduler in Linux. I'd grap fiops or row rather than vr.
[Nexus 5 Original Android Development] swat4samp:
[MENTION=4204385]topgeardave[/MENTION] Will try the latest nightly. I had more than 5-6 reboots during 1hour period with 0917 kernel. Is the latest version OK? I mean are those random reboot bug solved?
[Nexus 5 Original Android Development] topgeardave:
Should be solved mate as the issue was identified
[Nexus 5 Original Android Development] swat4samp:
So far no reboots at all [emoji106] BTW had some lags and stutters with interactive governor. Any suggestions on governor/io combination which gives smooth experience mate?
[Nexus 5 Original Android Development] topgeardave:
Use deadline with 512kb readahead. In synapse in governor settings change fast_timer_rate at the bottom to 5000, will take a hit on battery but it'll be stutter free
[Nexus 5 Original Android Development] swat4samp:
Read ahead is 512 by default. As per my trial and error, I got good performance with nightmare/cfq. Can you explain in detail what does fast_timer_rate do?
[Nexus 5 Original Android Development] neobuddy89:
Nothing was changed with interactive governor. Use MSM Limiter driver setting 2.26 GHz Freq as Max.

Here is test-drive version for CM11's new "interactive" governor branded as "bacon" governor.

(You will have to change governor to bacon from default interactive)
[Nexus 5 Original Android Development] neobuddy89:
Are you injecting MultiROM binary from recovery?
[Nexus 5 Original Android Development] Audioboxer:
:highfive:

Does Chaos contain all the sound updates from the official kernel like http://review.cyanogenmod.org/72905 & http://review.cyanogenmod.org/73154
[Nexus 5 Original Android Development] fluther:
Nope. I used multirom once ages ago to check out Ubuntu but I got rid of it soon after.
[Nexus 5 Original Android Development] topgeardave:
Use deadline and in interactive fast_timer_rate checks how often cpu should be ramped up I think. Using a lower value yields more performance. All I know is that with a lower value it's less stuttery at the cost of battery life.
[Nexus 5 Original Android Development] BRiANj64:
They aren't kernel updates.
[Nexus 5 Original Android Development] neobuddy89:
Can you share fresh log? Just wish to know if it's same error all the time.... try below nightly.

Chaos-Kernel_v14.0-[09-19]-[00-00]

* Add new Bacon governor - interactive governor of CM11.

* Fix potential reboot due to wdog_bark

* Minor updates for video playback

* Misc kernel updates.
[Nexus 5 Original Android Development] fluther:
Will do, but I'm traveling this weekend so I'm out of action till Monday or Tuesday.

Sorry I'm always causing trouble! :)
[Nexus 5 Original Android Development] topgeardave:
Works fine here!

On a side note, when using open recovery script to flash the kernel or anything else with an app like flashify, synapse doesn't like it and goes back to default settings on the next boot as them apps don't do a clean reboot. Also don't open synapse within the first two minutes of the phone booting or it goes back to default settings. Kinda annoying from the app developer but guess we gotta put up with it.
[Nexus 5 Original Android Development] swat4samp:
Latest version is so stable. Using nightmare gov without any tweaks gave me 5plus SOT, no lags, no stutters. Donno but interactive and bacon stutters on my device. Nvm, I found good combination. Thanks neobuddy :good:
[Nexus 5 Original Android Development] JulianXhokaxhiu:
Don't know what happened but with this release the battery seems to be "drainage" free. Since until now, also with airplane mode, the battery seems to be discharging by itself. While now it's really "flat line" over 9h+ of standby.

Nice job, thanks as always :)
[Nexus 5 Original Android Development] neobuddy89:
Till now Synapse use to detect kernel version (including compiled date and time) and if this version mismatched.... Synapse use to reset its data.

This is fixed now from below version onwards... unless I trigger from ramdisk!

Also, the reason waiting 2 min is worth because.......

=> Our android framework/services may overwrite values at the boot time. So, we give time for boot to complete and then write values.

=> If by chance, a user set wrong volt values and suffer reboot.. he would have 2 min on next boot to rectify settings.

=> 2 min is worth for letting this AWESOME app to apply settings.. don't you think??

=> As you know.... this 2 min is by app developer... you can request him to make this time configurable in settings.

And now here we go for next nightly:

Chaos-Kernel_v14.0-[09-19]-[22-08]

* Fix synapse reset when new nightly is flashed. (this nightly onwards)

* Google updates from kernel common branch.

* Add LED control and TCP congestion control to Synapse.

* Audio driver updates!! (including updates for USB-Audio, please test!)

* Misc updates
[Nexus 5 Original Android Development] topgeardave:
Thanks mate, appreciate the wholesome response :)

Edit: Is there any chance you could build a test kernel with sabermod tooolchain?
[Nexus 5 Original Android Development] Luigi_2:
wat happend to v.15 :D
[Nexus 5 Original Android Development] albuntu:
Unfortunately this one gives me only a SoD. I'm on CM11 M10. After the Cyanogenmod boot screen there is no chance to wake my N5. Tried also a few reboots. Nothing. Have to long press the power button.

Restored my backup...

Sent from my Nexus 5 with Tapatalk
[Nexus 5 Original Android Development] topgeardave:
Try an older nightly? Latest kernel nightly might not be friendly with an old rom
[Nexus 5 Original Android Development] kronflux:
this has probably already been answered, but I skimmed the last few pages and didn't find an answer.

What happened to the Chaos 15 builds for myfluxi's CAF builds?

I know there's a new build from myfluxi(CAF09) and I'm just wondering what I should use for a kernel, his "stock" one, or some version of Chaos.
[Nexus 5 Original Android Development] marioemp2k7:
Neo is working on the next version of Chaos 15 to complement the latest myfluxi CAF build. You can use his previous version of Chaos 15 nevertheless or stay on the default kernel from CAF09.
[Nexus 5 Original Android Development] EnginEAR:
Works fine with latest CM nightly...
[Nexus 5 Original Android Development] neobuddy89:
Even "clean" ROM of new CAF09 with its stock kernel, battery temperature remains between 40~44 Celsius.

If I keep it idle for very very long time, temperature falls upto 38 Celsius.

This is not the case with current CM11, battery temperature remains below 40 Celsius most of the time.

If I keep it idle for some time, temperature falls upto 32~33 Celsius.

I have already got screenshots of this "stock" behavior. Perhaps, someone else have contradicting views on this?

If stock CAF09 can surpass this blocker, we will get kernel for that as well.
[Nexus 5 Original Android Development] Audioboxer:
Battery temp is at 36 for me during use :/ Can't go back to official nightlies after all the work myfluxi has done, especially with audio. Fixes so many current CM bugs.
[Nexus 5 Original Android Development] neobuddy89:
Nope. Battery temp is still mess for me at least... I have flashed nearly 4 times. And this has to do with its kernel.

Here is a build for CAF09 only from Chaos-14.0 branch (updated mdss from CAF09):

https://www.mediafire.com/folder/4ad252m4r8ad9/Chaos_15.0_CAF_Test_Builds

Battery Temp is back to 32.5 Celsius!! :victory::victory:
[Nexus 5 Original Android Development] Audioboxer:
Not to sound rude but if you didn't fork from myfluxi's kernel wouldn't that take away from the 99% CAF element? (sorry I just don't understand kernel code much :p)
[Nexus 5 Original Android Development] neobuddy89:
I already forked it, tried it with and without my patches. Can't understand why temp hovers around 40 Celsius.

Coming to build released above, it has all the patches that are needed (for example, latest CAF audio , latest CAF mdss, latest CAF vidc driver) and even contains cherry picked msm-3.10 patches from CAF (like Mem allocations)

CAF element was and is priority of Chaos .. we are not 99% but atleast 95 % in sync already. Rest 4 % requires API updates for hammerhead legacy code which is not priority and not beneficial.

On top of that, it is in sync with latest 3.4.y and hybrid features of 3.17.y mainline.

I would happily migrate to new code which is build over plain CAF once outstanding issues are resolved.
[Nexus 5 Original Android Development] Luigi_2:
and its fixed at your side? :D
[Nexus 5 Original Android Development] guess005:
I PM'd you but now that I can post, your answer may benefit more than myself alone, so I will post it here as well.

I'm having an issue that I tried to remedy for (from your post on how to fix them actually).

If I flash 13.2 stable, I have NXTweaks installed, if I flash the nightlies, I do not have the app. If I add it via the link you provide, I get the no kernel error. If i then flash the fix file i still get the same error. (I have tried reverse order of this as well).

I've tried restoring from TiBackup, the version of the app that worked on 13.2 (which flashed properly, with the kernel, without any issues) but that app still has no kernel error.

Would you be able to assist? I really want to keep using this kernel, been on it since I've had my N5, never had a problem till now.

Edit: I'm on CM11 nightlies.

-guess
[Nexus 5 Original Android Development] kong:
^

New nightlies have switched to Synapse instead of NXTweaks. You can download the app from Play Store
[Nexus 5 Original Android Development] guess005:
First post needs some work haha. No worries though, all is right with the world again.

This has to be one of the best kernels I've ever used, keep up the great work!

-guess
[Nexus 5 Original Android Development] montbazon:
[MENTION=3795148]neobuddy89[/MENTION]

IMO caf interactive is better then cm's.

I have used that just one day but i didn't notice any advantage of the Bacon.

Now i rolled back to CAF one.
[Nexus 5 Original Android Development] guess005:
I always use pegasusq...am I crazy?

-guess
[Nexus 5 Original Android Development] montbazon:
Absolutely not.
[Nexus 5 Original Android Development] guess005:
Well that's good to know. It was the only stable hotplug gov on my old gnex, been using it ever since with great results.

-guess
[Nexus 5 Original Android Development] neobuddy89:
Yes, I told that before!

Bacon was grilled into Chaos on mass demand.
[Nexus 5 Original Android Development] montbazon:
In my case, my gnex still runs with interactive governor. I tried others like hotplugging governor like interactivex and pegasusq but ti omap 4460 doesn't design for hotplugging. So I didn't try anymore.

In my experience All hotplugging governors on gnex were unstable.

And for now on N5 don't need to hotplugging governor anymore. There is already built-in hotplugging driver.

Whatever all choices up to you.
[Nexus 5 Original Android Development] aldyu:
I can confirm the battery issue as well when I tested CAF08, I even tried it with a clean install to eliminate any other factors but still it idles at around 40c when it should be at only around 30c in stock cm.
[Nexus 5 Original Android Development] swat4samp:
I too use pegasusq governor but for most of the time, core 1 stays at 1500 even when the device is idle. Is that normal behaviour? Well, for me interactive and bacon didn't do anything good. It just lags and didn't want to mess with tunables. And i don't think there would be difference in battery life if we switch governors. Or does it?
[Nexus 5 Original Android Development] guess005:
Here's a screen from mine showing states. Looks like it holds minimum most of the time? Not really positive on that, but that's what it looks like to me. Only been up and running an hour is so.

just set the MaxCPU to 1.7 on this boot thats why there are 2 high states at 1%

I also run ART runtime.

-guess
[Nexus 5 Original Android Development] kong:
Waiting for Chaos 15 :angel:
[Nexus 5 Original Android Development] neobuddy89:
Cannot find any changes in the sources.
[Nexus 5 Original Android Development] Audioboxer:
Might not have been kernel related if the temps were actually low, it was something in the ROM not reporting them correctly.
[Nexus 5 Original Android Development] kong:
Ah, OK.

Thanks for taking a look though :silly:
[Nexus 5 Original Android Development] Audioboxer:
I've always said my phone was running cool on the builds, and my CPU and battery temp were reporting low. On occasion they'd go up a bit but the phone didn't feel hotter. I have a feeling something was just reporting wrong temps in the ROM.
[Nexus 5 Original Android Development] neobuddy89:
Nope. It's kernel I think. Kernel reports this temp to system unless something in system is causing temp to rise high.
[Nexus 5 Original Android Development] Audioboxer:
Newest build my battery is 28 degrees.
[Nexus 5 Original Android Development] neobuddy89:
And .. I was right..

https://github.com/myfluxi/android_...mmit/d769ef5cfcab89188041c75fd1770d8e061c72be

bleh. so much suspense.
[Nexus 5 Original Android Development] lolobarjo:
With this and the last version of CAF build video playback doesn't work for me (YouTube/Dailymotion/myCanal). Do you need log ?

Envoyé de mon Nexus 5
[Nexus 5 Original Android Development] Audioboxer:
Well done finding it.
[Nexus 5 Original Android Development] Isidorosis:
What a small pointer can do :P

Is there a way to reset cpu times at synapse ?

Thank you for you kernel and your fast updates
[Nexus 5 Original Android Development] fluther:
Reboot while trying to run Antutu with latest nightly on m10: https://www.dropbox.com/s/zg8ls9nns1u8sai/chaos-last_kmsg-2014-09-21.23.31.28.txt?dl=0

Also, freqs maxed out at 2.4ghz.
[Nexus 5 Original Android Development] topgeardave:
Could you try latest nightly? Only thing in logs that seem off is mdss
[Nexus 5 Original Android Development] fluther:
I'd really prefer not to if at all possible. I've started a new job and I don't have much time these days, so I'm on m releases and stable chaos ideally for now. M10 and 13.2 work together like a dream.
[Nexus 5 Original Android Development] neobuddy89:
New build available for CAF10 CM11 build ONLY:

https://www.mediafire.com/folder/4ad252m4r8ad9/Chaos_15.0_CAF_Test_Builds

Chaos-Kernel_v15.0-[09-22]-[07-53]

* Initial adaptation to new source

* TODO: Thermal kernel driver, DIAG modes, you tell me.
[Nexus 5 Original Android Development] Circaflex:
nice, just flashed it. glad to see this along with all of myfluxi's work bringing cm back to its glory days, well at least on hammerhead
[Nexus 5 Original Android Development] guess005:
Sorry but can I get a link to a caf10 cm11 build? I'm on cm11 nightlies...?

-guess
[Nexus 5 Original Android Development] Circaflex:
on xda the user is myfluxi, go to his profile and click the link in his signature, or just go into the cm11 thread and find myfluxi and the link will be there :good:
[Nexus 5 Original Android Development] guess005:
Into the rabbit hole I go.

Does Bluetooth audio ever need testing? That's how I listen to things.

-guess

---------- Post added at 04:28 AM ---------- Previous post was at 04:11 AM ----------

Dirty flashed caf10 over w.e. cm night lies are on. Besides a Google services not valid error, everything seems fine. Fixed services error by flashing an updated gapps.

-guess
[Nexus 5 Original Android Development] neobuddy89:
Ok, so reviewing the "stock" thermal engine.

Battery temp reporting is fixed in kernel; no more overheat in battery.

However, when applications keep running for longer time, temperature of cores rises very high that you can feel it.

Since, temp reporting is fixed, we will try kernel-space thermal driver now.
[Nexus 5 Original Android Development] fedef12evo:
hello everyone knows if bluetooth deep sleep bug has been fixed? i want to come back to this kernel, but that bug push me away
[Nexus 5 Original Android Development] betobm:
bluetooth is working just fine here! :good:
[Nexus 5 Original Android Development] topgeardave:
Hey neobuddy, is there any reason why the vibrator on your kernel v14 is much stronger than every other kernel on 63% like v15, stock cm and any 3rd party kernel which is weaker?
[Nexus 5 Original Android Development] Archipago:
Using this ATM with flyme is its great
[Nexus 5 Original Android Development] guess005:
I'm on Caf10 and Chaos 15, everything is working really well for me, no freezes, no lag, no holdups. Its better than 13.2 stable for me!

Battery temp sits from 26-36*c depending on use

CPU Temp Idles at 32-34*c, of course it rockets up later on :P

-guess
[Nexus 5 Original Android Development] guess005:
I am getting 1 bug today it seems.

During a phone call, the screen will not always wake.

I am thinking my screen off setting may be a tad low?

-guess
[Nexus 5 Original Android Development] Vanhoud:
So what's the latest nightly for regular cm?
[Nexus 5 Original Android Development] topgeardave:
V14 19/9/14
[Nexus 5 Original Android Development] Vanhoud:
Thanks, looks like NXTweaks is not part of this nightly?
[Nexus 5 Original Android Development] guess005:
Download the app synapse. It was changed to that.

-guess
[Nexus 5 Original Android Development] topgeardave:
Seeing as nobody is posting anything, I would just like to say latest 14.0 nightly is amazing! Rock stable and I have had no problems with it.

And [MENTION=3795148]neobuddy89[/MENTION] if you're open to feature requests is there any chance you could incorporate the blu_active governor from the code blue kernel?
[Nexus 5 Original Android Development] HiGhDRo3o5:
Yea same here. No issues at all. Very stable.

---------- Post added at 11:50 PM ---------- Previous post was at 11:49 PM ----------

Great work on this kernel. Its the only reason im on a cm based rom. Lol
[Nexus 5 Original Android Development] nicksmizzle:
it is not fixed, using this kernel and android wear, on deep sleep, i get nothing. but on code blue everything is fine
[Nexus 5 Original Android Development] fedef12evo:
thank you for the answer
[Nexus 5 Original Android Development] rokahaal:
Just flashed your kernel over elementalx and it's amazingly fast. Great. Dt2w was enabled by default.

Is ist possible to integrate the power toggle control for dt2w like in elementalx? It's very useful to deactivate the dt2w when I put the phone into a pocket.

S2W/DT2W power key toggle

"If enabled, turning the screen off with the power button disables s2w and dt2w to save battery. When you turn the screen back on, s2w and dt2w return to their previous settings. If the screen times out, s2w/dt2w are not disabled this is only if you use the power button to turn it off. You can edit /etc/elementalx.conf to change the setting on boot."
[Nexus 5 Original Android Development] neobuddy89:
I will look into the code for this implementation.

There will be no configuration file to edit settings instead a user-friendly, simple yet powerful app to customize kernel parameters.

That should make life easy.

DT2W isn't on by default. Not for me. Something else triggered on your device perhaps.
[Nexus 5 Original Android Development] yuuzhantar:
Hi,

is there any UC/OC ?

I'm looking for a kernel which propose 96Mhz - 2500Mhz

with customizable max freq screen off

and additionnaly max cpu lock screen off

:)
[Nexus 5 Original Android Development] neobuddy89:
Thread is moved Android Development from Original Android Development as parts of code is cherry-picked from other resources. :)

Nevermind, we will continue to merge features available around.
[Nexus 5 Original Android Development] neobuddy89:
No OC/UV for now. It is disabled as for now to ensure stability of rest code.

This is planned to be added after implementation and release of App to control kernel parameters.
[Nexus 5 Original Android Development] meangreenie:
I have problem with root, supersu, on stock rom.

I even went back to recovery, latest twrp, and reinstalled supersu1.80.zip.

When running the supersu app it says that it cannot install the binary.
[Nexus 5 Original Android Development] neobuddy89:
Try installing busybox app first and install busybox via it.
[Nexus 5 Original Android Development] rokahaal:
Yes. After a fresh ROM+kernel install I have to use trickster mod to activate dt2w. Probably some rest of elementalx after a dirty flash :silly:

Power toggle control and a Chaos kernel control app would be really great :o
[Nexus 5 Original Android Development] -DarkKnight-:
Is this kernel compatable with CM based Roms?
[Nexus 5 Original Android Development] neobuddy89:
Yes, in fact this kernel aimed to be only for CM based ROM initially.

I am using Chaos with DroidKang. :)
[Nexus 5 Original Android Development] Errrwin:
It's working on the CM11 nightly I installed today.
[Nexus 5 Original Android Development] ks2332:
Hey [MENTION=3795148]neobuddy89[/MENTION] loving the kernel running the same setup as you... Any thoughts to maybe adding badass governor or smartassv2 ? Would be good governors I feel for the phone