yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] sirovai:
Keep on the good work with blu_plug! :good:
[Nexus 5 Original Android Development] satyr007:
I got no problems at all with audio and I'm using poweramp + viper (convolver on etc)
[Nexus 5 Original Android Development] swat4samp:
Lol, you quoted my old post :o But, thanks anyways, i came to know about the new version :good: Keep it up.
[Nexus 5 Original Android Development] alen1901:
I hope timeout option would be present in dttw. :p

Sent from Pure Nexus 5
[Nexus 5 Original Android Development] eng.stk:
What timeout?

Either it's on or off ;p
[Nexus 5 Original Android Development] alen1901:
For battery savings :p

Sent from Pure Nexus 5
[Nexus 5 Original Android Development] haasgo:
I think he means a certain timeout where dt2w is active and then turns off automatically for example 20 sec. after screen has turned off. Then on again as soon as screen turns on again and so on...
[Nexus 5 Original Android Development] eng.stk:
nope, I won't get on complicated thing, it's the most simple possible.

If you want dt2w, set it on... if you want battery, set it off :)
[Nexus 5 Original Android Development] lcohen999:
Sorry, I must have missed this, does blue now support dt2w if so.. How?
[Nexus 5 Original Android Development] eng.stk:
No, it's still on beta testing. Focus is on blu_plug, dt2w is just a detail...
[Nexus 5 Original Android Development] haasgo:
Its a nice feature where you will have to trade in some battery life. I dont mind the extra draining as long as its <5% of battery. Another reason to do some heavy testing :)
[Nexus 5 Original Android Development] Skyrocket2Paradise:
So is dt2w in the test build then?
[Nexus 5 Original Android Development] :
Great battery with r316

I arrive 5 Days of use with latest Kernel and rastaboost. But it is not representiv. Cpu max 1,9 GHz. Rest mostly stock settings. Over Night allways offline (airplain Mode) 2/3G from time to time. Only 2h SCreen on Time. In the afternoon Often use wifi. Also some hours of talking. For this Basic use of a Smartphone i get very good battery life. But most of You guys are heavy user... I know
[Nexus 5 Original Android Development] Phazmos:
No matter how others use a phone. You can only really compare to your own usage. That's pretty good!
[Nexus 5 Original Android Development] mastero9017:
Can we modify min/max online cpus in blu_plug?
[Nexus 5 Original Android Development] Tylog:
Yes. Use http://xdaforums.com/showthread.php?t=2736986

Tapatalk Team SlimRoms
[Nexus 5 Original Android Development] ninjasalad:
Hey guys, I've been playing around with some hotplug settings the last few days and would like to share my current setup.

My objective was to maintain the same smoothness and performance while improving battery life.

All tunables I set through synapse

First is up_threshold_any_CPU_freq set to 1.5ghz instead of 1.1ghz . This adjustment improves the scaling logic of the governor by requiring a higher frequency before speeding up. This also helps out a ton with unnecessary higher clock speeds since the highspeed_freq is set to 1.1ghz as well.

I also increased the up_threshold_any_CPU_load to 70. This means the CPU won't scale higher until it reaches a 70% CPU load. You can probably go higher (80-85) to squeeze out some more battery since bluactive governor does such a good job of dynamically changing frequencies but I didn't bother.

Next, hotplug tunables.

I'm staying with 2 CPUs on min because [MENTION=3873953]eng.stk[/MENTION] recommends it. I might experiment with lowering to 1 but it seems like bluplug was designed to run 2 cores always on.

The biggest battery improvements are obtained by tweaking the up threshold and timer controls.

I set the hotplug up threshold to 85, up timer control to 1.5, and down timer control to 1.

Why? I noticed bluplug likes to turn on the 3rd core sporadically even when unnecessary (low CPU intensity tasks). By increasing the threshold and up timer control, the extra cores are less likely to turn on when not needed.

Lowering the down timer control allows the extra cores to quickly turn off, so the system doesn't waste battery on powering extra cores after a task is completed and the extra power is no longer needed.

These simple tweaks have greatly improved my battery life. I won't give stats since they are meaningless and depend heavily on multiple conditions/variables but I recommend anyone looking for better battery to try out these settings.

After max screen off freq tunables get merged, idle time should get even better.

If synapse implemented per app modes...I would be so happy :) tuning the governor and hotplug for different apps would be a dream come true hahaha

