yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] marf28101995:
793.... Forger the other one
[Nexus 5 Original Android Development] stark_br:
Lol... This made my day ? ?
[Nexus 5 Original Android Development] bigknowz:
Code Blue Navbar

UPDATE: Proceed to next post

Here's my first attempt at a Code_Blue Navbar. Thinking the back/recent could be a darker blue, right now its Nexus blue (#33b5e5). [MENTION=3873953]eng.stk[/MENTION], if you know the hex code for the blue in your avatar, I can adjust.

The zip is an input to the zipthemer app, it is not a flashable zip.

UPDATE: Figured out how to grab the proper blue from the home button, will try to have a new zip tomorrow.
[Nexus 5 Original Android Development] bigknowz:
This looks better

I like this one better. Blues match and home button is larger.
[Nexus 5 Original Android Development] Arthur4ik:
is code_blue compatible with F2FS + CM12?
[Nexus 5 Original Android Development] eko_cahyono:
How do i change the nav bar like yours? Thx before
[Nexus 5 Original Android Development] R3Lax1:
can you read the op?
[Nexus 5 Original Android Development] bigknowz:
Navbar

Instructions are over to the Candy Shop thread. You need the app zipthemer,
[Nexus 5 Original Android Development] rpr69:
When you ran ZipThemer, what did you use to update Edify? I am on Terminus ROM and it doesn't seem to like it as a source, it says it can't find mount/umount. Should I just grab another ROM as a source for Edify? I used the 'Download phone database' option, but the Nexus5 is not listed, and the universal binary is really old.
[Nexus 5 Original Android Development] bigknowz:
Edify

Candy Shop thread has edify files.
[Nexus 5 Original Android Development] rpr69:
Got it, thanks. Ran through it, but it doesn't appear to have worked, I still have the regular navbar icons, and it doesn't look like the SystemUI.apk was updated. I'll try it manually and see if it works.
[Nexus 5 Original Android Development] Arstoien:
Could anyone point me to the directory with the hotplug tunables? All the results I found searching aren't valid anymore.

Also a question about changing max cpu freq in terminal: I realize I have to echo the freq to each of the 4 cpus but to do this, each has to be online. I could do "echo 1 > /sys/devices/system/cpu/cpuX/online && echo X > /sys/devices/system/cpu/cpuX/cpufreq/scaling_max_freq" though that doesn't work if cpuX IS online. I could use "cat /sys/devices/system/cpu/cpuX/online" for each cpu to see if they're online first and accordingly: either echo the freq directly or do online && echo. There must be an easier way but I don't know how to do this.

I'm using Tasker btw. On Franco, I would first force the hotplug to online all 4 cpus, then echo the freq to all 4, and then restore the hotplug value. Though I don't know the hotplug directory here, since it's using different one than Franco's. Any help is appreciated.
[Nexus 5 Original Android Development] bigknowz:
Bluplug

Are you looking for this?

echo 2 > /sys/module/blu_plug/parameters/max_cores_screenoff
echo 1267200 > /sys/module/blu_plug/parameters/max_freq_screenoff

As far as cpu frequencies,you can use an init.d script, but the easiest is using Trickster (app) or UKM.
[Nexus 5 Original Android Development] Arstoien:
Not particularly the screenoff tunables, but I can see the dir: /sys/module/blu_plug/parameters/ , so thanks for that. I'm using Tasker to dynamically change some values, so I want to do it through a shell by myself. I will check the code on the init.d script, if there is a sample one. So thanks for that link too!

If anyone has any info on setting the cpu_max_freq in a better way than what I described, please send me a pm. I'm curious and want to learn.
[Nexus 5 Original Android Development] varuntis1993:
[MENTION=3873953]eng.stk[/MENTION] Had a random reboot. Last kernel logs-

http://pastebin.com/c0E1ZbeF
[Nexus 5 Original Android Development] hellsgod:
I also get very rare reports about that error in my kernel, dunno why.

Last boot reason: rpm_err

hells
[Nexus 5 Original Android Development] Aerowinder:
I don't think there is a better way if you want to use Tasker.

Just echo 4 > min_online, I think that should work.

There used to be hooks in the kernel where if you changed one frequency, all of them would change. Miss that.
[Nexus 5 Original Android Development] Arstoien:
Yeah, that's what I'm doing. It's actually working much better than on Franco, since he doesn't have min_online tunable and I'm using hotplug load threshold, then have to wait for a second to make sure cores are on, and then echo the freqs. Anyway, thanks!
[Nexus 5 Original Android Development] RavenFoxHound:
Is it normal that with Cataclysm + Code_Blue R777, with blu_active set as CPU Gov, i'm getting only 3h30 SOT ? That's one of the ****tiest battery life I ever had..

My usage : Brightness between 15 - 40%, WiFi almost all the time, chrome, some apps (facebook..), no games, some music and one or two shorts videos on youtube, some SMS.. and that's all

Is there something I can do or is my battery defective ?

Right now with only 16 min SOT I've lost 8% of battery.. Wtf

On full stock I used to get 4h SOT at least..
[Nexus 5 Original Android Development] hooliganx:
[MENTION=6112102]RavenFoxHound[/MENTION]

why blame kernel? if great part of users here have great battery, why kernel is the problem?

search the problem in your apps, system, settings.... have lot of threads in XDA about it.

I have 3h30 SOT with 50% battery. using KK. and I read that LLP have better battery life. so.... search about play service... Facebook app... privacy guard... and other little things related.

you'll find the guilty.

[emoji4][emoji106]

n5sk8.8.aow10.26artgapps385

codeblue.r450rd1.16v4atwrp2.8.2.0

------------------------------------------------------------------------
[Nexus 5 Original Android Development] RavenFoxHound:
I'm not specially blaming the kernel itself but I guess it have something to do with it, and I wonder what I can do to improve things while keeping the phone smooth..

I'm almost sure it can't be my settings, I have google now off, location off, WiFi location off, mostly every push notifications off except social networks, my brightness is never set too high, and I find weird that I have lost some SOT with the ROM + kernel compared to stock..
[Nexus 5 Original Android Development] Sn00ky:
Hi guys. It's my first time flashing this kernel, was wondering if there's an app to tweak some of its settings, play with CPU GPU governors, etc. Thanks!
[Nexus 5 Original Android Development] mr-tical:
UKM + Synapse mister.

Nexus 5 | Lollipop | ElementalX | Tapatalk Pro
[Nexus 5 Original Android Development] akash3656:
Use stock kernel then.
[Nexus 5 Original Android Development] and313:
I am now at 50% and 2hrs and 30mins of sot via screen mirroring and using the phone as a point to remotely access the computer...

So no... You should get more... There is an issue with apps or mods you have installed... Or also a hardware issue

Use your energy to find the problem rather to describe it here like everyone else (talking about general things like this one is)
[Nexus 5 Original Android Development] aimcr7:
Great battery life here on Cataclysm + codeblue, No wifi, data on all the time ?
[Nexus 5 Original Android Development] szucsgf:
I find the two other things that impact battery the most besides kernel and brightness which you've already mentioned are:

1. App wakelocks. Download wakelock detector from Google Play, use your phone like normal, and see if any inappropriate wakelocks occur.

2. Modem. It's possible a newer modem causes more idle drain for you (therefore more drain in total). The test for this takes a little longer but it's easy and worth it. Go to the flashable modems thread, download the few latest ones, and flash each on successive days to see their overnight drain given the same kernel ROM, and settings (LTE, WiFi, location, etc.).

http://xdaforums.com/showthread.php?t=2514095

I found the L Preview modem best for myself with 3% overnight drain compared to 5-6% for the two newer ones with my setup of everything connected and synced.

I'm not sure if either of these things cause your battery but drain maybe they'll help. This kernel typically produces excellent battery results. By the way, did you experience poor sot just once or repeatedly? If just once, maybe a reboot is all you need. Sometimes funny things happen on a battery cycle that don't repeat.
[Nexus 5 Original Android Development] Aerowinder:
8% in 16 minutes. The only way that is possible:

1) App pegging the CPU (or set to performance governor). Any kernel manager can give you the current speed.

2) Defective battery.
[Nexus 5 Original Android Development] RavenFoxHound:
Okay i finally did another 100% to 0% run today, after a full night charge (From going to bed until waking up, doing that every day), and it seems that without changing any settings, the battery standed pretty nicely today.

Here's the record (No screenshot sorry, too lazy) ; 5h06 min SOT ! Didn't watched the sleep time but the Nexus was on from around 9h AM to around 21h40 PM.

Couldn't dream better on a Nexus 5.

With same settings as i descripted before...

I noticed that the battery was going faster while using Chrome, looks like Chrome is a battery eater

Anyway it resolved by itself, not sure how or why but.. Great :) Thanks to those who tried to help me though