Thanks again [MENTION=3873953]eng.stk[/MENTION] for making such an awesome kernel!
[Nexus 5 Original Android Development] Phazmos:
Curtis to see how it goes with 1 core min. I seemed to have trouble with other cores coming back up when I tried it.
[Nexus 5 Original Android Development] eng.stk:
Nice testing mate!

blu_active seems nice need to try some.

blu_plug beware: there's some tasks that will suffer from such high load_threshold, specially things such as loading up. I don't recomend any higher than 80.

On the timmings, you need hi responsiveness and you shouldn't lower so much your down timer.

Where do you see the load? DOn't trust load from apps like trickster or system monitor.

The "load" is calculated directly on the cpu governor and it's so fast that sometimes on those apps seems like 5% or 0%, But it isn't!

There's spikes and the hotplug has to react to those.

Why the down timer should be more long? Becasue you can have multiple spikes (and still see 5% in those apps) and you're actually using more power offlining/onlinning again than just let the cpu be online a little longer to deal with those conditions :good:

EDit: and so you know, down timer can't be lower than up timer (you can insert it in UKM, but internally it will be at least equal to up timer)
[Nexus 5 Original Android Development] eng.stk:
Yep, then you would have to lower your load threshold
[Nexus 5 Original Android Development] mastero9017:
I'm curious about disabling 4 core, forcing 3 cores all time with lowered max freq and other solution by disabling 3&4 core, min=1 and OC. Someone tested?
[Nexus 5 Original Android Development] Phazmos:
Interesting. I wouldn't have noticed anything, but then cpu benchmarks were coming in way way low. I would have figured load would be high enough to bring all back online.
[Nexus 5 Original Android Development] jwong.hhf:
Hello, I am using Purity 29/08 build with r316 kernel. Weird thing happened when I install apk in ART mode. During the installation CPU can only keep loading in 2.26g for 5 second and then directly drop to 1.4g. Obviously the installation is not complete.

How can I tune the kernel so the CPU frequency won't drop so rapidly?
[Nexus 5 Original Android Development] Nucleotide:
Does the apk you're installing actually support ART?
[Nexus 5 Original Android Development] jwong.hhf:
I think it has nothing to do with the apk I installed. As you may know, in ART mode, the APK will be compiled during the installation. CPU needs to do a lot more work in ART than in Dalvik during the installation.
[Nexus 5 Original Android Development] eng.stk:
Exactly. And then the load creates heat and device enters temperature throttle.
[Nexus 5 Original Android Development] bigknowz:
Wakelock update

OK, been running the nlpunbouncer module and alarms are cut by half using the default settings (240). Moved up to 300 to see if that works better. Hard to quantify battery improvement due to module because I flashed r316, but deep sleep is definitely higher. The combo resulting in great battery life.

Thanks [MENTION=3873953]eng.stk[/MENTION]. Sending over another small token of appreciation, hopefully you will start a Nexus 6 fund.
[Nexus 5 Original Android Development] eng.stk:
Thanks mate, I already started a piggy bank, hope to get enough :fingers-crossed:

I also want to thank a couple donations I got while in vacations, thank you very much guys!

Get involved, test, play, donate, help, contribute.

You keep the spirit alive!﻿
[Nexus 5 Original Android Development] der_sascha:
[KERNEL] [KK 4.4.4] [AOSP] [Code_Blue r316] [Linaro 2014.07 Cortex-A15 GCC 4....

Hi I am new on this kernel

Which settings would you guys recommend for good balance between performance and good battery life?

And would you also recommend frandom?
[Nexus 5 Original Android Development] fitz420:
Honestly....only kernel EVER for any device that I've pretty much always ran stock.....perfect out of the box, in my opinion. I have ran frandom with 0 issues, so I personally recommend it.
[Nexus 5 Original Android Development] bigknowz:
Settings

If you listen to music, change Max CPUs Screen Off to 2.
[Nexus 5 Original Android Development] eng.stk:
Well, yes and no.

The issue is not music. From sdcard or wifi stream its fine with 1core.

The problem is that when streaming from data link, needs more cpu power to handle handons/handoffs
[Nexus 5 Original Android Development] bigknowz:
Music derp

I know this issue does not occur for all users, so it depends on the phone and/or network. A suggestion, not a hard and fast rule. My music is on the phone. no streaming. 2 cores resolved derps, unless max screenoff frequency was set to 2.3 GHz. Seems like the radio handoffs congest the CPU regardless of music being local or streaming. Had to drop 3 different kernels due to the music issue, only Code_Blue has what it takes to do the job.
[Nexus 5 Original Android Development] der_sascha:
So I also have the music problem. So I have to change screen off cores to 2 ? Will this fix the problem? Or is there an other solution?

Maybe you can cherry pick from Franco he fix this
[Nexus 5 Original Android Development] trjlive:
I've been using max cores on screen off set to 1 since I started using this kernel, and I stream music for hours every day using both Spotify and Google Play Music, both at my office over WiFi and in my car on LTE, and have never once experienced any skips or performance issues while screen off.

While some of the tracks have probably been cached, I use the "radio station" features often enough and it plays tracks I know for certain are not cached, and are being streamed. I use AT&T and while I'm usually in LTE coverage area, there are plenty of areas throughout LA and Orange counties where I drive where it's still only HSPA+, and I've never had any issues with streaming.

So just wanted to mention that in my usage, I'm not experiencing any problems with 1 core screen off. I'm using the kernel's default settings, except I've changed the min cores to 1, and max CPU to 1.7ghz, and undervolt all by 50mV. Works absolutely perfectly, excellent performance and battery!
[Nexus 5 Original Android Development] Nucleotide:
The problem I'm having regarding the music skipping has absolutely nothing to do with streaming music over wifi or mobile data. It has always been rock solid in that respect.

I run into trouble when I try and play music via bluetooth ear phones (all music via Google Play - cached/downloaded to the device). It is only in this situation I have issues.

Going to test out the the max screen off cpu 2 setting tomorrow morning and see if that helps.
[Nexus 5 Original Android Development] der_sascha:
Speaker settungs not save. I want to make it louder but still switch back to stock
[Nexus 5 Original Android Development] sirovai:
With Syanpse?
[Nexus 5 Original Android Development] der_sascha:
Latest from Google play download yestarday
[Nexus 5 Original Android Development] sirovai:
Use "custom" sound profile.
[Nexus 5 Original Android Development] der_sascha:
I already do saved but still switch back to stock loudsness
[Nexus 5 Original Android Development] eng.stk:
Up the min core online in screenoff and their freq normally solves it. Some people have issues with the handouts, some don't.

I guess it depends in the conditions and the network itself.

franco didn't do anything that we did'nt been working with weeks ago. He forces hotplug work to be at least on dual core mode.

Well I never had any issues either listening to music with default 1 core @ 1190MHz with data on (2g/3g mainly).

I guess it depends on the network and probably also people use diferent multimedia an eq apps to play sound. Some are heavier than others and can use more cpu power.

Your problem I think it should be software related, that's why you have mixed results sometimes.

You can try the "fix", it would not hurt i guess
[Nexus 5 Original Android Development] GialanG:
I've never seen anyone mention about Android OS battery usage, but it's really a pain to me whenever using this kernel. On all roms I've tried with Code_Blue (Mahdi, Slim, Purity), my Android OS battery usage is always extremely high at ~ 80-90%. This sometimes happens with ElementalX and never with Uber, as long as I don't turn dt2w/s2w on. Am I the only one suffering this?

In addition, I've never seen high usage of Android OS on my N7 2013 (flo - wifi only) no matter what rom or what kernel I use. While searching about this issue, I also found out that only Snapdragon chips have this problem. So I suppose that this only happens to Snapdragon chips and cellular devices.
[Nexus 5 Original Android Development] SteveMurphy:
No problem here, friend...

I too was facing higher-than-average OS/system UI drain, but since I've turned off lockscreen notifications/pocket mode et al you can see where the OS is currently sitting.
[Nexus 5 Original Android Development] eng.stk:
Yeah, some apps/tweaks can cause such symptoms.
[Nexus 5 Original Android Development] sirovai:
All its fine here
[Nexus 5 Original Android Development] der_sascha:
What can I do to fix the speaker drain is not saving if I set it louder?
[Nexus 5 Original Android Development] AquilaDroid:
I had the same problem when set to Custom, then selected "Loudness" and it seems to be sticking.

From my Nexus 5
[Nexus 5 Original Android Development] xXfuzzXx:
What exactly do u mean? Headphones? Did u uncheck settings/audio/advanced and there the first option?
[Nexus 5 Original Android Development] der_sascha:
No not headphones I mean the speaker drain on the button of the nexus 5where the ringtone comes out

Called speaker in synapse sound settings
[Nexus 5 Original Android Development] haasgo:
This is my experience with latest kernel:

I have latest purity (29.08.14) installed and latest code_blue (316).

From my very subjective point of view the latest kernel ist blazing fast. My phone has never felt snappier. Also its very stable. No reboots, nor sod. But battery has worsened. I get about ~25% less batterylife from latest kernel, but performance is at least TWICE as good as previous kernel. Before I got ~4:30h sot, now I barely get hit ~3:30h. Now that being said I have no problem with the performance boost, but am of course asking myself how to get the best of both worlds. What has changed in between the latest and the one before that that performance has more than doubled but battery has worsened. I know that its always a trade off, but still. I would trade a little bit (not the whole boost from latest changes ;) ) to get the battery at least perform max. 10% worse?
[Nexus 5 Original Android Development] anmar21:
That's true, the kernel is more oriented performance than before but you can still use synapse and tweak it.
[Nexus 5 Original Android Development] skeamznz:
Just wanted to stop in and say thanks [MENTION=3873953]eng.stk[/MENTION] r316 is brilliant. Its smooth fast and efficient. The idle drain is next to nothing. Over 48hrs up time including music playback on long bus rides to work WiFi never switched off ( I forgot). Full sync on lots of fb chrome and tapatalk. I couldn't believe when I checked my SOT and it was over 4hrs 30mins with two days usage. So again thank you for your continuous work on making the best N5 kernel possible. Donation on the way next payday. Cheers.