(Sorry for bad english btw, not my usual language)
[Nexus 5 Original Android Development] marf28101995:
The kernel is getting better and better each update ;)
[Nexus 5 Original Android Development] Pmart317:
Finally flashed my nexus with Terminus and was wondering if there was any specific settings that anyone prefers for this kernel. I did not see anything within the first post. I am sure its in this thread. Let me know if someone can point me in the right direction.
[Nexus 5 Original Android Development] :
The kernel is well optimized by [MENTION=3873953]eng.stk[/MENTION] so just try stock settings first. You can always modify the settings later if you see a need for it :)
[Nexus 5 Original Android Development] Pmart317:
Thanks! I flashed it but where are the settings? Can't seem to find them on my phone. Sorry newb with this Kernel
[Nexus 5 Original Android Development] asdfasdfvful:
You'll need to download an app to change kernel settings. Trickster is good, or you can try performance control (free on xda) or whatever other alternative that suits you
[Nexus 5 Original Android Development] lasha117:
i am flashing it first time so does this kernel have some app to setup?
[Nexus 5 Original Android Development] aimcr7:
The answer is right above your post
[Nexus 5 Original Android Development] :
Trying a kernel for the first time or "being a newb" aren't excuses for not reading the first post. Seriously guys, you are modifying your phones core systems and don't even read what you are doing to the phone?? Just to help you, here's a quote from the first post:
[Nexus 5 Original Android Development] xda_emanuel:
Hi guys, is there a version of this kernel for nexus 4? Or if not, there will it be in near future? Thanks
[Nexus 5 Original Android Development] marf28101995:
Nope... No support for mako and it won't get support :)
[Nexus 5 Original Android Development] eng.stk:
Code_Blue r806

Alright crew!

Just pushed r806, go get it!

This has some nice updates to Slimbus (Serial Low-power Inter-chip Media Bus), IPC (Inter-Processor Communication), ADSPRPC (Applications Digital Signal Processing Remote Procedure Call) and some other upstream patches and fixes.

RAMdisk is synced with CM 12 nightlies.

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

You keep the spirit alive!
[Nexus 5 Original Android Development] 7sen:
:good:
[Nexus 5 Original Android Development] neFAST:
So what's your feedback after a few days? Is it significantly better?
[Nexus 5 Original Android Development] Gallardo994:
It's better when I'm not doing many tasks, e.g. reading. In other cases it is the same.

Sent via Tapatalk on my Nexus 5
[Nexus 5 Original Android Development] trawel:
Got a question, not sure what's that related to. I'm using Cataclysm and code blue r793. While listening to music on Spotify, sometimes there are weird sound like crashes or so (for like a second) happening randomly. Not sure if it's because of kernel (had the same issue with elementalx), ROM or maybe app itself. Did anyone have such a problem? Any idea why is it so? Any suggestions how to fix that?

Using Trickster MOD but changed only vibration strength and enabled fast charge, nothing else.

Thanks.
[Nexus 5 Original Android Development] Berget:
do you use trickster mod to change the kernel settings?

also, can you recommend any changes in the kernel settings for max battery life? :) (best kernel out there)
[Nexus 5 Original Android Development] wingoku:
Does decreasing DPI values effect battery life? If yes, by how much?

I changed my DPI from 480 to 340 on Nexus 5. How much battery strain it would have (if changing DPI caused battery drain)?

Can someone share some insight on this?
[Nexus 5 Original Android Development] reyfista11:
no

dpi had nothing to do with battery
[Nexus 5 Original Android Development] carlese:
Getting device unsupported with ukm, latest code blue and latest optipop.. Anyone? Of course clean flashed everything like usual..
[Nexus 5 Original Android Development] marf28101995:
Did you flash ukm and then install synapse ?
[Nexus 5 Original Android Development] carlese:
Yes.. Then I tried to install ukm again but nothing..
[Nexus 5 Original Android Development] lovermed:
I had the same issue.. You need to change selinux to permissive.. It did the trick for me.. Hope this helps
[Nexus 5 Original Android Development] eng.stk:
Maybe it's something related to busybox. Run the UKM script in etc/init.d like I linked in OP.

Don't need to do any permissive stuff.

EDIT: actually seems like SuperSU. happens with v2.44, v2.40 works fine.

Spotify is kinda heavy, use UKM and change max cores in screenoff to 2, should help.
[Nexus 5 Original Android Development] vashollow:
deleted
[Nexus 5 Original Android Development] JonesL:
Is it a brief sort of buzzing sound? try changing the I/O to ROW and 1024 read ahead
[Nexus 5 Original Android Development] SteveMurphy:
Please read the OP before posting. That's best practices for every thread in this forum.
[Nexus 5 Original Android Development] carlese:
That's odd, I had 2.44 when u dirty flashed and everything was fine, now with clean flash it doesn't work.. Tried 2.40 as you suggested and everything is fine again :)
[Nexus 5 Original Android Development] frikakwa:
I had the same error message after flashing UKM + Blue + SuperSu 2.44