P.s stock settings.
[Nexus 5 Original Android Development] phillysmako:
Hey guys I'm having an issue every time I flash this kernel it won't stay at 2265 MHz it always reverts back to 1497mhz it's done this with any ROM I've used and this is the only kernel. I've used trickster and Franco cleared app data clean installed everything and no matter what I do it won't stay at 2265mhz and when I say it won't stay at 2265 MHz I'm taking about setting my maximum frequency.
[Nexus 5 Original Android Development] Nucleotide:
I'd agree with this for the most part. I don't think it's ~25% for me personally, but there is a noticeable difference.

Overall although, brilliant. :good: :good:
[Nexus 5 Original Android Development] jwong.hhf:
Usually it will go down step by step like 2.1g,1.7g instead of 1.49g all of a sudden, right?
[Nexus 5 Original Android Development] sirovai:
I'm wondering if we can play with Krait C-States. Can we reach better results disabling C0 and C1?
[Nexus 5 Original Android Development] pcphobic:
[MENTION=4106626]haasgo[/MENTION]

I have the same setup as you too. I noticed the same thing too. My SOT has reduced too.

Previously I was on code blue r209 and I had great battery life. I may flash that version back to see if it makes any difference or not for me.
[Nexus 5 Original Android Development] haasgo:
I am absolutely not trying to say anything about the kernel quality [MENTION=3873953]eng.stk[/MENTION]. As I said my phone has never been more stable and performant as it is now. I just want to know how the "trade-off" between performance and battery life would look like?

I honestly love the snappyness and smoothness my N5 has right now. But, I would gladly trade a little performance for battery.

Now the thing is I have latest UKM/Synapse installed but am kinda overwhelmed by the mass of different settings possible. Again, it is awesome to have so many possibilities, but I am just very insecure if I am doing the right thing. Thats why I always stick to stock (by dev) settings.
[Nexus 5 Original Android Development] der_sascha:
Why is speaker sound drain not changing and saving by using synapse?
[Nexus 5 Original Android Development] famazi:
I had this problem and the solution was uninstall ukm + synapse reboot install reboot try again
[Nexus 5 Original Android Development] der_sascha:
Thanks for helping me how to uninstall ukm its flashed where can I find? I read that latest build is bit worest battery which build should I flash
[Nexus 5 Original Android Development] famazi:
On ukm thread there's a link to the uninstaller.