I've just used the below in terminal and that worked fine:

su
uci reset
uci
[Nexus 5 Original Android Development] gabidiesel:
code blue for nexus 4

Hy...You will release code blue for nexus4
[Nexus 5 Original Android Development] estate:
kernel tweker fc

hi, with last 806 kernel, when i open kernel option in kernel tweker, the app fc...
[Nexus 5 Original Android Development] marf28101995:
Try another app its problem with that app

What you can do is clean the data of data app and try again

If it doesn't work install other app

I recommend kernel adiutor beautiful interface and it has the most of the features that you'll probably use with the previous one

Nope Code_Blue is currently available for the nexus 5 and the support will only be extended to the nexus 6
[Nexus 5 Original Android Development] estate:
Quote:

Originally Posted by estate

hi, with last 806 kernel, when i open kernel option in kernel tweker, the app fc...

Try another app its problem with that app

What you can do is clean the data of data app and try again

If it doesn't work install other app

I recommend kernel adiutor beautiful interface and it has the most of the features that you'll probably use with the previous one

reinstalled 793 and all is ok...
[Nexus 5 Original Android Development] Prattham:
so i want to install this kernel

few queries

does it support multi rom?

which app is recommended to control the kernel settings?

cheers ?

sent from my Cataclysmic Red N5 ?
[Nexus 5 Original Android Development] C.T.Richter:
Both questions are answered in the OP.
[Nexus 5 Original Android Development] vsot13:
Your answers are in OP. Read before asking

Sent from my Nexus 5
[Nexus 5 Original Android Development] Black_Prince:
Hey mate I was on 793 version with liquid smooth ROM. I just dirty flashed 806 version and I lost root. So i tried to flash cf auto root zip but I am not regaining root. Did I missed anything ? There is no such instruction in OP about dirty flashing so I flashed what I thought was right. I think I have to clean flash everything. But u know mate, I should not have to clean flash when I just dirty flashed 806 over 793 version. Correct me if I have done something wrong. Clean flashing everything is very boaring process u know :(
[Nexus 5 Original Android Development] peecs121:
Try reflashing the kernel along with Superuser at the same time. Hopefully that will do the trick

Nexus 5 running Cataclysm 5.0.1 Lollipop/Code Blue
[Nexus 5 Original Android Development] Black_Prince:
Not helping ! Damm you #su !
[Nexus 5 Original Android Development] tcat007:
I always flash latest su last, always gets root. http://download.chainfire.eu/693/SuperSU/BETA-SuperSU-v2.44.zip
[Nexus 5 Original Android Development] xXfuzzXx:
Don't use v2.44, use v2.40.

(and to the one who asked: no u did nothing wrong)
[Nexus 5 Original Android Development] tcat007:
Why? I'm on 2.44 so far no issues.
[Nexus 5 Original Android Development] Arthur4ik:
Is it possible to make this kernel compatible with Snoopsnitch by enabling dev/diag?
[Nexus 5 Original Android Development] xXfuzzXx:
Sometimes it works with 2.44, sometimes not :)

Look at Page 610
[Nexus 5 Original Android Development] JayR_L:
I am flashing code_blue *right now*... I was on uber-l but I've heard good things about this one too..
[Nexus 5 Original Android Development] Renton91:
A silly question, just for confirmation, is the Code_Blue_r450-CM release for KitKat CAF based ROM? Thanks
[Nexus 5 Original Android Development] marf28101995:
Cm 11
[Nexus 5 Original Android Development] Tylog:
The best you can do :)
[Nexus 5 Original Android Development] JayR_L:
I had reservations about switching but after tuning the conservative governor I am confident that battery life will be as good or better than uber.
[Nexus 5 Original Android Development] sarfaraz1989:
I have to honestly say. this is the best kernel for n5 out there. everything works flawlessly. battery vs performance is very nice. very balanced. i thi k blu_active has something to do with it. it doesnt spend much time in higher frequencies and still feels butter smooth. Usb 900maH chargingcharging with mtp is just awesome. A very nicebalanced kernel. excellent job. kudos to the developer/developers
[Nexus 5 Original Android Development] afraaa:
806 gave me most amazing and best battery backup and of course smoothness I've ever experienced . I unplugged my phone 14 hours ago (my battery has85 percent healthy cell I guess) and still have 45 percent . I wiped after flashed over other kernel . I haven't seen code blue with such a jaw dropping battery backup until now . this one is masterpiece . charging is fast and amazingly cool even on my wireless charge . man you created again a masterpiece !!
[Nexus 5 Original Android Development] 7sen:
Share u setting plz
[Nexus 5 Original Android Development] neFAST:
How can you check that?
[Nexus 5 Original Android Development] JayR_L:
*#*#4636#*#* in dialer, then "battery information"
[Nexus 5 Original Android Development] javitolopez69:
hello good, now I have a s4 with GE ROM 5.0.1, the battery did not last long and not sleeping well mobile, you know some tweack great init.d that fence to get consumptions that you are taking .I just sack four hours screen, would be nice to ayudaseis me, thanks
[Nexus 5 Original Android Development] vsot13:
Are you sure this is a right place, mate?