http://xdaforums.com/showthread.php?t=2736986
[Nexus 5 Original Android Development] haasgo:
Batteryconsumption is also very influenced by the usage of ur phone. Everyone has different usage patterns and therefore different batterylife. Flash latest and then do 3-4 battery cycles and then see if this satisties ur needs. If not flash one before or change kernel. We all might have the same phone but chipsets vary from phone to phone. Nobody can give you the one and only way to achieve the best batterylife. This is something which you have to do urself. But honestly, this kernel is awesome in any way. If this is in any way a complaint, its on a very high standart. Like saying: my ferrari uses 15l on 100km and my friends uses 14l on 100km to put it in a more understandable perspective ;)
[Nexus 5 Original Android Development] der_sascha:
does not help forme :(
[Nexus 5 Original Android Development] Failyx:
+1 really annoying
[Nexus 5 Original Android Development] haasgo:
Tried clearing synapse data and untick the apply on reboot box. Then restart and set preferences.
[Nexus 5 Original Android Development] trjlive:
You need to be more specific if you expect help. What does "not help"? Were you unable to download the uninstaller that the previous reply linked to? Did you receive an error message when trying to uninstall UKM? You may want to review this post that explains the type of information you need to provide to receive assistance. Just posting that something "doesn't work" or "doesn't help" gives us nothing to go on to help you. Why doesn't it work for you? Why doesn't it help you?

We simply need more information from you if you want help from the thread.

A "+1" post like this is what's really annoying, and your post serves absolutely no purpose other than to waste space in the thread. Are you experiencing a problem? Are you asking for help? Or are you just complaining to complain?

If you expect anyone to attempt to help you, then you must make an effort to communicate your problem to the thread.

You can read this post that describes the proper way to make a bug report to a developer.
[Nexus 5 Original Android Development] der_sascha:
the uninstaller is working for me, i mean that the solution to uninstall and reinstall is not working for me speaker drain always go back to stock settings after set it.
[Nexus 5 Original Android Development] eng.stk:
Code_Blue r350

All right crew!

Just pushed a new update, lot's of hard work on this one!

Big shouts to my beta testers, it was a long week!

This build ships with new tunables and fixes for blu_plug like min_freq_screenoff and powersaver _mode (switch to save juice while light tasks).

Also it was added my approach to touch stuff, doubletap2wake (0:disabled, 1:enabled, 2:enabled fullscreen) with power button disable and wakeup_timer available also.

Release was build with new Linaro 2014.08 Cortex-A15 GCC 4.9.2 toolchain.

Also, during this week r316 topped 3220 downloads (must be a record).

I had more kernels using my drivers and ROMs wanting Code_Blue source inside.

Great times :)

Get involved, test, play, donate, help, contribute.

You keep the spirit alive!﻿
[Nexus 5 Original Android Development] satyr007:
Have u ever tried hardware floating-point?
[Nexus 5 Original Android Development] GtrCraft:
Doubletap2wake works perfectly, but can you add "vibrate when succesfull" like in elementalx?
[Nexus 5 Original Android Development] Tylog:
Long but good week, always nice to work with you :)

Tapatalk Team SlimRoms
[Nexus 5 Original Android Development] wardawgmalvicious:
[MENTION=3873953]eng.stk[/MENTION]

You said more ROMs wanted your source inside, does that mean some ROMs want Code_Blue as their default kernel? Cuz that would be awesome.

Thanks for the update! Amazing, as usual.

-wardawgmalvicious
[Nexus 5 Original Android Development] Flamehell:
Amazing update my friend,as usual....Great!!!:good:
[Nexus 5 Original Android Development] AvivEliyahu:
Hey wanted to say that's a great kernel and blue governor is epic ! Wanted to ask you guys which ROM do you recommend me to use (got tired of stock) I was wondering between cm11 and purity
[Nexus 5 Original Android Development] Flamehell:
Slimkat or Purity....:good:
[Nexus 5 Original Android Development] snip3:
I'm using purity+ with this kernel. The Rom absolutely flies! Especially with the latest linaro optimizations
[Nexus 5 Original Android Development] AvivEliyahu:
What's the difference between purity and purity+ (or its the same and I'm just being a newbie)
[Nexus 5 Original Android Development] eng.stk:
Nope, I want to keep it simple...

:highfive:
[Nexus 5 Original Android Development] snip3:
Purity+ has a small handful of extra features, like heads up and lockscreen notifications.
[Nexus 5 Original Android Development] AvivEliyahu:
Cool,I just saw it and it has the cm theme engine ! I'll flash it soon with of course code blue kernel . thank you very much :)
[Nexus 5 Original Android Development] Tylog:
Wrong place for this but when you look in the + thread you can see that this build have some more features like theme engine. The base is the same.

Edit : fuc... Tapatalk, didn't see the last page xD

Tapatalk Team SlimRoms
[Nexus 5 Original Android Development] Pupsterface:
I am on the latest CarbROM which is CM based, does this kernel work with that? I find Elementalx to be starting to lose battery too quickly. :/ And I can just flash Code Blue over right? In the first posts someone said I could but things might have changed since then. Thank you! :)
[Nexus 5 Original Android Development] marf28101995:
This kernel is meant to be used with aosp roms so you can't use it with cm based roms :)