And change your translation app;)

Sent from my Nexus 5
[Nexus 5 Original Android Development] javitolopez69:
I'm looking for solution to drain my battery if google translator,wwuuaajjj
[Nexus 5 Original Android Development] vsot13:
Wat? Lol...

Sent from my Nexus 5
[Nexus 5 Original Android Development] javitolopez69:
would be nice to have a kernel like this in my device, which has very good consumption

---------- Post added at 04:39 PM ---------- Previous post was at 04:38 PM ----------

GE 5.0.1 of davnth s4 i9505 .google edition .
[Nexus 5 Original Android Development] MatVekk:
Fantastic kernel! Grate work!!! Cataclysm + CodeBlue = Battery for all day!
[Nexus 5 Original Android Development] javitolopez69:
Fix .please .tweack improvement for my ROM
[Nexus 5 Original Android Development] Tylog:
:eek:

Stop plz spaming the Thread with non N5 talk. The S4 has its own kernel devs. If there no one can help you buy in the future a decent smartphone. Thanks
[Nexus 5 Original Android Development] JayR_L:
Reporting since switching from uber kernel to r806

CPU gov: conservative

Tune: up_threshold = 70

ROM: optipop by cl3kener

(Up freq threshold lower makes it step up frequency at lower load. Little smoother than default but still more efficient than ondemand) or *active)

5.5 hrs of SoT, mostly Chrome and Tapatalk. Chrome is a huge drainage on battery, stats say CPU total for chrome was 2hrs 30 minutes)

Amazingness :)
[Nexus 5 Original Android Development] and313:
Up_treshold is the same as go_highspeed_load? Im using trickster cant find the same setting anywhere

Otherwise jp. Its an amazing kernel

Im at 53% 2h 45min sot and 12hrs stand by

Cataclysm
[Nexus 5 Original Android Development] JayR_L:
Are you sure you're using conservative? It definitely has up_threshold and most certainly no go_high-speed_load, I think that one's blu_active, not conservative.
[Nexus 5 Original Android Development] and313:
Ah im an idiot... Forgot to apply
[Nexus 5 Original Android Development] SGT John Doe:
This can't be right?

No settings are changed except vibration (75%)

"Skärm" means screen, and there just small amount of gaming. 11 hours before i need to charge :(
[Nexus 5 Original Android Development] frikakwa:
Culprits are well mentioned on your first screenshot: Skype & Clash of Lords 2! :D
[Nexus 5 Original Android Development] Sigray:
Almost good as EX. Keep up the good work dev. ;)
[Nexus 5 Original Android Development] tsimitsangaz:
any ondemand settings for battery and smoothness guys?
[Nexus 5 Original Android Development] krazeecracker:
Anyone using cm12 with this and getting more than 3hrs sot?
[Nexus 5 Original Android Development] xVermicide:
I use CM12 with Hybrid kernel by neobuddy and I get 6.5hrs SOT using per-app profiles service by franco.
[Nexus 5 Original Android Development] marf28101995:
I got easily with stock settings around 5h30

With some tweaks even more

Check your setup ;)
[Nexus 5 Original Android Development] eng.stk:
Such SOT is easy achievable with blu_active defaults with much better performance.

A little more if you tweak it in a more conservative way, UC, etc.

Define good. 5k people in a weekly basis disagree with you...

Wrong thread mate.
[Nexus 5 Original Android Development] JayR_L:
[MENTION=3873953]eng.stk[/MENTION], I tried with blu_active defaults and I honestly can't get over 3 hours or so.

I tried tweaking it, too, I just can't get there.. No wakelocks either, just drains faster when I'm using it.

I get amazing sleep time though, if I turn WiFi and data off, it basically uses no battery at all.

Since switching to conservative, yes the phone is slightly slower but the battery barely drains.

Maybe if I didn't use Chrome I'd get better SoT with the default governor... I wish, cause its amazingly smooth.

If you have any suggestions for tweaks, I'd love to hear them. Since you are the author of this kernel, if you say the default governor can yield the battery life I'm going for, I believe you lol